{ 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
    • Adapter for Envoy
    • 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 Krishna · May 22, 2019 at 05:05 PM · 236 Views proxymavendeploymaven deploy plugincicd

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

Hi, I'm looking for the suggestions on the below usecase I'm thinking of building -

We have a template- its a bundle with all the common policies attached to the proxy endpoint. When we onboard a new API proxy, with the approved OAS - we make initial updated to the template (ex- flow updates, target servers updates) and then push to edge using Azure devops pipelines - with Apigee-Maven plugins.

We want to avoid the manual process of updating now, and I'm looking for

1. I want to setup a trigger, which looks up for a OAS in a specific repo. once there is a OAS - It should create a bundle.

2. Proxy endpoints and the target endpoints in the bundle has to be updated with the common policies in the template we are using.

3. Then CICD should push the updated package to the edge.

This may look little complicated, any help/ suggestion is much appreciated. @Sai Saran Vaidyanathan. @Anil Sagar @ Google.

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 Nagashree B   · May 30, 2019 at 06:29 PM

There is no OOTB solution available for your requirement.
You may do the following:
1. You can use the openapi2apigee node module or java based swagger utility to generate the API proxy bundle. You may need to tweak these utilities a bit, to accept commandline arguments and avoid console inputs. You can then invoke these utilities from your CI pipeline.
OR you can choose to Write your own custom code in your preferred language to parse the OAS and generate an API proxy bundle.
2. Add another step in the CI pipeline to use scripts to update the appropriate XMLs in the proxy bundle generated above, to add policies etc from your pre-defined template
Publish your CI artifact
3. Create your CD to trigger for CI changes and deploy the published artifact to edge

Comment
Add comment · 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

Follow this Question

Answers Answers and Comments

59 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

CICD Jenkins - Undeploy the revision to earlier deployed revision 3 Answers

Separating proxy and config deployment using maven plugin 1 Answer

Shared Flows appear in API Proxies list in edge UI 2 Answers

Maven Plugin Error stepdefinitions 1 Answer

Deploy with creating new revision 0 Answers

  • 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
© 2021 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
  • Adapter for Envoy
  • 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
  • Badges