From 6c7ccba2b14dc4a552999a4d169d107c408fe661 Mon Sep 17 00:00:00 2001 From: "Kumar, Amaresh (ak583p)" Date: Wed, 9 May 2018 22:29:45 +0530 Subject: Added CORS proxy Server endpoint Added CORS proxy endpoint for backend calls to enable connection. Issue-ID: APPC-885 Change-Id: I0bb98feda477cb77312bc707cb52e1296b69245b Signed-off-by: Kumar, Amaresh (ak583p) --- src/environments/environment.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/environments/environment.ts') diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 4c5df0c..e30faf3 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -29,10 +29,15 @@ export const environment = { production: false, //Environment for PROD - getDesigns: 'http://' + window.location.hostname + ':8282/restconf/operations/design-services:dbservice', - validateTemplate: 'http://' + window.location.hostname + ':8282/restconf/operations/design-services:validator', - testVnf: 'http://' + window.location.hostname + ':8282/restconf/operations/appc-provider-lcm:', - checkTestStatus: 'http://' + window.location.hostname + ':8282/restconf/operations/appc-provider-lcm:action-status' - + /* getDesigns: 'http://' + window.location.hostname + ':8282/restconf/operations/design-services:dbservice', + validateTemplate: 'http://' + window.location.hostname + ':8282/restconf/operations/design-services:validator', + testVnf: 'http://' + window.location.hostname + ':8282/restconf/operations/appc-provider-lcm:', + checkTestStatus: 'http://' + window.location.hostname + ':8282/restconf/operations/appc-provider-lcm:action-status' + */ + // APIs for CORS proxy Service. + getDesigns: 'http://' + window.location.hostname + ':9090/cdtService/getDesigns', + validateTemplate: 'http://' + window.location.hostname + ':9090/cdtService/validateTemplate', + testVnf: 'http://' + window.location.hostname + ':9090/cdtService/testVnf', + checkTestStatus: 'http://' + window.location.hostname + ':9090/cdtService/checkTestStatus' }; \ No newline at end of file -- cgit 1.2.3-korg