Hi Team,
I am currently working on Apigee Maven Deployment Plugin in order to setup CICD pipeline. There are multiple options provide by the plugin like validate, update, override etc.
My concern: Is it enough to pass override in option parameter, so that it will take care of validation behind the scenes
mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Doptions=override
or else, do I need to pass validate and override in options parameter
mvn install -Ptest -Dusername=$ae_username -Dpassword=$ae_password -Doptions=validate,override
Here is the [link] I am referring.
Regards,
Ashwith
I believe these are two separate, independent flags that are then used with the relevant Management APIs
Validate occurs during import of your bundle, see
https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/apis-0
Override occurs during the deployment, see
Hi @dane knezic,
I have tried working on passing validate and override individually. I see both the operations are similar, please find the attached image containing detailed description.
mvn install -Ptest-Dusername=$ae_username -Dpassword=$ae_password -Doptions=override
and
mvn install -Ptest-Dusername=$ae_username -Dpassword=$ae_password -Doptions=validate
However, validate option is default.
No refers to it is not imported/deployed
Yes refers to it is imported/deployed
Regards,
Ashwith
@ash gun - just use override
Validate is called as well (behind the scenes)
Thanks, Sai for giving clarity
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |