diff options
Diffstat (limited to 'openecomp-ui')
-rw-r--r-- | openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js | 2 | ||||
-rw-r--r-- | openecomp-ui/test/softwareProduct/details/test.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js index 29e278f928..5c82c70830 100644 --- a/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js +++ b/openecomp-ui/src/sdc-app/onboarding/softwareProduct/SoftwareProductActionHelper.js @@ -109,7 +109,7 @@ function softwareProductCategoriesUrl() { function getModelUrl() { const restCatalogPrefix = Configuration.get('restCatalogPrefix'); - return `${restCatalogPrefix}/v1/catalog/model/`; + return `${restCatalogPrefix}/v1/catalog/model?modelType=normative`; } function uploadFile(vspId, formData, version) { diff --git a/openecomp-ui/test/softwareProduct/details/test.js b/openecomp-ui/test/softwareProduct/details/test.js index 0e0c9ecafd..8b5f68c469 100644 --- a/openecomp-ui/test/softwareProduct/details/test.js +++ b/openecomp-ui/test/softwareProduct/details/test.js @@ -218,7 +218,7 @@ describe('Software Product Details Module Tests', function () { }); mockRest.addHandler('fetch', ({options, data, baseUrl}) => { - expect(baseUrl).toEqual('/sdc1/feProxy/rest/v1/catalog/model/'); + expect(baseUrl).toEqual('/sdc1/feProxy/rest/v1/catalog/model?modelType=normative'); expect(data).toEqual(undefined); expect(options).toEqual(undefined); return []; |