@esfaenza/admin-module 15.2.9 → 15.2.11

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.
@@ -1,24 +1,24 @@
1
1
  export const Repository = {
2
- GET_Adm_ChangeProcessConsumerGroup: "/api/Adm/ChangeProcessConsumerGroup",
3
- GET_Adm_ClearAllCaches: "/api/Adm/ClearAllCaches",
4
- GET_Adm_GetConsumerGroups: "/api/Adm/GetConsumerGroups#cache",
5
- GET_Adm_GetInfos: "/api/Adm/GetInfos",
6
- GET_Adm_GetMetrics: "/api/Adm/GetMetrics",
7
- POST_Adm_GetMetrics: "/api/Adm/GetMetrics",
8
- POST_Adm_GetProfilerDataNodes: "/api/Adm/GetProfilerDataNodes",
9
- POST_Adm_GetServerAudits: "/api/Adm/GetServerAudits",
10
- POST_Adm_GetDynamicViewData: "/api/Adm/GetDynamicViewData",
11
- POST_Adm_GetServerLocks: "/api/Adm/GetServerLocks",
12
- GET_Adm_GetServerLogs: "/api/Adm/GetServerLogs",
13
- GET_Adm_GetDynamicViews: "/api/Adm/GetDynamicViews",
14
- POST_Adm_GetServerWorkers: "/api/Adm/GetServerWorkers",
15
- POST_Adm_GetTopActivities: "/api/Adm/GetTopActivities",
16
- GET_Adm_GetWorkerStatus: "/api/Adm/GetWorkerStatus",
17
- GET_Adm_InvalidateServerSideCache: "/api/Adm/InvalidateServerSideCache",
18
- GET_Adm_KillProcess: "/api/Adm/KillProcess",
19
- GET_Adm_SetProcessTracing: "/api/Adm/SetProcessTracing",
20
- GET_Adm_StartWorker: "/api/Adm/StartWorker",
21
- GET_Adm_StopWorker: "/api/Adm/StopWorker",
22
- GET_Adm_GetNodeStats: "/api/Adm/GetNodeStats",
2
+ GET_Director_ChangeProcessConsumerGroup: "/api/Director/ChangeProcessConsumerGroup",
3
+ GET_Director_ClearAllCaches: "/api/Director/ClearAllCaches",
4
+ GET_Director_GetConsumerGroups: "/api/Director/GetConsumerGroups#cache",
5
+ GET_Director_GetInfos: "/api/Director/GetInfos",
6
+ GET_Director_GetMetrics: "/api/Director/GetMetrics",
7
+ POST_Director_GetMetrics: "/api/Director/GetMetrics",
8
+ POST_Director_GetProfilerDataNodes: "/api/Director/GetProfilerDataNodes",
9
+ POST_Director_GetServerAudits: "/api/Director/GetServerAudits",
10
+ POST_Director_GetDynamicViewData: "/api/Director/GetDynamicViewData",
11
+ POST_Director_GetServerLocks: "/api/Director/GetServerLocks",
12
+ GET_Director_GetServerLogs: "/api/Director/GetServerLogs",
13
+ GET_Director_GetDynamicViews: "/api/Director/GetDynamicViews",
14
+ POST_Director_GetServerWorkers: "/api/Director/GetServerWorkers",
15
+ POST_Director_GetTopActivities: "/api/Director/GetTopActivities",
16
+ GET_Director_GetWorkerStatus: "/api/Director/GetWorkerStatus",
17
+ GET_Director_InvalidateServerSideCache: "/api/Director/InvalidateServerSideCache",
18
+ GET_Director_KillProcess: "/api/Director/KillProcess",
19
+ GET_Director_SetProcessTracing: "/api/Director/SetProcessTracing",
20
+ GET_Director_StartWorker: "/api/Director/StartWorker",
21
+ GET_Director_StopWorker: "/api/Director/StopWorker",
22
+ GET_Director_GetNodeStats: "/api/Director/GetNodeStats",
23
23
  };
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkbWluLW1vZHVsZS9zcmMvbGliL21vZGVscy9leHRlcm5hbHMvUmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxVQUFVLEdBQUc7SUFDdEIsa0NBQWtDLEVBQUUscUNBQXFDO0lBQ3pFLHNCQUFzQixFQUFFLHlCQUF5QjtJQUNqRCx5QkFBeUIsRUFBRSxrQ0FBa0M7SUFDN0QsZ0JBQWdCLEVBQUU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dG9yX1N0YXJ0V29ya2VyOiBcIi9hcGkvRGlyZWN0b3IvU3RhcnRXb3JrZXJcIixcclxuICAgIEdFVF9EaXJlY3Rvcl9TdG9wV29ya2VyOiBcIi9hcGkvRGlyZWN0b3IvU3RvcFdvcmtlclwiLFxyXG4gICAgR0VUX0RpcmVjdG9yX0dldE5vZGVTdGF0czogXCIvYXBpL0RpcmVjdG9yL0dldE5vZGVTdGF0c1wiLFxyXG59Il19
@@ -32,7 +32,8 @@ import * as i3 from '@esfaenza/preferences';
32
32
  import * as i4 from '@esfaenza/httpservice';
