Endpoints Server Proxy, a.k.a. ESP is a proxy which enables API management capabilities for JSON/REST or gRPC API services. The current implementation is based on an NGINX HTTP reverse proxy server.
ESP provides:
-
Features: authentication (auth0, gitkit), API key validation, JSON to gRPC transcoding, as well as API-level monitoring, tracing and logging. More features coming in the near future: quota, billing, ACL, etc.
-
Easy Adoption: the API service can be implemented in any coding language using any IDLs.
-
Platform flexibility: support the deployment on any cloud or on-premise environment.
-
Superb performance and scalability: low latency and high throughput
However, the initial development was done on Google App Engine Flexible Environment, GCE and GKE for API services using Open API Specification and so our instructions and samples are focusing on these platforms. If you make it work on other infrastructure and IDLs please let us know and contribute instructions/code.
Common prerequisites used irrespective of operating system and build tool chain are:
To download the Endpoints Server Proxy source code, clone the ESP repository:
# Clone ESP repository
git clone sso://gcp-apis/esp
# Initialize Git submodules.
git -C esp submodule update --init --recursive
- doc: Documentation
- docker: Scripts for packaging ESP in a Docker image.
- include: Endpoints Server Proxy header files.
- src: Endpoints Server Proxy source.
- google and third_party: Git submodules containing dependencies of ESP, including NGINX.
- script: Scripts used for build, test, and continuous integration.
- test: Applications and client code used for end-to-end testing.
- tools: Assorted tooling.
To find out more about building, running, and testing ESP, please review
Your contributions are welcome. Please follow the contributor guidlines.