-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.dxc.idm.analzyer.v0.7.idmpck
6926 lines (6842 loc) · 269 KB
/
com.dxc.idm.analzyer.v0.7.idmpck
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<IDM EXPORTED_ON="2024-10-01 08:36:01.3466667" IS_PACKAGE_FOLDER_EXPORT="0" PACKAGE_TRANSPORT_VERSION="8#0#8#2020#0#1#800SP8#1815#1815#1807" SCHEMA_VERSION="1815">
<PACKAGES>
<PACKAGE MCQUALIFIEDNAME="com.dxc.idm.analzyer">
<MCDISPLAYNAME>com.dxc.idm.analzyer</MCDISPLAYNAME>
<MCLASTMODIFIED>1727771746043</MCLASTMODIFIED>
<MCMAJORVERSION>0</MCMAJORVERSION>
<MCMINORVERSION>7</MCMINORVERSION>
<MCPACKAGELEVEL>1815</MCPACKAGELEVEL>
<MCPACKAGETYPE>0</MCPACKAGETYPE>
<MCQUALIFIEDNAME>com.dxc.idm.analzyer</MCQUALIFIEDNAME>
<PACKAGE_VARS>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>-1</VARCATEGORY>
<VARNAME>DXC_ANALYZER_IDM_DB_OPER_CON_STR</VARNAME>
<VARTYPE>4</VARTYPE>
<VARVALUE>{AES256CBC}1:c426cf34fb8fad7bb0471a9b2092d867-04486279cea08416d58f365968845598d5ea0845233e3068df5784b0742909155407ab99f984976e9fd169045a018d84379f7110a6dbd5826a95ea56612100bdb7172345a5b045074f020606452112577639b6186518440b42c8f4d4489342badb6602d40bea09bd2f65b34c128af8e3</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>2</VARBEHAVIOR>
<VARCATEGORY>-1</VARCATEGORY>
<VARDESCRIPTION>Job to create a downloadble report over all jobs existing in the system</VARDESCRIPTION>
<VARNAME>DXC_ANALYZER_JOB_JOB_REPORT</VARNAME>
<VARTYPE>13</VARTYPE>
<VARVALUE>B4164D2A-A854-4D3B-A63C-DBFC94C86AB5</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>2</VARBEHAVIOR>
<VARCATEGORY>-1</VARCATEGORY>
<VARDESCRIPTION>Job to generate a downloadble report on all packages and update of the UI report to show all customized packages</VARDESCRIPTION>
<VARNAME>DXC_ANALYZER_JOB_PACKAGE_REPORT</VARNAME>
<VARTYPE>13</VARTYPE>
<VARVALUE>E35CC09F-4115-4EC7-A9E4-CA6EDEC3B7B6</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>2</VARBEHAVIOR>
<VARCATEGORY>-1</VARCATEGORY>
<VARDESCRIPTION>Job to get primary system statistics</VARDESCRIPTION>
<VARNAME>DXC_ANALYZER_JOB_SYSTEM_STATS</VARNAME>
<VARTYPE>13</VARTYPE>
<VARVALUE>0647A86E-F268-49CE-9B07-3C45A302F3ED</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_CONFIG_RATING</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>Low (111)</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_CONFIG_SCORE</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>111</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_QUESTIONNAIRE_RATING</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>Low (2)</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_QUESTIONNAIRE_SCORE</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>2</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_STATS_RATING</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>Low (16416)</VARVALUE>
</VARIABLE>
<VARIABLE>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<VARBEHAVIOR>0</VARBEHAVIOR>
<VARCATEGORY>0</VARCATEGORY>
<VARNAME>DXC_STATS_SCORE</VARNAME>
<VARTYPE>0</VARTYPE>
<VARVALUE>16416</VARVALUE>
</VARIABLE>
</PACKAGE_VARS>
<PACKAGE_SCRIPTS>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION>/* Main function:DXC_JS_clearUIreport
* Author: DXC
* purpose: Clear UI report (labels)
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_clearUIreport(Par) {
//reset package overview table
uiLabelNo = 10;
for (uiLabelNo; uiLabelNo < 250; uiLabelNo++) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "-" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "N/A" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION299' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
//reset system stats
uiLabelNo = 277;
for (uiLabelNo; uiLabelNo <= 284; uiLabelNo++) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "-" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "-" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION293' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "N/A" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION315' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
//reset score on questionnaire
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "N/A" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION315' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "N/A" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION297' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
//reset overview tab
uiLabelNo = 310;
for (uiLabelNo; uiLabelNo <= 313; uiLabelNo++) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "N/A" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
return Par;
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727708932837</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_clearUIreport</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION>/* Main function: DXC_JS_createMxReport
* Author: DXC
* purpose: Create MX_Reports for IDM Analyzer
*
* parameters:
* reportName - Name to store report under
* reportQuery - SQL query to be used as report foundation
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_createReport(Par) {
var inputArray = Par.split("!!");
var reportName = inputArray[0];
var reportQuery = inputArray[1];
return uCreateReport(reportQuery, reportName);
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727690498317</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_createReport</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION>/* Main function: DXC_JS_finalizeUIreport
* Author: DXC
* purpose: Finalize the report view in WebDynPro
*
* parameter: mskey of current user
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_finalizeUIreport(Par) {
uSleep(6000);
userMskey = Par.get("userMskey");
// complexity drivers (from questionnaire)
complexityCountPlus = uSelect("SELECT COUNT(*) FROM idmv_vallink_basic WITH(nolock) WHERE mskey = " + userMskey + " and mcAttrName LIKE \'DXC_ANALYZER_QUESTIONNAIRE_%\' AND mcAttrName NOT LIKE \'DXC_ANALYZER_QUESTIONNAIRE_BENEFICIAL_%\'");
complexityCountMinus = uSelect("SELECT COUNT(*) FROM idmv_vallink_basic WITH(nolock) WHERE mskey = " + userMskey + " and mcAttrName LIKE \'DXC_ANALYZER_QUESTIONNAIRE_BENEFICIAL_%\'");
questionnaireScore = 0 + complexityCountPlus - complexityCountMinus;
uWarning("Questionnaire complexity score: " + questionnaireScore);
// preparing Text Update for UI
questionnaireScoreLabel = "N/A";
if (questionnaireScore > 6) {
questionnaireScoreLabel = "High (" + questionnaireScore + ")";
} else if (questionnaireScore > 3) {
questionnaireScoreLabel = "Medium (" + questionnaireScore + ")";
} else {
questionnaireScoreLabel = "Low (" + questionnaireScore + ")";
}
// update UI label and package constant
uWarning("Questionnaire score: " + questionnaireScoreLabel);
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + questionnaireScoreLabel + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION297' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + questionnaireScoreLabel + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION310' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
uSetGlobalVar("DXC_QUESTIONNAIRE_SCORE", questionnaireScore);
uSetGlobalVar("DXC_QUESTIONNAIRE_RATING", questionnaireScoreLabel);
// update additional labels
systemStatsRating = uGetGlobalVar("DXC_STATS_RATING", "N/A");
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + systemStatsRating + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION311' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
processComplexityRating = uGetGlobalVar("DXC_CONFIG_RATING", "N/A");
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + processComplexityRating + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION312' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
if (systemStatsRating.includes("high") || processComplexityRating.includes("high") || questionnaireScoreLabel.includes("high")) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'High' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION313' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
} else if (systemStatsRating.includes("medium") || processComplexityRating.includes("medium") || questionnaireScoreLabel.includes("medium")) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'Medium' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION313' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
} else {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'Low' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION313' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
return "Update complete";
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727690504613</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_finalizeUIreport</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION> /* Main function: DXC_JS_getRoleMembers
* Author: DXC
* purpose: Update the DXC IDM Analyzer Report view in WebDynPro
*
* Parameter: MSKEYVALUE of Role
* Return: MSKEYs of Role-Members
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_getRoleMembers(Par) {
// get mskey of the role
sSQL1 = "select a.mskey from idmv_vallink_basic a with (nolock), idmv_vallink_basic b with (nolock) where a.mskey = b.mskey and b.mcAttrname = 'MX_ENTRYTYPE' and b.mcsearchvalue = 'MX_ROLE' and a.mcAttrname = 'MSKEYVALUE' and a.mcsearchvalue like '" + Par + "' and a.mcidstore = " + uGetIDStore();
roleMskey = uSelect(sSQL1);
// get mskeys of the users
sSQL2 = "select a.mskey from idmv_vallink_basic a with (nolock), idmv_vallink_basic b with (nolock) where a.mskey = b.mskey and b.mcAttrname = 'MX_ENTRYTYPE' and b.mcsearchvalue = 'MX_PERSON' and a.mcAttrname = 'MXREF_MX_ROLE' and a.mcsearchvalue like '" + roleMskey + "' and a.mcidstore = " + uGetIDStore();
memberMskeys = uSelect(sSQL2);
//update formatting
memberMskeys = memberMskeys.replace(/!!/g, "|");
return memberMskeys;
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727690511270</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_getRoleMembers</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION>/** Main function: DXC_JS_runJob
* Author: DXC
* Purpose: trigger job run from provisioning context
*
* Parameters:
* - JOBID = Job ID (best to be used with in combination with package constant job reference)
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_runJob(Par) {
var jobid = Par.get("JOBID");
return uRunJobNow(jobid);
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727690517583</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_runJob</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION> /* Main function: DXC_JS_updatePackageReportInUI
* Author: DXC
* purpose: Update the DXC IDM Analyzer Report view in WebDynPro
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_updatePackageReportInUI(Par) {
//reset package overview table
uiLabelNo = 10;
for (uiLabelNo; uiLabelNo < 250; uiLabelNo++) {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + "-" + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
//obtain report data
reportQuery = "SELECT TOP 20 * FROM mxmc_rt_u.dxc_PackageReport WITH(nolock) WHERE packageType NOT IN ('SAP read-only package','SAP modifiable package') AND packageName NOT IN ('com.dxc.idm.analzyer', 'com.dxc.idm.analyzer.installer')";
response = uSelect(reportQuery);
packageRecords = response.split('!!');
uiLabelNo = 10;
uWarning(response);
//iterate through repsone to get
for (var i = 0; i < packageRecords.length; i++) {
packageAttributes = packageRecords[i].split('|');
//update labels in UI
for (var j = 0; j < packageAttributes.length; j++) {
if (packageAttributes[j] != '') {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + packageAttributes[j] + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
} else {
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'-' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION" + uiLabelNo + "' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
}
uiLabelNo += 1;
}
}
// calculate rating
scoreQuery = "SELECT SUM(processComplexity) FROM mxmc_rt_u.dxc_PackageReport WITH(nolock) WHERE packageType NOT IN ('SAP read-only package','SAP modifiable package')";
metricScore = parseInt(uSelect(scoreQuery), 10);
// set rating
rating = "N/A";
if (metricScore < 1000) {
rating = "Low (" + metricScore + ")";
} else if (metricScore < 3000) {
rating = "Medium (" + metricScore + ")";
} else {
rating = "High (" + metricScore + ")";
}
// update score label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + rating + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION299' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
uSetGlobalVar("DXC_CONFIG_SCORE", metricScore);
uSetGlobalVar("DXC_CONFIG_RATING", rating);
// no further action
uWarning("Report has been updated in UI");
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727771689077</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_updatePackageReportInUI</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
<SCRIPT>
<MCENABLED>1</MCENABLED>
<MCPACKAGEID>com.dxc.idm.analzyer</MCPACKAGEID>
<MCPROTECTED>0</MCPROTECTED>
<MCSCRIPTDEFINITION> /* Main function: DXC_JS_updateSystemStatsInUI
* Author: DXC
* purpose: Update the key stats for the DXC IDM Analyzer Report view in WebDynPro
*
* Copyright (C) 2024 DXC Technology
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
function DXC_JS_updateSystemStatsInUI(Par) {
// get # of custom repo types
dataQuery = "SELECT COUNT(*) FROM mc_repository_type a WITH(Nolock) JOIN mc_package b WITH(nolock) ON a.mcPackageID = b.mcPackageID WHERE b.mcPackageType = 3";
customRepTypeCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + customRepTypeCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION277' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of standard repo types
dataQuery = "SELECT COUNT(*) FROM mc_repository_type a WITH(Nolock) JOIN mc_package b WITH(nolock) ON a.mcPackageID = b.mcPackageID WHERE b.mcPackageType = 0";
standardRepTypeCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + standardRepTypeCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION278' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of repos
dataQuery = "SELECT COUNT(*) FROM MC_REPOSITORY WITH(nolock)";
repCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + repCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION279' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of applications
dataQuery = "SELECT COUNT(*) FROM idmv_entry_simple WITH(nolock) WHERE mcEntryType = 'MX_APPLICATION'";
appCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + appCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION280' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of custom entry types
dataQuery = "SELECT COUNT(*) FROM MXIV_ENTRYTYPES WITH(nolock) WHERE ocName NOT LIKE 'MX%'";
customEntryTypeCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + customEntryTypeCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION281' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of roles
dataQuery = "SELECT COUNT(*) FROM idmv_entry_simple WITH(nolock) WHERE mcEntryType = 'MX_ROLE'";
roleCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + roleCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION282' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of privileges
dataQuery = "SELECT COUNT(*) FROM idmv_entry_simple WITH(nolock) WHERE mcEntryType = 'MX_PRIVILEGE'";
privCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + privCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION283' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of identites (MX_PERSON)
dataQuery = "SELECT COUNT(*) FROM idmv_entry_simple WITH(nolock) WHERE mcEntryType = 'MX_PERSON'";
identityCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + identityCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION284' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// get # of javascript
dataQuery = "SELECT count(*) FROM mc_package_scripts (nolock) WHERE mcIsObsoleted=0";
scriptCount = parseInt(uSelect(dataQuery), 10);
// update data label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + scriptCount + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION293' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
// calculate rating
metricScore = customRepTypeCount * 5000 + standardRepTypeCount * 1000 + repCount * 100 + appCount * 10 + customEntryTypeCount * 10000;
metricScore += roleCount * 100 + privCount * 0.2 + identityCount + scriptCount * 10;
// set rating
rating = "N/A";
if (metricScore < 50000) {
rating = "Low (" + metricScore + ")";
} else if (metricScore < 150000) {
rating = "Medium (" + metricScore + ")";
} else {
rating = "High (" + metricScore + ")";
}
// update score label
labelUpdateQuery = "UPDATE mc_language_translations SET LangValue = N'" + rating + "' OUTPUT INSERTED.LangValue WHERE LangKey = '#MX_TASK_DXC-IDMANALYZERREPORT_CAPTION315' AND LangCode = 'EN' AND LangIdStore = " + uGetIDStore();
updatedValue = uSelect(labelUpdateQuery);
uSetGlobalVar("DXC_STATS_SCORE", metricScore);
uSetGlobalVar("DXC_STATS_RATING", rating);
// no further action
uWarning("Report has been updated in UI");
}</MCSCRIPTDEFINITION>
<MCSCRIPTLANGUAGE>JScript</MCSCRIPTLANGUAGE>
<MCSCRIPTLASTCHANGE>1727690363893</MCSCRIPTLASTCHANGE>
<MCSCRIPTNAME>DXC_JS_updateSystemStatsInUI</MCSCRIPTNAME>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>
</SCRIPT>
</PACKAGE_SCRIPTS>
<JOBS>
<JOB JOBGUID="0647A86E-F268-49CE-9B07-3C45A302F3ED" MCPACKAGEID="com.dxc.idm.analzyer">
<ACTIVE>1</ACTIVE>
<AUTOCREATED>0</AUTOCREATED>
<BOOTSTRAPJOB>0</BOOTSTRAPJOB>
<CHANGED_BY>MXMC_admin</CHANGED_BY>
<CHANGED_DATE>1727768041267</CHANGED_DATE>
<ENGINE_TYPE>2</ENGINE_TYPE>
<GROUP_ID>F6C12885-4C17-49E3-A95A-020436B66B88</GROUP_ID>
<JOBDEFINITION>
<mx:EMS xmlns:mx="http://www.maxware.com/EMS">
<mx:GUID>0647A86E-F268-49CE-9B07-3C45A302F3ED</mx:GUID>
<mx:VERSION>1.0</mx:VERSION>
<mx:DSEJobs>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="New Job 663"/>
</mx:Sequence>
<mx:Job name="New Job 663">
<mx:Description/>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="2ea91650-5dbe-421f-9a51-c6c77be920f3"/>
<mx:Step Enabled="TRUE" Key="a8677bc2-a5db-4bee-9479-0f05833ebf7f"/>
<mx:Step Enabled="TRUE" Key="c2d7f9e4-67ef-4219-943a-3994338ebb73"/>
</mx:Sequence>
<mx:Globals/>
<mx:Common>
<ENGINETYPE>1</ENGINETYPE>
<SCRIPTENG>null</SCRIPTENG>
<EVLOG>0</EVLOG>
<ERRLOG>%$ddm.ddmpath%\DSE.log</ERRLOG>
<XLRESET>1</XLRESET>
<PASSDOC>Copyright (C) 2024 DXC Technology
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.</PASSDOC>
<SNMPTRAPLEVEL>0</SNMPTRAPLEVEL>
<MAXERROR>0</MAXERROR>
<LOGLIMIT>25</LOGLIMIT>
<RIGHT_TRIM>0</RIGHT_TRIM>
<MCLOGLEVEL>1</MCLOGLEVEL>
</mx:Common>
<mx:Pass name="2ea91650-5dbe-421f-9a51-c6c77be920f3">
<TYPE>Fromsource ODBC</TYPE>
<DESCRIPTION>Query entrytypes - only for export</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<PASSDOC>Stats to be shown in user interface:
# of MX_PERSON
# of MX_PRIVILEGE
# of MX_ROLE
# of custom entry types</PASSDOC>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<TODB>%$ddm.identitycenter%</TODB>
<DBTABLE>dxc_EntryTypeReport</DBTABLE>
<DELTABLE>1</DELTABLE>
<READFROMPVO>0</READFROMPVO>
<FROMDB>%$ddm.identitycenter%</FROMDB>
<FROMSQL>SELECT ocName, CASE
WHEN mcEntryState = 0 THEN 'Active'
WHEN mcEntryState = 1 THEN 'Inactive' END AS recordState, recordCount, CASE
WHEN LEFT(ocName, 3) = 'MX_' THEN 'Standard Entry Type'
ELSE 'Custom Entry Type'
END AS objectType FROM mxi_objectclasses WITH(nolock)
LEFT JOIN (SELECT mcEntryTypeID, mcEntryState, COUNT(*) AS recordCount FROM idmv_entry_simple_all WITH(nolock) GROUP BY mcEntryTypeID, mcEntryState) entries ON entries.mcEntryTypeID = mxi_objectclasses.ocId
ORDER BY recordCount DESC</FROMSQL>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<mx:Class>
<mx:attr name="ocName">
<mx:value>NVARCHAR,255,ocName</mx:value>
</mx:attr>
<mx:attr name="recordState">
<mx:value>NVARCHAR,255,recordState</mx:value>
</mx:attr>
<mx:attr name="recordCount">
<mx:value>INT,,recordCount</mx:value>
</mx:attr>
<mx:attr name="objectType">
<mx:value>NVARCHAR,255,objectType</mx:value>
</mx:attr>
</mx:Class>
<SOURCEENTRYTYPE/>
</mx:Pass>
<mx:Pass name="a8677bc2-a5db-4bee-9479-0f05833ebf7f">
<TYPE>Fromsource ODBC</TYPE>
<DESCRIPTION>Query attribute usage - only for export</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<TODB>%$ddm.identitycenter%</TODB>
<DBTABLE>dxc_AttributeUsageReport</DBTABLE>
<DELTABLE>1</DELTABLE>
<READFROMPVO>0</READFROMPVO>
<SOURCEENTRYTYPE>0</SOURCEENTRYTYPE>
<FROMDB>%$ddm.identitycenter%</FROMDB>
<FROMSQL>SELECT attrName, info, usageCounter, CASE
WHEN LEFT(AttrName, 3) = 'MX_' THEN 'Standard attribute'
WHEN LEFT(AttrName, 5) = 'MXAC_' THEN 'Standard attribute'
WHEN LEFT(AttrName, 6) = 'MXREF_' THEN 'Reference attribute'
WHEN LEFT(AttrName, 9) = 'MXMEMBER_' THEN 'Reference attribute'
WHEN AttrName IN ('MSKEYVALUE', 'mskey', 'DISPLAYNAME', 'DESCRIPTION', 'APPROVAL_OPERATION_RESULT', 'WAIT_AUDITID', 'WAIT_TASKID', 'SAP_CHANGENUMBER') THEN 'Standard attribute'
ELSE 'Custom Attribute' END AS attrType
FROM MXI_Attributes attrlist WITH(nolock)
JOIN MXI_ATTRTYPES WITH(nolock) ON attrlist.AttrType_ID = MXI_ATTRTYPES.attrtype_id
LEFT JOIN (SELECT aid, COUNT(*) AS usageCounter FROM idmv_vna WITH(nolock) GROUP BY aid) usage ON attrlist.Attr_ID = usage.aid
ORDER BY usageCounter DESC, AttrName</FROMSQL>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<mx:Class>
<mx:attr name="attrName">
<mx:value>NVARCHAR,255,attrName</mx:value>
</mx:attr>
<mx:attr name="info">
<mx:value>NVARCHAR,800,info</mx:value>
</mx:attr>
<mx:attr name="usageCounter">
<mx:value>INT,,usageCounter</mx:value>
</mx:attr>
<mx:attr name="attrType">
<mx:value>NVARCHAR,255,attrType</mx:value>
</mx:attr>
</mx:Class>
</mx:Pass>
<mx:Pass name="c2d7f9e4-67ef-4219-943a-3994338ebb73">
<TYPE>To Generic</TYPE>
<DESCRIPTION>Update system statistics in UI</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<READFROMPVO>0</READFROMPVO>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<USEIDSTORE>1</USEIDSTORE>
<SOURCEENTRYTYPE>0</SOURCEENTRYTYPE>
<SCRIPTNEXT>DXC_JS_updateSystemStatsInUI</SCRIPTNEXT>
<mx:Class>
<mx:attr name="LOG">
<mx:value>UI updated</mx:value>
</mx:attr>
</mx:Class>
</mx:Pass>
<mx:Functions>
<mx:Function Enabled="TRUE" GlobalScript="TRUE" Script="JScript" name="DXC_JS_updateSystemStatsInUI"/>
</mx:Functions>
</mx:Job>
</mx:DSEJobs>
</mx:EMS>
</JOBDEFINITION>
<MAX_LOGENTRIES>100</MAX_LOGENTRIES>
<MCPUBLIC>0</MCPUBLIC>
<MCREFERENCESTATUS>-1</MCREFERENCESTATUS>
<MCSCRIPTSTATUS>2</MCSCRIPTSTATUS>
<MCSOURCEGUID>0647A86E-F268-49CE-9B07-3C45A302F3ED</MCSOURCEGUID>
<MULTIPROVISION>0</MULTIPROVISION>
<MXPROTECTED>0</MXPROTECTED>
<NAME>00 - Get system statistics</NAME>
<PRIORITY_ACTUAL>20</PRIORITY_ACTUAL>
<PRIORITY_DEF>20</PRIORITY_DEF>
<PROVISION>0</PROVISION>
<REVISION_NUMBER>0</REVISION_NUMBER>
<SCHEDULE_RULE>On demand</SCHEDULE_RULE>
<STATE>1</STATE>
</JOB>
<JOB JOBGUID="20157405-F4E9-42B1-ACD3-F6D34A5FCCF7" MCPACKAGEID="com.dxc.idm.analzyer">
<ACTIVE>1</ACTIVE>
<AUTOCREATED>0</AUTOCREATED>
<BOOTSTRAPJOB>0</BOOTSTRAPJOB>
<CHANGED_BY>MXMC_admin</CHANGED_BY>
<CHANGED_DATE>1727768041330</CHANGED_DATE>
<ENGINE_TYPE>2</ENGINE_TYPE>
<JOBDEFINITION>
<mx:EMS xmlns:mx="http://www.maxware.com/EMS">
<mx:GUID>20157405-F4E9-42B1-ACD3-F6D34A5FCCF7</mx:GUID>
<mx:VERSION>1.0</mx:VERSION>
<mx:DSEJobs>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="Run Job - Package Report"/>
</mx:Sequence>
<mx:Job name="Run Job - Package Report">
<mx:Description/>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="da31e8b7-46da-42b2-84c0-004616972091"/>
</mx:Sequence>
<mx:Globals/>
<mx:Common>
<ENGINETYPE>1</ENGINETYPE>
<SCRIPTENG>JScript</SCRIPTENG>
<EVLOG>0</EVLOG>
<ERRLOG>%$ddm.ddmpath%\DSE.log</ERRLOG>
<XLRESET>1</XLRESET>
</mx:Common>
<mx:Pass name="da31e8b7-46da-42b2-84c0-004616972091">
<TYPE>To Generic</TYPE>
<DESCRIPTION>Run Job - Package report</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<READFROMPVO>0</READFROMPVO>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<USEIDSTORE>1</USEIDSTORE>
<SOURCEENTRYTYPE>0</SOURCEENTRYTYPE>
<SCRIPTNEXT>DXC_JS_runJob</SCRIPTNEXT>
<mx:Class>
<mx:attr name="JOBID">
<mx:value>%$pck.DXC_ANALYZER_JOB_PACKAGE_REPORT%</mx:value>
</mx:attr>
</mx:Class>
</mx:Pass>
<mx:Functions>
<mx:Function Enabled="TRUE" GlobalScript="TRUE" Script="JScript" name="DXC_JS_runJob"/>
</mx:Functions>
</mx:Job>
</mx:DSEJobs>
</mx:EMS>
</JOBDEFINITION>
<MAX_LOGENTRIES>100</MAX_LOGENTRIES>
<MCPUBLIC>0</MCPUBLIC>
<MCREFERENCESTATUS>-1</MCREFERENCESTATUS>
<MCSCRIPTSTATUS>2</MCSCRIPTSTATUS>
<MCSOURCEGUID>20157405-F4E9-42B1-ACD3-F6D34A5FCCF7</MCSOURCEGUID>
<MULTIPROVISION>0</MULTIPROVISION>
<MXPROTECTED>0</MXPROTECTED>
<NAME>Package Report</NAME>
<PRIORITY_ACTUAL>20</PRIORITY_ACTUAL>
<PRIORITY_DEF>20</PRIORITY_DEF>
<PROVISION>1</PROVISION>
<REVISION_NUMBER>0</REVISION_NUMBER>
<SCHEDULE_RULE>Provision</SCHEDULE_RULE>
<STATE>1</STATE>
</JOB>
<JOB JOBGUID="3CCD556D-D675-4085-AB80-08AD143951E2" MCPACKAGEID="com.dxc.idm.analzyer">
<ACTIVE>1</ACTIVE>
<AUTOCREATED>0</AUTOCREATED>
<BOOTSTRAPJOB>0</BOOTSTRAPJOB>
<CHANGED_BY>MXMC_admin</CHANGED_BY>
<CHANGED_DATE>1727768041320</CHANGED_DATE>
<ENGINE_TYPE>2</ENGINE_TYPE>
<JOBDEFINITION>
<mx:EMS xmlns:mx="http://www.maxware.com/EMS">
<mx:GUID>3CCD556D-D675-4085-AB80-08AD143951E2</mx:GUID>
<mx:VERSION>1.0</mx:VERSION>
<mx:DSEJobs>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="Update UI"/>
</mx:Sequence>
<mx:Job name="Update UI">
<mx:Description/>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="ffc7dea1-2b3e-4eab-92ef-1462c5f6a8c1"/>
</mx:Sequence>
<mx:Globals/>
<mx:Common>
<ENGINETYPE>1</ENGINETYPE>
<SCRIPTENG>JScript</SCRIPTENG>
<EVLOG>0</EVLOG>
<ERRLOG>%$ddm.ddmpath%\DSE.log</ERRLOG>
<XLRESET>1</XLRESET>
</mx:Common>
<mx:Pass name="ffc7dea1-2b3e-4eab-92ef-1462c5f6a8c1">
<TYPE>To Generic</TYPE>
<DESCRIPTION>Update UI</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<READFROMPVO>0</READFROMPVO>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<USEIDSTORE>1</USEIDSTORE>
<SOURCEENTRYTYPE>0</SOURCEENTRYTYPE>
<SCRIPTNEXT>DXC_JS_finalizeUIreport</SCRIPTNEXT>
<mx:Class>
<mx:attr name="userMskey">
<mx:value>%mskey%</mx:value>
</mx:attr>
</mx:Class>
</mx:Pass>
<mx:Functions>
<mx:Function Enabled="TRUE" GlobalScript="TRUE" Script="JScript" name="DXC_JS_finalizeUIreport"/>
</mx:Functions>
</mx:Job>
</mx:DSEJobs>
</mx:EMS>
</JOBDEFINITION>
<MAX_LOGENTRIES>100</MAX_LOGENTRIES>
<MCPUBLIC>0</MCPUBLIC>
<MCREFERENCESTATUS>-1</MCREFERENCESTATUS>
<MCSCRIPTSTATUS>2</MCSCRIPTSTATUS>
<MCSOURCEGUID>3CCD556D-D675-4085-AB80-08AD143951E2</MCSOURCEGUID>
<MULTIPROVISION>0</MULTIPROVISION>
<MXPROTECTED>0</MXPROTECTED>
<NAME>Update UI</NAME>
<PRIORITY_ACTUAL>20</PRIORITY_ACTUAL>
<PRIORITY_DEF>20</PRIORITY_DEF>
<PROVISION>1</PROVISION>
<REVISION_NUMBER>0</REVISION_NUMBER>
<SCHEDULE_RULE>Provision</SCHEDULE_RULE>
<STATE>1</STATE>
</JOB>
<JOB JOBGUID="78C1AA4C-D1F2-4BAA-A15B-2A34C6FE5E1E" MCPACKAGEID="com.dxc.idm.analzyer">
<ACTIVE>1</ACTIVE>
<AUTOCREATED>0</AUTOCREATED>
<BOOTSTRAPJOB>0</BOOTSTRAPJOB>
<CHANGED_BY>MXMC_admin</CHANGED_BY>
<CHANGED_DATE>1727768041340</CHANGED_DATE>
<ENGINE_TYPE>2</ENGINE_TYPE>
<GROUP_ID>F6C12885-4C17-49E3-A95A-020436B66B88</GROUP_ID>
<JOBDEFINITION>
<mx:EMS xmlns:mx="http://www.maxware.com/EMS">
<mx:GUID>78C1AA4C-D1F2-4BAA-A15B-2A34C6FE5E1E</mx:GUID>
<mx:VERSION>1.0</mx:VERSION>
<mx:DSEJobs>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="New Job 72"/>
</mx:Sequence>
<mx:Job name="New Job 72">
<mx:Description/>
<mx:Sequence>
<mx:Step Enabled="TRUE" Key="cb67b0dd-66b9-446a-a504-12060744806f"/>
</mx:Sequence>
<mx:Globals/>
<mx:Functions/>
<mx:Common>
<ENGINETYPE>1</ENGINETYPE>
<SCRIPTENG>null</SCRIPTENG>
<EVLOG>0</EVLOG>
<ERRLOG>%$ddm.ddmpath%\DSE.log</ERRLOG>
<XLRESET>1</XLRESET>
<PASSDOC>Copyright (C) 2024 DXC Technology
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.</PASSDOC>
<SNMPTRAPLEVEL>0</SNMPTRAPLEVEL>
<MAXERROR>0</MAXERROR>
<LOGLIMIT>25</LOGLIMIT>
<RIGHT_TRIM>0</RIGHT_TRIM>
<MCLOGLEVEL>1</MCLOGLEVEL>
</mx:Common>
<mx:Pass name="cb67b0dd-66b9-446a-a504-12060744806f">
<TYPE>To Generic</TYPE>
<DESCRIPTION>Finalize UI report</DESCRIPTION>
<REPOSITORY>0</REPOSITORY>
<UPDATEDB>%$ddm.identitycenter%</UPDATEDB>
<MAXDELETE>5%</MAXDELETE>
<AUDITLEVEL>0</AUDITLEVEL>
<DELTAENABLED>0</DELTAENABLED>
<SKIP>0</SKIP>
<JUSTDELTA>0</JUSTDELTA>
<MARKDEL>0</MARKDEL>
<AUTODELETE>0</AUTODELETE>
<CURRTAB>2</CURRTAB>
<READFROMPVO>0</READFROMPVO>
<FILTEREDITSTATUS>0</FILTEREDITSTATUS>
<USEIDSTORE>1</USEIDSTORE>
<SOURCEENTRYTYPE>0</SOURCEENTRYTYPE>
<SCRIPTNEXT>DXC_JS_updateSystemStatsInUI</SCRIPTNEXT>
<mx:Class>
<mx:attr name="LOG">
<mx:value>UI updated</mx:value>
</mx:attr>
</mx:Class>
</mx:Pass>
</mx:Job>
</mx:DSEJobs>
</mx:EMS>
</JOBDEFINITION>
<MAX_LOGENTRIES>100</MAX_LOGENTRIES>
<MCPUBLIC>0</MCPUBLIC>
<MCREFERENCESTATUS>-1</MCREFERENCESTATUS>
<MCSCRIPTSTATUS>0</MCSCRIPTSTATUS>