These steps will surface a public endpoint through ngrok with no authentication.
$ curl https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o ngrok-stable-linux-amd64.zipGo to console.cloud.google.com and sign in and start Google Cloud Shell
For Debian and Ubuntu-based Linux distributions, perform the following steps:
Add the Cloud Foundry Foundation public key and package repository to your system:
$ wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -| Step 1: Run below commands in GCP CloudShell | |
| Step 2: Configure Edgemicro | |
| ```bash | |
| ``` | |
| **Recommendations** | |
| Store in ~/.profile environment variables. APIGEE_ORG, APIGEE_ENV, ae_username, and ae_password. |
| { | |
| "id" : "8ac2f828-10aa-41bd-b99b-65351c6343f8", | |
| "revisionNumber" : 2, | |
| "baseUrl" : "https://api.enterprise.apigee.com/v1", | |
| "resources" : [ { | |
| "id" : "a5494eba-3bef-498d-9124-6116ed8511ca", | |
| "name" : "deleteAPIMask", | |
| "baseUrl" : "https://api.enterprise.apigee.com/v1", | |
| "path" : "/organizations/{org_name}/apis/{api_name}/maskconfigs/{maskconfig_name}", | |
| "parameters" : [ { |
| { | |
| "swagger": "2.0", | |
| "x-db-models-var-name": "edge_models", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "host": "localhost:3000", | |
| "basePath": "/edge", | |
| "info": { | |
| "title": "Apigee Nucleus API", |
| { | |
| "ignore": [".git", "node_modules/*/node_modules/**"], | |
| "ignoreRoot": [".git", "node_modules/*/node_modules/**"] | |
| } |
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ 'node', | |
| 1 verbose cli '/usr/local/bin/npm', | |
| 1 verbose cli 'install', | |
| 1 verbose cli 'https://npmrepouser:[email protected]/npm-private-repo-proxy/npm-package1-1.0.0.tgz', | |
| 1 verbose cli '--save', | |
| 1 verbose cli '--verbose' ] | |
| 2 info using [email protected] | |
| 3 info using [email protected] | |
| 4 silly loadCurrentTree Starting |
| http://stackoverflow.com/questions/30631725/update-node-js-version-inside-cloud-9-ide |
| var options = { | |
| enableHighAccuracy: true, | |
| timeout: 5000, | |
| maximumAge: 0 | |
| }; | |
| function success(pos) { | |
| var crd = pos.coords; | |
| console.log('Your current position is:'); |