Skip to content

Commit

Permalink
changed messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 22, 2023
1 parent 39408d1 commit e272fed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/analytics-extension.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const routes: Route[] = [
component: AnalyticsExtensionComponent,
}),
hookRoute({
//path: "list",
path: "sag-ps-pkg-analytics-extension/list",
component: BlockGridComponent,
}),
Expand Down
1 change: 1 addition & 0 deletions src/analytics/manage/extension-add.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/analytics/manage/extension.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
<button
(click)="restartCEP()"
class="btn btn-link"
title="{{ 'Restart Streaming Analytics' | translate }}"
title="{{ 'Deploy Extensions (Restart)' | translate }}"
>
<i c8yIcon="c8y-solution-accelerator"></i>
{{ 'Restart Streaming Analytics' | translate }}
{{ 'Deploy Extensions (Restart)' | translate }}
</button>
</c8y-action-bar-item>

Expand Down
6 changes: 3 additions & 3 deletions src/shared/analytics.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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 ...")
);
}

Expand Down

0 comments on commit e272fed

Please sign in to comment.