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/onboarding | |
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/onboarding')
3 files changed, 8 insertions, 8 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx b/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx index 06c95b0b2f..e576bb3f85 100644 --- a/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx +++ b/openecomp-ui/src/sdc-app/onboarding/OnboardingPunchOut.jsx @@ -205,8 +205,8 @@ export default class OnboardingPunchOut { } if (!this.isConfigSet) { - Configuration.setATTApiRoot(apiRoot); - Configuration.setATTApiHeaders(apiHeaders); + Configuration.setCatalogApiRoot(apiRoot); + Configuration.setCatalogApiHeaders(apiHeaders); this.isConfigSet = true; } diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js index 355c823afe..ebd660f71c 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js @@ -58,8 +58,8 @@ function baseUrl() { return `${restPrefix}/v1.0/vendor-software-products/`; } function softwareProductCategoriesUrl() { - const restATTPrefix = Configuration.get('restATTPrefix'); - return `${restATTPrefix}/v1/categories/resources/`; + const restCatalogPrefix = Configuration.get('restCatalogPrefix'); + return `${restCatalogPrefix}/v1/categories/resources/`; } function uploadFile(vspId, formData, version) { diff --git a/openecomp-ui/src/sdc-app/onboarding/users/UsersActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/users/UsersActionHelper.js index 8a9ff42238..a2e92fe0bc 100644 --- a/openecomp-ui/src/sdc-app/onboarding/users/UsersActionHelper.js +++ b/openecomp-ui/src/sdc-app/onboarding/users/UsersActionHelper.js @@ -19,15 +19,15 @@ import Configuration from 'sdc-app/config/Configuration.js'; import {actionTypes} from './UsersConstants.js'; function getUserId() { - let attApiHeaders = Configuration.get('ATTApiHeaders'); - let User = attApiHeaders && attApiHeaders.userId; + let catalogApiHeaders = Configuration.get('CatalogApiHeaders'); + let User = catalogApiHeaders && catalogApiHeaders.userId; let userId = User && User.value ? User.value : ''; return userId; } function baseUrl() { - const restATTPrefix = Configuration.get('restATTPrefix'); - return `${restATTPrefix}`; + const restCatalogPrefix = Configuration.get('restCatalogPrefix'); + return `${restCatalogPrefix}`; } |