apigeetool- ovetride proxy

Not applicable

in the managment api there is an option to override current revision when deploying proxy..

how can I achieve same beahviour using apigeetool?

0 1 137
1 REPLY 1

aswinsegu
Participant IV

Hi @YuriAbaev ,

Not sure if this is supported by apigeetool, but this can be done using apigee-deploy-maven-plugin.

Configure, package, import, override, deploy, and test bundle (default validate apigee.option) – Overrides current revision

mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Doptions=validate,update

update - It will update the deployed revision . This is similar to import with validation but no new revision is created. If there any errors in the bundle, error is thrown and the existing bundle is left intact. In case the revision they are trying to update is deployed, it will internally trigger undeployment and deployment. It is completely in the background and not visible in the response. It is advised not to update the deployed revision. (UI could show a warning or something in this case).

Refer to https://github.com/apigee/apigee-deploy-maven-plugin/tree/master/samples