@broadcom/mat-analyze-for-zowe-cli 1.0.5 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/CHANGELOG.md +13 -2
  2. package/README.md +40 -40
  3. package/lib/cli/monitor/Monitor.definition.js +1 -1
  4. package/lib/cli/monitor/Monitor.definition.js.map +1 -1
  5. package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js +5 -5
  6. package/lib/cli/monitor/codeview/Histogram/Histogram.definition.js.map +1 -1
  7. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js +8 -8
  8. package/lib/cli/monitor/codeview/Histogram/Histogram.handler.js.map +1 -1
  9. package/lib/cli/monitor/db2/db2view/DB2View.definition.js +1 -1
  10. package/lib/cli/monitor/db2/db2view/DB2View.definition.js.map +1 -1
  11. package/lib/cli/profile/Profile.definition.js +1 -1
  12. package/lib/cli/profile/Profile.definition.js.map +1 -1
  13. package/lib/cli/profile/create/CreateProfile.definition.js +46 -45
  14. package/lib/cli/profile/create/CreateProfile.definition.js.map +1 -1
  15. package/lib/cli/profile/create/CreateProfile.handler.d.ts +2 -0
  16. package/lib/cli/profile/create/CreateProfile.handler.js +140 -96
  17. package/lib/cli/profile/create/CreateProfile.handler.js.map +1 -1
  18. package/lib/cli/profile/invoke/InvokeProfile.definition.js +12 -11
  19. package/lib/cli/profile/invoke/InvokeProfile.definition.js.map +1 -1
  20. package/lib/cli/session/MATSession.d.ts +2 -2
  21. package/lib/cli/session/MATSession.js +11 -11
  22. package/lib/cli/session/MATSession.js.map +1 -1
  23. package/lib/handlers/AbstractGetHandler.js +20 -24
  24. package/lib/handlers/AbstractGetHandler.js.map +1 -1
  25. package/lib/handlers/AbstractRestHandler.js +0 -1
  26. package/lib/handlers/AbstractRestHandler.js.map +1 -1
  27. package/lib/imperative.js +11 -11
  28. package/lib/imperative.js.map +1 -1
  29. package/package.json +9 -9
@@ -23,11 +23,12 @@
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"],
29
- summary: "Invoke a CA MAT monitor profile",
30
- description: "Invoke a CA MAT monitor profile to start measurement.",
30
+ summary: "Invoke a MAT monitor profile",
31
+ description: "Invoke a MAT monitor profile to start measurement.",
31
32
  handler: __dirname + "/InvokeProfile.handler",
32
33
  type: "command",
