Fixed Ruoting URL for Reports 00/111200/1
authorSudarshan Kumar <sudarshan.kumar@att.com>
Wed, 12 Aug 2020 19:38:52 +0000 (01:08 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Wed, 12 Aug 2020 19:39:04 +0000 (01:09 +0530)
Fixed Ruoting URL for Reports

Issue-ID: PORTAL-902
Change-Id: Icb8c95f39f312e013c384e13c4bd43e50352d47f
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/definition/definition.component.ts
ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/pages/analytics/Report_List/Report/sql/sql.component.ts

index 059c90b..33e298d 100644 (file)
@@ -421,7 +421,7 @@ export class DefinitionComponent implements OnInit, OnDestroy {
                             stackTrace = response['anyStacktrace'];
                             stackTrace = stackTrace.substring(0, stackTrace.indexOf('-'));
                             this.reportId = parseInt(stackTrace);
-                            this._router.navigate(['v2/reports', 'Edit', this.reportId]);
+                            this._router.navigate(['v2/app/reports', 'Edit', this.reportId]);
                         }
                         this.showDialog = !this.showDialog;
                         this.closable = true;
@@ -540,7 +540,7 @@ export class DefinitionComponent implements OnInit, OnDestroy {
                             stackTrace = response['anyStacktrace'];
                             stackTrace = stackTrace.substring(0, stackTrace.indexOf('-'));
                             this.reportId = parseInt(stackTrace);
-                            this._router.navigate(['v2/reports', 'Edit', this.reportId]);
+                            this._router.navigate(['v2/app/reports', 'Edit', this.reportId]);
                         }
                         this.showDialog = !this.showDialog;
                         this.closable = true;
@@ -571,7 +571,7 @@ export class DefinitionComponent implements OnInit, OnDestroy {
         this._definitionService.clearSession()
             .subscribe((response) => {
                 console.log(response);
-                this._router.navigate(['v2/report-list']);
+                this._router.navigate(['v2/app/report-list']);
             });
 
     }
index c1559c7..afa84c6 100644 (file)
@@ -137,7 +137,7 @@ export class SQLComponent implements OnInit {
                 this._http.get(environment.baseUrl + 'report/wizard/retrieve_def_tab_wise_data/InSession')
                     .subscribe((response) => {
                         console.log(response);
-                        this._router.navigate(['v2/reports', 'Edit', response['reportId']]);
+                        this._router.navigate(['v2/app/reports', 'Edit', response['reportId']]);
                     });
             }
         }