This repository contains basic API Proxies for Apigee X and hybrid to showcase and test basic concepts of API Proxy development. It is grouped into functionality in the different folders.
- advanced - more advanced topics combining multiple policies to achive a basic use case.
- concepts - these samples focus on API Proxy configuration aside from the use of policies
- extensions - these samples use custom code (Java, JavaScript, Python) or show the callout to other systems
- mediation - these samples leverage policies that make changes to header, payload, queryparams etc
- security - these samples use the policies for authentication via different means (OAuth, JWT, SAML, API Key) and Threat protection
- traffic-management - these samples show the usage of Spike Arrest for Throttling, Caching and Quota
The used sample proxies use Apigeecli for deployments. Using a Cloud Shell you have all the prerequisites setup to use this deployment tool.
You need an up and running Apigee X/hybrid organization (Setup an Eval here: https://cloud.google.com/apigee/docs/api-platform/get-started/provisioning-intro)
The scripts in this repo work with the apigeecli to deploy/undeploy the artifacts into an Organization via the Apigee API
https://github.com/apigee/apigeecli
Please refer to this github repo for the installation and adding it to your PATH variable to use in the scripts.
For deploying the proxyies run the following command
export APIGEE_TOKEN=$(gcloud auth print-access-token)
export APIGEE_X_ORG=<my-org>
export APIGEE_X_ENV=<my-env>
./deploy.shexample variables would be
export APIGEE_X_ORG=bap-emea-apigee-6
export APIGEE_X_ENV=default-dev
./deploy.shYou can use this Postman Collection to make the Demo calls
All solutions within this repository are provided under the Apache 2.0 license. Please see the LICENSE file for more detailed terms and conditions.
This repository and its contents are not an official Google product.