Description - Sample maven-archetype-apigee-proxy API Proxy with Azure Pipeline
- Maven
- nodeJS
- set below environment variable according to your requirement (these are referenced in Deploy Proxy section)
APIGEE_ORG
- apigee org nameAPIGEE_USERNAME
- apigee edge usernameAPIGEE_PASSWORD
- apigee edge password
- Postman (optional, to run tests in postman UI)
- Newman (optional, as it is anyway installed part of dependencies installed while project creation, installed only if it not installed)
Make sure you have the collection and environment (json files) already under tests folder directory, for advanced use, check pom.xml, execution-id - integration-tests
$ mvn install -Pdefault -Denv.APIGEE_ORG=$APIGEE_ORG -Denv.APIGEE_ENV=test -Denv.APIGEE_USERNAME=$APIGEE_USERNAME -Denv.APIGEE_PASSWORD=$APIGEE_PASSWORD
- Ensure, all corresponding postman collections file exist with
${env}.Postman_environment.json
, for e.g."prod.postman_environment.json"
under/test
directory if trying to deploy to prod;