How to integrate APIGEEE Edge and BitBucket

Hi All,

@Dino-at-Google,

I am looking to have automation which can integrate APIGEE Edge with BitBucket repository. If there is any change or update in the API Proxy code on apigee edge, it should automatically commit and push the updated API Proxy code to BitBucket repository( release branch).

Please help me out to achieve this.

Thank You.

0 6 592
6 REPLIES 6

Hi @Ravi Kumbar

you can see all these repos under Apigee. CI-CD is probably subject to your organization's toolset preference.

Maven plugins provide a way to deploy changes from git to Apigee. You can also manage config using maven. Check out.

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

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

Along with that using bitbucket.yaml file you can configure the apigee details and check out bitbucket apis to integrate with APIGEE

thanks for your response.

Is there any command or automation tool to check-in the api code from my local flder on system to BitBucket repo branch?

For example: First time I have checked-in the proxy code to release/final branch manually using GIT Commands. Second time I don't want to run the GIT Commands, instead I want to run a script or curl command to take the updated code from my local folder and check that in to release/final branch.

Please share if there is any such tool or script or curl command.

You can use same git commands in a script and use that.

can you please share a sample script.

Hi,

You can also use npm based apigeetool node modules to deploy API proxy code into apigee from your Bitbucket yaml configuration file using Apigee management APIs, you can develop a simple deploy script with apigeetool commands and use it in your yaml to deploy.

https://www.npmjs.com/package/apigeetool

Not applicable

You can use any IDE to push code from your local to bitbucket. And use apigeetool to deploy in Apigee.