{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • General /
avatar image
0
Question by Ashwith G · Jul 10 at 07:05 PM · 69 Views maven deploy plugin

Apigee Maven Deployment Plugin: Override option

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

1.png (22.4 kB)
Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by dane knezic   · Jul 11 at 10:41 AM

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

https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/environments/%7Benv_name%7D/apis/%7Bapi_name%7D/revisions/%7Brevision_number%7D/deployments

Comment
Add comment Show 3 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Ashwith G · Jul 11 at 02:24 PM 0
Link

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

image-3.png (29.3 kB)
avatar image Sai Saran Vaidyanathan ♦ Ashwith G   · Jul 11 at 03:54 PM 1
Link

@ash gun - just use override

Validate is called as well (behind the scenes)

avatar image Ashwith G Sai Saran Vaidyanathan ♦ · Jul 12 at 02:30 PM 0
Link

Thanks, Sai for giving clarity

Follow this Question

Answers Answers and Comments

51 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to determine a particular proxy change in a Git repo with N number of proxies 1 Answer

Maven plugin for Proxy deployment and running POSTMAN test cases 2 Answers

APIGEE Maven Plugin to also deploy Data Mask Configurations 1 Answer

Automate bundle creation using openAPISpec + add necessary policies + push it to edge - cicd using Azure Devops 1 Answer

Maven deploy plugin - How to deploy multiple sharrdflows 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges