@esfaenza/admin-module 19.2.30 → 20.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/fesm2022/esfaenza-admin-module.mjs +96 -96
  2. package/fesm2022/esfaenza-admin-module.mjs.map +1 -1
  3. package/index.d.ts +806 -5
  4. package/package.json +12 -12
  5. package/lib/admin-module-messages.d.ts +0 -6
  6. package/lib/admin-module.comms.service.d.ts +0 -10
  7. package/lib/admin-module.module.d.ts +0 -120
  8. package/lib/components/_shared/node_detail.component.d.ts +0 -14
  9. package/lib/components/_shared/node_detail.component.loc.d.ts +0 -8
  10. package/lib/components/audits/adm_audits.component.d.ts +0 -35
  11. package/lib/components/audits/adm_audits.component.loc.d.ts +0 -8
  12. package/lib/components/dynamic_views/adm_dynamic_views.component.d.ts +0 -35
  13. package/lib/components/dynamic_views/adm_dynamic_views.component.loc.d.ts +0 -8
  14. package/lib/components/enqueues/adm_enq.component.d.ts +0 -31
  15. package/lib/components/enqueues/adm_enq.component.loc.d.ts +0 -8
  16. package/lib/components/logs/adm_logs.component.d.ts +0 -27
  17. package/lib/components/logs/adm_logs.component.loc.d.ts +0 -8
  18. package/lib/components/metrics/metrics_search.component.d.ts +0 -49
  19. package/lib/components/metrics/metrics_search.component.loc.d.ts +0 -8
  20. package/lib/components/mtd_query/mtd_query.component.d.ts +0 -32
  21. package/lib/components/mtd_query/mtd_query.component.loc.d.ts +0 -8
  22. package/lib/components/profiler/adm_profiler.component.d.ts +0 -35
  23. package/lib/components/profiler/adm_profiler.component.loc.d.ts +0 -8
  24. package/lib/components/syspars/adm_syspars.component.d.ts +0 -42
  25. package/lib/components/syspars/adm_syspars.component.loc.d.ts +0 -8
  26. package/lib/components/topact/topact_search.component.d.ts +0 -79
  27. package/lib/components/topact/topact_search.component.loc.d.ts +0 -8
  28. package/lib/components/workers/adm_wrk.component.d.ts +0 -61
  29. package/lib/components/workers/adm_wrk.component.loc.d.ts +0 -8
  30. package/lib/models/components/ActiveSession.d.ts +0 -11
  31. package/lib/models/components/Audit.d.ts +0 -15
  32. package/lib/models/components/AuditsView.d.ts +0 -17
  33. package/lib/models/components/DirectorInfos.d.ts +0 -21
  34. package/lib/models/components/DynamicViewsView.d.ts +0 -5
  35. package/lib/models/components/LocksView.d.ts +0 -7
  36. package/lib/models/components/Metric.d.ts +0 -6
  37. package/lib/models/components/MetricChart.d.ts +0 -6
  38. package/lib/models/components/MetricsView.d.ts +0 -13
  39. package/lib/models/components/NodeStats.d.ts +0 -24
  40. package/lib/models/components/NodeWaitStack.d.ts +0 -6
  41. package/lib/models/components/ProcessesView.d.ts +0 -17
  42. package/lib/models/components/ProfilerDataNode.d.ts +0 -21
  43. package/lib/models/components/ProfilerDataNode.loc.d.ts +0 -8
  44. package/lib/models/components/ProfilerDataNodesView.d.ts +0 -8
  45. package/lib/models/components/QueryView.d.ts +0 -5
  46. package/lib/models/components/SessionStats.d.ts +0 -16
  47. package/lib/models/components/SessionThread.d.ts +0 -18
  48. package/lib/models/components/SystemParameters.d.ts +0 -18
  49. package/lib/models/components/SystemParametersView.d.ts +0 -8
  50. package/lib/models/components/TopActivitiesDataView.d.ts +0 -10
  51. package/lib/models/components/TopActivity.d.ts +0 -8
  52. package/lib/models/components/TopNode.d.ts +0 -7
  53. package/lib/models/components/TopSession.d.ts +0 -17
  54. package/lib/models/shared/KeyValue.d.ts +0 -5
  55. package/lib/pipes/format_time.pipe.d.ts +0 -9
  56. package/lib/services/admin-module.base.service.d.ts +0 -51
  57. package/lib/tokens.d.ts +0 -3
  58. package/public-api.d.ts +0 -3
