@broadcom/mat-analyze-for-zowe-cli 1.0.3 → 1.0.7
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.
- package/CHANGELOG.md +22 -7
- package/README.md +38 -12
- package/lib/api/MATRest.d.ts +1 -0
- package/lib/api/MATRest.js +18 -0
- package/lib/api/MATRest.js.map +1 -1
- package/lib/api/error/HistogramError.d.ts +9 -0
- package/lib/api/error/HistogramError.js +25 -0
- package/lib/api/error/HistogramError.js.map +1 -0
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js +20 -0
- package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +1 -1
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.d.ts +5 -3
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +203 -9
- package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.d.ts +1 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js +12 -1
- package/lib/cli/monitor/codeview/callerid/Callerid.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.handler.d.ts +1 -1
- package/lib/cli/monitor/codeview/csect/Csect.handler.js +12 -1
- package/lib/cli/monitor/codeview/csect/Csect.handler.js.map +1 -1
- package/lib/cli/monitor/codeview/module/Module.handler.d.ts +1 -1
- package/lib/cli/monitor/codeview/module/Module.handler.js +12 -1
- package/lib/cli/monitor/codeview/module/Module.handler.js.map +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.definition.js +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.handler.d.ts +1 -1
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js +13 -2
- package/lib/cli/monitor/db2/db2view/DB2View.handler.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js +7 -7
- package/lib/cli/monitor/db2/sqlview/SQLView.definition.js.map +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.d.ts +1 -1
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js +14 -3
- package/lib/cli/monitor/db2/sqlview/SQLView.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/address/Address.handler.d.ts +1 -1
- package/lib/cli/monitor/delayview/address/Address.handler.js +12 -1
- package/lib/cli/monitor/delayview/address/Address.handler.js.map +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.handler.d.ts +1 -1
- package/lib/cli/monitor/delayview/delay/Delay.handler.js +12 -1
- package/lib/cli/monitor/delayview/delay/Delay.handler.js.map +1 -1
- package/lib/cli/monitor/history/History.handler.d.ts +1 -1
- package/lib/cli/monitor/history/History.handler.js +13 -2
- package/lib/cli/monitor/history/History.handler.js.map +1 -1
- package/lib/cli/monitor/overview/Overview.handler.d.ts +1 -1
- package/lib/cli/monitor/overview/Overview.handler.js +12 -1
- package/lib/cli/monitor/overview/Overview.handler.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.definition.js +5 -4
- package/lib/cli/profile/create/CreateProfile.definition.js.map +1 -1
- package/lib/cli/profile/create/CreateProfile.handler.d.ts +2 -0
- package/lib/cli/profile/create/CreateProfile.handler.js +140 -96
- package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.definition.js +20 -2
- package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +1 -1
- package/lib/cli/profile/invoke/InvokeProfile.handler.d.ts +3 -0
- package/lib/cli/profile/invoke/InvokeProfile.handler.js +22 -0
- package/lib/cli/profile/invoke/InvokeProfile.handler.js.map +1 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.d.ts +1 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.js +12 -1
- package/lib/cli/profile/listprofile/ListProfile.handler.js.map +1 -1
- package/lib/cli/session/MATSession.d.ts +1 -0
- package/lib/cli/session/MATSession.js +19 -2
- package/lib/cli/session/MATSession.js.map +1 -1
- package/lib/handlers/AbstractAnalyzeHandler.js.map +1 -1
- package/lib/handlers/AbstractGetHandler.js +24 -22
- package/lib/handlers/AbstractGetHandler.js.map +1 -1
- package/lib/handlers/AbstractObjectDisplayHandler.js.map +1 -1
- package/lib/handlers/AbstractProfileActionHandler.d.ts +1 -1
- package/lib/handlers/AbstractProfileActionHandler.js +12 -1
- package/lib/handlers/AbstractProfileActionHandler.js.map +1 -1
- package/lib/handlers/AbstractRestHandler.d.ts +3 -2
- package/lib/handlers/AbstractRestHandler.js +27 -34
- package/lib/handlers/AbstractRestHandler.js.map +1 -1
- package/lib/imperative.js +13 -5
- package/lib/imperative.js.map +1 -1
- package/package.json +117 -115
|
@@ -29,108 +29,152 @@ class CreateProfileHandler extends AbstractProfileActionHandler_1.default {
|
|
|
29
29
|
jobname: this.arguments.jobname,
|
|
30
30
|
targsys: this.arguments.targsys.split(",")
|
|
31
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
|
-
if (this.arguments.succnt != null) {
|
|
66
|
-
createProfileRequest.succnt = this.arguments.succnt;
|
|
67
|
-
}
|
|
68
|
-
if (this.arguments.reccnt != null) {
|
|
69
|
-
createProfileRequest.reccnt = this.arguments.reccnt;
|
|
70
|
-
}
|
|
71
|
-
if (this.arguments.sampdelay != null) {
|
|
72
|
-
createProfileRequest.sampdelay = this.arguments.sampdelay;
|
|
73
|
-
}
|
|
74
|
-
if (this.arguments.userexit1 != null) {
|
|
75
|
-
createProfileRequest.userexit1 = this.arguments.userexit1;
|
|
76
|
-
}
|
|
77
|
-
if (this.arguments.userexit2 != null) {
|
|
78
|
-
createProfileRequest.userexit2 = this.arguments.userexit2;
|
|
79
|
-
}
|
|
80
|
-
if (this.arguments.userexit3 != null) {
|
|
81
|
-
createProfileRequest.userexit3 = this.arguments.userexit3;
|
|
82
|
-
}
|
|
83
|
-
if (this.arguments.inctask != null) {
|
|
84
|
-
createProfileRequest.inctask = this.arguments.inctask.split(",");
|
|
85
|
-
}
|
|
86
|
-
if (this.arguments.exctask != null) {
|
|
87
|
-
createProfileRequest.exctask = this.arguments.exctask.split(",");
|
|
88
|
-
}
|
|
89
|
-
if (this.arguments.tran != null) {
|
|
90
|
-
createProfileRequest.tran = this.arguments.tran.split(",");
|
|
91
|
-
}
|
|
92
|
-
if (this.arguments.term != null) {
|
|
93
|
-
createProfileRequest.term = this.arguments.term.split(",");
|
|
94
|
-
}
|
|
95
|
-
if (this.arguments.userid != null) {
|
|
96
|
-
createProfileRequest.userid = this.arguments.userid.split(",");
|
|
97
|
-
}
|
|
98
|
-
if (this.arguments.db2expl != null) {
|
|
99
|
-
createProfileRequest.db2expl = this.arguments.db2expl;
|
|
100
|
-
}
|
|
101
|
-
if (this.arguments.db2ctsql != null) {
|
|
102
|
-
createProfileRequest.db2ctsql = this.arguments.db2ctsql;
|
|
103
|
-
}
|
|
104
|
-
if (this.arguments.db2hvloc != null) {
|
|
105
|
-
createProfileRequest.db2hvloc = this.arguments.db2hvloc;
|
|
106
|
-
}
|
|
107
|
-
if (this.arguments.db2hvcor != null) {
|
|
108
|
-
createProfileRequest.db2hvcor = this.arguments.db2hvcor;
|
|
109
|
-
}
|
|
110
|
-
if (this.arguments.db2hviid != null) {
|
|
111
|
-
createProfileRequest.db2hviid = this.arguments.db2hviid;
|
|
112
|
-
}
|
|
113
|
-
if (this.arguments.db2hvthd != null) {
|
|
114
|
-
createProfileRequest.db2hvthd = this.arguments.db2hvthd;
|
|
115
|
-
}
|
|
116
|
-
if (this.arguments.wasexprt != null) {
|
|
117
|
-
createProfileRequest.wasexprt = this.arguments.wasexprt;
|
|
118
|
-
}
|
|
119
|
-
if (this.arguments.urlfilt != null) {
|
|
120
|
-
createProfileRequest.urlfilt = this.arguments.urlfilt.split(",");
|
|
121
|
-
}
|
|
122
|
-
if (this.arguments.sysfilt != null) {
|
|
123
|
-
createProfileRequest.sysfilt = this.arguments.sysfilt.split(",");
|
|
124
|
-
}
|
|
125
|
-
if (this.arguments.schedule != null) {
|
|
126
|
-
createProfileRequest.schedule = this.arguments.schedule;
|
|
127
|
-
}
|
|
32
|
+
this.setReqestParm(createProfileRequest, "batchreports", this.arguments.batchreports);
|
|
33
|
+
this.setReqestParm(createProfileRequest, "description", this.arguments.description);
|
|
34
|
+
this.setReqestParm(createProfileRequest, "mondsn", this.arguments.mondsn);
|
|
35
|
+
this.setReqestParm(createProfileRequest, "stepname", this.arguments.stepname);
|
|
36
|
+
this.setReqestParm(createProfileRequest, "mstep", this.arguments.mstep);
|
|
37
|
+
this.setReqestParm(createProfileRequest, "procstep", this.arguments.procstep);
|
|
38
|
+
this.setReqestParm(createProfileRequest, "program", this.arguments.program);
|
|
39
|
+
this.setReqestParm(createProfileRequest, "elapstime", this.arguments.elapstime);
|
|
40
|
+
this.setReqestParm(createProfileRequest, "smon", this.arguments.smon);
|
|
41
|
+
this.setReqestParm(createProfileRequest, "tasklib", this.arguments.tasklib);
|
|
42
|
+
this.setReqestParm(createProfileRequest, "samplecnt", this.arguments.samplecnt);
|
|
43
|
+
this.setReqestParm(createProfileRequest, "succnt", this.arguments.succnt);
|
|
44
|
+
this.setReqestParm(createProfileRequest, "reccnt", this.arguments.reccnt);
|
|
45
|
+
this.setReqestParm(createProfileRequest, "sampdelay", this.arguments.sampdelay);
|
|
46
|
+
this.setReqestParm(createProfileRequest, "userexit1", this.arguments.userexit1);
|
|
47
|
+
this.setReqestParm(createProfileRequest, "userexit2", this.arguments.userexit2);
|
|
48
|
+
this.setReqestParm(createProfileRequest, "userexit3", this.arguments.userexit3);
|
|
49
|
+
this.setReqestParm(createProfileRequest, "inctask", this.arguments.inctask);
|
|
50
|
+
this.setReqestParm(createProfileRequest, "exctask", this.arguments.exctask);
|
|
51
|
+
this.setReqestParm(createProfileRequest, "tran", this.arguments.tran);
|
|
52
|
+
this.setReqestParm(createProfileRequest, "term", this.arguments.term);
|
|
53
|
+
this.setReqestParm(createProfileRequest, "userid", this.arguments.userid);
|
|
54
|
+
this.setReqestParm(createProfileRequest, "db2expl", this.arguments.db2expl);
|
|
55
|
+
this.setReqestParm(createProfileRequest, "db2ctsql", this.arguments.db2ctsql);
|
|
56
|
+
this.setReqestParm(createProfileRequest, "db2hvloc", this.arguments.db2hvloc);
|
|
57
|
+
this.setReqestParm(createProfileRequest, "db2hvcor", this.arguments.db2hvcor);
|
|
58
|
+
this.setReqestParm(createProfileRequest, "db2hviid", this.arguments.db2hviid);
|
|
59
|
+
this.setReqestParm(createProfileRequest, "db2hvthd", this.arguments.db2hvthd);
|
|
60
|
+
this.setReqestParm(createProfileRequest, "wasexprt", this.arguments.wasexprt);
|
|
61
|
+
this.setReqestParm(createProfileRequest, "urlfilt", this.arguments.urlfilt);
|
|
62
|
+
this.setReqestParm(createProfileRequest, "sysfilt", this.arguments.sysfilt);
|
|
63
|
+
this.setReqestParm(createProfileRequest, "schedule", this.arguments.schedule);
|
|
128
64
|
const createRequest = {
|
|
129
65
|
action: "create",
|
|
130
66
|
request: createProfileRequest
|
|
131
67
|
};
|
|
132
68
|
return JSON.stringify(createRequest);
|
|
133
69
|
}
|
|
70
|
+
setReqestParm(createProfileRequest, requestParm, requestParmValue) {
|
|
71
|
+
if (requestParmValue == null) {
|
|
72
|
+
return createProfileRequest;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
switch (requestParm) {
|
|
76
|
+
case ("batchreports"):
|
|
77
|
+
createProfileRequest.batchreports = this.arguments.batchreports;
|
|
78
|
+
break;
|
|
79
|
+
case ("description"):
|
|
80
|
+
createProfileRequest.description = this.arguments.description;
|
|
81
|
+
break;
|
|
82
|
+
case ("mondsn"):
|
|
83
|
+
createProfileRequest.mondsn = this.arguments.mondsn;
|
|
84
|
+
break;
|
|
85
|
+
case ("stepname"):
|
|
86
|
+
createProfileRequest.stepname = this.arguments.stepname;
|
|
87
|
+
break;
|
|
88
|
+
case ("mstep"):
|
|
89
|
+
createProfileRequest.mstep = this.arguments.mstep;
|
|
90
|
+
break;
|
|
91
|
+
case ("procstep"):
|
|
92
|
+
createProfileRequest.procstep = this.arguments.procstep;
|
|
93
|
+
break;
|
|
94
|
+
case ("program"):
|
|
95
|
+
createProfileRequest.program = this.arguments.program;
|
|
96
|
+
break;
|
|
97
|
+
case ("elapstime"):
|
|
98
|
+
createProfileRequest.elapstime = this.arguments.elapstime;
|
|
99
|
+
break;
|
|
100
|
+
case ("smon"):
|
|
101
|
+
createProfileRequest.smon = this.arguments.smon;
|
|
102
|
+
break;
|
|
103
|
+
case ("tasklib"):
|
|
104
|
+
createProfileRequest.tasklib = this.arguments.tasklib;
|
|
105
|
+
break;
|
|
106
|
+
case ("samplecnt"):
|
|
107
|
+
createProfileRequest.samplecnt = this.arguments.samplecnt;
|
|
108
|
+
break;
|
|
109
|
+
case ("succnt"):
|
|
110
|
+
createProfileRequest.succnt = this.arguments.succnt;
|
|
111
|
+
break;
|
|
112
|
+
case ("reccnt"):
|
|
113
|
+
createProfileRequest.reccnt = this.arguments.reccnt;
|
|
114
|
+
break;
|
|
115
|
+
case ("sampdelay"):
|
|
116
|
+
createProfileRequest.sampdelay = this.arguments.sampdelay;
|
|
117
|
+
break;
|
|
118
|
+
case ("userexit1"):
|
|
119
|
+
createProfileRequest.userexit1 = this.arguments.userexit1;
|
|
120
|
+
break;
|
|
121
|
+
case ("userexit2"):
|
|
122
|
+
createProfileRequest.userexit2 = this.arguments.userexit2;
|
|
123
|
+
break;
|
|
124
|
+
case ("userexit3"):
|
|
125
|
+
createProfileRequest.userexit3 = this.arguments.userexit3;
|
|
126
|
+
break;
|
|
127
|
+
case ("inctask"):
|
|
128
|
+
createProfileRequest.inctask = this.arguments.inctask.split(",");
|
|
129
|
+
break;
|
|
130
|
+
case ("exctask"):
|
|
131
|
+
createProfileRequest.exctask = this.arguments.exctask.split(",");
|
|
132
|
+
break;
|
|
133
|
+
case ("tran"):
|
|
134
|
+
createProfileRequest.tran = this.arguments.tran.split(",");
|
|
135
|
+
break;
|
|
136
|
+
case ("term"):
|
|
137
|
+
createProfileRequest.term = this.arguments.term.split(",");
|
|
138
|
+
break;
|
|
139
|
+
case ("userid"):
|
|
140
|
+
createProfileRequest.userid = this.arguments.userid.split(",");
|
|
141
|
+
break;
|
|
142
|
+
case ("db2expl"):
|
|
143
|
+
createProfileRequest.db2expl = this.arguments.db2expl;
|
|
144
|
+
break;
|
|
145
|
+
case ("db2ctsql"):
|
|
146
|
+
createProfileRequest.db2ctsql = this.arguments.db2ctsql;
|
|
147
|
+
break;
|
|
148
|
+
case ("db2hvloc"):
|
|
149
|
+
createProfileRequest.db2hvloc = this.arguments.db2hvloc;
|
|
150
|
+
break;
|
|
151
|
+
case ("db2hvcor"):
|
|
152
|
+
createProfileRequest.db2hvcor = this.arguments.db2hvcor;
|
|
153
|
+
break;
|
|
154
|
+
case ("db2hviid"):
|
|
155
|
+
createProfileRequest.db2hviid = this.arguments.db2hviid;
|
|
156
|
+
break;
|
|
157
|
+
case ("db2hvthd"):
|
|
158
|
+
createProfileRequest.db2hvthd = this.arguments.db2hvthd;
|
|
159
|
+
break;
|
|
160
|
+
case ("wasexprt"):
|
|
161
|
+
createProfileRequest.wasexprt = this.arguments.wasexprt;
|
|
162
|
+
break;
|
|
163
|
+
case ("urlfilt"):
|
|
164
|
+
createProfileRequest.urlfilt = this.arguments.urlfilt.split(",");
|
|
165
|
+
break;
|
|
166
|
+
case ("sysfilt"):
|
|
167
|
+
createProfileRequest.sysfilt = this.arguments.sysfilt.split(",");
|
|
168
|
+
break;
|
|
169
|
+
case ("schedule"):
|
|
170
|
+
createProfileRequest.schedule = this.arguments.schedule;
|
|
171
|
+
break;
|
|
172
|
+
default:
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
return createProfileRequest;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
134
178
|
}
|
|
135
179
|
exports.default = CreateProfileHandler;
|
|
136
180
|
//# sourceMappingURL=CreateProfile.handler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/create/CreateProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;AAIH,iGAA0F;AAC1F,MAAqB,oBAAqB,SAAQ,sCAA4B;
|
|
1
|
+
{"version":3,"file":"CreateProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/create/CreateProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;AAIH,iGAA0F;AAC1F,MAAqB,oBAAqB,SAAQ,sCAA4B;IAE/D,UAAU;QAEjB,MAAM,oBAAoB,GAA0B;YAChD,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO;YAC/B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;SAC7C,CAAC;QAEF,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACtF,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,aAAa,EAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;QACpF,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC1E,IAAI,CAAC,aAAa,CAAC,oBAAoB,EAAE,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC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,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACxD,MAAM;gBACd,KAAK,CAAE,UAAU,CAAC;oBACV,oBAAoB,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACxD,MAAM;gBACd,KAAK,CAAE,UAAU,CAAC;oBACV,oBAAoB,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACxD,MAAM;gBACd,KAAK,CAAE,UAAU,CAAC;oBACV,oBAAoB,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACxD,MAAM;gBACd,KAAK,CAAE,SAAS,CAAC;oBACT,oBAAoB,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACjE,MAAM;gBACd,KAAK,CAAE,SAAS,CAAC;oBACT,oBAAoB,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACjE,MAAM;gBACd,KAAK,CAAE,UAAU,CAAC;oBACV,oBAAoB,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;oBACxD,MAAM;gBAEd;oBACG,MAAM;aACR;YACD,OAAO,oBAAoB,CAAC;SAC/B;IACJ,CAAC;CACL;AAhKD,uCAgKC"}
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.InvokeDefinition = void 0;
|
|
26
|
+
const invkmsg = "Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system ";
|
|
26
27
|
exports.InvokeDefinition = {
|
|
27
28
|
name: "invoke",
|
|
28
29
|
aliases: ["ivk"],
|
|
@@ -81,18 +82,35 @@ exports.InvokeDefinition = {
|
|
|
81
82
|
"If you use this parameter for command execution, the value cannot be blank.",
|
|
82
83
|
type: "string",
|
|
83
84
|
required: false
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
name: "listing",
|
|
88
|
+
description: "Activates automated registration of Cobol, C/C++, and Assembler program listings " +
|
|
89
|
+
"through CA Endevor® footprints. After completion of the measurement that you invoke with " +
|
|
90
|
+
"the --listing parameter, the CA MAT Analyze plug-in for Zowe CLI automatically " +
|
|
91
|
+
"retrieves the program listing that is associated with the monitored job and registers the " +
|
|
92
|
+
"listing with CA MAT. A registered program listing enhances the analysis possibilities of the " +
|
|
93
|
+
"\'codeview histogram\' command the \'codeview histogram\' command and enables you to " +
|
|
94
|
+
"inspect the source code statements that are associated with specific modules and CSECTs.",
|
|
95
|
+
type: "boolean",
|
|
96
|
+
required: false
|
|
84
97
|
}
|
|
85
98
|
],
|
|
86
99
|
examples: [
|
|
87
100
|
{
|
|
88
|
-
description:
|
|
101
|
+
description: invkmsg,
|
|
89
102
|
options: "--profile PROFILE1 --jobname JOB1 --targsys AA31",
|
|
90
103
|
},
|
|
91
104
|
{
|
|
92
|
-
description:
|
|
105
|
+
description: invkmsg +
|
|
93
106
|
"and save the measurement result in the DEMO.MAT.MONITOR.PROFILE1 data set",
|
|
94
107
|
options: "--profile PROFILE1 --jobname JOB1 --targsys AA31 --mondsn DEMO.MAT.MONITOR.PROFILE1",
|
|
95
108
|
},
|
|
109
|
+
{
|
|
110
|
+
description: invkmsg +
|
|
111
|
+
"and register the program listing",
|
|
112
|
+
options: "--profile PROFILE1 --jobname JOB1 --targsys AA31 --listing",
|
|
113
|
+
},
|
|
96
114
|
]
|
|
97
115
|
};
|
|
98
116
|
//# sourceMappingURL=InvokeProfile.definition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvokeProfile.definition.js","sourceRoot":"","sources":["../../../../src/cli/profile/invoke/InvokeProfile.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;
|
|
1
|
+
{"version":3,"file":"InvokeProfile.definition.js","sourceRoot":"","sources":["../../../../src/cli/profile/invoke/InvokeProfile.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGH,MAAM,OAAO,GAAG,uFAAuF,CAAC;AAC3F,QAAA,gBAAgB,GAAuB;IAChD,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,OAAO,EAAE,iCAAiC;IAC1C,WAAW,EAAE,uDAAuD;IACpE,OAAO,EAAE,SAAS,GAAG,wBAAwB;IAC7C,IAAI,EAAE,SAAS;IACf,OAAO,EAAE;QACL,QAAQ,EAAE,CAAC,KAAK,CAAC;KACpB;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+EAA+E;gBAC5F,wEAAwE;gBACxE,gFAAgF;gBAChF,uDAAuD;YACvD,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4DAA4D;gBACzE,uEAAuE;gBACvE,6CAA6C;YAC7C,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kGAAkG;gBAC/G,wDAAwD;gBACxD,uEAAuE;YACvE,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0CAA0C;gBACvD,0FAA0F;gBAC1F,wFAAwF;gBACxF,uEAAuE;YACvE,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,IAAI;SACjB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qFAAqF;gBAClG,6EAA6E;YAC7E,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,kFAAkF;gBAC/F,6EAA6E;YAC7E,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,KAAK;SAClB;QACD;YACI,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mFAAmF;gBAChG,2FAA2F;gBAC3F,iFAAiF;gBACjF,4FAA4F;gBAC5F,+FAA+F;gBAC/F,wFAAwF;gBACxF,0FAA0F;YAC1F,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,KAAK;SAClB;KACJ;IACD,QAAQ,EAAE;QACN;YACI,WAAW,EAAE,OAAO;YACpB,OAAO,EAAE,kDAAkD;SAC9D;QACD;YACI,WAAW,EAAE,OAAO;gBACpB,2EAA2E;YAC3E,OAAO,EAAE,qFAAqF;SACjG;QACD;YACI,WAAW,EAAE,OAAO;gBACpB,kCAAkC;YAClC,OAAO,EAAE,4DAA4D;SACxE;KACJ;CACJ,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import AbstractProfileActionHandler from "../../../handlers/AbstractProfileActionHandler";
|
|
2
|
+
import { Session } from "@zowe/imperative";
|
|
3
|
+
import { IResponse } from "../../../api/response/IResponse";
|
|
2
4
|
export default class InvokeHandler extends AbstractProfileActionHandler {
|
|
5
|
+
protected sendRestRequest(session: Session, resource: string, headers: any): Promise<IResponse>;
|
|
3
6
|
protected getPayload(): string;
|
|
4
7
|
}
|
|
@@ -21,9 +21,31 @@
|
|
|
21
21
|
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
22
|
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
23
|
*/
|
|
24
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
25
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
26
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
28
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
+
});
|
|
32
|
+
};
|
|
24
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
34
|
const AbstractProfileActionHandler_1 = require("../../../handlers/AbstractProfileActionHandler");
|
|
35
|
+
const MATRest_1 = require("../../../api/MATRest");
|
|
26
36
|
class InvokeHandler extends AbstractProfileActionHandler_1.default {
|
|
37
|
+
sendRestRequest(session, resource, headers) {
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
if (this.arguments.listing) {
|
|
40
|
+
const parameters = new Map();
|
|
41
|
+
parameters.set("listing", "true");
|
|
42
|
+
return MATRest_1.MATRest.sendPostRequestWithParm(session, resource, headers, parameters, this.getPayload());
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return MATRest_1.MATRest.sendPostRequest(session, resource, headers, this.getPayload());
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
27
49
|
getPayload() {
|
|
28
50
|
// Creates interface model
|
|
29
51
|
const invokeProfileRequest = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvokeProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/invoke/InvokeProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG
|
|
1
|
+
{"version":3,"file":"InvokeProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/invoke/InvokeProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAIH,iGAA0F;AAG1F,kDAA+C;AAE/C,MAAqB,aAAc,SAAQ,sCAA4B;IAEnD,eAAe,CAAC,OAAgB,EAAE,QAAgB,EAAE,OAAY;;YAC5E,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE;gBACxB,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;gBAC7B,UAAU,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;gBAClC,OAAO,iBAAO,CAAC,uBAAuB,CAAY,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;aAChH;iBAAM;gBACH,OAAO,iBAAO,CAAC,eAAe,CAAY,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;aAC5F;QACL,CAAC;KAAA;IAES,UAAU;QAChB,0BAA0B;QAC1B,MAAM,oBAAoB,GAA0B;YAChD,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO;YAC/B,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM;YAC7B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO;YAC/B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;YAC1C,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO;YAC/B,YAAY,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY;SAC5C,CAAC;QAEF,MAAM,aAAa,GAAmB;YAClC,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,oBAAoB;SAChC,CAAC;QAEF,OAAO,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IACzC,CAAC;CACJ;AA9BD,gCA8BC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IProfileList } from "../../../api/response/IProfileList";
|
|
2
2
|
import AbstractObjectDisplayHandler from "../../../handlers/AbstractObjectDisplayHandler";
|
|
3
3
|
export default class ListProfileHandler extends AbstractObjectDisplayHandler<IProfileList> {
|
|
4
|
-
protected getOutput(json: IProfileList): string[]
|
|
4
|
+
protected getOutput(json: IProfileList): Promise<string[]>;
|
|
5
5
|
protected getRequireParams(): string[];
|
|
6
6
|
protected getURI(): string;
|
|
7
7
|
}
|
|
@@ -21,12 +21,23 @@
|
|
|
21
21
|
* INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF BROADCOM IS
|
|
22
22
|
* EXPRESSLY ADVISED OF SUCH LOSS OR DAMAGE.
|
|
23
23
|
*/
|
|
24
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
25
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
26
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
27
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
28
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
29
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
30
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
31
|
+
});
|
|
32
|
+
};
|
|
24
33
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
34
|
const MATRest_1 = require("../../../api/MATRest");
|
|
26
35
|
const AbstractObjectDisplayHandler_1 = require("../../../handlers/AbstractObjectDisplayHandler");
|
|
27
36
|
class ListProfileHandler extends AbstractObjectDisplayHandler_1.default {
|
|
28
37
|
getOutput(json) {
|
|
29
|
-
return
|
|
38
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
return json.profileList;
|
|
40
|
+
});
|
|
30
41
|
}
|
|
31
42
|
getRequireParams() {
|
|
32
43
|
return [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/listprofile/ListProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG
|
|
1
|
+
{"version":3,"file":"ListProfile.handler.js","sourceRoot":"","sources":["../../../../src/cli/profile/listprofile/ListProfile.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAGH,kDAA+C;AAC/C,iGAA0F;AAE1F,MAAqB,kBAAmB,SAAQ,sCAA0C;IAEtE,SAAS,CAAC,IAAkB;;YACxC,OAAO,IAAI,CAAC,WAAW,CAAC;QAC5B,CAAC;KAAA;IACS,gBAAgB;QACtB,OAAO,EAAE,CAAC;IACd,CAAC;IACS,MAAM;QACZ,OAAO,iBAAO,CAAC,QAAQ,CAAC;IAC5B,CAAC;CAEJ;AAZD,qCAYC"}
|
|
@@ -29,6 +29,7 @@ export declare class MATSession {
|
|
|
29
29
|
* Defines the AML enable option during MAT CLI profile creation.
|
|
30
30
|
*/
|
|
31
31
|
static MAT_CLI_ZOWEDISCOVERABLE: ICommandOptionDefinition;
|
|
32
|
+
static MAT_CLI_LISTINGDIR: ICommandOptionDefinition;
|
|
32
33
|
/**
|
|
33
34
|
* Options related to connecting to CA MAT
|
|
34
35
|
* These options can be filled in if the user creates a profile
|
|
@@ -96,11 +96,27 @@ MATSession.MAT_CLI_ZOWEDISCOVERABLE = {
|
|
|
96
96
|
description: "Specifies whether you want to use Zowe API Mediation Layer to process the commands for this profile. " +
|
|
97
97
|
"Set \'--zowediscoverable true\' only if you have configured the Zowe API Mediation Layer properties in your " +
|
|
98
98
|
"CA MAT REST API server settings.",
|
|
99
|
-
type: "
|
|
99
|
+
type: "boolean",
|
|
100
100
|
required: true,
|
|
101
101
|
allowableValues: { values: ["false", "true"] },
|
|
102
102
|
group: MATSession.MAT_CONNECTION_OPTION_GROUP
|
|
103
103
|
};
|
|
104
|
+
MATSession.MAT_CLI_LISTINGDIR = {
|
|
105
|
+
name: "listingDir",
|
|
106
|
+
aliases: ["ldir"],
|
|
107
|
+
description: "Specifies the directory where you want to store the registered program listings (e.g. \'c:\\listings\') " +
|
|
108
|
+
"for your immediate source code inspection. You can use the advantage of automated listing registration with CA MAT " +
|
|
109
|
+
"and listing retrieval through CA Endevor® footprints for Cobol, C/C++, and Assembler programs. " +
|
|
110
|
+
"When a source program listing is registered with CA MAT, you can enhance the histogram analysis " +
|
|
111
|
+
"data with the program listing details that pertain to the specific CSECT and program statement. The listing " +
|
|
112
|
+
"is transfered to the specified directory, which enables you to navigate directly to the line of the source code " +
|
|
113
|
+
"in you VS Code IDE and inspect the program statement. To use the listing retrieval option through " +
|
|
114
|
+
"CA Endevor® footprints, you need to have the CA Endevor® Web Services installed and configured and specify the " +
|
|
115
|
+
"CA Endevor® web server details in the CA MAT database configuration.",
|
|
116
|
+
type: "string",
|
|
117
|
+
required: false,
|
|
118
|
+
group: MATSession.MAT_CONNECTION_OPTION_GROUP
|
|
119
|
+
};
|
|
104
120
|
/**
|
|
105
121
|
* Options related to connecting to CA MAT
|
|
106
122
|
* These options can be filled in if the user creates a profile
|
|
@@ -111,6 +127,7 @@ MATSession.PMA_CONNECTION_OPTIONS = [
|
|
|
111
127
|
MATSession.MAT_REST_PORT,
|
|
112
128
|
MATSession.MAT_CLI_USERNAME,
|
|
113
129
|
MATSession.MAT_CLI_PASSWORD,
|
|
114
|
-
MATSession.MAT_CLI_ZOWEDISCOVERABLE
|
|
130
|
+
MATSession.MAT_CLI_ZOWEDISCOVERABLE,
|
|
131
|
+
MATSession.MAT_CLI_LISTINGDIR
|
|
115
132
|
];
|
|
116
133
|
//# sourceMappingURL=MATSession.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MATSession.js","sourceRoot":"","sources":["../../../src/cli/session/MATSession.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAIH;;;GAGG;AACH,MAAa,UAAU;;AAAvB,
|
|
1
|
+
{"version":3,"file":"MATSession.js","sourceRoot":"","sources":["../../../src/cli/session/MATSession.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAIH;;;GAGG;AACH,MAAa,UAAU;;AAAvB,gCA4GC;AA1Ge,sCAA2B,GAAG,qBA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AAE,kBAAkB;IACxB,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE,uGAAuG;QACpH,8GAA8G;QAC9G,kCAAkC;IAClC,IAAI,EAAE,SAAS;IACf,QAAQ,EAAE,IAAI;IACd,eAAe,EAAG,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE;IAC/C,KAAK,EAAE,UAAU,CAAC,2BAA2B;CAC9C,CAAC;AACY,6BAAkB,GAA6B;IAC3D,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE,0GAA0G;QACvH,qHAAqH;QACrH,iGAAiG;QACjG,kGAAkG;QAClG,8GAA8G;QAC9G,kHAAkH;QAClH,oGAAoG;QACpG,iHAAiH;QACjH,sEAAsE;IACtE,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,UAAU,CAAC,2BAA2B;CAC9C,CAAC;AAEF;;;GAGG;AACW,iCAAsB,GAA+B;IACjE,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,gBAAgB;IAC3B,UAAU,CAAC,gBAAgB;IAC3B,UAAU,CAAC,wBAAwB;IACnC,UAAU,CAAC,kBAAkB;CAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractAnalyzeHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractAnalyzeHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;
|
|
1
|
+
{"version":3,"file":"AbstractAnalyzeHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractAnalyzeHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;AAGH,+EAAwE;AAExE,MAA8B,sBAA4C,SAAQ,qCAA8B;IAClG,gBAAgB;QACtB,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC/B,CAAC;IACS,MAAM;QACZ,IAAI,QAAQ,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACpC,IAAI,IAAI,CAAC,SAAS,CAAC,OAAO,KAAK,SAAS,EAAE;YACtC,QAAQ,IAAI,WAAW,GAAG,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;SAC/D;aACI;YACD,QAAQ,IAAI,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,OAAO,QAAQ,CAAC;IACpB,CAAC;CAGJ;AAhBD,yCAgBC"}
|
|
@@ -42,29 +42,31 @@ class AbstractGetHandler extends AbstractRestHandler_1.default {
|
|
|
42
42
|
// Evaluates the request parameters
|
|
43
43
|
for (const element of this.getRequestParams()) {
|
|
44
44
|
const paramter = this.arguments[element];
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
switch (true) {
|
|
46
|
+
case (this.constructor.name.toString() === "HistogramHandler" && element === "top" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
47
|
+
parameters.set(element, encodeURIComponent("0"));
|
|
48
|
+
break;
|
|
49
|
+
case (this.constructor.name.toString() === "HistogramHandler" && element === "group" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
50
|
+
parameters.set(element, encodeURIComponent("4"));
|
|
51
|
+
break;
|
|
52
|
+
case (this.constructor.name.toString() === "HistogramHandler" && element === "csect" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
53
|
+
case (this.constructor.name.toString() === "HistogramHandler" && element === "module" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
54
|
+
case (this.constructor.name.toString() === "CallerIDHandler" && element === "csect" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
55
|
+
case (this.constructor.name.toString() === "CallerIDHandler" && element === "module" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
56
|
+
parameters.set(element, encodeURIComponent(""));
|
|
57
|
+
break;
|
|
58
|
+
case (this.constructor.name.toString() === "DB2ViewHandler" && element === "top" && util_1.isNullOrUndefined(this.arguments[element])):
|
|
59
|
+
parameters.set(element, encodeURIComponent("0"));
|
|
60
|
+
break;
|
|
61
|
+
default:
|
|
62
|
+
imperative_1.ImperativeExpect.toNotBeNullOrUndefined(paramter, element + " must be specified");
|
|
63
|
+
parameters.set(element, encodeURIComponent(this.arguments[element]));
|
|
64
|
+
break;
|
|
47
65
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
parameters.set(element, encodeURIComponent(""));
|
|
53
|
-
}
|
|
54
|
-
else if (this.constructor.name.toString() === "HistogramHandler" && element === "module" && util_1.isNullOrUndefined(this.arguments[element])) {
|
|
55
|
-
parameters.set(element, encodeURIComponent(""));
|
|
56
|
-
}
|
|
57
|
-
else if (this.constructor.name.toString() === "CallerIDHandler" && element === "csect" && util_1.isNullOrUndefined(this.arguments[element])) {
|
|
58
|
-
parameters.set(element, encodeURIComponent(""));
|
|
59
|
-
}
|
|
60
|
-
else if (this.constructor.name.toString() === "CallerIDHandler" && element === "module" && util_1.isNullOrUndefined(this.arguments[element])) {
|
|
61
|
-
parameters.set(element, encodeURIComponent(""));
|
|
62
|
-
}
|
|
63
|
-
else if (this.constructor.name.toString() === "DB2ViewHandler" && element === "top" && util_1.isNullOrUndefined(this.arguments[element])) {
|
|
64
|
-
parameters.set(element, encodeURIComponent("0"));
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
imperative_1.ImperativeExpect.toNotBeNullOrUndefined(paramter, element + " must be specified");
|
|
66
|
+
}
|
|
67
|
+
for (const element of this.getOptionalParams()) {
|
|
68
|
+
const paramter = this.arguments[element];
|
|
69
|
+
if (paramter !== null && paramter !== undefined) {
|
|
68
70
|
parameters.set(element, encodeURIComponent(this.arguments[element]));
|
|
69
71
|
}
|
|
70
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractGetHandler.js","sourceRoot":"","sources":["../../src/hand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CAAC,CAAC,CAAC;wBAC7H,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC;wBACjD,MAAM;oBAER;wBACC,6BAAgB,CAAC,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,oBAAoB,CAAC,CAAC;wBAClF,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;wBACrE,MAAM;iBACX;aACJ;YACD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,iBAAiB,EAAE,EAAE;gBAC5C,MAAM,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;gBACzC,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,EAAE;oBAC7C,UAAU,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;iBACxE;aACJ;YACD,OAAO,WAAO,CAAC,cAAc,CAAI,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;QAC7E,CAAC;KAAA;CACJ;AAzCD,qCAyCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractObjectDisplayHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractObjectDisplayHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;
|
|
1
|
+
{"version":3,"file":"AbstractObjectDisplayHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractObjectDisplayHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;AAIH,6DAAsD;AAEtD,MAA8B,4BAAkD,SAAQ,4BAAqB;IAC/F,SAAS;QACf,OAAO,QAAQ,CAAC;IACpB,CAAC;IACS,SAAS;QACf,OAAO,EAAE,CAAC;IACd,CAAC;IACS,SAAS;QACf,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ;AAVD,+CAUC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import AbstractPostHandler from "./AbstractPostHandler";
|
|
2
2
|
import { IResponse } from "../api/response/IResponse";
|
|
3
3
|
export default abstract class AbstractProfileActionHandler extends AbstractPostHandler<IResponse> {
|
|
4
|
-
protected getOutput(json: IResponse): IResponse
|
|
4
|
+
protected getOutput(json: IResponse): Promise<IResponse>;
|
|
5
5
|
protected getRequireParams(): string[];
|
|
6
6
|
protected getURI(): string;
|
|
7
7
|
}
|