diff options
author | ilanap <ilanap@amdocs.com> | 2018-01-08 15:50:18 +0200 |
---|---|---|
committer | Avi Gaffa <avi.gaffa@amdocs.com> | 2018-01-09 12:57:22 +0000 |
commit | 785dc1ea36c8c333d93d9f54cae252d141319bfc (patch) | |
tree | db9c35a871e5bf5cd6789b93d9c23a0e8f5f21d8 /openecomp-ui/src/sdc-app/config/Configuration.js | |
parent | 7476ddebf0b34cf4ebf4a3c64ff3163bc0b06058 (diff) |
Change variable names to catalog
Change-Id: Iaa4f2143840de47feaf25d110144cd762f6ff8ec
Issue-ID: SDC-887
Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/sdc-app/config/Configuration.js')
-rw-r--r-- | openecomp-ui/src/sdc-app/config/Configuration.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/openecomp-ui/src/sdc-app/config/Configuration.js b/openecomp-ui/src/sdc-app/config/Configuration.js index 3d9ab8bf72..8444e3fa61 100644 --- a/openecomp-ui/src/sdc-app/config/Configuration.js +++ b/openecomp-ui/src/sdc-app/config/Configuration.js @@ -27,18 +27,18 @@ class Configuration { return prev; } - setATTApiRoot(ATTApiRoot) { - let restATTPrefix = ATTApiRoot, - restPrefix = ATTApiRoot.replace(/\/feProxy\b[^:]*$/, '/feProxy/onboarding-api'); + setCatalogApiRoot(CatalogApiRoot) { + let restCatalogPrefix = CatalogApiRoot, + restPrefix = CatalogApiRoot.replace(/\/feProxy\b[^:]*$/, '/feProxy/onboarding-api'); this.set('restPrefix', restPrefix); - this.set('restATTPrefix', restATTPrefix); + this.set('restCatalogPrefix', restCatalogPrefix); } - setATTApiHeaders(ATTApiHeaders) { - this.set('ATTApiHeaders', ATTApiHeaders); + setCatalogApiHeaders(CatalogApiHeaders) { + this.set('CatalogApiHeaders', CatalogApiHeaders); - let {userId: {value: UserID} = {}} = ATTApiHeaders; + let {userId: {value: UserID} = {}} = CatalogApiHeaders; this.set('UserID', UserID); } } @@ -47,7 +47,7 @@ const configuration = new Configuration(); (function setDefaultRestPrefixes(configuration) { configuration.set('restPrefix', configuration.get('defaultRestPrefix')); - configuration.set('restATTPrefix', configuration.get('defaultRestATTPrefix')); + configuration.set('restCatalogPrefix', configuration.get('defaultRestCatalogPrefix')); configuration.set('appContextPath', configuration.get('appContextPath')); })(configuration); (function setDefaultWebsocketConfig(configuration) { |