What is the difference between "update" and "override" in Maven

joshdij
Participant I

I am looking at the documentation at this link for the Apigee Deploy Maven plugin:

https://github.com/apigee/apigee-deploy-maven-plugin

override - "this option is used for seamless deployment and should be supplied with apigee.override.delay parameter"
update - "this option will update the revision"

What is the difference between "update" and "override"? Does "override" include functionality from "update", or vice versa?

To validate and deploy a bundle, is it sufficient to only have the "override" option?

Thank you

0 3 465
3 REPLIES 3

sidd-harth
Participant V

override - deploys the proxy to a new revision

update - deploys the proxy in the currently deployed revision, no new revision will be created

Yes, override internally validate and deploy a bundle.

Thank you for the information. When I try to deploy through the "override" option in Maven, I get a 504 Gateway Timeout error -- but the proxy/shared flow is still deployed. Any idea how to avoid this error?

If override deploys the proxy to a new revision and how is it different from the default no-option approach like -

mvn install -Ptest-Dusername=$ae_username -Dpassword=$ae_password

VS

mvn install -Ptest-Dusername=$ae_username -Dpassword=$ae_password -Doptions=override