33
33
  import { HttpParams } from '@angular/common/http';
34
34
  import { autoserialize } from 'cerialize';
35
- import { map } from 'rxjs/operators';
35
+ import { catchError } from 'rxjs/operators';
36
+ import { of } from 'rxjs';
36
37
 
37
38
  class AuditsView extends AppSearch {
38
39
  constructor() {
@@ -43,27 +44,27 @@ class AuditsView extends AppSearch {
43
44
  }
44
45
 
45
46
  const Repository = {
46
- GET_Adm_ChangeProcessConsumerGroup: "/api/Adm/ChangeProcessConsumerGroup",
47
- GET_Adm_ClearAllCaches: "/api/Adm/ClearAllCaches",
48
- GET_Adm_GetConsumerGroups: "/api/Adm/GetConsumerGroups#cache",
49
- GET_Adm_GetInfos: "/api/Adm/GetInfos",
50
- GET_Adm_GetMetrics: "/api/Adm/GetMetrics",
51
- POST_Adm_GetMetrics: "/api/Adm/GetMetrics",
52
- POST_Adm_GetProfilerDataNodes: "/api/Adm/GetProfilerDataNodes",
53
- POST_Adm_GetServerAudits: "/api/Adm/GetServerAudits",
54
- POST_Adm_GetDynamicViewData: "/api/Adm/GetDynamicViewData",
55
- POST_Adm_GetServerLocks: "/api/Adm/GetServerLocks",
56
- GET_Adm_GetServerLogs: "/api/Adm/GetServerLogs",
57
- GET_Adm_GetDynamicViews: "/api/Adm/GetDynamicViews",
58
- POST_Adm_GetServerWorkers: "/api/Adm/GetServerWorkers",
59
- POST_Adm_GetTopActivities: "/api/Adm/GetTopActivities",
60
- GET_Adm_GetWorkerStatus: "/api/Adm/GetWorkerStatus",
61
- GET_Adm_InvalidateServerSideCache: "/api/Adm/InvalidateServerSideCache",
62
- GET_Adm_KillProcess: "/api/Adm/KillProcess",
63
- GET_Adm_SetProcessTracing: "/api/Adm/SetProcessTracing",
64
- GET_Adm_StartWorker: "/api/Adm/StartWorker",
65
- GET_Adm_StopWorker: "/api/Adm/StopWorker",
66
- GET_Adm_GetNodeStats: "/api/Adm/GetNodeStats",
47
+ GET_Director_ChangeProcessConsumerGroup: "/api/Director/ChangeProcessConsumerGroup",
48
+ GET_Director_ClearAllCaches: "/api/Director/ClearAllCaches",
49
+ GET_Director_GetConsumerGroups: "/api/Director/GetConsumerGroups#cache",
50
+ GET_Director_GetInfos: "/api/Director/GetInfos",
51
+ GET_Director_GetMetrics: "/api/Director/GetMetrics",
52
+ POST_Director_GetMetrics: "/api/Director/GetMetrics",
53
+ POST_Director_GetProfilerDataNodes: "/api/Director/GetProfilerDataNodes",
54
+ POST_Director_GetServerAudits: "/api/Director/GetServerAudits",
55
+ POST_Director_GetDynamicViewData: "/api/Director/GetDynamicViewData",
56
+ POST_Director_GetServerLocks: "/api/Director/GetServerLocks",
57
+ GET_Director_GetServerLogs: "/api/Director/GetServerLogs",
58
+ GET_Director_GetDynamicViews: "/api/Director/GetDynamicViews",
59
+ POST_Director_GetServerWorkers: "/api/Director/GetServerWorkers",
60
+ POST_Director_GetTopActivities: "/api/Director/GetTopActivities",
61
+ GET_Director_GetWorkerStatus: "/api/Director/GetWorkerStatus",
62
+ GET_Director_InvalidateServerSideCache: "/api/Director/InvalidateServerSideCache",
63
+ GET_Director_KillProcess: "/api/Director/KillProcess",
64
+ GET_Director_SetProcessTracing: "/api/Director/SetProcessTracing",
65
+ GET_Director_StartWorker: "/api/Director/StartWorker",
66
+ GET_Director_StopWorker: "/api/Director/StopWorker",
67
+ GET_Director_GetNodeStats: "/api/Director/GetNodeStats",
67
68
  };
68
69
 
69
70
  const ADM_MODULE_PATH = new InjectionToken('ADM_MODULE_PATH');
@@ -151,7 +152,7 @@ class AdmAuditsComponent {
151
152
  //Altirmenti genero il modello nuovo normalmente
152
153
  if (HotPotato) {
153
154
  this.searchView = HotPotato;
154
- this.POSTGetProcesses(Repository["POST_Adm_GetServerAudits"], this.searchView);
155
+ this.POSTGetProcesses(Repository["POST_Director_GetServerAudits"], this.searchView);
155
156
  }
156
157
  else {
157
158
  this.searchView = new AuditsView();
@@ -164,7 +165,7 @@ class AdmAuditsComponent {
164
165
  this.searchInProgress = true;
165
166
  if (resetPage)
166
167
  this.searchView.page = 1;
167
- this.POSTGetProcesses(Repository["POST_Adm_GetServerAudits"], this.searchView);
168
+ this.POSTGetProcesses(Repository["POST_Director_GetServerAudits"], this.searchView);
168
169
  }
169
170
  POSTGetProcesses(url, data) {
170
171
  this.http.post(url, data).subscribe(t => {
@@ -296,7 +297,7 @@ class AdmWrkComponent {
296
297
  init(HotPotato) {
297
298
  if (HotPotato) {
298
299
  this.searchView = HotPotato;
299
- this.POSTGetProcesses(Repository["POST_Adm_GetServerWorkers"], this.searchView);
300
+ this.POSTGetProcesses(Repository["POST_Director_GetServerWorkers"], this.searchView);
300
301
  }
301
302
  else {
302
303
  this.searchView = new ProcessesView();
@@ -307,7 +308,7 @@ class AdmWrkComponent {
307
308
  this.searchView.searchinprogress = true;
308
309
  if (resetPage)
309
310
  this.searchView.page = 1;
310
- this.POSTGetProcesses(Repository["POST_Adm_GetServerWorkers"], this.searchView);
311
+ this.POSTGetProcesses(Repository["POST_Director_GetServerWorkers"], this.searchView);
311
312
  }
312
313
  POSTGetProcesses(url, data) {
313
314
  this.http.post(url, data).subscribe(t => {
@@ -341,7 +342,7 @@ class AdmWrkComponent {
341
342
  .set("sid", process.properties["sid"] || process.properties["SID"])
342
343
  .set("serial", process.properties["serial"] || process.properties["SERIAL"])
343
344
  .set("enable", tracing.toString());
344
- this.http.get(Repository["GET_Adm_SetProcessTracing"], pars).subscribe(t => {
345
+ this.http.get(Repository["GET_Director_SetProcessTracing"], pars).subscribe(t => {
345
346
  this.msgExts.manageStringResponse(t, "", this.lc.loc("Errori nella modifica del Tracing del Processo"), () => this.sendSearch());
346
347
  });
347
348
  }
@@ -351,7 +352,7 @@ class AdmWrkComponent {
351
352
  .set("instanceid", process.properties["inst_id"] || process.properties["INST_ID"])
352
353
  .set("sid", process.properties["sid"] || process.properties["SID"])
353
354
  .set("serial", process.properties["serial"] || process.properties["SERIAL"]);
354
- this.http.get(Repository["GET_Adm_KillProcess"], pars).subscribe(t => {
355
+ this.http.get(Repository["GET_Director_KillProcess"], pars).subscribe(t => {
355
356
  this.msgExts.manageStringResponse(t, this.lc.loc("Processo ucciso con successo"), this.lc.loc("Errori durante la Kill del Processo"), () => this.sendSearch());
356
357
  });
357
358
  });
@@ -366,7 +367,7 @@ class AdmWrkComponent {
366
367
  this.dlgChangeCg.show();
367
368
  }
368
369
  loadCgDictionaries() {
369
- this.http.get(Repository["GET_Adm_GetConsumerGroups"]).subscribe(t => this.CGs = t);
370
+ this.http.get(Repository["GET_Director_GetConsumerGroups"]).subscribe(t => this.CGs = t);
370
371
  }
371
372
  setupChangeCg() {
372
373
  this.utiExts.cleanForm(this.cgFrom);
@@ -378,7 +379,7 @@ class AdmWrkComponent {
378
379
  .set("sid", this.ProcessOnEdit.properties["sid"] || this.ProcessOnEdit.properties["SID"])
379
380
  .set("serial", this.ProcessOnEdit.properties["serial"] || this.ProcessOnEdit.properties["SERIAL"])
380
381
  .set("consumer_group", this.newCg);
381
- this.http.get(Repository["GET_Adm_ChangeProcessConsumerGroup"], pars).subscribe(t => {
382
+ this.http.get(Repository["GET_Director_ChangeProcessConsumerGroup"], pars).subscribe(t => {
382
383
  this.msgExts.manageStringResponse(t, this.lc.loc("Gruppo di Consumo modificato con successo"), this.lc.loc("Errori nella modifica del Gruppo di Consumo"), () => this.sendSearch());
383
384
  });
384
385
  return true;
@@ -643,7 +644,7 @@ class AdmProfilerComponent {
643
644
  init(HotPotato) {
644
645
  if (HotPotato) {
645
646
  this.searchView = HotPotato;
646
- this.POSTGetItems(Repository["POST_Adm_GetProfilerDataNodes"], this.searchView);
647
+ this.POSTGetItems(Repository["POST_Director_GetProfilerDataNodes"], this.searchView);
647
648
  }
648
649
  else {
649
650
  this.searchView = new ProfilerDataNodesView();
@@ -658,7 +659,7 @@ class AdmProfilerComponent {
658
659
  this.searchView.searchinprogress = true;
659
660
  if (resetPage)
660
661
  this.searchView.page = 1;
661
- this.POSTGetItems(Repository["POST_Adm_GetProfilerDataNodes"], this.searchView);
662
+ this.POSTGetItems(Repository["POST_Director_GetProfilerDataNodes"], this.searchView);
662
663
  }
663
664
  POSTGetItems(url, data) {
664
665
  this.http.post(url, data).subscribe(t => {
@@ -671,7 +672,7 @@ class AdmProfilerComponent {
671
672
  var view = JSON.parse(JSON.stringify(this.searchView));
672
673
  view.page = 1;
673
674
  view.itemsperpageoverride = 9999999;
674
- this.http.post(Repository["POST_Adm_GetProfilerDataNodes"], view).subscribe(t => {
675
+ this.http.post(Repository["POST_Director_GetProfilerDataNodes"], view).subscribe(t => {
675
676
  let items = this.expExts.deserializeForExport(t.items, ProfilerDataNode);
676
677
  dataCallBack(items);
677
678
  });
@@ -679,7 +680,7 @@ class AdmProfilerComponent {
679
680
  loadNodeDetails(nodeId) {
680
681
  this.NodeDetails = null;
681
682
  let pars = new HttpParams().set('nodeId', nodeId);
682
- this.http.get(Repository.GET_Adm_GetNodeStats, pars).subscribe(t => {
683
+ this.http.get(Repository.GET_Director_GetNodeStats, pars).subscribe(t => {
683
684
  this.NodeDetails = t;
684
685
  });
685
686
  }
@@ -780,7 +781,7 @@ class AdmTopActivitiesComponent {
780
781
  init(HotPotato) {
781
782
  if (HotPotato) {
782
783
  this.searchView = HotPotato;
783
- this.POSTGetItems(Repository.POST_Adm_GetTopActivities, this.searchView, false);
784
+ this.POSTGetItems(Repository.POST_Director_GetTopActivities, this.searchView, false);
784
785
  }
785
786
  else {
786
787
  this.searchView = new TopActivitiesDataView();
@@ -795,7 +796,7 @@ class AdmTopActivitiesComponent {
795
796
  this.searchView.searchinprogress = true;
796
797
  if (resetPage)
797
798
  this.searchView.page = 1;
798
- this.POSTGetItems(Repository.POST_Adm_GetTopActivities, searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
799
+ this.POSTGetItems(Repository.POST_Director_GetTopActivities, searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
799
800
  }
800
801
  POSTGetItems(url, data, update) {
801
802
  this.http.post(url, data).subscribe((t) => __awaiter(this, void 0, void 0, function* () {
@@ -804,18 +805,16 @@ class AdmTopActivitiesComponent {
804
805
  this.searchView = t;
805
806
  this.localStorage.setItem("HotSearchTopAct", this.searchView).subscribe();
806
807
  }
807
- var dirinfos = yield this.getDirectorInfos();
808
+ // DirectorInfos anche se per qualche motivo crasha di brutto è comunque non obbligatorio, evito di non caricare la pagina solo perché lui scoppia
809
+ var dirinfos = yield this.http.get(Repository.GET_Director_GetInfos, null, null, false).pipe(catchError(_ => of(null))).toPromise();
808
810
  this.searchView.searchinprogress = false;
809
811
  this.reviewBindings(update, t, dirinfos);
810
812
  }));
811
813
  }
812
- getDirectorInfos() {
813
- return this.http.get(Repository.GET_Adm_GetInfos).pipe(map(res => { return res; })).toPromise();
814
- }
815
814
  loadNodeDetails(nodeId) {
816
815
  this.NodeDetails = null;
817
816
  let pars = new HttpParams().set('nodeId', nodeId);
818
- this.http.get(Repository.GET_Adm_GetNodeStats, pars).subscribe(t => {
817
+ this.http.get(Repository.GET_Director_GetNodeStats, pars).subscribe(t => {
819
818
  this.NodeDetails = t;
820
819
  });
821
820
  }
@@ -960,7 +959,7 @@ class AdmEnqComponent {
960
959
  init(HotPotato) {
961
960
  if (HotPotato) {
962
961
  this.locksView = HotPotato;
963
- this.POSTGetProcesses(Repository["POST_Adm_GetServerLocks"], this.locksView);
962
+ this.POSTGetProcesses(Repository["POST_Director_GetServerLocks"], this.locksView);
964
963
  }
965
964
  else {
966
965
  this.locksView = new LocksView();
@@ -970,7 +969,7 @@ class AdmEnqComponent {
970
969
  sendSearch(resetPage = true) {
971
970
  if (resetPage)
972
971
  this.locksView.page = 1;
973
- this.POSTGetProcesses(Repository["POST_Adm_GetServerLocks"], this.locksView);
972
+ this.POSTGetProcesses(Repository["POST_Director_GetServerLocks"], this.locksView);
974
973
  }
975
974
  POSTGetProcesses(url, data) {
976
975
  this.http.post(url, data).subscribe(t => {
@@ -1051,7 +1050,7 @@ class AdmMetricsComponent {
1051
1050
  this.selectedInstance = "";
1052
1051
  this.searchView.filtermetrics = [];
1053
1052
  var pars = new HttpParams().set("from", this.searchView.filterfrom || "").set("to", this.searchView.filterto || "");
1054
- this.http.get(Repository["GET_Adm_GetMetrics"], pars).subscribe(t => this.Metrics = t);
1053
+ this.http.get(Repository["GET_Director_GetMetrics"], pars).subscribe(t => this.Metrics = t);
1055
1054
  }
1056
1055
  doInit(ignoreStorage) {
1057
1056
  return __awaiter(this, void 0, void 0, function* () {
@@ -1070,7 +1069,7 @@ class AdmMetricsComponent {
1070
1069
  init(HotPotato) {
1071
1070
  if (HotPotato) {
1072
1071
  this.searchView = HotPotato;
1073
- this.POSTGetItems(Repository["POST_Adm_GetMetrics"], this.searchView, false);
1072
+ this.POSTGetItems(Repository["POST_Director_GetMetrics"], this.searchView, false);
1074
1073
  }
1075
1074
  else {
1076
1075
  this.searchView = new MetricsView();
@@ -1090,7 +1089,7 @@ class AdmMetricsComponent {
1090
1089
  this.searchView.itemsperpageoverride = 999999;
1091
1090
  if (resetPage)
1092
1091
  this.searchView.page = 1;
1093
- this.POSTGetItems(Repository["POST_Adm_GetMetrics"], searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
1092
+ this.POSTGetItems(Repository["POST_Director_GetMetrics"], searchViewOverride !== null && searchViewOverride !== void 0 ? searchViewOverride : this.searchView, update);
1094
1093
  }
1095
1094
  POSTGetItems(url, data, update) {
1096
1095
  data.filterrealtime = update ? data.filterrealtime : !(!!data.filterfrom || !!data.filterto);
@@ -1190,7 +1189,7 @@ class AdmLogsComponent {
1190
1189
  this.intercom.send(InboundMessageTypes.Navigation, { sub: false, routeTitle: this.lc.loc(this.route.snapshot.data["title"]) });
1191
1190
  }
1192
1191
  ngOnInit() {
1193
- this.http.get(Repository["GET_Adm_GetServerLogs"]).subscribe(t => { this.Log = t; });
1192
+ this.http.get(Repository["GET_Director_GetServerLogs"]).subscribe(t => { this.Log = t; });
1194
1193
  }
1195
1194
  }
1196
1195
  AdmLogsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AdmLogsComponent, deps: [{ token: i1.InterComService }, { token: i4.HTTPService }, { token: i2.LocalizationService }, { token: i5.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
@@ -1238,7 +1237,7 @@ class AdmDynamicViewsComponent {
1238
1237
  this.intercom.send(InboundMessageTypes.Navigation, { sub: false, routeTitle: this.lc.loc(this.route.snapshot.data["title"]) });
1239
1238
  }
1240
1239
  ngOnInit() {
1241
- this.http.get(Repository.GET_Adm_GetDynamicViews).subscribe(t => { this.Names = t; });
1240
+ this.http.get(Repository.GET_Director_GetDynamicViews).subscribe(t => { this.Names = t; });
1242
1241
  this.storageSub = this.route.queryParams.subscribe(params => { this.Init(params["ignoreStorage"]); });
1243
1242
  }
1244
1243
  ngOnDestroy() {
@@ -1264,7 +1263,7 @@ class AdmDynamicViewsComponent {
1264
1263
  //Altirmenti genero il modello nuovo normalmente
1265
1264
  if (HotPotato) {
1266
1265
  this.searchView = HotPotato;
1267
- this.POSTGetItems(Repository.POST_Adm_GetDynamicViewData, this.searchView);
1266
+ this.POSTGetItems(Repository.POST_Director_GetDynamicViewData, this.searchView);
1268
1267
  }
1269
1268
  else {
1270
1269
  this.searchView = new DynamicViewsView();
@@ -1276,7 +1275,7 @@ class AdmDynamicViewsComponent {
1276
1275
  if (resetPage)
1277
1276
  this.searchView.page = 1;
1278
1277
  this.searchView.filtername = this.filterName;
1279
- this.POSTGetItems(Repository.POST_Adm_GetDynamicViewData, this.searchView);
1278
+ this.POSTGetItems(Repository.POST_Director_GetDynamicViewData, this.searchView);
1280
1279
  }
1281
1280
  POSTGetItems(url, data) {
1282
1281
  if (!this.searchView.filtername) {