Commit 8f240452 authored by Sacha Brants's avatar Sacha Brants
Browse files

Merge branch 'slb/dm3/fix-metadata' into 'master'

fix: google metadata IP hardcoded in the configuration

See merge request !177
parents e6f2606c f83337ad
Pipeline #60535 passed with stages
in 10 minutes and 50 seconds
...@@ -675,7 +675,7 @@ The following software have components provided under the terms of this license: ...@@ -675,7 +675,7 @@ The following software have components provided under the terms of this license:
- npm-run-path (from https://www.npmjs.com/package/npm-run-path) - npm-run-path (from https://www.npmjs.com/package/npm-run-path)
- npmlog (from https://www.npmjs.com/package/npmlog) - npmlog (from https://www.npmjs.com/package/npmlog)
- number-is-nan (from https://github.com/sindresorhus/number-is-nan#readme) - number-is-nan (from https://github.com/sindresorhus/number-is-nan#readme)
- object-assign (from https://github.com/sindresorhus/object-assign#readme) - object-assign (from https://www.npmjs.com/package/object-assign)
- object-hash (from https://www.npmjs.com/package/object-hash) - object-hash (from https://www.npmjs.com/package/object-hash)
- object-inspect (from https://www.npmjs.com/package/object-inspect) - object-inspect (from https://www.npmjs.com/package/object-inspect)
- object-inspect (from https://www.npmjs.com/package/object-inspect) - object-inspect (from https://www.npmjs.com/package/object-inspect)
...@@ -931,3 +931,5 @@ The following software have components provided under the terms of this license: ...@@ -931,3 +931,5 @@ The following software have components provided under the terms of this license:
- json-schema (from http://github.com/kriszyp/json-schema) - json-schema (from http://github.com/kriszyp/json-schema)
- querystring (from https://www.npmjs.com/package/querystring) - querystring (from https://www.npmjs.com/package/querystring)
- sax (from https://www.npmjs.com/package/sax) - sax (from https://www.npmjs.com/package/sax)
...@@ -27,7 +27,7 @@ export class ConfigGoogle extends Config { ...@@ -27,7 +27,7 @@ export class ConfigGoogle extends Config {
// endpoints // endpoints
public static GOOGLE_EP_IAM = 'https://iam.googleapis.com/v1'; public static GOOGLE_EP_IAM = 'https://iam.googleapis.com/v1';
public static GOOGLE_EP_OAUTH2 = 'https://www.googleapis.com/oauth2/v4'; public static GOOGLE_EP_OAUTH2 = 'https://www.googleapis.com/oauth2/v4';
public static GOOGLE_EP_METADATA = 'http://metadata/computeMetadata/v1'; public static GOOGLE_EP_METADATA = 'http://169.254.169.254/computeMetadata/v1';
public static GOOGLE_EP_ROBOT = 'https://www.googleapis.com/robot/v1'; public static GOOGLE_EP_ROBOT = 'https://www.googleapis.com/robot/v1';
public static GOOGLE_EP_RESOURCES = 'https://cloudresourcemanager.googleapis.com/v1'; public static GOOGLE_EP_RESOURCES = 'https://cloudresourcemanager.googleapis.com/v1';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment