GithubHelp home page GithubHelp logo

isabella232 / apigee-remote-proxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apigee-127/apigee-remote-proxy

0.0 0.0 0.0 21 KB

A Proxy that installs on Apigee Edge to expose key pieces of Apigee functionality to remote systems via a REST API.

License: MIT License

JavaScript 100.00%

apigee-remote-proxy's Introduction

Apigee Remote Proxy Setup

By deploying the Apigee Remote Proxy to Apigee, you can run code locally that communicates with Apigee in the cloud. To do this, you deploy a special API proxy to the cloud, which gives you a dedicated API that your local server can use to invoke various Apigee functions like Quota, Cache, OAuth, Analytics, and the like.

  1. Install the apigee-remote-proxy npm module

The easiest way to provision the proxy to Apigee and to use the Node.js functionality is to use this module:

npm install -g apigee-remote-proxy

This will install apigee-remote-proxy on your local system so that you can run "deployApigeeRemoteProxy" from your path at any time.

  1. Create an Apigee Account

If you don't have your own installation of Apigee Enterprise, or don't have an Apigee Edge Account, then go to Apigee Enterprise and make one. You'll need to know three things:

  • Your user name (typically your email address)
  • Your password
  • Your organization name
  1. Deploy the Proxy

You can now deploy the proxy to your environment using deployApigeeRemoteProxy like this:

deployApigeeRemoteProxy -b https://api.enterprise.apigee.com -o ORGANIZATION -u USERNAME -p PASSWORD -e ENVIRONMENT

NOTE: Replace ORGANIZATION, USERNAME, PASSWORD, and ENVIRONMENT with your Apigee account info.

Alternatively, you may omit and or all the parameters and deployApigeeRemoteProxy will prompt you for them.

  1. Verify the Proxy (optional)

Once the proxy had been deployed, then you can invoke the proxy at the URL:

https://ORGANIZATION-test.apigee.net/apigee-remote-proxy

(Replace ORGANIZATION with your Apigee organization name)

If you access this URL right now, you should get a 401 (Unauthorized) error because you didn't supply an API key. (If deployment failed, you will get a 404.)

apigee-remote-proxy's People

Contributors

prabhatjha avatar theganyo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.