aboutsummaryrefslogtreecommitdiffstats
path: root/src/environments/environment.ts
diff options
context:
space:
mode:
authorKumar, Amaresh (ak583p) <ak583p@us.att.com>2018-05-09 22:29:45 +0530
committerKumar, Amaresh (ak583p) <ak583p@us.att.com>2018-05-09 22:34:22 +0530
commit6c7ccba2b14dc4a552999a4d169d107c408fe661 (patch)
tree64ff071e3f9dd71a0855c98b8354e790837e6269 /src/environments/environment.ts
parent1d7f2f128ce0b50158dd9e6e563b626c4b6b4ec3 (diff)
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) <ak583p@us.att.com>
Diffstat (limited to 'src/environments/environment.ts')
-rw-r--r--src/environments/environment.ts15
1 files changed, 10 insertions, 5 deletions
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