Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 2.46 KB

README.md

File metadata and controls

63 lines (37 loc) · 2.46 KB

Continuous Integration for Apigee Proxies using Maven

Read the docs here

CI for Apigee Proxies

The Objective of this project is to provide a containerised Jenkins image, prepackaged with required plugins and Apigee Jobs. This should not be used for a production setup, instead please refer to the Jenkins Documentation.

This is not an officially supported Google product.

Components

Sample Apigee Proxy - Currency API

Project contains a sample proxy for a currency API that retrieves exchange rates for a base currency using fixer.io API as the target.

See Currency API OpenAPI Specification for more information on northbound api design.

The following best practices are demonstrated:

[pomxmlsnippet](docs-src/images/pomxml sample snippet.png)

See maven phases document to understand pom structure.

Dockerfile

Project contains a Dockerfile that can be used to create a Jenkins image ready to start deploying currency api.

Docker implementation performs the following operations:

  • Jenkins plugin installation - check out the list of plugins installed

  • Setup build jobs - see jobs folder

  • Configure maven settings

  • Configure ssh for github authentication

  • Install node.js and npm

Read the Jenkins build pipeline to understand how pipeline is configured for this demonstration.

Read the setup instructions for step-by-step instructions on how to setup the whole CI process using the sample proxy and Dockerfile.