Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

apigee-127/apigee-remote-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published