Apigee Edge Command-Line Interface

Not applicable

Hi everyone,

we'd like to share Edge CLI with you: https://github.com/mobilcom-debitel/edge-cli

It's a command-line interface to Apigee Edge with some useful features like

  • proxy, resource file, and target server management
  • idempotent proxy deployments: the same proxy is not deployed twice, verified by checksum

Call it the a127 of regular, policy-based proxies. We use it heavily every day in offline proxy development and can now easily integrate Apigee in our CI/CD environment.

Best
Morris

2 3 856
3 REPLIES 3

Great tool @Morris Brodersen , Thank you for sharing with community. I am sure it's useful for many others. Way to go !

thanks for sharing this @Morris Brodersen

Not applicable

Thank you for sharing.

FYI - Edge 16XX and 17XX provide a Management API command line interface called apigee-adminapi.

Example using Management API via Curl:

curl -v -u <system-admin-user>:<password> "http://<ms-host>:8080/v1/servers?pod=<gateway-pod-name>®ion=<region-name>&type=<component-type>"

The above API is equivalent to this invocation using apigee-adminapi:

/opt/apigee/apigee-adminapi/bin/apigee-adminapi.sh servers list -p <gateway-pod-name> -r <region-name> -t <component-type>--host <ms-host> --port 8080 --admin <system-admin-user> --pwd <password>