Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to parameterize environment in edge.json of apigee-config-maven-plugin

Not applicable

Hi All,

My requirement is to change environments based on prod and nonprod orgs without editing edge.json file.

For example - in nonprod I have dev,test and in prod I have qa,prod environments. When I deploy in nonprod my product should be deployed in both dev,test and if prod my product should be deployed in qa,prod without editing edge.json file.

I am using shell script to run the maven command after few validations, Is that possible to replace shell variable $environment(which holds environments corresponding to organizations) in edge.json's like

"environment" : [$environment]; instead of "environment" : ["dev","test"];


Tagging @Madhan Sadasivam

0 7 2,238
7 REPLIES 7