Closed g-lalevee closed 1 year ago
Addendum: promote goal should work with both Proxy and Shareflow
@g-lalevee - what if for
mvn promote -Dorg=MyOrg -Dsource=SourceEnv -Denv=TargetEnv ...
there are no revisions deployed in the sourceEnv? do we pick the latest revision in the org and deploy that or throw an error? I prefer throwing an error. But wanted to check with you
Released in v2.4.0
To be able to keep the same revision number across several environment, it could be useful to be able to redeploy a proxy revision to another environment without having to rebuild it (and Apigee X creates a new revision number for each build...)
Scenario:
1- build proxy and deploy it to dev environment
mvn install -Dorg=MyOrg -Denv=MyEnv ...
2- when proxy ok, promote a development revision to test environment. Options:
mvn promote -Dorg=MyOrg -Denv=TargetEnv -Drevision=23 ...
mvn promote -Dorg=MyOrg -Denv=TargetEnv ...
mvn promote -Dorg=MyOrg -Dsource=SourceEnv -Denv=TargetEnv ...