apigee-config-maven-plugin
apigee-config-maven-plugin copied to clipboard
Export of multifile-config from Edge
What is the best approach to create multifile-config from existing UI configuration? https://github.com/apigee/apigee-config-maven-plugin/issues/4 suggests apigee-migration-tool but this tool doesn't provide all the stuff and also structure of output is different than the apigee-config-maven-plugin expects. Is there any end-to-end solution?
Unfortunately, there is a gap there @msadasivam - what do you think ?
Yes, there is some deviation between the formats but it isn't hard to adjust it once you have it exported.
An export feature can be added to config plugin itself to create a multi-file config export. Looking to a community contribution if someone sees a need.
Hi - this would be a useful capability to have - we are in the middle of creating the CICD framework using the multi file config approach and running into the formatting issue. And if the transformation is done manually there are more chances for errors.
@sarfernando, send us a PR :)
In the meantime, if you need to transform the files you already have a library like JSMapr could help. https://github.com/mdunker/JSMapr With a little scripting this can be a reusable asset.