Node.js Extending the Programmability of Apigee Edge Greg Brail @gbrail Scott Ganyo @theganyo Apigee @apigee
@gbrail Greg Brail @theganyo Scott Ganyo
youtube.com/apigee
slideshare.net/apigee
community.apigee.com
Overview Introduction to the stack Building a simple API (demo) Deploying in Edge Adding API features using Volos (demo)
Introduction to the Stack
Node.js Stack API Middleware Volos Web App and API framework Argo Express Others
Node.js Server-side platform for JavaScript Support for HTTP(s) Scalable and fast Huge third-party community #1 language on GitHub 6,742 modules/year for last four
Argo A Framework Describe how to handle URIs Designed for APIs Flexible Add “middleware” to requests and responses Serve up content Act as proxy
Volos Node.js modules for API management OAuth Quota Cache More to come MIT License Multiple back ends
Volos Deploy Node.js applications to Apigee Directly from UI From source code Third party module support Combine with other policies
Demo: Building a Simple API
“Hello World”
“Hello World” with Policies
Tracing Script Output
Deploying from the Command Line Install Apigee deployment tool. . .
Deploying from the Command Line -d: Directory where the app is kept -n: Name to create in Apigee -m: Name of the “main” script file to run -b: URI prefix for the app (NPM modules will be Uploaded along with your app.)
Volos
Introduction to Volos OAuth 2.0 Add OAuth 2.0 authorization support to any API Redis and Apigee backends
Introduction to Volos Quota Count API calls by time and by any identifier (API key, etc.) In-memory, Redis, and Apigee backends
Introduction to Volos Cache Cache arbitrary data In-memory and Redis backends
Introduction to Volos On GitHub and NPM now More to come Concurrency management More security features Maybe even XML. . .
Demo: Volos App
Volos API with OAuth
Volos Configuration
Resources Apigee Node.js Docs http://apigee.com/docs/gateway-services/content/developingnodejs-applications-api-platform
Resources Volos https://github.com/apigee/volos Apigee Node.js Sample Apps https://github.com/apigee/node-samples Apigee Platform Tools https://github.com/apigee/api-platform-tools
More Resources Samples https://github.com/apigee/node-samples/tree/master/node/hello https://github.com/apigee/node-samples/tree/master/node/mashup https://github.com/apigee/volos/tree/master/samples/webinar Argo – API and proxy framework https://github.com/argo/argo Trireme – Node.js runtime for Java https://github.com/apigee/trireme
Q&A
community.apigee.com
THANK YOU Questions and ideas to: @gbrail @theganyo http://community.apigee.com

Node.js - Extending the Programmability of Apigee Edge

Editor's Notes

  • #2 Creative Commons Attribution-Share Alike 3.0 United States License
  • #8 Introduction To The Stack
  • #20 Introduction To The Stack