diff --git a/src/analytics-extension.module.ts b/src/analytics-extension.module.ts index 66dae09..fd5362e 100644 --- a/src/analytics-extension.module.ts +++ b/src/analytics-extension.module.ts @@ -71,7 +71,6 @@ const routes: Route[] = [ component: AnalyticsExtensionComponent, }), hookRoute({ - //path: "list", path: "sag-ps-pkg-analytics-extension/list", component: BlockGridComponent, }), diff --git a/src/analytics/manage/extension-add.component.ts b/src/analytics/manage/extension-add.component.ts index 4da4a46..2e3ef11 100644 --- a/src/analytics/manage/extension-add.component.ts +++ b/src/analytics/manage/extension-add.component.ts @@ -55,6 +55,7 @@ export class AnalyticsAddExtensionComponent { name : n } await this.uploadExtensionHandler(file, this.createdApp, this.restart); + this.alertService.warning("Deploy new Extension!"); this.isAppCreated = true; } catch (ex) { this.analyticsService.cancelExtensionCreation(this.createdApp); diff --git a/src/analytics/manage/extension.component.html b/src/analytics/manage/extension.component.html index 3d70071..0c0dca2 100644 --- a/src/analytics/manage/extension.component.html +++ b/src/analytics/manage/extension.component.html @@ -28,10 +28,10 @@ diff --git a/src/shared/analytics.service.ts b/src/shared/analytics.service.ts index 6f12652..0dce509 100644 --- a/src/shared/analytics.service.ts +++ b/src/shared/analytics.service.ts @@ -199,7 +199,7 @@ export class AnalyticsService { let payload = p["data"]["data"]; if (payload.text == "Recording apama-ctrl safe mode state") { - this.alertService.success("CEP restared sucessfully."); + this.alertService.warning("Deplyoment successful"); } console.log("New status for cep:", payload); } @@ -223,8 +223,8 @@ export class AnalyticsService { }; const url = "/service/cep/restart"; const res = await this.fetchClient.fetch(url, fetchOptions); - this.alertService.success( - gettext("Restart Streaming Analytics submitted ...") + this.alertService.warning( + gettext("Deployment (Restart) submitted ...") ); }