apigee-config-maven-plugin icon indicating copy to clipboard operation
apigee-config-maven-plugin copied to clipboard

Export of multifile-config from Edge

Open o1da opened this issue 5 years ago • 4 comments

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?

o1da avatar Jun 11 '19 09:06 o1da

Unfortunately, there is a gap there @msadasivam - what do you think ?

ssvaidyanathan avatar Jun 11 '19 15:06 ssvaidyanathan

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.

msadasivam avatar Jun 11 '19 23:06 msadasivam

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 avatar Jun 18 '19 12:06 sarfernando

@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.

msadasivam avatar Jun 19 '19 00:06 msadasivam