I’ve been playing around with apigee-config-maven plugin and I could make work the APIandConfig idea setting the edge.json file in one of our services.
However, the EdgeConfig sample with multiple folders and files for configuration is the one that I’m more interested because it seems to scale better. I was trying to make it work but the plugin seems to take the configuration from the edge.json file instead of the resources/edge folders.
I see that resources are sent to Edge when I run
mvn clean install -Ptest ... -Dapigee.config.options=create
...
"resources": [
"edge://env/api2-dev/caches.json",
"edge://org/apiProducts.json",
"edge://org/developerApps.json",
"edge://org/developers.json",
]
As I would like that the configuration were taken by the multi-file setup my edge.json file looks like this
{
"version": "1.0",
"envConfig": {},
"orgConfig": {
"apiProducts": [],
"developers": [],
"developerApps": {}
}
}
why is it needed to add the edge.json file using the multi-file setup given that all the configurations are in resources/edge?
I read the documentation but the distinction is not clear to me.
am I missing something?
Tagging @Madhan Sadasivam since he seems to be the main developer of the plugin.