public enableCounterDiv: boolean = false;
     public enableDownload: boolean = false;
     private userId = localStorage['userId'];
-    constructor(private location: Location, private activeRoutes: ActivatedRoute, private notificationService: NotificationService, private nService: NotificationsService, private router: Router, private paramShareService: ParamShareService, private mappingEditorService: MappingEditorService, private httpUtil: HttpUtilService,
+    constructor (private location: Location, private activeRoutes: ActivatedRoute, private notificationService: NotificationService, private nService: NotificationsService, private router: Router, private paramShareService: ParamShareService, private mappingEditorService: MappingEditorService, private httpUtil: HttpUtilService,
         private utiltiy: UtilityService, private ngProgress: NgProgress) {
 
     }
         this.enableTestButton = true;
         this.enablePollButton = true;
         if (this.subscribe && this.subscribe != undefined) this.subscribe.unsubscribe();
-        this.nService.info("Information","Test has been abandoned and polling stopped");
+        this.nService.info("Information", "Test has been abandoned and polling stopped");
     }
 
 
 
         this.httpUtil.post(
             {
-                url: environment.testVnf + this.getUrlEndPoint(this.action.toLowerCase()), data: this.apiRequest
+                url: environment.testVnf + "?urlAction=" + this.getUrlEndPoint(this.action.toLowerCase()),
+                data: this.apiRequest
             })
             .subscribe(resp => {
                 this.apiResponse = JSON.stringify(resp);
                 this.enableTestButton = true;
                 this.ngProgress.done();
             },
-            error => {
-                this.nService.error('Error', 'Error in connecting to APPC Server');
-                this.enableBrowse = true;
-                this.enableTestButton = true;
-                this.enablePollButton = true;
-                this.enableCounterDiv = false;
-                if (this.subscribe && this.subscribe != undefined) this.subscribe.unsubscribe();
+                error => {
+                    this.nService.error('Error', 'Error in connecting to APPC Server');
+                    this.enableBrowse = true;
+                    this.enableTestButton = true;
+                    this.enablePollButton = true;
+                    this.enableCounterDiv = false;
+                    if (this.subscribe && this.subscribe != undefined) this.subscribe.unsubscribe();
 
-            });
+                });
 
         setTimeout(() => {
             this.ngProgress.done();
                         }
                     },
                     'action': 'ActionStatus',
-                    'action-identifiers': { 
-                        'vnf-id' : this.actionIdentifiers['vnf-id']
+                    'action-identifiers': {
+                        'vnf-id': this.actionIdentifiers['vnf-id']
                     },
                     'payload': '{"request-id":' + this.requestId + '}'
                 }
                     }
 
                 },
-                error => {
-                    this.statusResponse = null;
-                    this.showStatusResponseDiv = false;
-                    this.errorResponse = 'Error Connecting to APPC server';
-                    this.enableCounterDiv = false;
-                    if (this.subscribe && this.subscribe != undefined) {
-                        this.subscribe.unsubscribe();
-                        this.enablePollButton = true;
-                    }
-                });
+                    error => {
+                        this.statusResponse = null;
+                        this.showStatusResponseDiv = false;
+                        this.errorResponse = 'Error Connecting to APPC server';
+                        this.enableCounterDiv = false;
+                        if (this.subscribe && this.subscribe != undefined) {
+                            this.subscribe.unsubscribe();
+                            this.enablePollButton = true;
+                        }
+                    });
         }
         else {
             this.nService.error("Error", "Please enter vnf Id & request Id");
 
     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