@@ -1,8 +0,0 @@
1
- import { Injector } from "@angular/core";
2
- import { LocalizationService } from "@esfaenza/localizations";
3
- import * as i0 from "@angular/core";
4
- export declare class AdmTopActivitieLoc extends LocalizationService {
5
- constructor(injector: Injector);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmTopActivitieLoc, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AdmTopActivitieLoc>;
8
- }
@@ -1,61 +0,0 @@
1
- import { ActivatedRoute } from "@angular/router";
2
- import { Location } from "@angular/common";
3
- import { NgForm } from "@angular/forms";
4
- import { InterComService, MessageService, UtilityService } from "@esfaenza/extensions";
5
- import { EsTableOperationDefinition } from "@esfaenza/es-table";
6
- import { LocalizationService } from "@esfaenza/localizations";
7
- import { PreferencesService } from "@esfaenza/preferences";
8
- import { ModalDirective } from "ngx-bootstrap/modal";
9
- import { KeyValue } from "../../models/shared/KeyValue";
10
- import { ProcessesView } from "../../models/components/ProcessesView";
11
- import { AdminModuleBaseService } from "../../services/admin-module.base.service";
12
- import * as i0 from "@angular/core";
13
- export declare class AdmWrkComponent {
14
- private utiExts;
15
- private msgExts;
16
- lc: LocalizationService;
17
- private localStorage;
18
- private intercom;
19
- private route;
20
- private location;
21
- private adms;
22
- private mod;
23
- private globalFilterValue;
24
- searchView: ProcessesView;
25
- DynamicOps: EsTableOperationDefinition[];
26
- storageSub: any;
27
- valueToShow: string;
28
- Types: KeyValue[];
29
- States: KeyValue[];
30
- ThreadTypes: KeyValue[];
31
- ThreadStatuses: KeyValue[];
32
- private be;
33
- constructor(utiExts: UtilityService, msgExts: MessageService, lc: LocalizationService, localStorage: PreferencesService, intercom: InterComService, route: ActivatedRoute, location: Location, adms: AdminModuleBaseService, mod: string);
34
- ngOnInit(): void;
35
- ngOnDestroy(): void;
36
- Init(ignoreStorage: any): void;
37
- doInit(ignoreStorage: any): Promise<void>;
38
- init(HotPotato: ProcessesView): void;
39
- sendSearch(resetPage?: boolean): void;
40
- POSTGetServerWorkers(): Promise<void>;
41
- prepareExport(callback: any): Promise<void>;
42
- back(): void;
43
- onOperation(event: {
44
- id: string;
45
- item: any;
46
- }): void;
47
- toggleTracing(process: any, tracing: boolean): Promise<void>;
48
- killProcess(process: any): void;
49
- newCg: string;
50
- CGs: KeyValue[];
51
- CgDictionariesLoaded: boolean;
52
- ProcessOnEdit: any;
53
- cgFrom: NgForm;
54
- dlgChangeCg: ModalDirective;
55
- changeProcessCg(process: any): void;
56
- loadCgDictionaries(): Promise<void>;
57
- setupChangeCg(): void;
58
- doChangeCg(): Promise<boolean>;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmWrkComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<AdmWrkComponent, "adm_wrk", never, {}, {}, never, never, false, never>;
61
- }
@@ -1,8 +0,0 @@
1
- import { Injector } from "@angular/core";
2
- import { LocalizationService } from "@esfaenza/localizations";
3
- import * as i0 from "@angular/core";
4
- export declare class AdmWrkLoc extends LocalizationService {
5
- constructor(injector: Injector);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<AdmWrkLoc, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<AdmWrkLoc>;
8
- }
@@ -1,11 +0,0 @@
1
- export declare class ActiveSession {
2
- sampletime: Date;
3
- cputime: number;
4
- waittime: number;
5
- scripttime: number;
6
- dbtime: number;
7
- nettime: number;
8
- throttletime: number;
9
- sleeptime: number;
10
- iotime: number;
11
- }
@@ -1,15 +0,0 @@
1
- export declare class Audit {
2
- timestamp: Date;
3
- user: string;
4
- action: string;
5
- address: string;
6
- httpmethod: string;
7
- route: string;
8
- args: string;
9
- httpresponse: string;
10
- apperrorcode: string;
11
- objecttype: string;
12
- objectid: string;
13
- objectdata: string;
14
- conversationid: string;
15
- }
@@ -1,17 +0,0 @@
1
- import { AppSearch } from "@esfaenza/es-table";
2
- import { Audit } from "./Audit";
3
- export declare class AuditsView extends AppSearch<Audit> {
4
- constructor();
5
- filterda: string;
6
- filtera: string;
7
- filteruser: string;
8
- filterroute: string;
9
- filteraction: string;
10
- filteraddress: string;
11
- filterhttp: string;
12
- filterargs: string;
13
- filterobjid: string;
14
- filterobjtype: string;
15
- filterconversationid: string;
16
- filterhttpcode: string;
17
- }
@@ -1,21 +0,0 @@
1
- export declare class DirectorInfosPerInstance {
2
- instance: string;
3
- startuptime: Date;
4
- rssplan: string;
5
- threads: number;
6
- cpus: number;
7
- lavg1: number;
8
- lavg5: number;
9
- lavg15: number;
10
- }
11
- export declare class DirectorInfos {
12
- cluster: boolean;
13
- startuptime: Date;
14
- rssplan: string;
15
- threads: number;
16
- cpus: number;
17
- lavg1: number;
18
- lavg5: number;
19
- lavg15: number;
20
- perinstancedata: DirectorInfosPerInstance[];
21
- }
@@ -1,5 +0,0 @@
1
- import { AppSearch, GenericItem } from "@esfaenza/es-table";
2
- export declare class DynamicViewsView extends AppSearch<GenericItem> {
3
- constructor();
4
- filtername: string;
5
- }
@@ -1,7 +0,0 @@
1
- import { AppSearch, GenericItem } from "@esfaenza/es-table";
2
- export declare class LocksView extends AppSearch<GenericItem> {
3
- constructor();
4
- filtersid: string;
5
- filterlock: string;
6
- filterglobal: boolean;
7
- }
@@ -1,6 +0,0 @@
1
- import { MetricChart } from "./MetricChart";
2
- export declare class Metric {
3
- instance: string;
4
- name: string;
5
- values: MetricChart[];
6
- }
@@ -1,6 +0,0 @@
1
- import { LineChartData } from "@esfaenza/es-charts";
2
- export declare class MetricChart extends LineChartData {
3
- xtitle: string;
4
- ytitle: string;
5
- legend: boolean;
6
- }
@@ -1,13 +0,0 @@
1
- import { AppSearch } from "@esfaenza/es-table";
2
- import { Metric } from "./Metric";
3
- export declare class MetricsView extends AppSearch<Metric> {
4
- constructor();
5
- filterfrom: string;
6
- filterto: string;
7
- filtersid: string;
8
- filterserial: string;
9
- filtermetrics: string[];
10
- filterrealtime: boolean;
11
- fitlerinstance: string;
12
- filterglobal: boolean;
13
- }
@@ -1,24 +0,0 @@
1
- import { DateValue, LineChartData, PieChartData } from "@esfaenza/es-charts";
2
- import { NodeWaitStack } from "./NodeWaitStack";
3
- export declare class NodeStats {
4
- nodeid: string;
5
- nodedescription: string;
6
- eventtypedesc: string;
7
- waitclassname: string;
8
- activesessions: DateValue[];
9
- executions: number;
10
- elapsed: number;
11
- elapsedlesschildren: number;
12
- cpuperc: number;
13
- waitperc: number;
14
- dbperc: number;
15
- scriptperc: number;
16
- ioperc: number;
17
- networkperc: number;
18
- throttleperc: number;
19
- sleepperc: number;
20
- waitstack: NodeWaitStack[];
21
- foundininstanceids: string[];
22
- sessionchart: LineChartData;
23
- loadchart: PieChartData;
24
- }
@@ -1,6 +0,0 @@
1
- export declare class NodeWaitStack {
2
- nodeid: string;
3
- nodedescription: string;
4
- eventtypedesc: string;
5
- waitclassname: string;
6
- }
@@ -1,17 +0,0 @@
1
- import { AppSearch, GenericItem } from "@esfaenza/es-table";
2
- export declare class ProcessesView extends AppSearch<GenericItem> {
3
- constructor();
4
- filtertenant: string;
5
- filteruser: string;
6
- filterstate: string;
7
- filterglobal: boolean;
8
- filtertype: string;
9
- filterthreadtype: string;
10
- filterthreadstatus: string;
11
- filterinwait: boolean;
12
- filtersid: string;
13
- filtertid: string;
14
- filtermtid: string;
15
- filterdcid: boolean;
16
- filterbe: string;
17
- }
@@ -1,21 +0,0 @@
1
- export declare class ProfilerDataNode {
2
- parentid: string;
3
- id: string;
4
- description: string;
5
- calls: number;
6
- time: number;
7
- peaktime: number;
8
- mintime: number;
9
- avgtime: number;
10
- timewithoutchildren: number;
11
- percentage: number;
12
- snapdeltacalls: number;
13
- snapdeltatime: number;
14
- snappeaktime: number;
15
- snapmintime: number;
16
- snapavgtime: number;
17
- snaptimewithoutchildren: number;
18
- snappercentage: number;
19
- eventtypename: string;
20
- waitclassname: string;
21
- }
@@ -1,8 +0,0 @@
1
- import { Injector } from "@angular/core";
2
- import { LocalizationService } from "@esfaenza/localizations";
3
- import * as i0 from "@angular/core";
4
- export declare class ProfilerDataNodeLoc extends LocalizationService {
5
- constructor(injector: Injector);
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ProfilerDataNodeLoc, never>;
7
- static ɵprov: i0.ɵɵInjectableDeclaration<ProfilerDataNodeLoc>;
8
- }
@@ -1,8 +0,0 @@
1
- import { AppSearch } from "@esfaenza/es-table";
2
- import { ProfilerDataNode } from "./ProfilerDataNode";
3
- export declare class ProfilerDataNodesView extends AppSearch<ProfilerDataNode> {
4
- constructor();
5
- filterfrom: string;
6
- filterto: string;
7
- filterglobal: boolean;
8
- }
@@ -1,5 +0,0 @@
1
- import { AppSearch, GenericItem } from "@esfaenza/es-table";
2
- export declare class QueryView extends AppSearch<GenericItem> {
3
- constructor();
4
- filterquery: string;
5
- }
@@ -1,16 +0,0 @@
1
- import { SessionThread } from "./SessionThread";
2
- import { ActiveSession } from "./ActiveSession";
3
- import { TopNode } from "./TopNode";
4
- export declare class SessionStats {
5
- sid: number;
6
- instanceid: string;
7
- serial: number;
8
- status: string;
9
- tenant: string;
10
- user: string;
11
- type: string;
12
- rssconsumergroup: string;
13
- nodes: TopNode[];
14
- sessions: ActiveSession[];
15
- threads: SessionThread[];
16
- }
@@ -1,18 +0,0 @@
1
- import { TopNode } from "./TopNode";
2
- import { ActiveSession } from "./ActiveSession";
3
- export declare class SessionThread {
4
- tid: string;
5
- status: string;
6
- type: string;
7
- api: string;
8
- wait: string;
9
- waitnode: string;
10
- waiteventtype: string;
11
- waitclassname: string;
12
- waitpar1: string;
13
- waitpar2: string;
14
- waitpar3: string;
15
- waittime: number;
16
- nodes: TopNode[];
17
- sessions: ActiveSession[];
18
- }
@@ -1,18 +0,0 @@
1
- export declare class SystemParameters {
2
- value: string;
3
- parametername: string;
4
- parameterdescription: string;
5
- defaultvalue: string;
6
- isdefault: boolean;
7
- isreadonly: boolean;
8
- syseditable: boolean;
9
- seseditable: boolean;
10
- configfile: boolean;
11
- memory: boolean;
12
- level: string;
13
- modified: string;
14
- adjusted: boolean;
15
- typecode: number;
16
- type: string;
17
- instanceids: object[];
18
- }
@@ -1,8 +0,0 @@
1
- import { AppSearch } from "@esfaenza/es-table";
2
- import { SystemParameters } from "./SystemParameters";
3
- export declare class SystemParametersView extends AppSearch<SystemParameters> {
4
- constructor();
5
- filterparameter: string;
6
- filterlevel: string;
7
- filterglobal: boolean;
8
- }
@@ -1,10 +0,0 @@
1
- import { AppSearch } from "@esfaenza/es-table";
2
- import { TopActivity } from "./TopActivity";
3
- export declare class TopActivitiesDataView extends AppSearch<TopActivity> {
4
- constructor();
5
- filterfrom: string;
6
- filterto: string;
7
- filterrealtime: boolean;
8
- filterbe: string;
9
- filterglobal: boolean;
10
- }
@@ -1,8 +0,0 @@
1
- import { ActiveSession } from "./ActiveSession";
2
- import { TopSession } from "./TopSession";
3
- import { TopNode } from "./TopNode";
4
- export declare class TopActivity {
5
- actsessions: ActiveSession[];
6
- topsessions: TopSession[];
7
- topnodes: TopNode[];
8
- }
@@ -1,7 +0,0 @@
1
- export declare class TopNode {
2
- activity: number;
3
- profnodeid: string;
4
- nodetypename: string;
5
- profnodedesc: string;
6
- waitclassname: string;
7
- }
@@ -1,17 +0,0 @@
1
- export declare class TopSession {
2
- activity: number;
3
- cpu: number;
4
- wait: number;
5
- db: number;
6
- script: number;
7
- throttle: number;
8
- sleep: number;
9
- net: number;
10
- io: number;
11
- sid: number;
12
- serial: number;
13
- instanceid: string;
14
- user: string;
15
- tenant: string;
16
- bgprocess: string;
17
- }
@@ -1,5 +0,0 @@
1
- export declare class KeyValue {
2
- id: string;
3
- description: string;
4
- constructor(id: string, description: string);
5
- }
@@ -1,9 +0,0 @@
1
- import { PipeTransform } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class FormatTimePipe implements PipeTransform {
4
- constructor();
5
- transform(value: number | string): string;
6
- secondsToHms(d: number | string): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FormatTimePipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<FormatTimePipe, "format_time", true>;
9
- }
@@ -1,51 +0,0 @@
1
- import { Injector } from "@angular/core";
2
- import { MessageService } from "@esfaenza/extensions";
3
- import { HTTPService } from "@esfaenza/httpservice";
4
- import { ProcessesView } from "../models/components/ProcessesView";
5
- import { KeyValue } from "@esfaenza/core/domain";
6
- import { TopActivitiesDataView } from "../models/components/TopActivitiesDataView";
7
- import { DirectorInfos } from "../models/components/DirectorInfos";
8
- import { NodeStats } from "../models/components/NodeStats";
9
- import { SessionStats } from "../models/components/SessionStats";
10
- import { ProfilerDataNodesView } from "../models/components/ProfilerDataNodesView";
11
- import { MetricsView } from "../models/components/MetricsView";
12
- import { Metric } from "../models/components/Metric";
13
- import { LocksView } from "../models/components/LocksView";
14
- import { DynamicViewsView } from "../models/components/DynamicViewsView";
15
- import { AuditsView } from "../models/components/AuditsView";
16
- import { QueryView } from "../models/components/QueryView";
17
- import { SystemParametersView } from "../models/components/SystemParametersView";
18
- import { SystemParameters } from "../models/components/SystemParameters";
19
- import * as i0 from "@angular/core";
20
- export declare class AdminModuleBaseService {
21
- private injector;
22
- http: HTTPService;
23
- msgExts: MessageService;
24
- constructor(injector: Injector);
25
- getServerWorkers(be: string, sv: ProcessesView): Promise<ProcessesView>;
26
- doSetProcessTracing(be: string, instanceid: string, sid: string, serial: string, enable: string): Promise<string>;
27
- doKillProcess(be: string, instanceid: string, sid: string, serial: string): Promise<string>;
28
- doChangeProcessConsumerGroup(be: string, instanceid: string, sid: string, serial: string, consumerGroup: string): Promise<string>;
29
- getConsumerGroups(be: string): Promise<KeyValue[]>;
30
- getServerLogs(be: string, from: string, to: string, instance: string, target: string): Promise<string>;
31
- getTopActivities(be: string, sv: TopActivitiesDataView): Promise<TopActivitiesDataView>;
32
- getInfos(be: string): Promise<DirectorInfos>;
33
- getNodeStats(be: string, nodeId: string, global?: boolean): Promise<NodeStats>;
34
- getSessionStats(be: string, sid: string, serial: string, instance: string): Promise<SessionStats>;
35
- getProfilerDataNodes(be: string, sv: ProfilerDataNodesView): Promise<ProfilerDataNodesView>;
36
- downloadWorkloadReport(be: string, from: string, to: string, global?: boolean): void;
37
- getMetrics(be: string, sv: MetricsView): Promise<MetricsView>;
38
- getMetricsList(be: string, from: string, to: string): Promise<Metric[]>;
39
- getServerLocks(be: string, sv: LocksView): Promise<LocksView>;
40
- getServerQuery(be: string, sv: QueryView): Promise<QueryView>;
41
- getDynamicViewData(be: string, sv: DynamicViewsView): Promise<DynamicViewsView>;
42
- getDynamicViews(be: string): Promise<KeyValue[]>;
43
- getServerAudits(be: string, sv: AuditsView): Promise<AuditsView>;
44
- getSystemParameters(be: string, sv: SystemParametersView): Promise<SystemParametersView>;
45
- getInstances(be: string): Promise<KeyValue[]>;
46
- getLogTargets(be: string, instance: string): Promise<KeyValue[]>;
47
- updateSystemParameter(be: string, dto: SystemParameters): Promise<string>;
48
- resetSystemParameter(be: string, parId: string, level: string): Promise<string>;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<AdminModuleBaseService, never>;
50
- static ɵprov: i0.ɵɵInjectableDeclaration<AdminModuleBaseService>;
51
- }
package/lib/tokens.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from "@angular/core";
2
- export declare const ADM_MODULE_PATH: InjectionToken<string>;
3
- export declare const ADM_CONVERSATIONS: InjectionToken<boolean>;
package/public-api.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './lib/admin-module.module';
2
- export * from './lib/tokens';
3
- export * from "./lib/admin-module-messages";