aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/src/sdc-app/config
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/src/sdc-app/config')
-rw-r--r--openecomp-ui/src/sdc-app/config/Configuration.js16
-rw-r--r--openecomp-ui/src/sdc-app/config/config.json2
2 files changed, 9 insertions, 9 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) {
diff --git a/openecomp-ui/src/sdc-app/config/config.json b/openecomp-ui/src/sdc-app/config/config.json
index e73856e5bb..fbfaf1de66 100644
--- a/openecomp-ui/src/sdc-app/config/config.json
+++ b/openecomp-ui/src/sdc-app/config/config.json
@@ -4,7 +4,7 @@
"build": "dev",
"appContextPath" : "/onboarding",
"defaultRestPrefix": "/onboarding-api",
- "defaultRestATTPrefix": "/sdc1/feProxy/rest",
+ "defaultRestCatalogPrefix": "/sdc1/feProxy/rest",
"defaultWebsocketPort" : "8181",
"defaultDebugWebsocketPort" : "9000",
"defaultWebsocketPath" : "notification-api/ws/notificationHandler"