33
34
  profile: {
@@ -36,7 +37,7 @@ exports.InvokeDefinition = {
36
37
  options: [
37
38
  {
38
39
  name: "profile",
39
- description: "Specifies the name of the profile in CA MAT that you invoke (e.g. PROFILE1). " +
40
+ description: "Specifies the name of the profile in MAT that you invoke (e.g. PROFILE1). " +
40
41
  "Values: 1 to 8 characters, a combination of alphanumeric and national " +
41
42
  "characters (A-Z, 0-9, and @), the first character must be an alphabetic or @. " +
42
43
  "The profile name must not contain characters # and $.",
@@ -53,9 +54,9 @@ exports.InvokeDefinition = {
53
54
  },
54
55
  {
55
56
  name: "mondsn",
56
- description: "Specifies the monitor data set name where CA MAT saves the measurement (e.g. DEMO.MAT.MONITOR). " +
57
+ description: "Specifies the monitor data set name where MAT saves the measurement (e.g. DEMO.MAT.MONITOR). " +
57
58
  "Values: data set name pattern, maximum 46 characters. " +
58
- "If not specified, your default CA MAT monitor DSN pattern is applied.",
59
+ "If not specified, your default MAT monitor DSN pattern is applied.",
59
60
  type: "string",
60
61
  required: false
61
62
  },
@@ -85,10 +86,10 @@ exports.InvokeDefinition = {
85
86
  {
86
87
  name: "listing",
87
88
  description: "Activates automated registration of Cobol, C/C++, and Assembler program listings " +
88
- "through CA Endevor® footprints. After completion of the measurement that you invoke with " +
89
- "the --listing parameter, the CA MAT Analyze plug-in for Zowe CLI automatically " +
89
+ "through Endevor® footprints. After completion of the measurement that you invoke with " +
90
+ "the --listing parameter, the MAT Analyze plug-in for Zowe CLI automatically " +
90
91
  "retrieves the program listing that is associated with the monitored job and registers the " +
91
- "listing with CA MAT. A registered program listing enhances the analysis possibilities of the " +
92
+ "listing with MAT. A registered program listing enhances the analysis possibilities of the " +
92
93
  "\'codeview histogram\' command the \'codeview histogram\' command and enables you to " +
93
94
  "inspect the source code statements that are associated with specific modules and CSECTs.",
94
95
  type: "boolean",
@@ -97,16 +98,16 @@ exports.InvokeDefinition = {
97
98
  ],
98
99
  examples: [
99
100
  {
100
- description: "Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system",
101
+ description: invkmsg,
101
102
  options: "--profile PROFILE1 --jobname JOB1 --targsys AA31",
102
103
  },
103
104
  {
104
- description: "Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system " +
105
+ description: invkmsg +
105
106
  "and save the measurement result in the DEMO.MAT.MONITOR.PROFILE1 data set",
106
107
  options: "--profile PROFILE1 --jobname JOB1 --targsys AA31 --mondsn DEMO.MAT.MONITOR.PROFILE1",
107
108
  },
108
109
  {
109
- description: "Invoke the PROFILE1 monitor profile to measure job JOB1 that runs on the AA31 system " +
110
+ description: invkmsg +
110
111
  "and register the program listing",
111
112
  options: "--profile PROFILE1 --jobname JOB1 --targsys AA31 --listing",
112
113
  },
@@ -1 +1 @@
1
- {"version":3,"file":"InvokeProfile.definition.js","sourceRoot":"","sources":["../../../../src/cli/profile/invoke/InvokeProfile.definition.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;AAGU,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,EAA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,WAAW,EAAE,uFAAuF;gBACpG,kCAAkC;YAClC,OAAO,EAAE,4DAA4D;SACxE;KACJ;CACJ,CAAC"}
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,8BAA8B;IACvC,WAAW,EAAE,oDAAoD;IACjE,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,4EAA4E;gBACzF,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,+FAA+F;gBAC5G,wDAAwD;gBACxD,oEAAoE;YACpE,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,wFAAwF;gBACxF,8EAA8E;gBAC9E,4FAA4F;gBAC5F,4FAA4F;gBAC5F,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"}
@@ -22,7 +22,7 @@ export declare class MATSession {
22
22
  */
23
23
  static MAT_CLI_USERNAME: ICommandOptionDefinition;
24
24
  /**
25
- * Option used in profile creation and commands for protocol for CA MAT
25
+ * Option used in profile creation and commands for protocol for MAT
26
26
  */
27
27
  static MAT_CLI_PASSWORD: ICommandOptionDefinition;
28
28
  /**
@@ -31,7 +31,7 @@ export declare class MATSession {
31
31
  static MAT_CLI_ZOWEDISCOVERABLE: ICommandOptionDefinition;
32
32
  static MAT_CLI_LISTINGDIR: ICommandOptionDefinition;
33
33
  /**
34
- * Options related to connecting to CA MAT
34
+ * Options related to connecting to MAT
35
35
  * These options can be filled in if the user creates a profile
36
36
  */
37
37
  static PMA_CONNECTION_OPTIONS: ICommandOptionDefinition[];
@@ -37,7 +37,7 @@ MATSession.MAT_CONNECTION_OPTION_GROUP = "MAT Profile Options";
37
37
  MATSession.MAT_REST_PROTOCOL = {
38
38
  name: "protocol",
39
39
  aliases: ["prt"],
40
- description: "Specifies the protocol defined for the CA MAT REST API server (http or https).",
40
+ description: "Specifies the protocol defined for the MAT REST API server (http or https).",
41
41
  type: "string",
42
42
  required: true,
43
43
  allowableValues: { values: ["http", "https"] },
@@ -49,7 +49,7 @@ MATSession.MAT_REST_PROTOCOL = {
49
49
  MATSession.MAT_REST_HOSTNAME = {
50
50
  name: "hostname",
51
51
  aliases: ["hn"],
52
- description: "Specifies the hostname or IP address defined for the CA MAT REST API server (e.g. 127.0.0.0 or localhost).",
52
+ description: "Specifies the hostname or IP address defined for the MAT REST API server (e.g. 127.0.0.0 or localhost).",
53
53
  type: "string",
54
54
  required: true,
55
55
  group: MATSession.MAT_CONNECTION_OPTION_GROUP
@@ -77,7 +77,7 @@ MATSession.MAT_CLI_USERNAME = {
77
77
  group: MATSession.MAT_CONNECTION_OPTION_GROUP
78
78
  };
79
79
  /**
80
- * Option used in profile creation and commands for protocol for CA MAT
80
+ * Option used in profile creation and commands for protocol for MAT
81
81
  */
82
82
  MATSession.MAT_CLI_PASSWORD = {
83
83
  name: "password",
@@ -95,8 +95,8 @@ MATSession.MAT_CLI_ZOWEDISCOVERABLE = {
95
95
  aliases: ["zdis"],
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
- "CA MAT REST API server settings.",
99
- type: "string",
98
+ "MAT REST API server settings.",
99
+ type: "boolean",
100
100
  required: true,
101
101
  allowableValues: { values: ["false", "true"] },
102
102
  group: MATSession.MAT_CONNECTION_OPTION_GROUP
@@ -105,20 +105,20 @@ MATSession.MAT_CLI_LISTINGDIR = {
105
105
  name: "listingDir",
106
106
  aliases: ["ldir"],
107
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 " +
108
+ "for your immediate source code inspection. You can use the advantage of automated listing registration with MAT " +
109
+ "and listing retrieval through Endevor® footprints for Cobol, C/C++, and Assembler programs. " +
110
+ "When a source program listing is registered with MAT, you can enhance the histogram analysis " +
111
111
  "data with the program listing details that pertain to the specific CSECT and program statement. The listing " +
112
112
  "is transfered to the specified directory, which enables you to navigate directly to the line of the source code " +
113
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.",
114
+ "Endevor® footprints, you need to have the Endevor® Web Services installed and configured and specify the " +
115
+ "Endevor® web server details in the MAT database configuration.",
116
116
  type: "string",
117
117
  required: false,
118
118
  group: MATSession.MAT_CONNECTION_OPTION_GROUP
119
119
  };
120
120
  /**
121
- * Options related to connecting to CA MAT
121
+ * Options related to connecting to MAT
122
122
  * These options can be filled in if the user creates a profile
123
123
  */
124
124
  MATSession.PMA_CONNECTION_OPTIONS = [
@@ -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,gCA4GC;AA1Ge,sCAA2B,GAAG,qBAAqB,CAAC;AAClE;;GAEG;AACW,4BAAiB,GAA6B;IAC1D,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,KAAK,CAAC;IAChB,WAAW,EAAE,gFAAgF;IAC7F,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,IAAI;IACd,eAAe,EAAG,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE;IAC/C,KAAK,EAAE,UAAU,CAAC,2BAA2B;CAC9C,CAAC;AAEF;;GAEG;AACW,4BAAiB,GAA6B;IAC1D,IAAI,EAAE,UAAU;IACh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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"}
@@ -42,30 +42,26 @@ 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
- if (this.constructor.name.toString() === "HistogramHandler" && element === "top" && util_1.isNullOrUndefined(this.arguments[element])) {
46
- parameters.set(element, encodeURIComponent("0"));
47
- }
48
- else if (this.constructor.name.toString() === "HistogramHandler" && element === "group" && util_1.isNullOrUndefined(this.arguments[element])) {
49
- parameters.set(element, encodeURIComponent("4"));
50
- }
51
- else if (this.constructor.name.toString() === "HistogramHandler" && element === "csect" && util_1.isNullOrUndefined(this.arguments[element])) {
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");
68
- parameters.set(element, encodeURIComponent(this.arguments[element]));
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;
69
65
  }
70
66
  }
71
67
  for (const element of this.getOptionalParams()) {
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractGetHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractGetHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,iDAA6D;AAC7D,0BAA6B;AAC7B,+DAAwD;AAExD,+BAAyC;AAEzC,MAA8B,kBAAwC,SAAQ,6BAAsB;IAChF,eAAe,CAAC,OAAgB,EAAE,QAAgB,EAAE,OAAY;;YAC5E,MAAM,UAAU,GAAG,IAAI,GAAG,EAAE,CAAC;YAC7B,mCAAmC;YACnC,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,gB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D,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"}
@@ -76,7 +76,6 @@ class AbstractRestHandler {
76
76
  endpoint = __1.MATRest.REST_ENDPOINT;
77
77
  }
78
78
  const token = (yield __1.MATRest.GetAuth(session, profile.username, profile.password, endpoint)).accessToken;
79
- // console.log(token);
80
79
  const bearer = "Bearer " + token;
81
80
  const header = { Authorization: bearer };
82
81
  const headers = [header];
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractRestHandler.js","sourceRoot":"","sources":["../../src/handlers/AbstractRestHandler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;;;;;;;;;;;AAEH,iDAG0B;AAC1B,0BAA6B;AAG7B,MAA8B,mBAAmB;IAEhC,OAAO,CAAC,MAA0B;;YAC3C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;YAClC,uBAAuB;YACvB,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,gBAAgB,EAAE,EAAE;gBAC3C,MAAM,UAAU,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACtC,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE;oBACvB,IAAI,WAAW,GAAG,CAAC,CAAC;oBACpB,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE;wBAC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AC,CAAC;4BACtD,OAAO,CAAC,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC;4BACtC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAS,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;4BAC3D,OAAO;yBACV;wBAAC,OAAO,GAAG,EAAE;4BACV,MAAM,KAAK,CAAC;yBACf;qBACJ;iBACJ;gBACD,MAAM,KAAK,CAAC;aACf;QACL,CAAC;KAAA;IAES,gBAAgB;QACtB,OAAO,EAAE,CAAC;IACd,CAAC;IAES,iBAAiB;QACvB,OAAO,EAAE,CAAC;IACd,CAAC;CAkBJ;AAtHD,sCAsHC"}
package/lib/imperative.js CHANGED
@@ -25,19 +25,19 @@ const MATSession_1 = require("./cli/session/MATSession");
25
25
  const config = {
26
26
  commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
27
27
  pluginHealthCheck: __dirname + "/healthCheck.Handler",
28
- pluginSummary: "Manage monitor profiles and analyze the measurement data using CA MAT",
28
+ pluginSummary: "Manage monitor profiles and analyze the measurement data using MAT",
29
29
  pluginAliases: ["mat"],
30
- rootCommandDescription: "The CA MAT Analyze plug-in for ZOWE CLI enables you to manage monitor profiles " +
31
- "and get the measurement analysis data using CA Mainframe Application Tuner (CA MAT)",
32
- productDisplayName: "CA MAT Analyze Plug-in for Zowe CLI",
30
+ rootCommandDescription: "The MAT Analyze plug-in for ZOWE CLI enables you to manage monitor profiles " +
31
+ "and get the measurement analysis data using Mainframe Application Tuner (MAT)",
32
+ productDisplayName: "MAT Analyze Plug-in for Zowe CLI",
33
33
  name: "mat",
34
34
  profiles: [
35
35
  {
36
36
  type: "mat",
37
37
  schema: {
38
38
  type: "object",
39
- title: "CA MAT Analyze CLI profile schema",
40
- description: "CA MAT Analyze CLI profile schema.",
39
+ title: "MAT Analyze CLI profile schema",
40
+ description: "MAT Analyze CLI profile schema.",
41
41
  properties: {
42
42
  protocol: {
43
43
  optionDefinition: MATSession_1.MATSession.MAT_REST_PROTOCOL,
@@ -63,7 +63,7 @@ const config = {
63
63
  },
64
64
  zowediscoverable: {
65
65
  optionDefinition: MATSession_1.MATSession.MAT_CLI_ZOWEDISCOVERABLE,
66
- type: "string"
66
+ type: "boolean"
67
67
  },
68
68
  listingDir: {
69
69
  optionDefinition: MATSession_1.MATSession.MAT_CLI_LISTINGDIR,
@@ -75,13 +75,13 @@ const config = {
75
75
  createProfileExamples: [
76
76
  {
77
77
  options: "matprofile --prt http --hn localhost --pt 1234 --user user --pass pass --zowediscoverable true",
78
- description: "Create a MAT profile called \'matprofile\' using your CA MAT configuration and REST API details, " +
79
- "with the CA MAT REST API server integrated with the Zowe API Mediation Layer"
78
+ description: "Create a MAT profile called \'matprofile\' using your MAT configuration and REST API details, " +
79
+ "with the MAT REST API server integrated with the Zowe API Mediation Layer"
80
80
  },
81
81
  {
82
82
  options: "matprofile --prt http --hn localhost --pt 1234 --user user --pass pass --zowediscoverable false --listingDir \'c:\\listings\'",
83
- description: "Create a MAT profile called \'matprofile\' using your CA MAT configuration and the details of the " +
84
- "CA MAT REST API server without integration with the Zowe API Mediation Layer," +
83
+ description: "Create a MAT profile called \'matprofile\' using your MAT configuration and the details of the " +
84
+ "MAT REST API server without integration with the Zowe API Mediation Layer," +
85
85
  "and define the \'c:\\listings\' directory to store program listings for instant analysis from your VS Code IDE"
86
86
  },
87
87
  ]
@@ -1 +1 @@
1
- {"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,yDAAsD;AAEtD,MAAM,MAAM,GAAsB;IAC9B,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,iBAAiB,EAAE,SAAS,GAAG,sBAAsB;IACrD,aAAa,EAAE,uEAAuE;IACtF,aAAa,EAAE,CAAC,KAAK,CAAC;IACtB,sBAAsB,EAAE,iFAAiF;QACzG,qFAAqF;IACrF,kBAAkB,EAAE,qC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ACV,gBAAgB,EAAE,uBAAU,CAAC,kBAAkB;wBAC/C,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,CAAC;aACvF;YACD,qBAAqB,EAAE;gBACvB;oBACE,OAAO,EAAE,gGAAgG;oBACzG,WAAW,EAAE,gGAAgG;wBAC3G,2EAA2E;iBAC9E;gBACD;oBACE,OAAO,EAAE,+HAA+H;oBACxI,WAAW,EAAE,iGAAiG;wBAC5G,4EAA4E;wBAC5E,gHAAgH;iBACnH;aACA;SACF;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@broadcom/mat-analyze-for-zowe-cli",
3
- "version": "1.0.5",
4
- "description": "CA MAT Analyze Plug-in for Zowe CLI",
3
+ "version": "1.0.9",
4
+ "description": "MAT Analyze Plug-in for Zowe CLI",
5
5
  "repository": "",
6
6
  "main": "lib/index.js",
7
7
  "files": [
@@ -13,7 +13,7 @@
13
13
  "prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
14
14
  "clean": "rimraf lib",
15
15
  "watch": "tsc --pretty --watch",
16
- "prepublishOnly": "npm run build",
16
+ "prepublishOnly": "echo Look up for the output of prepublishOnly",
17
17
  "lint": "tslint \"src/**/*.ts\"",
18
18
  "test": "npm run test:unit && npm run test:system",
19
19
  "test:system": "env-cmd __tests__/__resources__/env/system.env jest .*/__system__/.* --coverage false",
@@ -27,12 +27,12 @@
27
27
  "configurationModule": "lib/imperative.js"
28
28
  },
29
29
  "dependencies": {
30
- "object-mapper": "6.2.0",
31
- "@broadcom/endevor-for-zowe-cli": "^5.7.4"
30
+ "@broadcom/endevor-for-zowe-cli": "^5.7.4",
31
+ "@zowe/imperative": "^4.17.6",
32
+ "object-mapper": "6.2.0"
32
33
  },
33
34
  "peerDependencies": {
34
- "@zowe/cli": "^6.13.0",
35
- "@zowe/imperative": "^4.8.0"
35
+ "@zowe/cli": "^6.13.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/config": "0.0.34",
@@ -41,7 +41,7 @@
41
41
  "@types/mustache": "^0.8.32",
42
42
  "@types/node": "^14.0.1",
43
43
  "@types/yargs": "8.0.2",
44
- "@zowe/cli": "^6.31.0",
44
+ "@zowe/cli": "^6.37.7",
45
45
  "config": "^3.2.2",
46
46
  "copyfiles": "2.2.0",
47
47
  "env-cmd": "^8.0.2",
@@ -59,7 +59,7 @@
59
59
  "ts-jest": "^26.5.4",
60
60
  "ts-node": "^8.10.1",
61
61
  "tslint": "^5.0.0",
62
- "typedoc": "^0.16.9",
62
+ "typedoc": "^0.22.11",
63
63
  "typescript": "^3.7.5",
64
64
  "uuid": "^3.2.1"
65
65
  },