From d3046caad4841cd7ef1dbc7d06d64b5c3f4aaabb Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 2 Feb 2022 13:37:03 -0500 Subject: [PATCH 01/12] Republish to prune dev dependencies from shrinkwrap Signed-off-by: Timothy Johnson --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75d93d0..3e9d41c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the IBM® IMS™ Plug-in for Zowe CLI will be documented in this file. +## Recent Changes + +- BugFix: Pruned dev dependencies from npm-shrinkwrap file. + ## `2.0.2` - BugFix: Included an npm-shrinkwrap file to lock-down all transitive dependencies. From fbfc8fa1fe90a62ba83ffe5caad2edc38538d1b6 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Fri, 4 Feb 2022 15:44:28 -0500 Subject: [PATCH 02/12] Update Imperative dependency Signed-off-by: Timothy Johnson --- npm-shrinkwrap.json | 253 +++++++++++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 237 insertions(+), 18 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 2a6937f..cb0a7fa 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -15,7 +15,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.17.5", + "@zowe/imperative": "4.17.6", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", @@ -3229,6 +3229,114 @@ "node": ">=8.0.0" } }, + "node_modules/@zowe/cli/node_modules/@types/yargs": { + "version": "13.0.4", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", + "integrity": "sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A==", + "peer": true, + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@zowe/cli/node_modules/@zowe/imperative": { + "version": "4.17.5", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", + "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", + "license": "EPL-2.0", + "peer": true, + "dependencies": { + "@types/lodash-deep": "2.0.0", + "@types/yargs": "13.0.4", + "@zowe/perf-timing": "1.0.7", + "chalk": "2.4.2", + "cli-table3": "0.6.1", + "dataobject-parser": "1.2.1", + "deepmerge": "3.0.0", + "fastest-levenshtein": "1.0.12", + "find-up": "4.1.0", + "fs-extra": "8.1.0", + "glob": "7.1.6", + "js-yaml": "3.14.1", + "jsonfile": "4.0.0", + "jsonschema": "1.1.1", + "lodash-deep": "2.0.0", + "log4js": "6.4.0", + "markdown-it": "12.3.2", + "moment": "2.20.1", + "mustache": "2.3.0", + "npm-package-arg": "8.1.1", + "opener": "1.5.2", + "pacote": "11.1.4", + "prettyjson": "1.2.2", + "progress": "2.0.3", + "readline-sync": "1.4.10", + "rimraf": "2.6.3", + "sanitize-html": "2.3.2", + "semver": "5.7.0", + "stack-trace": "0.0.10", + "wrap-ansi": "7.0.0", + "yamljs": "0.3.0", + "yargs": "15.3.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/@zowe/cli/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "peer": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/@zowe/cli/node_modules/glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "peer": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@zowe/cli/node_modules/rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "peer": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/@zowe/cli/node_modules/semver": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", + "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "peer": true, + "bin": { + "semver": "bin/semver" + } + }, "node_modules/@zowe/core-for-zowe-sdk": { "version": "6.37.4", "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.4.tgz", @@ -3243,9 +3351,9 @@ } }, "node_modules/@zowe/imperative": { - "version": "4.17.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", - "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", + "version": "4.17.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.6.tgz", + "integrity": "sha1-dqFi+GrBFC8DTu89620ecMQ2FU8=", "license": "EPL-2.0", "dependencies": { "@types/lodash-deep": "2.0.0", @@ -3274,7 +3382,6 @@ "progress": "2.0.3", "readline-sync": "1.4.10", "rimraf": "2.6.3", - "sanitize-html": "2.3.2", "semver": "5.7.0", "stack-trace": "0.0.10", "wrap-ansi": "7.0.0", @@ -5181,6 +5288,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "peer": true, "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.2.0", @@ -5199,7 +5307,8 @@ "type": "github", "url": "https://github.com/sponsors/fb55" } - ] + ], + "peer": true }, "node_modules/domexception": { "version": "2.0.1", @@ -5226,6 +5335,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz", "integrity": "sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==", + "peer": true, "dependencies": { "domelementtype": "^2.2.0" }, @@ -5240,6 +5350,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "peer": true, "dependencies": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", @@ -6874,6 +6985,7 @@ "url": "https://github.com/sponsors/fb55" } ], + "peer": true, "dependencies": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -7261,6 +7373,7 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -10730,6 +10843,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "peer": true, "engines": { "node": ">= 8" } @@ -12232,7 +12346,8 @@ "node_modules/parse-srcset": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=" + "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=", + "peer": true }, "node_modules/parse5": { "version": "6.0.1", @@ -13420,6 +13535,7 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.3.2.tgz", "integrity": "sha512-p7neuskvC8pSurUjdVmbWPXmc9A4+QpOXIL+4gwFC+av5h+lYCXFT8uEneqsFQg/wEA1IH+cKQA60AaQI6p3cg==", + "peer": true, "dependencies": { "deepmerge": "^4.2.2", "escape-string-regexp": "^4.0.0", @@ -13434,6 +13550,7 @@ "version": "4.2.2", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -13442,6 +13559,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "peer": true, "engines": { "node": ">=10" }, @@ -17889,6 +18007,97 @@ "@zowe/zosmf-for-zowe-sdk": "6.37.4", "get-stdin": "7.0.0", "minimatch": "3.0.4" + }, + "dependencies": { + "@types/yargs": { + "version": "13.0.4", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", + "integrity": "sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A==", + "peer": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "@zowe/imperative": { + "version": "4.17.5", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", + "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", + "peer": true, + "requires": { + "@types/lodash-deep": "2.0.0", + "@types/yargs": "13.0.4", + "@zowe/perf-timing": "1.0.7", + "chalk": "2.4.2", + "cli-table3": "0.6.1", + "dataobject-parser": "1.2.1", + "deepmerge": "3.0.0", + "fastest-levenshtein": "1.0.12", + "find-up": "4.1.0", + "fs-extra": "8.1.0", + "glob": "7.1.6", + "js-yaml": "3.14.1", + "jsonfile": "4.0.0", + "jsonschema": "1.1.1", + "lodash-deep": "2.0.0", + "log4js": "6.4.0", + "markdown-it": "12.3.2", + "moment": "2.20.1", + "mustache": "2.3.0", + "npm-package-arg": "8.1.1", + "opener": "1.5.2", + "pacote": "11.1.4", + "prettyjson": "1.2.2", + "progress": "2.0.3", + "readline-sync": "1.4.10", + "rimraf": "2.6.3", + "sanitize-html": "2.3.2", + "semver": "5.7.0", + "stack-trace": "0.0.10", + "wrap-ansi": "7.0.0", + "yamljs": "0.3.0", + "yargs": "15.3.1" + } + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "peer": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "peer": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "peer": true, + "requires": { + "glob": "^7.1.3" + } + }, + "semver": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", + "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", + "peer": true + } } }, "@zowe/core-for-zowe-sdk": { @@ -17901,9 +18110,9 @@ } }, "@zowe/imperative": { - "version": "4.17.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", - "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", + "version": "4.17.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.6.tgz", + "integrity": "sha1-dqFi+GrBFC8DTu89620ecMQ2FU8=", "requires": { "@types/lodash-deep": "2.0.0", "@types/yargs": "13.0.4", @@ -17931,7 +18140,6 @@ "progress": "2.0.3", "readline-sync": "1.4.10", "rimraf": "2.6.3", - "sanitize-html": "2.3.2", "semver": "5.7.0", "stack-trace": "0.0.10", "wrap-ansi": "7.0.0", @@ -19377,6 +19585,7 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "peer": true, "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.2.0", @@ -19386,7 +19595,8 @@ "domelementtype": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", + "peer": true }, "domexception": { "version": "2.0.1", @@ -19409,6 +19619,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz", "integrity": "sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==", + "peer": true, "requires": { "domelementtype": "^2.2.0" } @@ -19417,6 +19628,7 @@ "version": "2.8.0", "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", + "peer": true, "requires": { "dom-serializer": "^1.0.1", "domelementtype": "^2.2.0", @@ -20643,6 +20855,7 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", + "peer": true, "requires": { "domelementtype": "^2.0.1", "domhandler": "^4.0.0", @@ -20927,7 +21140,8 @@ "is-plain-object": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==" + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "peer": true }, "is-potential-custom-element-name": { "version": "1.0.1", @@ -23560,7 +23774,8 @@ "klona": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==" + "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "peer": true }, "leven": { "version": "3.1.0", @@ -24718,7 +24933,8 @@ "parse-srcset": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=" + "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=", + "peer": true }, "parse5": { "version": "6.0.1", @@ -25621,6 +25837,7 @@ "version": "2.3.2", "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.3.2.tgz", "integrity": "sha512-p7neuskvC8pSurUjdVmbWPXmc9A4+QpOXIL+4gwFC+av5h+lYCXFT8uEneqsFQg/wEA1IH+cKQA60AaQI6p3cg==", + "peer": true, "requires": { "deepmerge": "^4.2.2", "escape-string-regexp": "^4.0.0", @@ -25634,12 +25851,14 @@ "deepmerge": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==" + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "peer": true }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "peer": true } } }, diff --git a/package.json b/package.json index c875d3f..d14b875 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.17.5", + "@zowe/imperative": "4.17.6", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", From 139c329e284f871445f4fcfae95d330172c13606 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Mon, 7 Feb 2022 11:35:32 -0500 Subject: [PATCH 03/12] Update CLI peer dependency Signed-off-by: Timothy Johnson --- npm-shrinkwrap.json | 633 ++++++++------------------------------------ 1 file changed, 106 insertions(+), 527 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index cb0a7fa..5c441a4 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -3199,25 +3199,25 @@ } }, "node_modules/@zowe/cli": { - "version": "6.37.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.5.tgz", - "integrity": "sha1-/dyfbENOdmmGXY39FS5V77SMvWg=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.6.tgz", + "integrity": "sha1-CRhsvspUmvU4rFkpxOMFrn648OA=", "hasInstallScript": true, "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/core-for-zowe-sdk": "6.37.4", - "@zowe/imperative": "4.17.5", + "@zowe/core-for-zowe-sdk": "6.37.6", + "@zowe/imperative": "4.17.6", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "6.37.4", - "@zowe/zos-console-for-zowe-sdk": "6.37.4", - "@zowe/zos-files-for-zowe-sdk": "6.37.4", - "@zowe/zos-jobs-for-zowe-sdk": "6.37.4", - "@zowe/zos-logs-for-zowe-sdk": "6.37.4", - "@zowe/zos-tso-for-zowe-sdk": "6.37.4", - "@zowe/zos-uss-for-zowe-sdk": "6.37.4", - "@zowe/zos-workflows-for-zowe-sdk": "6.37.4", - "@zowe/zosmf-for-zowe-sdk": "6.37.4", + "@zowe/provisioning-for-zowe-sdk": "6.37.6", + "@zowe/zos-console-for-zowe-sdk": "6.37.6", + "@zowe/zos-files-for-zowe-sdk": "6.37.6", + "@zowe/zos-jobs-for-zowe-sdk": "6.37.6", + "@zowe/zos-logs-for-zowe-sdk": "6.37.6", + "@zowe/zos-tso-for-zowe-sdk": "6.37.6", + "@zowe/zos-uss-for-zowe-sdk": "6.37.6", + "@zowe/zos-workflows-for-zowe-sdk": "6.37.6", + "@zowe/zosmf-for-zowe-sdk": "6.37.6", "get-stdin": "7.0.0", "minimatch": "3.0.4" }, @@ -3229,118 +3229,10 @@ "node": ">=8.0.0" } }, - "node_modules/@zowe/cli/node_modules/@types/yargs": { - "version": "13.0.4", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", - "integrity": "sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A==", - "peer": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@zowe/cli/node_modules/@zowe/imperative": { - "version": "4.17.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", - "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", - "license": "EPL-2.0", - "peer": true, - "dependencies": { - "@types/lodash-deep": "2.0.0", - "@types/yargs": "13.0.4", - "@zowe/perf-timing": "1.0.7", - "chalk": "2.4.2", - "cli-table3": "0.6.1", - "dataobject-parser": "1.2.1", - "deepmerge": "3.0.0", - "fastest-levenshtein": "1.0.12", - "find-up": "4.1.0", - "fs-extra": "8.1.0", - "glob": "7.1.6", - "js-yaml": "3.14.1", - "jsonfile": "4.0.0", - "jsonschema": "1.1.1", - "lodash-deep": "2.0.0", - "log4js": "6.4.0", - "markdown-it": "12.3.2", - "moment": "2.20.1", - "mustache": "2.3.0", - "npm-package-arg": "8.1.1", - "opener": "1.5.2", - "pacote": "11.1.4", - "prettyjson": "1.2.2", - "progress": "2.0.3", - "readline-sync": "1.4.10", - "rimraf": "2.6.3", - "sanitize-html": "2.3.2", - "semver": "5.7.0", - "stack-trace": "0.0.10", - "wrap-ansi": "7.0.0", - "yamljs": "0.3.0", - "yargs": "15.3.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@zowe/cli/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "peer": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@zowe/cli/node_modules/glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "peer": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@zowe/cli/node_modules/rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "peer": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/@zowe/cli/node_modules/semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", - "peer": true, - "bin": { - "semver": "bin/semver" - } - }, "node_modules/@zowe/core-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-BifbfzuTZ869XtSYNh+W4ammYz0=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-EXnT+aYIs8Y2RBt8GCAmq4pRmoM=", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3478,9 +3370,9 @@ } }, "node_modules/@zowe/provisioning-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-QXjCs9ZzM0hpBszCfHsUqXqb7zU=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-keWneLKz1zghtmswfnHI0fVDpTA=", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3492,9 +3384,9 @@ } }, "node_modules/@zowe/zos-console-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-fWXWoP6/tTOSSFaLsXryU2fEqVI=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-x/FMlMtlGII+wjglPqI3Ejvc2uw=", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -3503,9 +3395,9 @@ } }, "node_modules/@zowe/zos-files-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-xvwDSW/vOMOgJOI5w0rMrB/8Z4k=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-zKZMXYdfpUqb1uaRuxUarEUxrU8=", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3517,13 +3409,13 @@ } }, "node_modules/@zowe/zos-jobs-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-wnpI/G+ax3scBweBdVM6rbrs5q0=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-phy9uHzGaP9sEoHldnz4Wj6rLA8=", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "6.37.4" + "@zowe/zos-files-for-zowe-sdk": "6.37.6" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3531,9 +3423,9 @@ } }, "node_modules/@zowe/zos-logs-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-jMvIfHTVntQSbkMKoMm1gtnWyqE=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-MubfWbmXV6bKu10SO6BRws4torE=", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -3542,13 +3434,13 @@ } }, "node_modules/@zowe/zos-tso-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-FiQiqaaOK1XkSQFrtHPJfHzRe1M=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-HAEPYSc9G5k1oBmCzeN0dDbI8ew=", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "6.37.4" + "@zowe/zosmf-for-zowe-sdk": "6.37.6" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3556,9 +3448,9 @@ } }, "node_modules/@zowe/zos-uss-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-c0aeyNjTNcdU9Rn/c4p7jYAltXw=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-Avs2oqCqnKkkiySPY4+BdL3B/0s=", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3569,13 +3461,13 @@ } }, "node_modules/@zowe/zos-workflows-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-23qeTuN93QZtf9UJYpaOMXCRv4g=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-8ZFNHO3V+HJ4n0t/1m9pykrzzxM=", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "6.37.4" + "@zowe/zos-files-for-zowe-sdk": "6.37.6" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3583,9 +3475,9 @@ } }, "node_modules/@zowe/zosmf-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-RbBO3bSqDZmvVwKYuw1qRmAlHgs=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-COdhSRoQIj95c6FUf4rs6C2aCBE=", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -5284,32 +5176,6 @@ "node": ">=6.0.0" } }, - "node_modules/dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", - "peer": true, - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "funding": { - "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" - } - }, - "node_modules/domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "peer": true - }, "node_modules/domexception": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", @@ -5331,35 +5197,6 @@ "node": ">=8" } }, - "node_modules/domhandler": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz", - "integrity": "sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==", - "peer": true, - "dependencies": { - "domelementtype": "^2.2.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "url": "https://github.com/fb55/domhandler?sponsor=1" - } - }, - "node_modules/domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "peer": true, - "dependencies": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "funding": { - "url": "https://github.com/fb55/domutils?sponsor=1" - } - }, "node_modules/electron-to-chromium": { "version": "1.4.53", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.53.tgz", @@ -6974,25 +6811,6 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, - "node_modules/htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", - "funding": [ - "https://github.com/fb55/htmlparser2?sponsor=1", - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ], - "peer": true, - "dependencies": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" - } - }, "node_modules/http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", @@ -7369,15 +7187,6 @@ "node": ">=0.10.0" } }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -10839,15 +10648,6 @@ "node": ">=6" } }, - "node_modules/klona": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", - "peer": true, - "engines": { - "node": ">= 8" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -11577,6 +11377,7 @@ "version": "3.2.0", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.2.0.tgz", "integrity": "sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==", + "dev": true, "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -12343,12 +12144,6 @@ "node": ">=0.10.0" } }, - "node_modules/parse-srcset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=", - "peer": true - }, "node_modules/parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", @@ -12416,7 +12211,8 @@ "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -12556,6 +12352,7 @@ "version": "8.4.5", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz", "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==", + "dev": true, "dependencies": { "nanoid": "^3.1.30", "picocolors": "^1.0.0", @@ -13531,42 +13328,6 @@ "node": ">=0.10.0" } }, - "node_modules/sanitize-html": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.3.2.tgz", - "integrity": "sha512-p7neuskvC8pSurUjdVmbWPXmc9A4+QpOXIL+4gwFC+av5h+lYCXFT8uEneqsFQg/wEA1IH+cKQA60AaQI6p3cg==", - "peer": true, - "dependencies": { - "deepmerge": "^4.2.2", - "escape-string-regexp": "^4.0.0", - "htmlparser2": "^6.0.0", - "is-plain-object": "^5.0.0", - "klona": "^2.0.3", - "parse-srcset": "^1.0.2", - "postcss": "^8.0.2" - } - }, - "node_modules/sanitize-html/node_modules/deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sanitize-html/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "peer": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/sass-lookup": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/sass-lookup/-/sass-lookup-3.0.0.tgz", @@ -14096,6 +13857,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -17988,122 +17750,31 @@ } }, "@zowe/cli": { - "version": "6.37.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.5.tgz", - "integrity": "sha1-/dyfbENOdmmGXY39FS5V77SMvWg=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.6.tgz", + "integrity": "sha1-CRhsvspUmvU4rFkpxOMFrn648OA=", "peer": true, "requires": { - "@zowe/core-for-zowe-sdk": "6.37.4", - "@zowe/imperative": "4.17.5", + "@zowe/core-for-zowe-sdk": "6.37.6", + "@zowe/imperative": "4.17.6", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "6.37.4", - "@zowe/zos-console-for-zowe-sdk": "6.37.4", - "@zowe/zos-files-for-zowe-sdk": "6.37.4", - "@zowe/zos-jobs-for-zowe-sdk": "6.37.4", - "@zowe/zos-logs-for-zowe-sdk": "6.37.4", - "@zowe/zos-tso-for-zowe-sdk": "6.37.4", - "@zowe/zos-uss-for-zowe-sdk": "6.37.4", - "@zowe/zos-workflows-for-zowe-sdk": "6.37.4", - "@zowe/zosmf-for-zowe-sdk": "6.37.4", + "@zowe/provisioning-for-zowe-sdk": "6.37.6", + "@zowe/zos-console-for-zowe-sdk": "6.37.6", + "@zowe/zos-files-for-zowe-sdk": "6.37.6", + "@zowe/zos-jobs-for-zowe-sdk": "6.37.6", + "@zowe/zos-logs-for-zowe-sdk": "6.37.6", + "@zowe/zos-tso-for-zowe-sdk": "6.37.6", + "@zowe/zos-uss-for-zowe-sdk": "6.37.6", + "@zowe/zos-workflows-for-zowe-sdk": "6.37.6", + "@zowe/zosmf-for-zowe-sdk": "6.37.6", "get-stdin": "7.0.0", "minimatch": "3.0.4" - }, - "dependencies": { - "@types/yargs": { - "version": "13.0.4", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", - "integrity": "sha512-Ke1WmBbIkVM8bpvsNEcGgQM70XcEh/nbpxQhW7FhrsbCsXSY9BmLB1+LHtD7r9zrsOcFlLiF+a/UeJsdfw3C5A==", - "peer": true, - "requires": { - "@types/yargs-parser": "*" - } - }, - "@zowe/imperative": { - "version": "4.17.5", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.5.tgz", - "integrity": "sha1-aAJ83MfY8ptQYUt0H73FMbYAnpc=", - "peer": true, - "requires": { - "@types/lodash-deep": "2.0.0", - "@types/yargs": "13.0.4", - "@zowe/perf-timing": "1.0.7", - "chalk": "2.4.2", - "cli-table3": "0.6.1", - "dataobject-parser": "1.2.1", - "deepmerge": "3.0.0", - "fastest-levenshtein": "1.0.12", - "find-up": "4.1.0", - "fs-extra": "8.1.0", - "glob": "7.1.6", - "js-yaml": "3.14.1", - "jsonfile": "4.0.0", - "jsonschema": "1.1.1", - "lodash-deep": "2.0.0", - "log4js": "6.4.0", - "markdown-it": "12.3.2", - "moment": "2.20.1", - "mustache": "2.3.0", - "npm-package-arg": "8.1.1", - "opener": "1.5.2", - "pacote": "11.1.4", - "prettyjson": "1.2.2", - "progress": "2.0.3", - "readline-sync": "1.4.10", - "rimraf": "2.6.3", - "sanitize-html": "2.3.2", - "semver": "5.7.0", - "stack-trace": "0.0.10", - "wrap-ansi": "7.0.0", - "yamljs": "0.3.0", - "yargs": "15.3.1" - } - }, - "fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "peer": true, - "requires": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", - "peer": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "peer": true, - "requires": { - "glob": "^7.1.3" - } - }, - "semver": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", - "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", - "peer": true - } } }, "@zowe/core-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-BifbfzuTZ869XtSYNh+W4ammYz0=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-EXnT+aYIs8Y2RBt8GCAmq4pRmoM=", "peer": true, "requires": { "string-width": "4.2.3" @@ -18215,77 +17886,77 @@ } }, "@zowe/provisioning-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-QXjCs9ZzM0hpBszCfHsUqXqb7zU=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-keWneLKz1zghtmswfnHI0fVDpTA=", "peer": true, "requires": { "js-yaml": "3.14.1" } }, "@zowe/zos-console-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-fWXWoP6/tTOSSFaLsXryU2fEqVI=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-x/FMlMtlGII+wjglPqI3Ejvc2uw=", "peer": true, "requires": {} }, "@zowe/zos-files-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-xvwDSW/vOMOgJOI5w0rMrB/8Z4k=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-zKZMXYdfpUqb1uaRuxUarEUxrU8=", "peer": true, "requires": { "minimatch": "3.0.4" } }, "@zowe/zos-jobs-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-wnpI/G+ax3scBweBdVM6rbrs5q0=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-phy9uHzGaP9sEoHldnz4Wj6rLA8=", "peer": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "6.37.4" + "@zowe/zos-files-for-zowe-sdk": "6.37.6" } }, "@zowe/zos-logs-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-jMvIfHTVntQSbkMKoMm1gtnWyqE=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-MubfWbmXV6bKu10SO6BRws4torE=", "peer": true, "requires": {} }, "@zowe/zos-tso-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-FiQiqaaOK1XkSQFrtHPJfHzRe1M=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-HAEPYSc9G5k1oBmCzeN0dDbI8ew=", "peer": true, "requires": { - "@zowe/zosmf-for-zowe-sdk": "6.37.4" + "@zowe/zosmf-for-zowe-sdk": "6.37.6" } }, "@zowe/zos-uss-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-c0aeyNjTNcdU9Rn/c4p7jYAltXw=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-Avs2oqCqnKkkiySPY4+BdL3B/0s=", "peer": true, "requires": { "ssh2": "1.4.0" } }, "@zowe/zos-workflows-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-23qeTuN93QZtf9UJYpaOMXCRv4g=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-8ZFNHO3V+HJ4n0t/1m9pykrzzxM=", "peer": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "6.37.4" + "@zowe/zos-files-for-zowe-sdk": "6.37.6" } }, "@zowe/zosmf-for-zowe-sdk": { - "version": "6.37.4", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.4.tgz", - "integrity": "sha1-RbBO3bSqDZmvVwKYuw1qRmAlHgs=", + "version": "6.37.6", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.6.tgz", + "integrity": "sha1-COdhSRoQIj95c6FUf4rs6C2aCBE=", "peer": true, "requires": {} }, @@ -19581,23 +19252,6 @@ "esutils": "^2.0.2" } }, - "dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", - "peer": true, - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - } - }, - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==", - "peer": true - }, "domexception": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", @@ -19615,26 +19269,6 @@ } } }, - "domhandler": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz", - "integrity": "sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g==", - "peer": true, - "requires": { - "domelementtype": "^2.2.0" - } - }, - "domutils": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz", - "integrity": "sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==", - "peer": true, - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - } - }, "electron-to-chromium": { "version": "1.4.53", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.53.tgz", @@ -20851,18 +20485,6 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, - "htmlparser2": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", - "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", - "peer": true, - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.0.0", - "domutils": "^2.5.2", - "entities": "^2.0.0" - } - }, "http-cache-semantics": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", @@ -21137,12 +20759,6 @@ "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", "dev": true }, - "is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "peer": true - }, "is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -23771,12 +23387,6 @@ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true }, - "klona": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/klona/-/klona-2.0.5.tgz", - "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", - "peer": true - }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -24336,7 +23946,8 @@ "nanoid": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.2.0.tgz", - "integrity": "sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==" + "integrity": "sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==", + "dev": true }, "nanomatch": { "version": "1.2.13", @@ -24930,12 +24541,6 @@ "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", "dev": true }, - "parse-srcset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/parse-srcset/-/parse-srcset-1.0.2.tgz", - "integrity": "sha1-8r0iH2zJcKk42IVWq8WJyqqiveE=", - "peer": true - }, "parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", @@ -24988,7 +24593,8 @@ "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "picomatch": { "version": "2.3.1", @@ -25086,6 +24692,7 @@ "version": "8.4.5", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz", "integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==", + "dev": true, "requires": { "nanoid": "^3.1.30", "picocolors": "^1.0.0", @@ -25833,35 +25440,6 @@ } } }, - "sanitize-html": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.3.2.tgz", - "integrity": "sha512-p7neuskvC8pSurUjdVmbWPXmc9A4+QpOXIL+4gwFC+av5h+lYCXFT8uEneqsFQg/wEA1IH+cKQA60AaQI6p3cg==", - "peer": true, - "requires": { - "deepmerge": "^4.2.2", - "escape-string-regexp": "^4.0.0", - "htmlparser2": "^6.0.0", - "is-plain-object": "^5.0.0", - "klona": "^2.0.3", - "parse-srcset": "^1.0.2", - "postcss": "^8.0.2" - }, - "dependencies": { - "deepmerge": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", - "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", - "peer": true - }, - "escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "peer": true - } - } - }, "sass-lookup": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/sass-lookup/-/sass-lookup-3.0.0.tgz", @@ -26278,7 +25856,8 @@ "source-map-js": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==" + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "dev": true }, "source-map-resolve": { "version": "0.5.3", From 46fb0dd96ff95566dc1bd7a9204694fb5f5e5b5a Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Mon, 7 Feb 2022 17:42:31 +0000 Subject: [PATCH 04/12] Bump version to 2.0.3 [ci skip] Signed-off-by: zowe-robot --- npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 5c441a4..c02fcce 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.2", + "version": "2.0.3", "license": "EPL-2.0", "devDependencies": { "@types/fs-extra": "^5.0.0", diff --git a/package.json b/package.json index d14b875..26ec2af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.2", + "version": "2.0.3", "description": "IBM IMS Plug-in for zowe CLI", "homepage": "https://github.com/zowe/zowe-cli-ims-plugin#readme", "bugs": { From f59b58b4eb05d7ed00f4ca3631c625efb0447a4d Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Mon, 7 Feb 2022 17:43:18 +0000 Subject: [PATCH 05/12] Update Changelog [ci skip] Signed-off-by: zowe-robot --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e9d41c..7fdd463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the IBM® IMS™ Plug-in for Zowe CLI will be documented in this file. -## Recent Changes +## `2.0.3` - BugFix: Pruned dev dependencies from npm-shrinkwrap file. From b5eaa33f387dae413b16548fcb8dcf197e463555 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 12 Apr 2022 11:27:58 -0400 Subject: [PATCH 06/12] Update moment dependency Signed-off-by: Timothy Johnson --- npm-shrinkwrap.json | 245 +++++++++++++++++++++----------------------- package.json | 2 +- 2 files changed, 116 insertions(+), 131 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index c02fcce..3cb4b03 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -15,7 +15,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.17.6", + "@zowe/imperative": "4.18.2", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", @@ -3199,25 +3199,25 @@ } }, "node_modules/@zowe/cli": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.6.tgz", - "integrity": "sha1-CRhsvspUmvU4rFkpxOMFrn648OA=", + "version": "6.40.0", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.40.0.tgz", + "integrity": "sha512-bmz3vbF71yYvWC8sSBsl4d3SCPy+Njpf5kphsVBX1W9n3GAhW//KDX9Si6Lx6oDUYVkfXNlKiuUb6hWed4fJcw==", "hasInstallScript": true, "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/core-for-zowe-sdk": "6.37.6", - "@zowe/imperative": "4.17.6", + "@zowe/core-for-zowe-sdk": "6.39.1", + "@zowe/imperative": "4.18.2", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "6.37.6", - "@zowe/zos-console-for-zowe-sdk": "6.37.6", - "@zowe/zos-files-for-zowe-sdk": "6.37.6", - "@zowe/zos-jobs-for-zowe-sdk": "6.37.6", - "@zowe/zos-logs-for-zowe-sdk": "6.37.6", - "@zowe/zos-tso-for-zowe-sdk": "6.37.6", - "@zowe/zos-uss-for-zowe-sdk": "6.37.6", - "@zowe/zos-workflows-for-zowe-sdk": "6.37.6", - "@zowe/zosmf-for-zowe-sdk": "6.37.6", + "@zowe/provisioning-for-zowe-sdk": "6.39.1", + "@zowe/zos-console-for-zowe-sdk": "6.39.1", + "@zowe/zos-files-for-zowe-sdk": "6.39.1", + "@zowe/zos-jobs-for-zowe-sdk": "6.40.0", + "@zowe/zos-logs-for-zowe-sdk": "6.39.1", + "@zowe/zos-tso-for-zowe-sdk": "6.39.1", + "@zowe/zos-uss-for-zowe-sdk": "6.39.1", + "@zowe/zos-workflows-for-zowe-sdk": "6.39.1", + "@zowe/zosmf-for-zowe-sdk": "6.39.1", "get-stdin": "7.0.0", "minimatch": "3.0.4" }, @@ -3230,9 +3230,9 @@ } }, "node_modules/@zowe/core-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-EXnT+aYIs8Y2RBt8GCAmq4pRmoM=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-ilLJRTWcaOzcHfRMSWhgL79/jap1JsyPa04wYRaxY+AQgKy5GFqAMCDJTKyReOcwIKoMlwInXYtU7AHeXFEYYQ==", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3243,9 +3243,9 @@ } }, "node_modules/@zowe/imperative": { - "version": "4.17.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.6.tgz", - "integrity": "sha1-dqFi+GrBFC8DTu89620ecMQ2FU8=", + "version": "4.18.2", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.18.2.tgz", + "integrity": "sha512-OSpzclobIxXwlZmkHtY1mfGnvJkHwDpTJ5HQ3zxR0IAmbnFDUVmoX2tYnHJIVAx2v4TLCTLvEjHs8rXzoMhsyQ==", "license": "EPL-2.0", "dependencies": { "@types/lodash-deep": "2.0.0", @@ -3265,7 +3265,7 @@ "lodash-deep": "2.0.0", "log4js": "6.4.0", "markdown-it": "12.3.2", - "moment": "2.20.1", + "moment": "2.29.2", "mustache": "2.3.0", "npm-package-arg": "8.1.1", "opener": "1.5.2", @@ -3370,9 +3370,9 @@ } }, "node_modules/@zowe/provisioning-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-keWneLKz1zghtmswfnHI0fVDpTA=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-atqjlHnW0XXn0oCEjs9EBlJIcqBAXOaX/9/UKfOoZ1rd01Qln1TEd+ylHabN+jprMdCs6nFLVB7CvhSTJUZIdA==", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3384,9 +3384,9 @@ } }, "node_modules/@zowe/zos-console-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-x/FMlMtlGII+wjglPqI3Ejvc2uw=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-44yidbiKj4bRERIwvrG+KT60Nl7HTFAdi7uPVjCPbPsYtBLj3MPJqWSU9AxzyfHtHXN6oKrwYPfxJt/dst7Iqg==", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -3395,9 +3395,9 @@ } }, "node_modules/@zowe/zos-files-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-zKZMXYdfpUqb1uaRuxUarEUxrU8=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-cPhgSGnQF+xG0EFjvWc+qVghc29c8PIuO8zxNSKNwbo2VaX3aQ0nXLaNMqkyFlrnGJhjFudouEYWtuKf9QeOkw==", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3409,13 +3409,13 @@ } }, "node_modules/@zowe/zos-jobs-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-phy9uHzGaP9sEoHldnz4Wj6rLA8=", + "version": "6.40.0", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.40.0.tgz", + "integrity": "sha512-VSOYD5szC1fLAZLGMsLR+Aqv16yAyeRdqNkBbX6YJVrDjy6yYKpH1TghCC9Pczcn/TnEtYaNSc1HYDBTN34lmw==", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "6.37.6" + "@zowe/zos-files-for-zowe-sdk": "6.39.1" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3423,9 +3423,9 @@ } }, "node_modules/@zowe/zos-logs-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-MubfWbmXV6bKu10SO6BRws4torE=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-v/r3KFlfhU1fDNpiqEQ/sWZqHys2f3seJgs2XfvheH0KVDh5463ephcV1dmLEKWMEtEmo0APO+Nq+o/z/X2IWg==", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -3434,13 +3434,13 @@ } }, "node_modules/@zowe/zos-tso-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-HAEPYSc9G5k1oBmCzeN0dDbI8ew=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-Dsy/UzLECB3kDlYilJTobgkLnFObES+Vl29Q37Q83mtOYMpRkQb+9wxIYuKs+UqJZDp+tMfzie79W5P28od1nQ==", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "6.37.6" + "@zowe/zosmf-for-zowe-sdk": "6.39.1" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3448,9 +3448,9 @@ } }, "node_modules/@zowe/zos-uss-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-Avs2oqCqnKkkiySPY4+BdL3B/0s=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-kf8SQXVWHeNh6pcnl2pEpaIWCAp6V+4wFSXcr7FhyJzxBmSJF7krDe7daK8k3QuemIh+KkrmMMX6VYFOHbJAPQ==", "license": "EPL-2.0", "peer": true, "dependencies": { @@ -3461,13 +3461,13 @@ } }, "node_modules/@zowe/zos-workflows-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-8ZFNHO3V+HJ4n0t/1m9pykrzzxM=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-a87KvZPjUanfvK0RAvp/Y9/gqKN5JwCiJeRJla0eBuIZ80iOMvs1plNW8F3It6zQqasph0A0We8f5cc/cCMQ7Q==", "license": "EPL-2.0", "peer": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "6.37.6" + "@zowe/zos-files-for-zowe-sdk": "6.39.1" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": "^6.24.1", @@ -3475,9 +3475,9 @@ } }, "node_modules/@zowe/zosmf-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-COdhSRoQIj95c6FUf4rs6C2aCBE=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-fpqN9LbP3Q8d2WzidMYSXpUHv9v8WkF41Gx4WHc4Dxfm3QjMvIYHcG0N+rFgtyb83Q6Y2xA9dUkwxxQ1fLbB5w==", "license": "EPL-2.0", "peer": true, "peerDependencies": { @@ -10002,15 +10002,6 @@ "node": ">=6" } }, - "node_modules/jest-stare/node_modules/moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", - "dev": true, - "engines": { - "node": "*" - } - }, "node_modules/jest-stare/node_modules/mustache": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", @@ -11181,9 +11172,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "node_modules/minipass": { "version": "3.1.6", @@ -11343,9 +11334,9 @@ "dev": true }, "node_modules/moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==", + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==", "engines": { "node": "*" } @@ -17750,40 +17741,40 @@ } }, "@zowe/cli": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.37.6.tgz", - "integrity": "sha1-CRhsvspUmvU4rFkpxOMFrn648OA=", + "version": "6.40.0", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-6.40.0.tgz", + "integrity": "sha512-bmz3vbF71yYvWC8sSBsl4d3SCPy+Njpf5kphsVBX1W9n3GAhW//KDX9Si6Lx6oDUYVkfXNlKiuUb6hWed4fJcw==", "peer": true, "requires": { - "@zowe/core-for-zowe-sdk": "6.37.6", - "@zowe/imperative": "4.17.6", + "@zowe/core-for-zowe-sdk": "6.39.1", + "@zowe/imperative": "4.18.2", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "6.37.6", - "@zowe/zos-console-for-zowe-sdk": "6.37.6", - "@zowe/zos-files-for-zowe-sdk": "6.37.6", - "@zowe/zos-jobs-for-zowe-sdk": "6.37.6", - "@zowe/zos-logs-for-zowe-sdk": "6.37.6", - "@zowe/zos-tso-for-zowe-sdk": "6.37.6", - "@zowe/zos-uss-for-zowe-sdk": "6.37.6", - "@zowe/zos-workflows-for-zowe-sdk": "6.37.6", - "@zowe/zosmf-for-zowe-sdk": "6.37.6", + "@zowe/provisioning-for-zowe-sdk": "6.39.1", + "@zowe/zos-console-for-zowe-sdk": "6.39.1", + "@zowe/zos-files-for-zowe-sdk": "6.39.1", + "@zowe/zos-jobs-for-zowe-sdk": "6.40.0", + "@zowe/zos-logs-for-zowe-sdk": "6.39.1", + "@zowe/zos-tso-for-zowe-sdk": "6.39.1", + "@zowe/zos-uss-for-zowe-sdk": "6.39.1", + "@zowe/zos-workflows-for-zowe-sdk": "6.39.1", + "@zowe/zosmf-for-zowe-sdk": "6.39.1", "get-stdin": "7.0.0", "minimatch": "3.0.4" } }, "@zowe/core-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-EXnT+aYIs8Y2RBt8GCAmq4pRmoM=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-ilLJRTWcaOzcHfRMSWhgL79/jap1JsyPa04wYRaxY+AQgKy5GFqAMCDJTKyReOcwIKoMlwInXYtU7AHeXFEYYQ==", "peer": true, "requires": { "string-width": "4.2.3" } }, "@zowe/imperative": { - "version": "4.17.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.17.6.tgz", - "integrity": "sha1-dqFi+GrBFC8DTu89620ecMQ2FU8=", + "version": "4.18.2", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-4.18.2.tgz", + "integrity": "sha512-OSpzclobIxXwlZmkHtY1mfGnvJkHwDpTJ5HQ3zxR0IAmbnFDUVmoX2tYnHJIVAx2v4TLCTLvEjHs8rXzoMhsyQ==", "requires": { "@types/lodash-deep": "2.0.0", "@types/yargs": "13.0.4", @@ -17802,7 +17793,7 @@ "lodash-deep": "2.0.0", "log4js": "6.4.0", "markdown-it": "12.3.2", - "moment": "2.20.1", + "moment": "2.29.2", "mustache": "2.3.0", "npm-package-arg": "8.1.1", "opener": "1.5.2", @@ -17886,77 +17877,77 @@ } }, "@zowe/provisioning-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-keWneLKz1zghtmswfnHI0fVDpTA=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-atqjlHnW0XXn0oCEjs9EBlJIcqBAXOaX/9/UKfOoZ1rd01Qln1TEd+ylHabN+jprMdCs6nFLVB7CvhSTJUZIdA==", "peer": true, "requires": { "js-yaml": "3.14.1" } }, "@zowe/zos-console-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-x/FMlMtlGII+wjglPqI3Ejvc2uw=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-44yidbiKj4bRERIwvrG+KT60Nl7HTFAdi7uPVjCPbPsYtBLj3MPJqWSU9AxzyfHtHXN6oKrwYPfxJt/dst7Iqg==", "peer": true, "requires": {} }, "@zowe/zos-files-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-zKZMXYdfpUqb1uaRuxUarEUxrU8=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-cPhgSGnQF+xG0EFjvWc+qVghc29c8PIuO8zxNSKNwbo2VaX3aQ0nXLaNMqkyFlrnGJhjFudouEYWtuKf9QeOkw==", "peer": true, "requires": { "minimatch": "3.0.4" } }, "@zowe/zos-jobs-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-phy9uHzGaP9sEoHldnz4Wj6rLA8=", + "version": "6.40.0", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-6.40.0.tgz", + "integrity": "sha512-VSOYD5szC1fLAZLGMsLR+Aqv16yAyeRdqNkBbX6YJVrDjy6yYKpH1TghCC9Pczcn/TnEtYaNSc1HYDBTN34lmw==", "peer": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "6.37.6" + "@zowe/zos-files-for-zowe-sdk": "6.39.1" } }, "@zowe/zos-logs-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-MubfWbmXV6bKu10SO6BRws4torE=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-v/r3KFlfhU1fDNpiqEQ/sWZqHys2f3seJgs2XfvheH0KVDh5463ephcV1dmLEKWMEtEmo0APO+Nq+o/z/X2IWg==", "peer": true, "requires": {} }, "@zowe/zos-tso-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-HAEPYSc9G5k1oBmCzeN0dDbI8ew=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-Dsy/UzLECB3kDlYilJTobgkLnFObES+Vl29Q37Q83mtOYMpRkQb+9wxIYuKs+UqJZDp+tMfzie79W5P28od1nQ==", "peer": true, "requires": { - "@zowe/zosmf-for-zowe-sdk": "6.37.6" + "@zowe/zosmf-for-zowe-sdk": "6.39.1" } }, "@zowe/zos-uss-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-Avs2oqCqnKkkiySPY4+BdL3B/0s=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-kf8SQXVWHeNh6pcnl2pEpaIWCAp6V+4wFSXcr7FhyJzxBmSJF7krDe7daK8k3QuemIh+KkrmMMX6VYFOHbJAPQ==", "peer": true, "requires": { "ssh2": "1.4.0" } }, "@zowe/zos-workflows-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-8ZFNHO3V+HJ4n0t/1m9pykrzzxM=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-a87KvZPjUanfvK0RAvp/Y9/gqKN5JwCiJeRJla0eBuIZ80iOMvs1plNW8F3It6zQqasph0A0We8f5cc/cCMQ7Q==", "peer": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "6.37.6" + "@zowe/zos-files-for-zowe-sdk": "6.39.1" } }, "@zowe/zosmf-for-zowe-sdk": { - "version": "6.37.6", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.37.6.tgz", - "integrity": "sha1-COdhSRoQIj95c6FUf4rs6C2aCBE=", + "version": "6.39.1", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-6.39.1.tgz", + "integrity": "sha512-fpqN9LbP3Q8d2WzidMYSXpUHv9v8WkF41Gx4WHc4Dxfm3QjMvIYHcG0N+rFgtyb83Q6Y2xA9dUkwxxQ1fLbB5w==", "peer": true, "requires": {} }, @@ -22901,12 +22892,6 @@ "path-exists": "^3.0.0" } }, - "moment": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", - "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", - "dev": true - }, "mustache": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", @@ -23802,9 +23787,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" }, "minipass": { "version": "3.1.6", @@ -23922,9 +23907,9 @@ } }, "moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==" + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==" }, "ms": { "version": "2.1.2", diff --git a/package.json b/package.json index 26ec2af..c2c14af 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.17.6", + "@zowe/imperative": "4.18.2", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", From 92cfe4742ee27d048c14fdb160b4043599af79ac Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 12 Apr 2022 11:48:41 -0400 Subject: [PATCH 07/12] Update changelog Signed-off-by: Timothy Johnson --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fdd463..6bd5a6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the IBM® IMS™ Plug-in for Zowe CLI will be documented in this file. +## Recent Changes + +- BugFix: Updated `moment` dependency. + ## `2.0.3` - BugFix: Pruned dev dependencies from npm-shrinkwrap file. From 9cd631678f3d8f71303ce60b1181bec2abfb98a8 Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Tue, 12 Apr 2022 19:39:07 +0000 Subject: [PATCH 08/12] Updating dependencies [ci skip] Signed-off-by: zowe-robot --- npm-shrinkwrap.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3cb4b03..30aa649 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -15,7 +15,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.18.2", + "@zowe/imperative": "^4.18.2", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", diff --git a/package.json b/package.json index c2c14af..f817af0 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/imperative": "4.18.2", + "@zowe/imperative": "^4.18.2", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", From 33af1609f3c1f7b5bf705586cd882c667484ed74 Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Tue, 12 Apr 2022 19:43:41 +0000 Subject: [PATCH 09/12] Bump version to 2.0.4 [ci skip] Signed-off-by: zowe-robot --- npm-shrinkwrap.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 30aa649..14a7f40 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.3", + "version": "2.0.4", "license": "EPL-2.0", "devDependencies": { "@types/fs-extra": "^5.0.0", diff --git a/package.json b/package.json index f817af0..2f2b694 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@zowe/ims-for-zowe-cli", - "version": "2.0.3", + "version": "2.0.4", "description": "IBM IMS Plug-in for zowe CLI", "homepage": "https://github.com/zowe/zowe-cli-ims-plugin#readme", "bugs": { From 6ca4616de75fe861db43c74cb19619017af0c88c Mon Sep 17 00:00:00 2001 From: zowe-robot Date: Tue, 12 Apr 2022 19:44:17 +0000 Subject: [PATCH 10/12] Update Changelog [ci skip] Signed-off-by: zowe-robot --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd5a6e..81792ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to the IBM® IMS™ Plug-in for Zowe CLI will be documented in this file. -## Recent Changes +## `2.0.4` - BugFix: Updated `moment` dependency. From 4665fd4a3b0bd50531fe391bcbc2ddfbba2d1763 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Tue, 12 Apr 2022 17:28:05 -0400 Subject: [PATCH 11/12] Update Imperative and use cli-test-utils Signed-off-by: Timothy Johnson --- .../cli/imsprofile.integration.test.ts | 10 +- .../cli.query.program.integration.test.ts | 7 +- .../cli.query.region.integration.test.ts | 7 +- .../cli.query.transaction.integration.test.ts | 7 +- .../cli.start.program.integration.test.ts | 7 +- .../cli.start.region.integration.test.ts | 7 +- .../cli.start.transaction.integration.test.ts | 7 +- .../cli.stop.program.integration.test.ts | 7 +- .../cli.stop.region.integration.test.ts | 7 +- .../cli.stop.transaction.integration.test.ts | 7 +- .../cli.update.program.integration.test.ts | 7 +- ...cli.update.transaction.integration.test.ts | 7 +- __tests__/__src__/TestConstants.ts | 20 - __tests__/__src__/TestUtils.ts | 64 -- .../doc/ITestPropertiesSchema.ts | 0 .../__src__/environment/TempTestProfiles.ts | 149 ---- .../__src__/environment/TemporaryScripts.ts | 19 - .../__src__/environment/TestEnvironment.ts | 224 ------ .../doc/parms/ISetupEnvironmentParms.ts | 53 -- .../doc/response/ITestEnvironment.ts | 52 -- .../query/Query.program.system.test.ts | 6 +- .../methods/query/Query.region.system.test.ts | 6 +- .../query/Query.transaction.system.test.ts | 6 +- .../start/Start.program.system.test.ts | 6 +- .../methods/start/Start.region.system.test.ts | 6 +- .../start/Start.transaction.system.test.ts | 6 +- .../methods/stop/Stop.program.system.test.ts | 6 +- .../methods/stop/Stop.region.system.test.ts | 6 +- .../stop/Stop.transaction.system.test.ts | 6 +- .../update/Update.program.system.test.ts | 6 +- .../update/Update.transaction.system.test.ts | 6 +- .../query/cli.query.program.system.test.ts | 7 +- .../cli/query/cli.query.region.system.test.ts | 7 +- .../cli.query.transaction.system.test.ts | 7 +- .../start/cli.start.program.system.test.ts | 7 +- .../cli/start/cli.start.region.system.test.ts | 7 +- .../cli.start.transaction.system.test.ts | 7 +- .../cli/stop/cli.stop.program.system.test.ts | 7 +- .../cli/stop/cli.stop.region.system.test.ts | 7 +- .../stop/cli.stop.transaction.system.test.ts | 7 +- .../update/cli.update.program.system.test.ts | 7 +- .../cli.update.transaction.system.test.ts | 7 +- .../program/Program.handler.unit.test.ts | 37 +- .../query/region/Region.handler.unit.test.ts | 37 +- .../Transaction.handler.unit.test.ts | 37 +- .../program/Program.handler.unit.test.ts | 37 +- .../start/region/Region.handler.unit.test.ts | 37 +- .../Transaction.handler.unit.test.ts | 37 +- .../stop/program/Program.handler.unit.test.ts | 37 +- .../stop/region/Region.handler.unit.test.ts | 37 +- .../Transaction.handler.unit.test.ts | 37 +- .../program/Program.handler.unit.test.ts | 37 +- .../Transaction.handler.unit.test.ts | 37 +- npm-shrinkwrap.json | 667 ++++++++++++------ package.json | 5 +- 55 files changed, 598 insertions(+), 1292 deletions(-) delete mode 100644 __tests__/__src__/TestConstants.ts delete mode 100644 __tests__/__src__/TestUtils.ts rename __tests__/__src__/{environment => }/doc/ITestPropertiesSchema.ts (100%) delete mode 100644 __tests__/__src__/environment/TempTestProfiles.ts delete mode 100644 __tests__/__src__/environment/TemporaryScripts.ts delete mode 100644 __tests__/__src__/environment/TestEnvironment.ts delete mode 100644 __tests__/__src__/environment/doc/parms/ISetupEnvironmentParms.ts delete mode 100644 __tests__/__src__/environment/doc/response/ITestEnvironment.ts diff --git a/__tests__/__integration__/cli/imsprofile.integration.test.ts b/__tests__/__integration__/cli/imsprofile.integration.test.ts index d87a139..1545a0a 100644 --- a/__tests__/__integration__/cli/imsprofile.integration.test.ts +++ b/__tests__/__integration__/cli/imsprofile.integration.test.ts @@ -9,12 +9,10 @@ * * */ -import { TestEnvironment } from "../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../__src__/TestUtils"; -import { TempTestProfiles } from "../../__src__/environment/TempTestProfiles"; +import { ITestEnvironment, TestEnvironment, isStderrEmptyForProfilesCommand, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Creating an IMS profile", () => { beforeAll(async () => { @@ -31,7 +29,7 @@ describe("Creating an IMS profile", () => { it("should create an IMS profile successfully with fake connection details", () => { const output = runCliScript(__dirname + "/__scripts__/create_ims_profile.sh", testEnvironment); - expect(TempTestProfiles.isStderrEmpty(output.stderr)).toBeTruthy(); + expect(isStderrEmptyForProfilesCommand(output.stderr)).toBeTruthy(); expect(output.status).toEqual(0); expect(output.stdout.toString()).toContain("success"); }); diff --git a/__tests__/__integration__/cli/query/program/cli.query.program.integration.test.ts b/__tests__/__integration__/cli/query/program/cli.query.program.integration.test.ts index 705280b..7a35146 100644 --- a/__tests__/__integration__/cli/query/program/cli.query.program.integration.test.ts +++ b/__tests__/__integration__/cli/query/program/cli.query.program.integration.test.ts @@ -10,11 +10,10 @@ */ // Test environment will be populated in the "beforeAll" -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; describe("ims query program", () => { // Create the unique test environment diff --git a/__tests__/__integration__/cli/query/query/cli.query.region.integration.test.ts b/__tests__/__integration__/cli/query/query/cli.query.region.integration.test.ts index bfd6aae..f320b14 100644 --- a/__tests__/__integration__/cli/query/query/cli.query.region.integration.test.ts +++ b/__tests__/__integration__/cli/query/query/cli.query.region.integration.test.ts @@ -10,11 +10,10 @@ */ // Test environment will be populated in the "beforeAll" -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; describe("ims query region", () => { // Create the unique test environment diff --git a/__tests__/__integration__/cli/query/transaction/cli.query.transaction.integration.test.ts b/__tests__/__integration__/cli/query/transaction/cli.query.transaction.integration.test.ts index e8e6f06..6ac9d37 100644 --- a/__tests__/__integration__/cli/query/transaction/cli.query.transaction.integration.test.ts +++ b/__tests__/__integration__/cli/query/transaction/cli.query.transaction.integration.test.ts @@ -10,11 +10,10 @@ */ // Test environment will be populated in the "beforeAll" -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; describe("ims query transaction", () => { // Create the unique test environment diff --git a/__tests__/__integration__/cli/start/program/cli.start.program.integration.test.ts b/__tests__/__integration__/cli/start/program/cli.start.program.integration.test.ts index b9933a2..0d709a1 100644 --- a/__tests__/__integration__/cli/start/program/cli.start.program.integration.test.ts +++ b/__tests__/__integration__/cli/start/program/cli.start.program.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start program command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/start/region/cli.start.region.integration.test.ts b/__tests__/__integration__/cli/start/region/cli.start.region.integration.test.ts index cc14a65..e1a2cc0 100644 --- a/__tests__/__integration__/cli/start/region/cli.start.region.integration.test.ts +++ b/__tests__/__integration__/cli/start/region/cli.start.region.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start region command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/start/transaction/cli.start.transaction.integration.test.ts b/__tests__/__integration__/cli/start/transaction/cli.start.transaction.integration.test.ts index 4113bb3..c65df74 100644 --- a/__tests__/__integration__/cli/start/transaction/cli.start.transaction.integration.test.ts +++ b/__tests__/__integration__/cli/start/transaction/cli.start.transaction.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start transaction command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/stop/program/cli.stop.program.integration.test.ts b/__tests__/__integration__/cli/stop/program/cli.stop.program.integration.test.ts index 1c5fb5c..88f04ca 100644 --- a/__tests__/__integration__/cli/stop/program/cli.stop.program.integration.test.ts +++ b/__tests__/__integration__/cli/stop/program/cli.stop.program.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start program command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/stop/region/cli.stop.region.integration.test.ts b/__tests__/__integration__/cli/stop/region/cli.stop.region.integration.test.ts index 7f53b4a..85ba28b 100644 --- a/__tests__/__integration__/cli/stop/region/cli.stop.region.integration.test.ts +++ b/__tests__/__integration__/cli/stop/region/cli.stop.region.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start region command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/stop/transaction/cli.stop.transaction.integration.test.ts b/__tests__/__integration__/cli/stop/transaction/cli.stop.transaction.integration.test.ts index d0fcd14..7773bff 100644 --- a/__tests__/__integration__/cli/stop/transaction/cli.stop.transaction.integration.test.ts +++ b/__tests__/__integration__/cli/stop/transaction/cli.stop.transaction.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Start transaction command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/update/program/cli.update.program.integration.test.ts b/__tests__/__integration__/cli/update/program/cli.update.program.integration.test.ts index 8bcda8b..cae99cc 100644 --- a/__tests__/__integration__/cli/update/program/cli.update.program.integration.test.ts +++ b/__tests__/__integration__/cli/update/program/cli.update.program.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Update program command", () => { beforeAll(async () => { diff --git a/__tests__/__integration__/cli/update/transaction/cli.update.transaction.integration.test.ts b/__tests__/__integration__/cli/update/transaction/cli.update.transaction.integration.test.ts index 80953fc..9f7361c 100644 --- a/__tests__/__integration__/cli/update/transaction/cli.update.transaction.integration.test.ts +++ b/__tests__/__integration__/cli/update/transaction/cli.update.transaction.integration.test.ts @@ -9,12 +9,11 @@ * * */ -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { runCliScript } from "../../../../__src__/TestUtils"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { join } from "path"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; describe("Update transaction command", () => { beforeAll(async () => { diff --git a/__tests__/__src__/TestConstants.ts b/__tests__/__src__/TestConstants.ts deleted file mode 100644 index eef225b..0000000 --- a/__tests__/__src__/TestConstants.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -import { resolve } from "path"; - -// The test results directory name - all tests results - logs, test home dirs, -// coverage reports, etc. are placed in the results directory. -export const TEST_RESULT_DIR = resolve(__dirname + "/../__results__/"); - -// The test data directory is where all data that a test (API/CLI) generates -// will be placed. Data such as logs, downloaded files, imperative homes, etc. -export const TEST_RESULT_DATA_DIR = resolve(TEST_RESULT_DIR + "/data/"); diff --git a/__tests__/__src__/TestUtils.ts b/__tests__/__src__/TestUtils.ts deleted file mode 100644 index a4e9681..0000000 --- a/__tests__/__src__/TestUtils.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -import * as fs from "fs"; -import { spawnSync, SpawnSyncReturns } from "child_process"; -import { ITestEnvironment } from "./environment/doc/response/ITestEnvironment"; - - -/** - * Execute a CLI script - * @export - * @param scriptPath - the path to the script - * @param testEnvironment - the test environment with env - * @param [args=[]] - set of script args (optional) - * @returns node.js details about the results of - * executing the script, including exit code and output - */ -export function runCliScript(scriptPath: string, testEnvironment: ITestEnvironment, args: any[] = []): SpawnSyncReturns { - if (fs.existsSync(scriptPath)) { - - // We force the color off to prevent any oddities in the snapshots or expected values - // Color can vary OS/terminal - const childEnv = JSON.parse(JSON.stringify(process.env)); - childEnv.FORCE_COLOR = "0"; - for (const key of Object.keys(testEnvironment.env)) { - // copy the values from the env - childEnv[key] = testEnvironment.env[key]; - } - - // Execute the command synchronously - return spawnSync("sh", [`${scriptPath}`].concat(args), {cwd: testEnvironment.workingDir, env: childEnv}); - } else { - throw new Error(`The script file ${scriptPath} doesn't exist`); - - } -} - -/** - * - * @param {number} length - how long should the string be - * @param {boolean} upToLength - if true, length is the maximum length of the string. - * (generate a string 'up to' length characters long) - * @returns {string} the random string - */ -export function generateRandomAlphaNumericString(length: number, upToLength: boolean = false): string { - const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; - let result = ""; - if (upToLength) { - length = Math.floor(Math.random() * length) + 1; - } - for (let i = 0; i < length; i++) { - result += characters.charAt(Math.floor(Math.random() * characters.length)); - } - return result; -} - diff --git a/__tests__/__src__/environment/doc/ITestPropertiesSchema.ts b/__tests__/__src__/doc/ITestPropertiesSchema.ts similarity index 100% rename from __tests__/__src__/environment/doc/ITestPropertiesSchema.ts rename to __tests__/__src__/doc/ITestPropertiesSchema.ts diff --git a/__tests__/__src__/environment/TempTestProfiles.ts b/__tests__/__src__/environment/TempTestProfiles.ts deleted file mode 100644 index 04ef0d4..0000000 --- a/__tests__/__src__/environment/TempTestProfiles.ts +++ /dev/null @@ -1,149 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -/** - * Test utility for creating and deleting - */ -import * as fs from "fs"; -import { ImperativeError, IO } from "@zowe/imperative"; - - -import { TemporaryScripts } from "./TemporaryScripts"; -import { runCliScript } from "../TestUtils"; -import { ITestEnvironment } from "./doc/response/ITestEnvironment"; - -const uuidv4 = require("uuid"); - -/** - * Utilities for creating and cleaning up temporary profiles for tests - */ -export class TempTestProfiles { - - /** - * Note reminding the user that failed profile creation may be the result of not installing Zowe CLI - * globally - */ - public static GLOBAL_INSTALL_NOTE: string = "\n\nNote: Make sure you have the current version of Zowe CLI " + - " installed or linked globally so that " + - "'" + TemporaryScripts.BRIGHT_BIN + - "' can be issued to create profiles and issue other commands."; - - /** - * Create profiles for tests from data in the properties yaml file - * @param testEnvironment - with working directory and test properties loaded - * @param profileTypes - array of types of profiles to create - * from test properties - * @returns promise that resolves when profiles are created to - * an array of profile names. Resolves to a key:value object that can be used - * later to clean up profiles - * @throws {ImperativeError} any of the profile creations fail - * @throws {ImperativeError} requested to create an unknown profile type - */ - public static async createProfiles(testEnvironment: ITestEnvironment, profileTypes: string[] = []) { - const profileNames: { [key: string]: string[] } = {ims: []}; - this.log(testEnvironment, "Creating the following profileTypes: " + profileTypes); - for (const type of profileTypes) { - if (type === "ims") { - profileNames.ims.push(await TempTestProfiles.createImsProfile(testEnvironment)); - } else { - throw new ImperativeError({msg: "asked to create unknown profile type '" + type + "'"}); - } - } - return profileNames; - } - - /** - * Delete temporary profiles that were create earlier - * @param testEnvironment - with working directory and test properties loaded - * @throws {ImperativeError} any of the profile deletions fail - */ - public static async deleteProfiles(testEnvironment: ITestEnvironment) { - // the temporary profiles created earlier. - const profiles = testEnvironment.tempProfiles; - this.log(testEnvironment, "Deleting the following profiles:\n" + JSON.stringify(profiles)); - for (const profileType of Object.keys(profiles)) { - for (const profileName of profiles[profileType]) { - await this.deleteProfile(testEnvironment, profileType, profileName); - } - } - } - - public static isStderrEmpty(output: Buffer): boolean { - return output.toString() - .replace(/Warning: The command 'profiles [a-z]+' is deprecated\./, "") - .replace(/Recommended replacement: The 'config [a-z]+' command/, "") - .replace(/Recommended replacement: Edit your Zowe V2 configuration\s+zowe\.config\.json/, "") - .trim().length === 0; - } - - - /** - * Helper to create a IMS profile from test properties - * @param testEnvironment - the test environment with env and working directory to use for output - * @returns promise that resolves to the string name of the created profile on success - * @throws {ImperativeError} profile creation fails - */ - private static async createImsProfile(testEnvironment: ITestEnvironment) { - const profileName: string = "tmp_ims" + uuidv4(); - const imsProps = testEnvironment.systemTestProperties.ims; - const createProfileScript = TemporaryScripts.SHEBANG + - `${TemporaryScripts.BRIGHT_BIN} profiles create ims ${profileName} --user ${imsProps.user} --password ` + - `${imsProps.password} --plex ${imsProps.plex}` + - ` --host ${imsProps.host} --port ${imsProps.port} --ich ${imsProps.imsConnectHost} --icp ${imsProps.imsConnectPort}`; - - const scriptPath = testEnvironment.workingDir + "_create_profile_" + profileName; - await IO.writeFileAsync(scriptPath, createProfileScript); - const output = runCliScript(scriptPath, testEnvironment, []); - if (output.status !== 0 || !this.isStderrEmpty(output.stderr)) { - throw new ImperativeError({ - msg: "Creation of ims profile '" + profileName + "' failed! You should delete the script: \n'" + scriptPath + "' " + - "after reviewing it to check for possible errors.\n Output of the profile create command:\n" + output.stderr.toString() + - output.stdout.toString() + - TempTestProfiles.GLOBAL_INSTALL_NOTE - }); - } - IO.deleteFile(scriptPath); - this.log(testEnvironment, `Created ims profile '${profileName}'. Stdout from creation:\n${output.stdout.toString()}`); - return profileName; - } - - /** - * Helper to delete a temporary profile - * @param testEnvironment - the test environment with env and working directory to use for output - * @param profileType - the type of profile e.g. zos-ftp to delete - * @param profileName - the name of the profile to delete - * @returns promise that resolves to the name of the created profile on success - * @throws {ImperativeError} profile delete fails - */ - private static async deleteProfile(testEnvironment: ITestEnvironment, profileType: string, profileName: string) { - const deleteProfileScript = TemporaryScripts.SHEBANG + `${TemporaryScripts.BRIGHT_BIN} profiles delete ${profileType} ${profileName} --force`; - const scriptPath = testEnvironment.workingDir + "_delete_profile_" + profileName; - await IO.writeFileAsync(scriptPath, deleteProfileScript); - const output = runCliScript(scriptPath, testEnvironment, []); - if (output.status !== 0 || !this.isStderrEmpty(output.stderr)) { - throw new ImperativeError({ - msg: "Deletion of " + profileType + " profile '" + profileName + "' failed! You should delete the script: '" + scriptPath + "' " + - "after reviewing it to check for possible errors. Stderr of the profile create command:\n" + output.stderr.toString() - + TempTestProfiles.GLOBAL_INSTALL_NOTE - }); - } - this.log(testEnvironment, `Deleted ${profileType} profile '${profileName}'. Stdout from deletion:\n${output.stdout.toString()}`); - IO.deleteFile(scriptPath); - return profileName; - } - - /** - * log a message to a file in the working directory - */ - private static log(testEnvironment: ITestEnvironment, message: string) { - fs.appendFileSync(testEnvironment.workingDir + "/TempTestProfiles.log", message + "\n"); - } -} diff --git a/__tests__/__src__/environment/TemporaryScripts.ts b/__tests__/__src__/environment/TemporaryScripts.ts deleted file mode 100644 index a2b87d4..0000000 --- a/__tests__/__src__/environment/TemporaryScripts.ts +++ /dev/null @@ -1,19 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -export class TemporaryScripts { - /** - * Shebang to generated start script files with - */ - public static readonly SHEBANG = "#!/bin/bash\n\n"; - - public static readonly BRIGHT_BIN = "bright"; -} diff --git a/__tests__/__src__/environment/TestEnvironment.ts b/__tests__/__src__/environment/TestEnvironment.ts deleted file mode 100644 index 1dd277c..0000000 --- a/__tests__/__src__/environment/TestEnvironment.ts +++ /dev/null @@ -1,224 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -import { ISetupEnvironmentParms } from "./doc/parms/ISetupEnvironmentParms"; -import { ImperativeError, ImperativeExpect, IO, Logger, TextUtils } from "@zowe/imperative"; -import * as nodePath from "path"; -import { mkdirpSync } from "fs-extra"; -import { ITestEnvironment } from "./doc/response/ITestEnvironment"; -import * as fs from "fs"; -import { TempTestProfiles } from "./TempTestProfiles"; -import { TemporaryScripts } from "./TemporaryScripts"; -import { runCliScript } from "../TestUtils"; -import { ITestPropertiesSchema } from "./doc/ITestPropertiesSchema"; -import { TEST_RESULT_DATA_DIR } from "../TestConstants"; - -const uuidv4 = require("uuid"); -const yaml = require("js-yaml"); - -/** - * Use the utility methods here to setup the test environment for running APIs - * and CLIs. Imperative will always touch the filesystem in some capacity - * and these utilties help contanerize the tests. - * @export - */ -export class TestEnvironment { - public static readonly ERROR_TAG: string = "Setup Test Environment Error:"; - public static readonly HOME_ENV_KEY = "ZOWE_CLI_HOME"; - - /** - * Integration tests (tests that will perform an Imperative init, use the filesystem, etc) should invoke this method - * as part of the Jest describes "beforeAll()" method. This method creates a unique test environment to enable - * parallel execution of tests and to provide an isolated working directory for any filesystem manipulation that - * needs to occur. - * @param params - See the interface for parameter details. - */ - public static async setUp(params: ISetupEnvironmentParms): Promise { - // Validate the input parameters - ImperativeExpect.toNotBeNullOrUndefined(params, - `${TestEnvironment.ERROR_TAG} createTestEnv(): No parameters supplied.`); - ImperativeExpect.keysToBeDefinedAndNonBlank(params, ["testName"], - `${TestEnvironment.ERROR_TAG} createTestEnv(): You must supply the name of the test. ` + - `Used to append to the data directory for ease of identification.`); - - // Get a unique test data area - const testDirectory: string = TestEnvironment.createUniqueTestDataDir(params.testName); - - let systemProps; - if (!params.skipProperties) { - systemProps = TestEnvironment.loadSystemTestProperties(undefined, testDirectory); - } - - // set the env variables to be used for executing - // scripts in the test environment - const env: { [key: string]: string } = {}; - env[this.HOME_ENV_KEY] = testDirectory; - - const result: ITestEnvironment = { - workingDir: testDirectory, - systemTestProperties: systemProps, - env - }; - - if (params.installPlugin) { - await this.installPlugin(result); - result.pluginInstalled = true; - } - - // the result of the test environment setup so far is used to create profiles - result.tempProfiles = await TempTestProfiles.createProfiles(result, params.tempProfileTypes); - - - // Return the test environment including working directory that the tests should be using - return result; - } - - /** - * Clean up your test environment. - * Deletes any temporary profiles that have been created - * @params {ITestEnvironment} testEnvironment - the test environment returned by createTestEnv - * - * @returns promise fulfilled when cleanup is complete - * @throws {ImperativeError} profiles fail to delete - */ - public static async cleanUp(testEnvironment: ITestEnvironment) { - if (testEnvironment.tempProfiles != null) { - await TempTestProfiles.deleteProfiles(testEnvironment); - } - if (testEnvironment.pluginInstalled) { - const pluginDir = testEnvironment.workingDir + "/plugins"; - require("rimraf").sync(pluginDir); - } - } - - /** - * Creates a unique test data directory for a test to work with in isolation. - * @param testName - Adds the test name to the directory name for ease of identification. - * @returns - The unique directory (within the results/data/ area). - */ - public static createUniqueTestDataDir(testName: string): string { - const app = testName + "_" + uuidv4() + "/"; - const path = nodePath.resolve(TEST_RESULT_DATA_DIR + "/" + app); - mkdirpSync(path); - return path; - } - - private static readonly DEFAULT_PROPERTIES = "custom_properties.yaml"; - private static readonly DEFAULT_PROPERTIES_LOCATION = nodePath.resolve(__dirname + "/../../__resources__/properties/") + "/"; - - /** - * Load the properties file specified with system test configuration information. - * @param filePath - Specify the filePath of the properties file. Leave empty to use the properties - * file specified in the process.env (see gulp tasks for more information). - * @returns The parsed test properties. - */ - private static loadSystemTestProperties(filePath: string = null, - workingDir: string = process.cwd()): ITestPropertiesSchema { - const logger: Logger = this.getMockFileLogger(workingDir); - // For now, I'm leaving the option for env specified properties in code. This will not be documented. - const propfilename: string = process.env.propfile || TestEnvironment.DEFAULT_PROPERTIES; - const propfiledir: string = process.env.propdirectory || TestEnvironment.DEFAULT_PROPERTIES_LOCATION; - const propfile: string = propfiledir + propfilename; - /** - * Extract the properties file location from the mocha cli args - */ - let properties: ITestPropertiesSchema; - - /** - * Parse the yaml file - */ - try { - logger.info("Reading yaml configuration file: " + propfile + "..."); - properties = yaml.safeLoad(fs.readFileSync(propfile, "utf8")); - logger.info("Properties file read."); - // injectCliProps(properties); - // console.log(properties); - } catch (error) { - logger.error("Error reading test properties yaml configuration file. Tests cannot continue. " + - "Additional details:" + error); - throw new Error(error); - } - logger.info("Loaded configuration properties file."); - - return properties; - } - - /** - * Installs the plug-in into the working directory created for the test environment, - * so that commands exposed through this plug-in can be issued in tests. - * @param {ITestEnvironment} testEnvironment the test environment so far - * @returns {Promise} - promise that resolves on completion of the install - */ - private static async installPlugin(testEnvironment: ITestEnvironment) { - let installScript: string = TemporaryScripts.SHEBANG; - installScript += "zowe plugins install ../../../../\n"; // install plugin from root of project - installScript += "zowe plugins validate @zowe/ims\n"; - installScript += "zowe ims --help\n"; // check that the plugin help is available - const scriptPath = testEnvironment.workingDir + "/install_plugin.sh"; - IO.writeFile(scriptPath, Buffer.from(installScript)); - - const output = runCliScript(scriptPath, testEnvironment, []); - if (output.status !== 0) { - throw new ImperativeError({ - msg: "Install of 'ims' plugin failed! You should delete the script: \n'" + scriptPath + "' " + - "after reviewing it to check for possible errors.\n Output of the plugin install command:\n" + output.stderr.toString() + - output.stdout.toString() + - TempTestProfiles.GLOBAL_INSTALL_NOTE - }); - } - IO.deleteFile(scriptPath); - } - - /** - * Get a mocked version of the logger interface for logging test environment debug info - * @param {string} workingDir - the working directory to log to - * @returns {Logger} - a logger that can be used for test environment clean up and set up - */ - private static getMockFileLogger(workingDir: string): Logger { - const logFile = workingDir += "/TestEnvironment.log"; - const logFn = (tag: string, message: string, ...args: any[]) => { - message = TextUtils.formatMessage(message, ...args); - fs.appendFileSync(logFile, tag + " " + message + "\n"); - }; - return { - mJsLogger: undefined, - getCallerFileAndLineTag: undefined, - level: undefined, - logService: undefined, - simple: (message: string, ...args: any[]) => { - logFn("[SIMPLE]", message, ...args); - }, - trace: (message: string, ...args: any[]) => { - logFn("[TRACE]", message, ...args); - }, - debug: (message: string, ...args: any[]) => { - logFn("[DEBUG]", message, ...args); - }, - info: (message: string, ...args: any[]) => { - logFn("[INFO]", message, ...args); - }, - warn: (message: string, ...args: any[]) => { - logFn("[WARN]", message, ...args); - }, - error: (message: string, ...args: any[]) => { - logFn("[ERROR]", message, ...args); - }, - fatal: (message: string, ...args: any[]) => { - logFn("[FATAL]", message, ...args); - }, - logError: (error: ImperativeError) => { - logFn("[ERROR]", "Error:\n" + require("util").inspect(error)); - } - } as any; - - } - -} diff --git a/__tests__/__src__/environment/doc/parms/ISetupEnvironmentParms.ts b/__tests__/__src__/environment/doc/parms/ISetupEnvironmentParms.ts deleted file mode 100644 index 9a743b5..0000000 --- a/__tests__/__src__/environment/doc/parms/ISetupEnvironmentParms.ts +++ /dev/null @@ -1,53 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -/** - * Parameters used to setup your isolated test directory. Jest allows parallel test execution and many of the - * CLI and API tests need a working directory & test scratch area. The test environment setup creates that - * area and sets the cli home environment variable to the test area. - * @export - * @interface ISetupEnvironmentParms - */ -export interface ISetupEnvironmentParms { - - /** - * The name of your test suite. Do not include spaces - used to create the working directory (to allow - * for easier debug reference if a test fails). - */ - testName: string; - - /** - * A list of types of profiles to create from your custom.properties file - * - * If this is specified, the tempProfiles field will appear on your - * ITestEnvironment object when setup is complete. tempProfiles - * can be used to delete the profiles later - * - * Example: ["ims"] - */ - tempProfileTypes?: string[]; - - /** - * Should the IMS plugin be installed to your home directory - * before the tests? The is no need to specify this unless - * you are trying to execute IMS commands installed into - * brightside. - */ - installPlugin?: boolean; - - /** - * Skip trying to load custom_properties.yaml - * Useful for integration tests that don't need the properties - * but want a working directory and other test environment features - * Default: false - */ - skipProperties?: boolean; -} diff --git a/__tests__/__src__/environment/doc/response/ITestEnvironment.ts b/__tests__/__src__/environment/doc/response/ITestEnvironment.ts deleted file mode 100644 index a0b4765..0000000 --- a/__tests__/__src__/environment/doc/response/ITestEnvironment.ts +++ /dev/null @@ -1,52 +0,0 @@ -/* -* This program and the accompanying materials are made available under the terms of the * -* Eclipse Public License v2.0 which accompanies this distribution, and is available at * -* https://www.eclipse.org/legal/epl-v20.html * -* * -* SPDX-License-Identifier: EPL-2.0 * -* * -* Copyright Contributors to the Zowe Project. * -* * -*/ - -import { ITestPropertiesSchema } from "../ITestPropertiesSchema"; - -/** - * The test environment for your test. - * @export - * @interface ITestEnvironment - */ -export interface ITestEnvironment { - /** - * The working directory for your test environment. It is a unique (uuid) area where your tests can create - * their home folders (for imperative, etc.) and you can use the area as scratch for any files, etc. that - * must be created for your test. - */ - workingDir: string; - - /** - * The system test properties configured and loaded as part of the test lifecyle. This field may be null - * in the case that no system test properties were configured or could be loaded. - * - * Not present if skipProperties is specified on ISetupEnvironmentParms - */ - systemTestProperties: ITestPropertiesSchema; - - /** - * Set of environmental variables (such as profile/logging home directory) - * that can be used when executing brightside commands - */ - env: { [key: string]: string }; - - /** - * a map of profileType to profile names created when you specify - * tempProfileTypes on your ISetupEnvironmentParms object - * empty if you did not specify any profile types - */ - tempProfiles?: { [profileType: string]: string[] }; - - /** - * Was the plugin installed in the working directory - */ - pluginInstalled?: boolean; -} diff --git a/__tests__/__system__/api/methods/query/Query.program.system.test.ts b/__tests__/__system__/api/methods/query/Query.program.system.test.ts index 10e15ae..1be6b82 100644 --- a/__tests__/__system__/api/methods/query/Query.program.system.test.ts +++ b/__tests__/__system__/api/methods/query/Query.program.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession, IQueryProgramParms, queryProgram } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let route: string; diff --git a/__tests__/__system__/api/methods/query/Query.region.system.test.ts b/__tests__/__system__/api/methods/query/Query.region.system.test.ts index 8d967d8..893c145 100644 --- a/__tests__/__system__/api/methods/query/Query.region.system.test.ts +++ b/__tests__/__system__/api/methods/query/Query.region.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession, IQueryRegionParms, queryRegion } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let imsRoute: string; diff --git a/__tests__/__system__/api/methods/query/Query.transaction.system.test.ts b/__tests__/__system__/api/methods/query/Query.transaction.system.test.ts index bec665c..d89095b 100644 --- a/__tests__/__system__/api/methods/query/Query.transaction.system.test.ts +++ b/__tests__/__system__/api/methods/query/Query.transaction.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession, IQueryTransactionParms, queryTransaction } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let route: string; diff --git a/__tests__/__system__/api/methods/start/Start.program.system.test.ts b/__tests__/__system__/api/methods/start/Start.program.system.test.ts index a67d8bc..b4c15d0 100644 --- a/__tests__/__system__/api/methods/start/Start.program.system.test.ts +++ b/__tests__/__system__/api/methods/start/Start.program.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { startProgram, IUpdateProgramParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let program: string; diff --git a/__tests__/__system__/api/methods/start/Start.region.system.test.ts b/__tests__/__system__/api/methods/start/Start.region.system.test.ts index 74b0eb5..162b1d0 100644 --- a/__tests__/__system__/api/methods/start/Start.region.system.test.ts +++ b/__tests__/__system__/api/methods/start/Start.region.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession, IStartRegionParms, startRegion } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let memberName: string; diff --git a/__tests__/__system__/api/methods/start/Start.transaction.system.test.ts b/__tests__/__system__/api/methods/start/Start.transaction.system.test.ts index 275b071..5691515 100644 --- a/__tests__/__system__/api/methods/start/Start.transaction.system.test.ts +++ b/__tests__/__system__/api/methods/start/Start.transaction.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { startTransaction, IUpdateTransactionParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let route: string; diff --git a/__tests__/__system__/api/methods/stop/Stop.program.system.test.ts b/__tests__/__system__/api/methods/stop/Stop.program.system.test.ts index 0552139..69d3009 100644 --- a/__tests__/__system__/api/methods/stop/Stop.program.system.test.ts +++ b/__tests__/__system__/api/methods/stop/Stop.program.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { stopProgram, IUpdateProgramParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let route: string; diff --git a/__tests__/__system__/api/methods/stop/Stop.region.system.test.ts b/__tests__/__system__/api/methods/stop/Stop.region.system.test.ts index dd0fbd5..5e3a200 100644 --- a/__tests__/__system__/api/methods/stop/Stop.region.system.test.ts +++ b/__tests__/__system__/api/methods/stop/Stop.region.system.test.ts @@ -9,8 +9,8 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession, IStartRegionParms, @@ -20,7 +20,7 @@ import { IQueryRegionParms, queryRegion } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let regionID: number; diff --git a/__tests__/__system__/api/methods/stop/Stop.transaction.system.test.ts b/__tests__/__system__/api/methods/stop/Stop.transaction.system.test.ts index 06d6944..28f45b0 100644 --- a/__tests__/__system__/api/methods/stop/Stop.transaction.system.test.ts +++ b/__tests__/__system__/api/methods/stop/Stop.transaction.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { stopTransaction, IUpdateTransactionParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let transactionName: string; diff --git a/__tests__/__system__/api/methods/update/Update.program.system.test.ts b/__tests__/__system__/api/methods/update/Update.program.system.test.ts index a20b681..97f333c 100644 --- a/__tests__/__system__/api/methods/update/Update.program.system.test.ts +++ b/__tests__/__system__/api/methods/update/Update.program.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { updateProgram, IUpdateProgramParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let program: string; diff --git a/__tests__/__system__/api/methods/update/Update.transaction.system.test.ts b/__tests__/__system__/api/methods/update/Update.transaction.system.test.ts index ed1137d..95f7f26 100644 --- a/__tests__/__system__/api/methods/update/Update.transaction.system.test.ts +++ b/__tests__/__system__/api/methods/update/Update.transaction.system.test.ts @@ -9,11 +9,11 @@ * * */ -import { ITestEnvironment } from "../../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../../__src__/doc/ITestPropertiesSchema"; import { updateTransaction, IUpdateTransactionParms, ImsSession } from "../../../../../src"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let route: string; diff --git a/__tests__/__system__/cli/query/cli.query.program.system.test.ts b/__tests__/__system__/cli/query/cli.query.program.system.test.ts index 8f49b9a..1987f9e 100644 --- a/__tests__/__system__/cli/query/cli.query.program.system.test.ts +++ b/__tests__/__system__/cli/query/cli.query.program.system.test.ts @@ -9,12 +9,11 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; // Test environment will be populated in the "beforeAll" -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; let route: string; let program: string; diff --git a/__tests__/__system__/cli/query/cli.query.region.system.test.ts b/__tests__/__system__/cli/query/cli.query.region.system.test.ts index 396170d..79f0153 100644 --- a/__tests__/__system__/cli/query/cli.query.region.system.test.ts +++ b/__tests__/__system__/cli/query/cli.query.region.system.test.ts @@ -9,12 +9,11 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; // Test environment will be populated in the "beforeAll" -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; describe("ims query region", () => { diff --git a/__tests__/__system__/cli/query/cli.query.transaction.system.test.ts b/__tests__/__system__/cli/query/cli.query.transaction.system.test.ts index 19798c9..caadd7c 100644 --- a/__tests__/__system__/cli/query/cli.query.transaction.system.test.ts +++ b/__tests__/__system__/cli/query/cli.query.transaction.system.test.ts @@ -9,12 +9,11 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; // Test environment will be populated in the "beforeAll" -let TEST_ENVIRONMENT: ITestEnvironment; +let TEST_ENVIRONMENT: ITestEnvironment; let transactionName: string; describe("ims query transaction", () => { diff --git a/__tests__/__system__/cli/start/cli.start.program.system.test.ts b/__tests__/__system__/cli/start/cli.start.program.system.test.ts index 0e28da9..e3969ac 100644 --- a/__tests__/__system__/cli/start/cli.start.program.system.test.ts +++ b/__tests__/__system__/cli/start/cli.start.program.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let programName: string; describe("Start program command", () => { diff --git a/__tests__/__system__/cli/start/cli.start.region.system.test.ts b/__tests__/__system__/cli/start/cli.start.region.system.test.ts index 262b834..560de45 100644 --- a/__tests__/__system__/cli/start/cli.start.region.system.test.ts +++ b/__tests__/__system__/cli/start/cli.start.region.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let memberName: string; describe("Start region command", () => { diff --git a/__tests__/__system__/cli/start/cli.start.transaction.system.test.ts b/__tests__/__system__/cli/start/cli.start.transaction.system.test.ts index f6f92cf..de3b071 100644 --- a/__tests__/__system__/cli/start/cli.start.transaction.system.test.ts +++ b/__tests__/__system__/cli/start/cli.start.transaction.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let transactionName: string; describe("Start transaction command", () => { diff --git a/__tests__/__system__/cli/stop/cli.stop.program.system.test.ts b/__tests__/__system__/cli/stop/cli.stop.program.system.test.ts index 0e4730a..a6e1581 100644 --- a/__tests__/__system__/cli/stop/cli.stop.program.system.test.ts +++ b/__tests__/__system__/cli/stop/cli.stop.program.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let programName: string; describe("Stop program command", () => { diff --git a/__tests__/__system__/cli/stop/cli.stop.region.system.test.ts b/__tests__/__system__/cli/stop/cli.stop.region.system.test.ts index c137166..840bd98 100644 --- a/__tests__/__system__/cli/stop/cli.stop.region.system.test.ts +++ b/__tests__/__system__/cli/stop/cli.stop.region.system.test.ts @@ -9,15 +9,14 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; import { ImsSession } from "../../../../src/api/rest"; import { IQueryRegionParms, IStartRegionParms } from "../../../../src/api/doc"; import { queryRegion } from "../../../../src/api/methods/query"; import { startRegion } from "../../../../src/api/methods/start"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let imsConnectHost: string; let session: ImsSession; let regionID: number; diff --git a/__tests__/__system__/cli/stop/cli.stop.transaction.system.test.ts b/__tests__/__system__/cli/stop/cli.stop.transaction.system.test.ts index f11e4da..f53af9d 100644 --- a/__tests__/__system__/cli/stop/cli.stop.transaction.system.test.ts +++ b/__tests__/__system__/cli/stop/cli.stop.transaction.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let transactionName: string; describe("Stop transaction command", () => { diff --git a/__tests__/__system__/cli/update/cli.update.program.system.test.ts b/__tests__/__system__/cli/update/cli.update.program.system.test.ts index fca0955..30f030b 100644 --- a/__tests__/__system__/cli/update/cli.update.program.system.test.ts +++ b/__tests__/__system__/cli/update/cli.update.program.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let programName: string; let route: string; diff --git a/__tests__/__system__/cli/update/cli.update.transaction.system.test.ts b/__tests__/__system__/cli/update/cli.update.transaction.system.test.ts index 0e6d9df..37565a6 100644 --- a/__tests__/__system__/cli/update/cli.update.transaction.system.test.ts +++ b/__tests__/__system__/cli/update/cli.update.transaction.system.test.ts @@ -9,11 +9,10 @@ * * */ -import { runCliScript } from "../../../__src__/TestUtils"; -import { ITestEnvironment } from "../../../__src__/environment/doc/response/ITestEnvironment"; -import { TestEnvironment } from "../../../__src__/environment/TestEnvironment"; +import { ITestEnvironment, TestEnvironment, runCliScript } from "@zowe/cli-test-utils"; +import { ITestPropertiesSchema } from "../../../__src__/doc/ITestPropertiesSchema"; -let testEnvironment: ITestEnvironment; +let testEnvironment: ITestEnvironment; let transactionName: string; let route: string; const sixteen = 16; diff --git a/__tests__/cli/query/program/Program.handler.unit.test.ts b/__tests__/cli/query/program/Program.handler.unit.test.ts index 19ada32..ab2c708 100644 --- a/__tests__/cli/query/program/Program.handler.unit.test.ts +++ b/__tests__/cli/query/program/Program.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { ProgramDefinition } from "../../../../src/cli/query/program/Program.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: ProgramDefinition, - fullDefinition: ProgramDefinition, profiles: PROFILES -}; +}); describe("QueryProgramHandler", () => { const name = "testProgram"; diff --git a/__tests__/cli/query/region/Region.handler.unit.test.ts b/__tests__/cli/query/region/Region.handler.unit.test.ts index 6a66055..8feeaa8 100644 --- a/__tests__/cli/query/region/Region.handler.unit.test.ts +++ b/__tests__/cli/query/region/Region.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { RegionDefinition } from "../../../../src/cli/query/region/Region.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: RegionDefinition, - fullDefinition: RegionDefinition, profiles: PROFILES -}; +}); describe("QueryRegionHandler", () => { const dc = true; diff --git a/__tests__/cli/query/transaction/Transaction.handler.unit.test.ts b/__tests__/cli/query/transaction/Transaction.handler.unit.test.ts index e832688..bc2e55a 100644 --- a/__tests__/cli/query/transaction/Transaction.handler.unit.test.ts +++ b/__tests__/cli/query/transaction/Transaction.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { TransactionDefinition } from "../../../../src/cli/query/transaction/Transaction.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: TransactionDefinition, - fullDefinition: TransactionDefinition, profiles: PROFILES -}; +}); describe("QueryTransactionHandler", () => { const name = "testTransaction"; diff --git a/__tests__/cli/start/program/Program.handler.unit.test.ts b/__tests__/cli/start/program/Program.handler.unit.test.ts index cb07659..dbaf7ab 100644 --- a/__tests__/cli/start/program/Program.handler.unit.test.ts +++ b/__tests__/cli/start/program/Program.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { ProgramDefinition } from "../../../../src/cli/start/program/Program.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: ProgramDefinition, - fullDefinition: ProgramDefinition, profiles: PROFILES -}; +}); describe("StartProgramHandler", () => { const name = "program"; diff --git a/__tests__/cli/start/region/Region.handler.unit.test.ts b/__tests__/cli/start/region/Region.handler.unit.test.ts index 2a5b043..6bd6d17 100644 --- a/__tests__/cli/start/region/Region.handler.unit.test.ts +++ b/__tests__/cli/start/region/Region.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { RegionDefinition } from "../../../../src/cli/start/region/Region.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: RegionDefinition, - fullDefinition: RegionDefinition, profiles: PROFILES -}; +}); describe("StartRegionHandler", () => { const memberName = "member"; diff --git a/__tests__/cli/start/transaction/Transaction.handler.unit.test.ts b/__tests__/cli/start/transaction/Transaction.handler.unit.test.ts index 6c1fac2..1ffe947 100644 --- a/__tests__/cli/start/transaction/Transaction.handler.unit.test.ts +++ b/__tests__/cli/start/transaction/Transaction.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { TransactionDefinition } from "../../../../src/cli/start/transaction/Transaction.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: TransactionDefinition, - fullDefinition: TransactionDefinition, profiles: PROFILES -}; +}); describe("StartTransactionHandler", () => { const name = "transaction"; diff --git a/__tests__/cli/stop/program/Program.handler.unit.test.ts b/__tests__/cli/stop/program/Program.handler.unit.test.ts index bb5b207..364066b 100644 --- a/__tests__/cli/stop/program/Program.handler.unit.test.ts +++ b/__tests__/cli/stop/program/Program.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { ProgramDefinition } from "../../../../src/cli/stop/program/Program.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: ProgramDefinition, - fullDefinition: ProgramDefinition, profiles: PROFILES -}; +}); describe("StartProgramHandler", () => { const name = "program"; diff --git a/__tests__/cli/stop/region/Region.handler.unit.test.ts b/__tests__/cli/stop/region/Region.handler.unit.test.ts index fdb3bf8..6cf22e1 100644 --- a/__tests__/cli/stop/region/Region.handler.unit.test.ts +++ b/__tests__/cli/stop/region/Region.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { RegionDefinition } from "../../../../src/cli/stop/region/Region.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: RegionDefinition, - fullDefinition: RegionDefinition, profiles: PROFILES -}; +}); describe("StopRegionHandler", () => { const regionIds = 1; diff --git a/__tests__/cli/stop/transaction/Transaction.handler.unit.test.ts b/__tests__/cli/stop/transaction/Transaction.handler.unit.test.ts index 9af1535..7904a5e 100644 --- a/__tests__/cli/stop/transaction/Transaction.handler.unit.test.ts +++ b/__tests__/cli/stop/transaction/Transaction.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { TransactionDefinition } from "../../../../src/cli/stop/transaction/Transaction.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: TransactionDefinition, - fullDefinition: TransactionDefinition, profiles: PROFILES -}; +}); describe("StartTransactionHandler", () => { const name = "transaction"; diff --git a/__tests__/cli/update/program/Program.handler.unit.test.ts b/__tests__/cli/update/program/Program.handler.unit.test.ts index a4f4164..97bd7fb 100644 --- a/__tests__/cli/update/program/Program.handler.unit.test.ts +++ b/__tests__/cli/update/program/Program.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { ProgramDefinition } from "../../../../src/cli/update/program/Program.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: ProgramDefinition, - fullDefinition: ProgramDefinition, profiles: PROFILES -}; +}); describe("UpdateProgramHandler", () => { const name = "program"; diff --git a/__tests__/cli/update/transaction/Transaction.handler.unit.test.ts b/__tests__/cli/update/transaction/Transaction.handler.unit.test.ts index e0140bf..1290da7 100644 --- a/__tests__/cli/update/transaction/Transaction.handler.unit.test.ts +++ b/__tests__/cli/update/transaction/Transaction.handler.unit.test.ts @@ -9,6 +9,7 @@ * * */ +import { mockHandlerParameters } from "@zowe/cli-test-utils"; import { IHandlerParameters, IProfile, CommandProfiles } from "@zowe/imperative"; import { ImsSession, IIMSApiResponse } from "../../../../src"; import { TransactionDefinition } from "../../../../src/cli/update/transaction/Transaction.definition"; @@ -40,43 +41,11 @@ PROFILE_MAP.set( }] ); const PROFILES: CommandProfiles = new CommandProfiles(PROFILE_MAP); -const DEFAULT_PARAMETERS: IHandlerParameters = { - arguments: {$0: "", _: []}, // Please provide arguments later on +const DEFAULT_PARAMETERS: IHandlerParameters = mockHandlerParameters({ positionals: [], - response: { - data: { - setMessage: jest.fn((setMsgArgs) => { - expect(setMsgArgs).toMatchSnapshot(); - }), - setObj: jest.fn((setObjArgs) => { - expect(setObjArgs).toMatchSnapshot(); - }), - setExitCode: jest.fn() - }, - console: { - log: jest.fn((logs) => { - expect(logs.toString()).toMatchSnapshot(); - }), - error: jest.fn((errors) => { - expect(errors.toString()).toMatchSnapshot(); - }), - errorHeader: jest.fn(() => undefined), - prompt: jest.fn(async (q: string) => new Promise(() => q)) - }, - progress: { - startBar: jest.fn((parms) => undefined), - endBar: jest.fn(() => undefined) - }, - format: { - output: jest.fn((parms) => { - expect(parms).toMatchSnapshot(); - }) - } - }, definition: TransactionDefinition, - fullDefinition: TransactionDefinition, profiles: PROFILES -}; +}); describe("UpdateTransactionHandler", () => { const name = "transaction"; diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 595318a..82a78e3 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -15,8 +15,9 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/cli": ">=7.0.0-next.202202041954 <8.0.0", - "@zowe/imperative": ">=5.0.0-next.202202032009 <6.0.0", + "@zowe/cli": ">=7.0.0-next.202204111828 <8.0.0", + "@zowe/cli-test-utils": ">=7.0.0-next.202204011929 <8.0.0", + "@zowe/imperative": ">=5.0.0-next.202204111131 <6.0.0", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", @@ -1852,9 +1853,9 @@ } }, "node_modules/@gar/promisify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", - "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, "node_modules/@humanwhocodes/config-array": { @@ -2705,16 +2706,13 @@ "dev": true }, "node_modules/@npmcli/fs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", - "integrity": "sha512-VhP1qZLXcrXRIaPoqb4YA55JQxLNF3jNR4T55IdOJa3+IFJKNYHtPvtXx8slmeMavj37vCzCfrqQM1vWLsYKLA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", + "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", "dev": true, "dependencies": { "@gar/promisify": "^1.0.1", "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" } }, "node_modules/@npmcli/git": { @@ -3000,6 +2998,12 @@ "integrity": "sha512-+vFMPCwOffrTy685X9Kj+Iz83I56Q8j0JK6xvsm6TA5qxbtPUJZcXtJY05WMGlhCKp/9qbpRCwyOp6GkMuyuLg==", "dev": true }, + "node_modules/@types/js-yaml": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", + "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==", + "dev": true + }, "node_modules/@types/json-schema": { "version": "7.0.9", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", @@ -3007,9 +3011,9 @@ "dev": true }, "node_modules/@types/lodash": { - "version": "4.14.178", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", - "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", + "version": "4.14.181", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.181.tgz", + "integrity": "sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag==", "dev": true }, "node_modules/@types/lodash-deep": { @@ -3060,6 +3064,12 @@ "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", "dev": true }, + "node_modules/@types/uuid": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", + "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", + "dev": true + }, "node_modules/@types/yargs": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-8.0.2.tgz", @@ -3230,27 +3240,27 @@ } }, "node_modules/@zowe/cli": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-7.0.0-next.202202041954.tgz", - "integrity": "sha1-O4R06YagtsjoCnkGv0yGNzSAdxA=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-7.0.0-next.202204111828.tgz", + "integrity": "sha512-FaNDw7wVr1UNdJIpX1YX10+Mbj0LRlDPjys0wi5uPEg9eq4zrByT9EYs2AWcPTTnCTT3bneozHzOBIB0OD+qig==", "dev": true, "hasInstallScript": true, "license": "EPL-2.0", "dependencies": { - "@zowe/core-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/imperative": "5.0.0-next.202202032009", + "@zowe/core-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/imperative": "5.0.0-next.202204111131", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-console-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-jobs-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-logs-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-tso-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-uss-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-workflows-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202202041954", + "@zowe/provisioning-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-console-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-jobs-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-logs-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-tso-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-uss-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-workflows-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202204111828", "find-process": "1.4.7", - "get-stdin": "7.0.0", + "get-stream": "6.0.1", "lodash": "4.17.21", "minimatch": "3.0.4", "tar": "6.1.11" @@ -3266,10 +3276,144 @@ "keytar": "7.8.0" } }, + "node_modules/@zowe/cli-test-utils": { + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli-test-utils/-/@zowe/cli-test-utils-7.0.0-next.202204111828.tgz", + "integrity": "sha512-hH/5XD8AhmdAhMQGKr2EoZt9zDKMa7fx2R6pOKQnCd4c0z5kn4gQImBJFU98/0TKwuJy9bKB+7/GQ3GH4zRWCA==", + "dev": true, + "license": "EPL-2.0", + "dependencies": { + "@types/js-yaml": "^4.0.0", + "@types/uuid": "^8.3.0", + "find-up": "^5.0.0", + "js-yaml": "^4.0.0", + "rimraf": "^3.0.2", + "uuid": "^8.3.2", + "yocto-queue": "^0.1.0" + }, + "peerDependencies": { + "@zowe/imperative": ">=5.0.0-next.202106041929 <5.0.0" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/@zowe/cli-test-utils/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@zowe/cli-test-utils/node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true, + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/@zowe/cli/node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@zowe/core-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-SWAYxd9v7DtKWZdrj6jJfyP98iI=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-uY/KmvaudZ2oVY4Du/AiI8EitskKXKp7wLLB1iPe29rbb5QXUWC9AoRrDgRaeaFWROtbol7+oovEQcJoxdrMxA==", "dev": true, "license": "EPL-2.0", "dependencies": { @@ -3281,9 +3425,9 @@ } }, "node_modules/@zowe/imperative": { - "version": "5.0.0-next.202202032009", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-5.0.0-next.202202032009.tgz", - "integrity": "sha1-+jD85946r++Xxm3ES5WQQ9PtoqQ=", + "version": "5.0.0-next.202204111131", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-5.0.0-next.202204111131.tgz", + "integrity": "sha512-vqItcUXMMLcacylSryzcBol/mSiP/NItQo1/20wamwdmcC5Diy/RXFRsejuEj3vAbpFauplop2Li6s2ZdIfeAg==", "dev": true, "license": "EPL-2.0", "dependencies": { @@ -3422,9 +3566,9 @@ } }, "node_modules/@zowe/provisioning-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-DJbO8MfwWs1r9T7E3csMjNmKLR0=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-k+Inq5V8yoF4I6KgRZgwXvD+NBvLAZLqvGLGqu9SGkSBuxo6XMP2E1LLpRwOGUheR8uzZD2mf0PLiZxQOnXNQg==", "dev": true, "license": "EPL-2.0", "dependencies": { @@ -3436,9 +3580,9 @@ } }, "node_modules/@zowe/zos-console-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-1BpDEHCC6AwlxDrOiy6qhU/7/kU=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-SPOxH5FLDlk4kd+rJWfdl42pnqSnWonD+B4EH807J/fZ4hWUmxhtExFPX2uZ2uqRSUTkDkVXf7Okd/MdTlkv1Q==", "dev": true, "license": "EPL-2.0", "peerDependencies": { @@ -3447,9 +3591,9 @@ } }, "node_modules/@zowe/zos-files-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-P5FRNogAv3Fw3iVQveHrI7c834g=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-2BngBjG1/vrl6w/nuyFGkdIGlNQ5NDPyVGZZluKHUqUwKkGiD7I0nW7vVEM5zPN3w8tfFLUayRxW/6cLHeAD/g==", "dev": true, "license": "EPL-2.0", "dependencies": { @@ -3461,13 +3605,13 @@ } }, "node_modules/@zowe/zos-jobs-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-yC7nwGijRGytQZSVMgYJWLP6v1Q=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-eVXwMaNLdzVOktb2VMeWkYkyQx9hMbmcy2Sh8g62usquhjPGAsS/P3Hr0jrIxVPYoIrtwSYNUcKLfCQqYbkLtg==", "dev": true, "license": "EPL-2.0", "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": ">=7.0.0-next <7.0.0", @@ -3475,9 +3619,9 @@ } }, "node_modules/@zowe/zos-logs-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-VCpRCy3ZkYf3yiw7DlBwFcdBnLE=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-A5pUjjaOrT+LTJQbim36/fDoxmW4HowbKjxZFx2J8hFqD8CGvXi9Q1+mGaEMWiLdDUiTVYJ2tofoek/LispEFw==", "dev": true, "license": "EPL-2.0", "peerDependencies": { @@ -3486,13 +3630,13 @@ } }, "node_modules/@zowe/zos-tso-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-4TIStuZ7prQu9mgNjc01UZKxtc4=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-sTFjCVNhBnwl5bqgfRgNZfH8jVJ28Tz9/0+1cPidiM86l2fzPHGCQtJtAisHaAsj/x8BXGSRRDbICpWI5Rd+BQ==", "dev": true, "license": "EPL-2.0", "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202204111828" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": ">=7.0.0-next <7.0.0", @@ -3500,9 +3644,9 @@ } }, "node_modules/@zowe/zos-uss-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-C0RU3DEdW2aPyvR8SmU56dg7G4E=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-Yg3P8nyQ+b3QeG7AwXjdzMcPm0P/KQHFdqFvb3c7tcM0LjF5Jp6TQFBYN57Q1PiwgigxTgDCU6q5d/Uj05X0fQ==", "dev": true, "license": "EPL-2.0", "dependencies": { @@ -3513,13 +3657,13 @@ } }, "node_modules/@zowe/zos-workflows-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-GmePUmype7t7sUtkRmWZxA34Tt0=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-4pWKtdytw8J+8589UjS4wJJIRAJY6/TdHHwarVqx0vwxzppij1vtD63rea24fHU45Hrum6+360CwPLzeShFctA==", "dev": true, "license": "EPL-2.0", "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828" }, "peerDependencies": { "@zowe/core-for-zowe-sdk": ">=7.0.0-next <7.0.0", @@ -3527,9 +3671,9 @@ } }, "node_modules/@zowe/zosmf-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-Ttq6JQcYKsP6jSfbndlR1B/Jhag=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-VUWfbJI32QLx48EOaxiukmiAilsaijKv7WPLFphG1XacIREWEkn7uuc7GlFjTI5uei0+OxPhl+CtELWUjSzAXg==", "dev": true, "license": "EPL-2.0", "peerDependencies": { @@ -3602,9 +3746,9 @@ } }, "node_modules/agentkeepalive": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.0.tgz", - "integrity": "sha512-0PhAp58jZNw13UJv7NVdTGb0ZcghHUb3DrZ046JiiJY/BOaTTpbwdHq2VObPCBV8M2GPh7sgrJ3AQ8Ey468LJw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", + "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", "dev": true, "dependencies": { "debug": "^4.1.0", @@ -5009,9 +5153,9 @@ } }, "node_modules/date-format": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.3.tgz", - "integrity": "sha512-7P3FyqDcfeznLZp2b+OMitV9Sz2lUnsT87WaTat9nVwqsBkTzPG3lPLNwW3en6F4pHUiWzr6vb8CLhjdK9bcxQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.6.tgz", + "integrity": "sha512-B9vvg5rHuQ8cbUXE/RMWMyX2YA5TecT3jKF5fLtGNlzPlU7zblSPmAm2OImDbWL+LDOQ6pUm+4LOFz+ywS41Zw==", "dev": true, "engines": { "node": ">=4.0" @@ -5027,9 +5171,9 @@ } }, "node_modules/debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "dependencies": { "ms": "2.1.2" @@ -6880,15 +7024,6 @@ "node": ">=8.0.0" } }, - "node_modules/get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", @@ -8969,9 +9104,9 @@ } }, "node_modules/jest-junit/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", "dev": true, "engines": { "node": ">=6" @@ -9049,9 +9184,9 @@ } }, "node_modules/jest-junit/node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true, "engines": { "node": ">=4" @@ -11903,9 +12038,9 @@ } }, "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "node_modules/minipass": { @@ -12082,9 +12217,9 @@ "dev": true }, "node_modules/moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==", + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==", "dev": true, "engines": { "node": "*" @@ -14742,13 +14877,13 @@ } }, "node_modules/socks": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", - "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz", + "integrity": "sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA==", "dev": true, "dependencies": { "ip": "^1.1.5", - "smart-buffer": "^4.1.0" + "smart-buffer": "^4.2.0" }, "engines": { "node": ">= 10.13.0", @@ -15025,23 +15160,23 @@ } }, "node_modules/streamroller": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.2.tgz", - "integrity": "sha512-ur6y5S5dopOaRXBuRIZ1u6GC5bcEXHRZKgfBjfCglMhmIf+roVCECjvkEYzNQOXIN2/JPnkMPW/8B3CZoKaEPA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.6.tgz", + "integrity": "sha512-Qz32plKq/MZywYyhEatxyYc8vs994Gz0Hu2MSYXXLD233UyPeIeRBZARIIGwFer4Mdb8r3Y2UqKkgyDghM6QCg==", "dev": true, "dependencies": { - "date-format": "^4.0.3", - "debug": "^4.1.1", - "fs-extra": "^10.0.0" + "date-format": "^4.0.6", + "debug": "^4.3.4", + "fs-extra": "^10.0.1" }, "engines": { "node": ">=8.0" } }, "node_modules/streamroller/node_modules/fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", + "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", "dev": true, "dependencies": { "graceful-fs": "^4.2.0", @@ -16432,6 +16567,18 @@ "engines": { "node": ">=4" } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } }, "dependencies": { @@ -17717,9 +17864,9 @@ } }, "@gar/promisify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.2.tgz", - "integrity": "sha512-82cpyJyKRoQoRi+14ibCeGPu0CwypgtBAdBhq1WfvagpCZNKqwXbKwXllYSMG91DhmG4jt9gN8eP6lGOtozuaw==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, "@humanwhocodes/config-array": { @@ -18362,9 +18509,9 @@ "dev": true }, "@npmcli/fs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.0.tgz", - "integrity": "sha512-VhP1qZLXcrXRIaPoqb4YA55JQxLNF3jNR4T55IdOJa3+IFJKNYHtPvtXx8slmeMavj37vCzCfrqQM1vWLsYKLA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-1.1.1.tgz", + "integrity": "sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==", "dev": true, "requires": { "@gar/promisify": "^1.0.1", @@ -18628,6 +18775,12 @@ "integrity": "sha512-+vFMPCwOffrTy685X9Kj+Iz83I56Q8j0JK6xvsm6TA5qxbtPUJZcXtJY05WMGlhCKp/9qbpRCwyOp6GkMuyuLg==", "dev": true }, + "@types/js-yaml": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", + "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==", + "dev": true + }, "@types/json-schema": { "version": "7.0.9", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", @@ -18635,9 +18788,9 @@ "dev": true }, "@types/lodash": { - "version": "4.14.178", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.178.tgz", - "integrity": "sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw==", + "version": "4.14.181", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.181.tgz", + "integrity": "sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag==", "dev": true }, "@types/lodash-deep": { @@ -18688,6 +18841,12 @@ "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", "dev": true }, + "@types/uuid": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", + "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==", + "dev": true + }, "@types/yargs": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-8.0.2.tgz", @@ -18784,35 +18943,127 @@ } }, "@zowe/cli": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-7.0.0-next.202202041954.tgz", - "integrity": "sha1-O4R06YagtsjoCnkGv0yGNzSAdxA=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-7.0.0-next.202204111828.tgz", + "integrity": "sha512-FaNDw7wVr1UNdJIpX1YX10+Mbj0LRlDPjys0wi5uPEg9eq4zrByT9EYs2AWcPTTnCTT3bneozHzOBIB0OD+qig==", "dev": true, "requires": { - "@zowe/core-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/imperative": "5.0.0-next.202202032009", + "@zowe/core-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/imperative": "5.0.0-next.202204111131", "@zowe/perf-timing": "1.0.7", - "@zowe/provisioning-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-console-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-jobs-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-logs-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-tso-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-uss-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zos-workflows-for-zowe-sdk": "7.0.0-next.202202041954", - "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202202041954", + "@zowe/provisioning-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-console-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-jobs-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-logs-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-tso-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-uss-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zos-workflows-for-zowe-sdk": "7.0.0-next.202204111828", + "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202204111828", "find-process": "1.4.7", - "get-stdin": "7.0.0", + "get-stream": "6.0.1", "keytar": "7.8.0", "lodash": "4.17.21", "minimatch": "3.0.4", "tar": "6.1.11" + }, + "dependencies": { + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + } + } + }, + "@zowe/cli-test-utils": { + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli-test-utils/-/@zowe/cli-test-utils-7.0.0-next.202204111828.tgz", + "integrity": "sha512-hH/5XD8AhmdAhMQGKr2EoZt9zDKMa7fx2R6pOKQnCd4c0z5kn4gQImBJFU98/0TKwuJy9bKB+7/GQ3GH4zRWCA==", + "dev": true, + "requires": { + "@types/js-yaml": "^4.0.0", + "@types/uuid": "^8.3.0", + "find-up": "^5.0.0", + "js-yaml": "^4.0.0", + "rimraf": "^3.0.2", + "uuid": "^8.3.2", + "yocto-queue": "^0.1.0" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "dev": true + } } }, "@zowe/core-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-SWAYxd9v7DtKWZdrj6jJfyP98iI=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-uY/KmvaudZ2oVY4Du/AiI8EitskKXKp7wLLB1iPe29rbb5QXUWC9AoRrDgRaeaFWROtbol7+oovEQcJoxdrMxA==", "dev": true, "requires": { "comment-json": "4.1.0", @@ -18820,9 +19071,9 @@ } }, "@zowe/imperative": { - "version": "5.0.0-next.202202032009", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-5.0.0-next.202202032009.tgz", - "integrity": "sha1-+jD85946r++Xxm3ES5WQQ9PtoqQ=", + "version": "5.0.0-next.202204111131", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-5.0.0-next.202204111131.tgz", + "integrity": "sha512-vqItcUXMMLcacylSryzcBol/mSiP/NItQo1/20wamwdmcC5Diy/RXFRsejuEj3vAbpFauplop2Li6s2ZdIfeAg==", "dev": true, "requires": { "@types/lodash-deep": "2.0.0", @@ -18939,77 +19190,77 @@ } }, "@zowe/provisioning-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-DJbO8MfwWs1r9T7E3csMjNmKLR0=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-k+Inq5V8yoF4I6KgRZgwXvD+NBvLAZLqvGLGqu9SGkSBuxo6XMP2E1LLpRwOGUheR8uzZD2mf0PLiZxQOnXNQg==", "dev": true, "requires": { "js-yaml": "3.14.1" } }, "@zowe/zos-console-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-1BpDEHCC6AwlxDrOiy6qhU/7/kU=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-SPOxH5FLDlk4kd+rJWfdl42pnqSnWonD+B4EH807J/fZ4hWUmxhtExFPX2uZ2uqRSUTkDkVXf7Okd/MdTlkv1Q==", "dev": true, "requires": {} }, "@zowe/zos-files-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-P5FRNogAv3Fw3iVQveHrI7c834g=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-2BngBjG1/vrl6w/nuyFGkdIGlNQ5NDPyVGZZluKHUqUwKkGiD7I0nW7vVEM5zPN3w8tfFLUayRxW/6cLHeAD/g==", "dev": true, "requires": { "minimatch": "3.0.4" } }, "@zowe/zos-jobs-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-yC7nwGijRGytQZSVMgYJWLP6v1Q=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-eVXwMaNLdzVOktb2VMeWkYkyQx9hMbmcy2Sh8g62usquhjPGAsS/P3Hr0jrIxVPYoIrtwSYNUcKLfCQqYbkLtg==", "dev": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828" } }, "@zowe/zos-logs-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-VCpRCy3ZkYf3yiw7DlBwFcdBnLE=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-A5pUjjaOrT+LTJQbim36/fDoxmW4HowbKjxZFx2J8hFqD8CGvXi9Q1+mGaEMWiLdDUiTVYJ2tofoek/LispEFw==", "dev": true, "requires": {} }, "@zowe/zos-tso-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-4TIStuZ7prQu9mgNjc01UZKxtc4=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-sTFjCVNhBnwl5bqgfRgNZfH8jVJ28Tz9/0+1cPidiM86l2fzPHGCQtJtAisHaAsj/x8BXGSRRDbICpWI5Rd+BQ==", "dev": true, "requires": { - "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zosmf-for-zowe-sdk": "7.0.0-next.202204111828" } }, "@zowe/zos-uss-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-C0RU3DEdW2aPyvR8SmU56dg7G4E=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-Yg3P8nyQ+b3QeG7AwXjdzMcPm0P/KQHFdqFvb3c7tcM0LjF5Jp6TQFBYN57Q1PiwgigxTgDCU6q5d/Uj05X0fQ==", "dev": true, "requires": { "ssh2": "1.4.0" } }, "@zowe/zos-workflows-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-GmePUmype7t7sUtkRmWZxA34Tt0=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-4pWKtdytw8J+8589UjS4wJJIRAJY6/TdHHwarVqx0vwxzppij1vtD63rea24fHU45Hrum6+360CwPLzeShFctA==", "dev": true, "requires": { - "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202202041954" + "@zowe/zos-files-for-zowe-sdk": "7.0.0-next.202204111828" } }, "@zowe/zosmf-for-zowe-sdk": { - "version": "7.0.0-next.202202041954", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-7.0.0-next.202202041954.tgz", - "integrity": "sha1-Ttq6JQcYKsP6jSfbndlR1B/Jhag=", + "version": "7.0.0-next.202204111828", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-7.0.0-next.202204111828.tgz", + "integrity": "sha512-VUWfbJI32QLx48EOaxiukmiAilsaijKv7WPLFphG1XacIREWEkn7uuc7GlFjTI5uei0+OxPhl+CtELWUjSzAXg==", "dev": true, "requires": {} }, @@ -19064,9 +19315,9 @@ } }, "agentkeepalive": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.0.tgz", - "integrity": "sha512-0PhAp58jZNw13UJv7NVdTGb0ZcghHUb3DrZ046JiiJY/BOaTTpbwdHq2VObPCBV8M2GPh7sgrJ3AQ8Ey468LJw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", + "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", "dev": true, "requires": { "debug": "^4.1.0", @@ -20171,9 +20422,9 @@ "dev": true }, "date-format": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.3.tgz", - "integrity": "sha512-7P3FyqDcfeznLZp2b+OMitV9Sz2lUnsT87WaTat9nVwqsBkTzPG3lPLNwW3en6F4pHUiWzr6vb8CLhjdK9bcxQ==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/date-format/-/date-format-4.0.6.tgz", + "integrity": "sha512-B9vvg5rHuQ8cbUXE/RMWMyX2YA5TecT3jKF5fLtGNlzPlU7zblSPmAm2OImDbWL+LDOQ6pUm+4LOFz+ywS41Zw==", "dev": true }, "dateformat": { @@ -20183,9 +20434,9 @@ "dev": true }, "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "requires": { "ms": "2.1.2" @@ -21594,12 +21845,6 @@ "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true }, - "get-stdin": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-7.0.0.tgz", - "integrity": "sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ==", - "dev": true - }, "get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", @@ -23189,9 +23434,9 @@ } }, "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", "dev": true }, "jest-get-type": { @@ -23251,9 +23496,9 @@ }, "dependencies": { "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", "dev": true } } @@ -25415,9 +25660,9 @@ } }, "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, "minipass": { @@ -25552,9 +25797,9 @@ } }, "moment": { - "version": "2.20.1", - "resolved": "https://registry.npmjs.org/moment/-/moment-2.20.1.tgz", - "integrity": "sha512-Yh9y73JRljxW5QxN08Fner68eFLxM5ynNOAw2LbIB1YAGeQzZT8QFSUvkAz609Zf+IHhhaUxqZK8dG3W/+HEvg==", + "version": "2.29.2", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.2.tgz", + "integrity": "sha512-UgzG4rvxYpN15jgCmVJwac49h9ly9NurikMWGPdVxm8GZD6XjkKPxDTjQQ43gtGgnV3X0cAyWDdP2Wexoquifg==", "dev": true }, "ms": { @@ -27600,13 +27845,13 @@ } }, "socks": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.1.tgz", - "integrity": "sha512-kLQ9N5ucj8uIcxrDwjm0Jsqk06xdpBjGNQtpXy4Q8/QY2k+fY7nZH8CARy+hkbG+SGAovmzzuauCpBlb8FrnBA==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz", + "integrity": "sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA==", "dev": true, "requires": { "ip": "^1.1.5", - "smart-buffer": "^4.1.0" + "smart-buffer": "^4.2.0" } }, "socks-proxy-agent": { @@ -27831,20 +28076,20 @@ } }, "streamroller": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.2.tgz", - "integrity": "sha512-ur6y5S5dopOaRXBuRIZ1u6GC5bcEXHRZKgfBjfCglMhmIf+roVCECjvkEYzNQOXIN2/JPnkMPW/8B3CZoKaEPA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/streamroller/-/streamroller-3.0.6.tgz", + "integrity": "sha512-Qz32plKq/MZywYyhEatxyYc8vs994Gz0Hu2MSYXXLD233UyPeIeRBZARIIGwFer4Mdb8r3Y2UqKkgyDghM6QCg==", "dev": true, "requires": { - "date-format": "^4.0.3", - "debug": "^4.1.1", - "fs-extra": "^10.0.0" + "date-format": "^4.0.6", + "debug": "^4.3.4", + "fs-extra": "^10.0.1" }, "dependencies": { "fs-extra": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.0.tgz", - "integrity": "sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.0.1.tgz", + "integrity": "sha512-NbdoVMZso2Lsrn/QwLXOy6rm0ufY2zEOKCDzJR/0kBsb0E6qed0P3iYK+Ath3BfvXEeu4JhEtXLgILx5psUfag==", "dev": true, "requires": { "graceful-fs": "^4.2.0", @@ -28939,6 +29184,12 @@ "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true } } } diff --git a/package.json b/package.json index 9d22489..bcaa865 100644 --- a/package.json +++ b/package.json @@ -54,8 +54,9 @@ "@types/yargs": "8.0.2", "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", - "@zowe/cli": ">=7.0.0-next.202202041954 <8.0.0", - "@zowe/imperative": ">=5.0.0-next.202202032009 <6.0.0", + "@zowe/cli": ">=7.0.0-next.202204111828 <8.0.0", + "@zowe/cli-test-utils": ">=7.0.0-next.202204011929 <8.0.0", + "@zowe/imperative": ">=5.0.0-next.202204111131 <6.0.0", "env-cmd": "^8.0.2", "eslint": "^7.32.0", "eslint-plugin-jest": "^24.4.0", From b46f9f4cf494e4d101c203a9ca36dde783f7fdc4 Mon Sep 17 00:00:00 2001 From: Timothy Johnson Date: Wed, 13 Apr 2022 08:30:34 -0400 Subject: [PATCH 12/12] Fix whitespace in snapshots Signed-off-by: Timothy Johnson --- ...cli.query.program.integration.test.ts.snap | 52 +++---- .../cli.query.region.integration.test.ts.snap | 52 +++---- ...query.transaction.integration.test.ts.snap | 66 ++++----- ...cli.start.program.integration.test.ts.snap | 54 ++++---- .../cli.start.region.integration.test.ts.snap | 56 ++++---- ...start.transaction.integration.test.ts.snap | 54 ++++---- .../cli.stop.program.integration.test.ts.snap | 54 ++++---- .../cli.stop.region.integration.test.ts.snap | 62 ++++----- ....stop.transaction.integration.test.ts.snap | 54 ++++---- ...li.update.program.integration.test.ts.snap | 72 +++++----- ...pdate.transaction.integration.test.ts.snap | 128 +++++++++--------- 11 files changed, 352 insertions(+), 352 deletions(-) diff --git a/__tests__/__integration__/cli/query/program/__snapshots__/cli.query.program.integration.test.ts.snap b/__tests__/__integration__/cli/query/program/__snapshots__/cli.query.program.integration.test.ts.snap index 8041204..7b0d973 100644 --- a/__tests__/__integration__/cli/query/program/__snapshots__/cli.query.program.integration.test.ts.snap +++ b/__tests__/__integration__/cli/query/program/__snapshots__/cli.query.program.integration.test.ts.snap @@ -28,7 +28,7 @@ exports[`ims query program should display the query program help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) Specifies the application program output fields to return. @@ -37,57 +37,57 @@ exports[`ims query program should display the query program help 1`] = ` LANG, LOCAL, MODEL, RESIDENT, SCHDTYPE, STATUS, TIMESTAMP, TRANSTAT, EXPORTNEEDED, DB, RTC, TRAN, WORK - --status | --st (array) + --status | --st (array) Selects programs for display that possess at least one of the specified program statuses. Allowed values: DB-NOTAVL, IOPREV, LOCK, NOTINIT, STOSCHD, TRACE - --route | --rt (array) + --route | --rt (array) Specifies the routes to return. IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -97,44 +97,44 @@ exports[`ims query program should display the query program help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -142,7 +142,7 @@ exports[`ims query program should display the query program help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -162,7 +162,7 @@ exports[`ims query program should display the query program help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -170,19 +170,19 @@ exports[`ims query program should display the query program help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser diff --git a/__tests__/__integration__/cli/query/query/__snapshots__/cli.query.region.integration.test.ts.snap b/__tests__/__integration__/cli/query/query/__snapshots__/cli.query.region.integration.test.ts.snap index cd6ca16..cb454c8 100644 --- a/__tests__/__integration__/cli/query/query/__snapshots__/cli.query.region.integration.test.ts.snap +++ b/__tests__/__integration__/cli/query/query/__snapshots__/cli.query.region.integration.test.ts.snap @@ -21,63 +21,63 @@ exports[`ims query region should display the query region help 1`] = ` OPTIONS ------- - --dc (boolean) + --dc (boolean) Displays only the DC subset of the output Default value: true - --region (boolean) + --region (boolean) Displays only the REGION subset of the output. The display consists of active regions Default value: true - --route | --rt (array) + --route | --rt (array) Specifies the routes to return. IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -87,44 +87,44 @@ exports[`ims query region should display the query region help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -132,7 +132,7 @@ exports[`ims query region should display the query region help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -152,7 +152,7 @@ exports[`ims query region should display the query region help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -160,19 +160,19 @@ exports[`ims query region should display the query region help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser diff --git a/__tests__/__integration__/cli/query/transaction/__snapshots__/cli.query.transaction.integration.test.ts.snap b/__tests__/__integration__/cli/query/transaction/__snapshots__/cli.query.transaction.integration.test.ts.snap index 98f9561..1dc800d 100644 --- a/__tests__/__integration__/cli/query/transaction/__snapshots__/cli.query.transaction.integration.test.ts.snap +++ b/__tests__/__integration__/cli/query/transaction/__snapshots__/cli.query.transaction.integration.test.ts.snap @@ -29,7 +29,7 @@ exports[`ims query transaction should display the help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) Specifies the transaction output fields to return. @@ -37,7 +37,7 @@ exports[`ims query transaction should display the help 1`] = ` LANG, LOCAL, MODEL, RESIDENT, SCHDTYPE, STATUS, TIMESTAMP, TRANSTAT, EXPORTNEEDED, DB, RTC, TRAN, WORK - --status | --st (array) + --status | --st (array) Selects transactions that possess at least one of the specified transaction statuses. @@ -45,80 +45,80 @@ exports[`ims query transaction should display the help 1`] = ` Allowed values: AFFIN, BAL, CONV, CPIC, DYN, IOPREV, LCK, NOTINIT, QERR, QSTP, SUSPEND, STOQ, STOSCHD, TRACE, USTO - --route | --rt (array) + --route | --rt (array) Specifies the routes to return. - --class | --cl (array) + --class | --cl (array) Selects transactions by the classes you specify. - --queue-count-operator | --qco (array) + --queue-count-operator | --qco (array) The compare operator used to select transactions based on queue count. Valid values: LT, LE, GT, GE, EQ or NE. - --queue-count-value | --qcv (number) + --queue-count-value | --qcv (number) The numeric value used with 'queue_count_operator' to select transactions based on queue count. - --conversation-attributes | --ca (string) + --conversation-attributes | --ca (string) Selects transactions by the conversational attributes you specify. - --fast-path-options | --fpo (string) + --fast-path-options | --fpo (string) Selects transactions by the Fast Path options you specify. - --remote-option-specified | --ros (string) + --remote-option-specified | --ros (string) Selects transactions by the remote option you specify. - --response-mode-option-specified | --rmos (string) + --response-mode-option-specified | --rmos (string) Selects transactions by the response mode option you specify. IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -128,44 +128,44 @@ exports[`ims query transaction should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -173,7 +173,7 @@ exports[`ims query transaction should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -193,7 +193,7 @@ exports[`ims query transaction should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -201,19 +201,19 @@ exports[`ims query transaction should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser diff --git a/__tests__/__integration__/cli/start/program/__snapshots__/cli.start.program.integration.test.ts.snap b/__tests__/__integration__/cli/start/program/__snapshots__/cli.start.program.integration.test.ts.snap index 1a74652..2cda2cc 100644 --- a/__tests__/__integration__/cli/start/program/__snapshots__/cli.start.program.integration.test.ts.snap +++ b/__tests__/__integration__/cli/start/program/__snapshots__/cli.start.program.integration.test.ts.snap @@ -28,57 +28,57 @@ exports[`Start program command should display the help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) The attributes that are to be started Default value: SCHD Allowed values: SCHD, TRACE, REFRESH - --route | --rte (array) + --route | --rte (array) The region(s) to route the command to IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -88,44 +88,44 @@ exports[`Start program command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -133,7 +133,7 @@ exports[`Start program command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -153,7 +153,7 @@ exports[`Start program command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -161,19 +161,19 @@ exports[`Start program command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -207,8 +207,8 @@ exports[`Start program command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: program.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to start. The maximum length of a program\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE, REFRESH\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start an application program named PGM123:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Start all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims start program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Start an application program named PGM234 and start\\\\n tracing:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start an application program named PGM890 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start an application programs named XYZ1 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to start. The maximum length of a program\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE, REFRESH\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start an application program named PGM123:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Start all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims start program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Start an application program named PGM234 and start\\\\n tracing:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start an application program named PGM890 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start an application programs named XYZ1 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to start. The maximum length of a program\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE, REFRESH\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start an application program named PGM123:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Start all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims start program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Start an application program named PGM234 and start\\\\n tracing:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start an application program named PGM890 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start an application programs named XYZ1 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to start. The maximum length of a program\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE, REFRESH\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start an application program named PGM123:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Start all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims start program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Start an application program named PGM234 and start\\\\n tracing:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start an application program named PGM890 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start an application programs named XYZ1 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/start/region/__snapshots__/cli.start.region.integration.test.ts.snap b/__tests__/__integration__/cli/start/region/__snapshots__/cli.start.region.integration.test.ts.snap index 7cf137b..3c91d27 100644 --- a/__tests__/__integration__/cli/start/region/__snapshots__/cli.start.region.integration.test.ts.snap +++ b/__tests__/__integration__/cli/start/region/__snapshots__/cli.start.region.integration.test.ts.snap @@ -29,17 +29,17 @@ exports[`Start region command should display the help 1`] = ` OPTIONS ------- - --route | --rte (array) + --route | --rte (array) The region(s) to route the command to - --local | -l (boolean) + --local | -l (boolean) If you specify the --local option, IMS overrides the symbolic IMSID parameter in the JCL of the default or specified member. --local is the default if you specify the --job-name option. - --job-name | --jn (string) + --job-name | --jn (string) Use this option to override the job name on the JOB statement of the default or specified JCL member for a dependent region. @@ -47,43 +47,43 @@ exports[`Start region command should display the help 1`] = ` IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -93,44 +93,44 @@ exports[`Start region command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -138,7 +138,7 @@ exports[`Start region command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -158,7 +158,7 @@ exports[`Start region command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -166,19 +166,19 @@ exports[`Start region command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -213,8 +213,8 @@ exports[`Start region command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: region.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start region [memberName] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n memberName\\\\t\\\\t (string)\\\\n\\\\n The name of the member that contains JCL for the region to start. The maximum\\\\n length of the member name is eight characters. If no member name is specified,\\\\n the default member name is used\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --local | -l (boolean)\\\\n\\\\n If you specify the --local option, IMS overrides the symbolic IMSID parameter in\\\\n the JCL of the default or specified member. --local is the default if you\\\\n specify the --job-name option.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n Use this option to override the job name on the JOB statement of the default or\\\\n specified JCL member for a dependent region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a region stored in a member named MEM1:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM2 specifying the\\\\n region to route the command:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM2\\\\\\" --route \\\\\\"IMS1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM3 and override\\\\n the job name:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM3\\\\\\" --job-name \\\\\\"JOB9\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM4 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM4\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM5 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM5\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start region [memberName] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n memberName\\\\t\\\\t (string)\\\\n\\\\n The name of the member that contains JCL for the region to start. The maximum\\\\n length of the member name is eight characters. If no member name is specified,\\\\n the default member name is used\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --local | -l (boolean)\\\\n\\\\n If you specify the --local option, IMS overrides the symbolic IMSID parameter in\\\\n the JCL of the default or specified member. --local is the default if you\\\\n specify the --job-name option.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n Use this option to override the job name on the JOB statement of the default or\\\\n specified JCL member for a dependent region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a region stored in a member named MEM1:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM2 specifying the\\\\n region to route the command:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM2\\\\\\" --route \\\\\\"IMS1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM3 and override\\\\n the job name:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM3\\\\\\" --job-name \\\\\\"JOB9\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM4 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM4\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM5 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM5\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start region [memberName] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n memberName\\\\t\\\\t (string)\\\\n\\\\n The name of the member that contains JCL for the region to start. The maximum\\\\n length of the member name is eight characters. If no member name is specified,\\\\n the default member name is used\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --local | -l (boolean)\\\\n\\\\n If you specify the --local option, IMS overrides the symbolic IMSID parameter in\\\\n the JCL of the default or specified member. --local is the default if you\\\\n specify the --job-name option.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n Use this option to override the job name on the JOB statement of the default or\\\\n specified JCL member for a dependent region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a region stored in a member named MEM1:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM2 specifying the\\\\n region to route the command:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM2\\\\\\" --route \\\\\\"IMS1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM3 and override\\\\n the job name:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM3\\\\\\" --job-name \\\\\\"JOB9\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM4 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM4\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM5 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM5\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start region [memberName] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n memberName\\\\t\\\\t (string)\\\\n\\\\n The name of the member that contains JCL for the region to start. The maximum\\\\n length of the member name is eight characters. If no member name is specified,\\\\n the default member name is used\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --local | -l (boolean)\\\\n\\\\n If you specify the --local option, IMS overrides the symbolic IMSID parameter in\\\\n the JCL of the default or specified member. --local is the default if you\\\\n specify the --job-name option.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n Use this option to override the job name on the JOB statement of the default or\\\\n specified JCL member for a dependent region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a region stored in a member named MEM1:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM2 specifying the\\\\n region to route the command:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM2\\\\\\" --route \\\\\\"IMS1\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM3 and override\\\\n the job name:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM3\\\\\\" --job-name \\\\\\"JOB9\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM4 routing to\\\\n control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM4\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a region stored in a member named MEM5 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims start region \\\\\\"MEM5\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/start/transaction/__snapshots__/cli.start.transaction.integration.test.ts.snap b/__tests__/__integration__/cli/start/transaction/__snapshots__/cli.start.transaction.integration.test.ts.snap index 96bf120..c09170a 100644 --- a/__tests__/__integration__/cli/start/transaction/__snapshots__/cli.start.transaction.integration.test.ts.snap +++ b/__tests__/__integration__/cli/start/transaction/__snapshots__/cli.start.transaction.integration.test.ts.snap @@ -28,57 +28,57 @@ exports[`Start transaction command should display the help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) The attributes that are to be started Default value: SCHD Allowed values: Q, SCHD, SUSPEND, TRACE - --route | --rte (array) + --route | --rte (array) The region(s) to route the command to IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -88,44 +88,44 @@ exports[`Start transaction command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -133,7 +133,7 @@ exports[`Start transaction command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -153,7 +153,7 @@ exports[`Start transaction command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -161,19 +161,19 @@ exports[`Start transaction command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -206,8 +206,8 @@ exports[`Start transaction command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: transaction.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to start. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, SUSPEND, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a transaction named TRN1:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Start all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Start a transaction named TRN2 and start tracing:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to start. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, SUSPEND, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a transaction named TRN1:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Start all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Start a transaction named TRN2 and start tracing:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to start. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, SUSPEND, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a transaction named TRN1:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Start all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Start a transaction named TRN2 and start tracing:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Start an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims start transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to start. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be started\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, SUSPEND, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Start a transaction named TRN1:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Start all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Start a transaction named TRN2 and start tracing:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"SCHD TRACE\\\\\\"\\\\n\\\\n - Start a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Start a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims start transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/stop/program/__snapshots__/cli.stop.program.integration.test.ts.snap b/__tests__/__integration__/cli/stop/program/__snapshots__/cli.stop.program.integration.test.ts.snap index 5382365..8145bfe 100644 --- a/__tests__/__integration__/cli/stop/program/__snapshots__/cli.stop.program.integration.test.ts.snap +++ b/__tests__/__integration__/cli/stop/program/__snapshots__/cli.stop.program.integration.test.ts.snap @@ -28,57 +28,57 @@ exports[`Start program command should display the help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) The attributes that are to be stopped Default value: SCHD Allowed values: SCHD, TRACE - --route | --rte (array) + --route | --rte (array) The region(s) to route the command IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -88,44 +88,44 @@ exports[`Start program command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -133,7 +133,7 @@ exports[`Start program command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -153,7 +153,7 @@ exports[`Start program command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -161,19 +161,19 @@ exports[`Start program command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -206,8 +206,8 @@ exports[`Start program command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: program.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name( of the program(s) to stop. The maximum length of a program name is\\\\n eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop an application program named PGM123:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Stop all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims stop program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Stop tracing an application program named PGM234:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop an application program named PGM890 routing to control\\\\n regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop an application programs named XYZ1 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name( of the program(s) to stop. The maximum length of a program name is\\\\n eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop an application program named PGM123:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Stop all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims stop program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Stop tracing an application program named PGM234:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop an application program named PGM890 routing to control\\\\n regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop an application programs named XYZ1 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name( of the program(s) to stop. The maximum length of a program name is\\\\n eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop an application program named PGM123:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Stop all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims stop program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Stop tracing an application program named PGM234:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop an application program named PGM890 routing to control\\\\n regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop an application programs named XYZ1 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name( of the program(s) to stop. The maximum length of a program name is\\\\n eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop an application program named PGM123:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM123\\\\\\"\\\\n\\\\n - Stop all application programs beginning with ACC*:\\\\n\\\\n $ zowe ims stop program \\\\\\"ACC*\\\\\\"\\\\n\\\\n - Stop tracing an application program named PGM234:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM234\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop an application program named PGM890 routing to control\\\\n regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop program \\\\\\"PGM890\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop an application programs named XYZ1 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop program \\\\\\"XYZ1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/stop/region/__snapshots__/cli.stop.region.integration.test.ts.snap b/__tests__/__integration__/cli/stop/region/__snapshots__/cli.stop.region.integration.test.ts.snap index 8447466..13358f2 100644 --- a/__tests__/__integration__/cli/stop/region/__snapshots__/cli.stop.region.integration.test.ts.snap +++ b/__tests__/__integration__/cli/stop/region/__snapshots__/cli.stop.region.integration.test.ts.snap @@ -20,21 +20,21 @@ exports[`Start region command should display the help 1`] = ` OPTIONS ------- - --region-ids | --ri (array) + --region-ids | --ri (array) Region identifier numbers for the regions you want to stop. You must specify either this option or --job-name. - --job-name | --jn (string) + --job-name | --jn (string) The name of the job for the IMS region you want to stop. You must specify either this option or --region-ids. - --route | --rte (array) + --route | --rte (array) The region(s) to route the command to - --abdump (string) + --abdump (string) Specify this option to cause abnormal termination (ABEND) of an application program. If the transaction indicated by this argument is currently running in @@ -43,13 +43,13 @@ exports[`Start region command should display the help 1`] = ` transaction will be stopped. The command is ignored if the transaction is not currently scheduled in the region. - --cancel (boolean) + --cancel (boolean) Use this option if the region cannot be stopped with a stop region --abdump command. To use this option, you must have already submitted a stop region command using the --abdump option. - --transaction (string) + --transaction (string) Specify a transaction in wait-for-input mode to stop its message processing within the specified region. @@ -57,43 +57,43 @@ exports[`Start region command should display the help 1`] = ` IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -103,44 +103,44 @@ exports[`Start region command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -148,7 +148,7 @@ exports[`Start region command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -168,7 +168,7 @@ exports[`Start region command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -176,19 +176,19 @@ exports[`Start region command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -222,9 +222,9 @@ exports[`Start region command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: region.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop region [options]\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --region-ids | --ri (array)\\\\n\\\\n Region identifier numbers for the regions you want to stop. You must specify\\\\n either this option or --job-name.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n The name of the job for the IMS region you want to stop. You must specify either\\\\n this option or --region-ids.\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --abdump (string)\\\\n\\\\n Specify this option to cause abnormal termination (ABEND) of an application\\\\n program. If the transaction indicated by this argument is currently running in\\\\n the specified region, an error message is received at the master terminal,\\\\n indicating an application program ABEND. The region will remain active, but the\\\\n transaction will be stopped. The command is ignored if the transaction is not\\\\n currently scheduled in the region.\\\\n\\\\n --cancel (boolean)\\\\n\\\\n Use this option if the region cannot be stopped with a stop region --abdump\\\\n command. To use this option, you must have already submitted a stop region\\\\n command using the --abdump option.\\\\n\\\\n --transaction (string)\\\\n\\\\n Specify a transaction in wait-for-input mode to stop its message processing\\\\n within the specified region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a region with job name JOBNM1:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM1\\\\\\"\\\\n\\\\n - Stop multiple regions with region identifiers:\\\\n\\\\n $ zowe ims stop region --region-ids 4 5\\\\n\\\\n - Stop a region with region identifier and cause the abnormal\\\\n termination (ABEND) of the application program:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --abdump \\\\\\"TRAN1\\\\\\"\\\\n\\\\n - Stop a region with region identifier and specify 'cancel'\\\\n because the 'abdump' option failed to stop the region:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --cancel true\\\\n\\\\n - Stop a region with job name JOBNM4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080--ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop region [options]\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --region-ids | --ri (array)\\\\n\\\\n Region identifier numbers for the regions you want to stop. You must specify\\\\n either this option or --job-name.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n The name of the job for the IMS region you want to stop. You must specify either\\\\n this option or --region-ids.\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --abdump (string)\\\\n\\\\n Specify this option to cause abnormal termination (ABEND) of an application\\\\n program. If the transaction indicated by this argument is currently running in\\\\n the specified region, an error message is received at the master terminal,\\\\n indicating an application program ABEND. The region will remain active, but the\\\\n transaction will be stopped. The command is ignored if the transaction is not\\\\n currently scheduled in the region.\\\\n\\\\n --cancel (boolean)\\\\n\\\\n Use this option if the region cannot be stopped with a stop region --abdump\\\\n command. To use this option, you must have already submitted a stop region\\\\n command using the --abdump option.\\\\n\\\\n --transaction (string)\\\\n\\\\n Specify a transaction in wait-for-input mode to stop its message processing\\\\n within the specified region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a region with job name JOBNM1:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM1\\\\\\"\\\\n\\\\n - Stop multiple regions with region identifiers:\\\\n\\\\n $ zowe ims stop region --region-ids 4 5\\\\n\\\\n - Stop a region with region identifier and cause the abnormal\\\\n termination (ABEND) of the application program:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --abdump \\\\\\"TRAN1\\\\\\"\\\\n\\\\n - Stop a region with region identifier and specify 'cancel'\\\\n because the 'abdump' option failed to stop the region:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --cancel true\\\\n\\\\n - Stop a region with job name JOBNM4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080--ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop region [options]\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --region-ids | --ri (array)\\\\n\\\\n Region identifier numbers for the regions you want to stop. You must specify\\\\n either this option or --job-name.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n The name of the job for the IMS region you want to stop. You must specify either\\\\n this option or --region-ids.\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --abdump (string)\\\\n\\\\n Specify this option to cause abnormal termination (ABEND) of an application\\\\n program. If the transaction indicated by this argument is currently running in\\\\n the specified region, an error message is received at the master terminal,\\\\n indicating an application program ABEND. The region will remain active, but the\\\\n transaction will be stopped. The command is ignored if the transaction is not\\\\n currently scheduled in the region.\\\\n\\\\n --cancel (boolean)\\\\n\\\\n Use this option if the region cannot be stopped with a stop region --abdump\\\\n command. To use this option, you must have already submitted a stop region\\\\n command using the --abdump option.\\\\n\\\\n --transaction (string)\\\\n\\\\n Specify a transaction in wait-for-input mode to stop its message processing\\\\n within the specified region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a region with job name JOBNM1:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM1\\\\\\"\\\\n\\\\n - Stop multiple regions with region identifiers:\\\\n\\\\n $ zowe ims stop region --region-ids 4 5\\\\n\\\\n - Stop a region with region identifier and cause the abnormal\\\\n termination (ABEND) of the application program:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --abdump \\\\\\"TRAN1\\\\\\"\\\\n\\\\n - Stop a region with region identifier and specify 'cancel'\\\\n because the 'abdump' option failed to stop the region:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --cancel true\\\\n\\\\n - Stop a region with job name JOBNM4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080--ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n region | reg\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS region.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop region [options]\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --region-ids | --ri (array)\\\\n\\\\n Region identifier numbers for the regions you want to stop. You must specify\\\\n either this option or --job-name.\\\\n\\\\n --job-name | --jn (string)\\\\n\\\\n The name of the job for the IMS region you want to stop. You must specify either\\\\n this option or --region-ids.\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command to\\\\n\\\\n --abdump (string)\\\\n\\\\n Specify this option to cause abnormal termination (ABEND) of an application\\\\n program. If the transaction indicated by this argument is currently running in\\\\n the specified region, an error message is received at the master terminal,\\\\n indicating an application program ABEND. The region will remain active, but the\\\\n transaction will be stopped. The command is ignored if the transaction is not\\\\n currently scheduled in the region.\\\\n\\\\n --cancel (boolean)\\\\n\\\\n Use this option if the region cannot be stopped with a stop region --abdump\\\\n command. To use this option, you must have already submitted a stop region\\\\n command using the --abdump option.\\\\n\\\\n --transaction (string)\\\\n\\\\n Specify a transaction in wait-for-input mode to stop its message processing\\\\n within the specified region.\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a region with job name JOBNM1:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM1\\\\\\"\\\\n\\\\n - Stop multiple regions with region identifiers:\\\\n\\\\n $ zowe ims stop region --region-ids 4 5\\\\n\\\\n - Stop a region with region identifier and cause the abnormal\\\\n termination (ABEND) of the application program:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --abdump \\\\\\"TRAN1\\\\\\"\\\\n\\\\n - Stop a region with region identifier and specify 'cancel'\\\\n because the 'abdump' option failed to stop the region:\\\\n\\\\n $ zowe ims stop region --region-ids 4 --cancel true\\\\n\\\\n - Stop a region with job name JOBNM4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop region --job-name \\\\\\"JOBNM4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080--ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/stop/transaction/__snapshots__/cli.stop.transaction.integration.test.ts.snap b/__tests__/__integration__/cli/stop/transaction/__snapshots__/cli.stop.transaction.integration.test.ts.snap index 74dcccb..48d485f 100644 --- a/__tests__/__integration__/cli/stop/transaction/__snapshots__/cli.stop.transaction.integration.test.ts.snap +++ b/__tests__/__integration__/cli/stop/transaction/__snapshots__/cli.stop.transaction.integration.test.ts.snap @@ -28,57 +28,57 @@ exports[`Start transaction command should display the help 1`] = ` OPTIONS ------- - --attributes | --att (array) + --attributes | --att (array) The attributes that are to be stopped Default value: SCHD Allowed values: Q, SCHD, TRACE - --route | --rte (array) + --route | --rte (array) The region(s) to route the command IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -88,44 +88,44 @@ exports[`Start transaction command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -133,7 +133,7 @@ exports[`Start transaction command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -153,7 +153,7 @@ exports[`Start transaction command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -161,19 +161,19 @@ exports[`Start transaction command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -206,8 +206,8 @@ exports[`Start transaction command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: transaction.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop transaction [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to stop. The maximum length of a transaction name\\\\n is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a transaction named TRN1:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Stop all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Stop tracing a transaction named TRN2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop transaction [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to stop. The maximum length of a transaction name\\\\n is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a transaction named TRN1:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Stop all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Stop tracing a transaction named TRN2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop transaction [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to stop. The maximum length of a transaction name\\\\n is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a transaction named TRN1:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Stop all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Stop tracing a transaction named TRN2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Stop an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims stop transaction [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to stop. The maximum length of a transaction name\\\\n is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --attributes | --att (array)\\\\n\\\\n The attributes that are to be stopped\\\\n\\\\n Default value: SCHD\\\\n Allowed values: Q, SCHD, TRACE\\\\n\\\\n --route | --rte (array)\\\\n\\\\n The region(s) to route the command\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Stop a transaction named TRN1:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN1\\\\\\"\\\\n\\\\n - Stop all transactions beginning with TRN*:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN*\\\\\\"\\\\n\\\\n - Stop tracing a transaction named TRN2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN2\\\\\\" --attributes \\\\\\"TRACE\\\\\\"\\\\n\\\\n - Stop a transaction named TRN3 routing to control regions\\\\n IMS1 and IMS2:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN3\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Stop a transaction named TRN4 specifying optional\\\\n connection parameters:\\\\n\\\\n $ zowe ims stop transaction \\\\\\"TRN4\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/update/program/__snapshots__/cli.update.program.integration.test.ts.snap b/__tests__/__integration__/cli/update/program/__snapshots__/cli.update.program.integration.test.ts.snap index a793362..77fdbb8 100644 --- a/__tests__/__integration__/cli/update/program/__snapshots__/cli.update.program.integration.test.ts.snap +++ b/__tests__/__integration__/cli/update/program/__snapshots__/cli.update.program.integration.test.ts.snap @@ -28,68 +28,68 @@ exports[`Update program command should display the help 1`] = ` OPTIONS ------- - --bmp-type | --bmptype (string) + --bmp-type | --bmptype (string) Specifies whether the program runs in a BMP type region or not. (N or Y). Allowed values: N, Y - --dynamic | --dopt (string) + --dynamic | --dopt (string) Specifies the dynamic option (N or Y). Allowed values: N, Y - --fast-path | --fp (string) + --fast-path | --fp (string) Specifies the Fast Path option (E or N). Allowed values: E, N - --generated-psb | --gpsb (string) + --generated-psb | --gpsb (string) Specifies the generated PSB option (N or Y). Allowed values: N, Y - --language | --lang (string) + --language | --lang (string) Specifies the language interface of the program or a GPSB or defined a DOPT(Y) program as using the JAVA language (ASSEM, COBOL, JAVA, PASCAL, PLI). Allowed values: ASSEM, COBOL, JAVA, PASCAL, PLI - --lock | -l (string) + --lock | -l (string) Specifies the LOCK status is to be set (ON or OFF). Allowed values: ON, OFF - --option | -o (string) + --option | -o (string) Specifies to return response lines for all resources that are processed. It is only valid with --name * (ALLRSP). Allowed values: ALLRSP - --resident | -r (string) + --resident | -r (string) Specifies the resident option (N or Y). Allowed values: N, Y - --route | --rte (array) + --route | --rte (array) Specifies the region(s) to route the command. - --schedule-type | --schdtype (string) + --schedule-type | --schdtype (string) Specifies whether this application program can be scheduled into more than one message region or batch message region simultaneously (PARALLEL or SERIAL). Allowed values: PARALLEL, SERIAL - --transaction-level-stat | --transtat (string) + --transaction-level-stat | --transtat (string) Specifies whether transaction level statistics should be logged (N or Y). @@ -98,43 +98,43 @@ exports[`Update program command should display the help 1`] = ` IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -144,44 +144,44 @@ exports[`Update program command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -189,7 +189,7 @@ exports[`Update program command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -209,7 +209,7 @@ exports[`Update program command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -217,19 +217,19 @@ exports[`Update program command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -265,8 +265,8 @@ exports[`Update program command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: program.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to update. The maximum length of a\\\\n program name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --bmp-type | --bmptype (string)\\\\n\\\\n Specifies whether the program runs in a BMP type region or not. (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --dynamic | --dopt (string)\\\\n\\\\n Specifies the dynamic option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E or N).\\\\n\\\\n Allowed values: E, N\\\\n\\\\n --generated-psb | --gpsb (string)\\\\n\\\\n Specifies the generated PSB option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --language | --lang (string)\\\\n\\\\n Specifies the language interface of the program or a GPSB or defined a DOPT(Y)\\\\n program as using the JAVA language (ASSEM, COBOL, JAVA, PASCAL, PLI).\\\\n\\\\n Allowed values: ASSEM, COBOL, JAVA, PASCAL, PLI\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies the LOCK status is to be set (ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies to return response lines for all resources that are processed. It is\\\\n only valid with --name * (ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --resident | -r (string)\\\\n\\\\n Specifies the resident option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --schedule-type | --schdtype (string)\\\\n\\\\n Specifies whether this application program can be scheduled into more than one\\\\n message region or batch message region simultaneously (PARALLEL or SERIAL).\\\\n\\\\n Allowed values: PARALLEL, SERIAL\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update an application program named PGM123 to execute\\\\n exclusively as Fast Path:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM123\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Update all application programs beginning with ACC* to not\\\\n run in a BMP type region:\\\\n\\\\n $ zowe ims update program \\\\\\"ACC*\\\\\\" --bmptype \\\\\\"N\\\\\\"\\\\n\\\\n - Unlock all programs beginning with PGM* to allow\\\\n scheduling:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM*\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Update an application program named PGM890 to execute as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM890\\\\\\" --fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Unlock an application programs named XYZ1 to allow\\\\n scheduling specifying optional connection parameters:\\\\n\\\\n $ zowe ims update program \\\\\\"XYZ1\\\\\\" --lock \\\\\\"OFF\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to update. The maximum length of a\\\\n program name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --bmp-type | --bmptype (string)\\\\n\\\\n Specifies whether the program runs in a BMP type region or not. (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --dynamic | --dopt (string)\\\\n\\\\n Specifies the dynamic option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E or N).\\\\n\\\\n Allowed values: E, N\\\\n\\\\n --generated-psb | --gpsb (string)\\\\n\\\\n Specifies the generated PSB option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --language | --lang (string)\\\\n\\\\n Specifies the language interface of the program or a GPSB or defined a DOPT(Y)\\\\n program as using the JAVA language (ASSEM, COBOL, JAVA, PASCAL, PLI).\\\\n\\\\n Allowed values: ASSEM, COBOL, JAVA, PASCAL, PLI\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies the LOCK status is to be set (ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies to return response lines for all resources that are processed. It is\\\\n only valid with --name * (ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --resident | -r (string)\\\\n\\\\n Specifies the resident option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --schedule-type | --schdtype (string)\\\\n\\\\n Specifies whether this application program can be scheduled into more than one\\\\n message region or batch message region simultaneously (PARALLEL or SERIAL).\\\\n\\\\n Allowed values: PARALLEL, SERIAL\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update an application program named PGM123 to execute\\\\n exclusively as Fast Path:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM123\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Update all application programs beginning with ACC* to not\\\\n run in a BMP type region:\\\\n\\\\n $ zowe ims update program \\\\\\"ACC*\\\\\\" --bmptype \\\\\\"N\\\\\\"\\\\n\\\\n - Unlock all programs beginning with PGM* to allow\\\\n scheduling:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM*\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Update an application program named PGM890 to execute as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM890\\\\\\" --fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Unlock an application programs named XYZ1 to allow\\\\n scheduling specifying optional connection parameters:\\\\n\\\\n $ zowe ims update program \\\\\\"XYZ1\\\\\\" --lock \\\\\\"OFF\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to update. The maximum length of a\\\\n program name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --bmp-type | --bmptype (string)\\\\n\\\\n Specifies whether the program runs in a BMP type region or not. (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --dynamic | --dopt (string)\\\\n\\\\n Specifies the dynamic option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E or N).\\\\n\\\\n Allowed values: E, N\\\\n\\\\n --generated-psb | --gpsb (string)\\\\n\\\\n Specifies the generated PSB option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --language | --lang (string)\\\\n\\\\n Specifies the language interface of the program or a GPSB or defined a DOPT(Y)\\\\n program as using the JAVA language (ASSEM, COBOL, JAVA, PASCAL, PLI).\\\\n\\\\n Allowed values: ASSEM, COBOL, JAVA, PASCAL, PLI\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies the LOCK status is to be set (ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies to return response lines for all resources that are processed. It is\\\\n only valid with --name * (ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --resident | -r (string)\\\\n\\\\n Specifies the resident option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --schedule-type | --schdtype (string)\\\\n\\\\n Specifies whether this application program can be scheduled into more than one\\\\n message region or batch message region simultaneously (PARALLEL or SERIAL).\\\\n\\\\n Allowed values: PARALLEL, SERIAL\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update an application program named PGM123 to execute\\\\n exclusively as Fast Path:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM123\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Update all application programs beginning with ACC* to not\\\\n run in a BMP type region:\\\\n\\\\n $ zowe ims update program \\\\\\"ACC*\\\\\\" --bmptype \\\\\\"N\\\\\\"\\\\n\\\\n - Unlock all programs beginning with PGM* to allow\\\\n scheduling:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM*\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Update an application program named PGM890 to execute as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM890\\\\\\" --fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Unlock an application programs named XYZ1 to allow\\\\n scheduling specifying optional connection parameters:\\\\n\\\\n $ zowe ims update program \\\\\\"XYZ1\\\\\\" --lock \\\\\\"OFF\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n program | pgm\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS application program.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update program [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the application program(s) to update. The maximum length of a\\\\n program name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --bmp-type | --bmptype (string)\\\\n\\\\n Specifies whether the program runs in a BMP type region or not. (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --dynamic | --dopt (string)\\\\n\\\\n Specifies the dynamic option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E or N).\\\\n\\\\n Allowed values: E, N\\\\n\\\\n --generated-psb | --gpsb (string)\\\\n\\\\n Specifies the generated PSB option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --language | --lang (string)\\\\n\\\\n Specifies the language interface of the program or a GPSB or defined a DOPT(Y)\\\\n program as using the JAVA language (ASSEM, COBOL, JAVA, PASCAL, PLI).\\\\n\\\\n Allowed values: ASSEM, COBOL, JAVA, PASCAL, PLI\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies the LOCK status is to be set (ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies to return response lines for all resources that are processed. It is\\\\n only valid with --name * (ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --resident | -r (string)\\\\n\\\\n Specifies the resident option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --schedule-type | --schdtype (string)\\\\n\\\\n Specifies whether this application program can be scheduled into more than one\\\\n message region or batch message region simultaneously (PARALLEL or SERIAL).\\\\n\\\\n Allowed values: PARALLEL, SERIAL\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update an application program named PGM123 to execute\\\\n exclusively as Fast Path:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM123\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Update all application programs beginning with ACC* to not\\\\n run in a BMP type region:\\\\n\\\\n $ zowe ims update program \\\\\\"ACC*\\\\\\" --bmptype \\\\\\"N\\\\\\"\\\\n\\\\n - Unlock all programs beginning with PGM* to allow\\\\n scheduling:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM*\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Update an application program named PGM890 to execute as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update program \\\\\\"PGM890\\\\\\" --fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Unlock an application programs named XYZ1 to allow\\\\n scheduling specifying optional connection parameters:\\\\n\\\\n $ zowe ims update program \\\\\\"XYZ1\\\\\\" --lock \\\\\\"OFF\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `; diff --git a/__tests__/__integration__/cli/update/transaction/__snapshots__/cli.update.transaction.integration.test.ts.snap b/__tests__/__integration__/cli/update/transaction/__snapshots__/cli.update.transaction.integration.test.ts.snap index 589ebe7..69f3ae6 100644 --- a/__tests__/__integration__/cli/update/transaction/__snapshots__/cli.update.transaction.integration.test.ts.snap +++ b/__tests__/__integration__/cli/update/transaction/__snapshots__/cli.update.transaction.integration.test.ts.snap @@ -28,207 +28,207 @@ exports[`Update transaction command should display the help 1`] = ` OPTIONS ------- - --aoi-cmd | --aocmd (string) + --aoi-cmd | --aocmd (string) Specifies the AOI option that you want to change (N, CMD, TRAN, Y). Allowed values: N, CMD, TRAN, Y - --class | -c (array) + --class | -c (array) Selects the transactions associated with the specified class or classes to be updated. - --commit-mode | --cmtmode (string) + --commit-mode | --cmtmode (string) Specifies when database updates and non-express output messages are committed (SNGL, MULT). Allowed values: SINGLE, MODE - --conversation | --conv (string) + --conversation | --conv (string) Specifies the conversation option (N or Y). Allowed values: N, Y - --current-priority | --cpri (number) + --current-priority | --cpri (number) Specifies a new value for the current priority of a transaction. - --directed-routing | --dirroute (string) + --directed-routing | --dirroute (string) Specifies the MSC directed routing option (N or Y). Allowed values: N, Y - --edit-routine | --editrtn (string) + --edit-routine | --editrtn (string) Specifies the 1- to 8-character name of your transaction input edit routine that edits messages before the program receives the message. - --edit-uppercase | --edituc (string) + --edit-uppercase | --edituc (string) Specifies the edit to uppercase option (N or Y). Allowed values: N, Y - --emh-buffer-size | --emhbsz (number) + --emh-buffer-size | --emhbsz (number) Specifies the EMH buffer size required to run the Fast Path transaction. - --expiration-time | --exprtime (number) + --expiration-time | --exprtime (number) Specifies the elapsed time in seconds that IMS can use to cancel the input transaction. - --fast-path | --fp (string) + --fast-path | --fp (string) Specifies the Fast Path option (E, N, P). Allowed values: E, N, P - --inquiry | --inq (string) + --inquiry | --inq (string) Specifies the inquiry option (N or Y). Allowed values: N, Y - --limit-count | --lct (number) + --limit-count | --lct (number) Specifies the limit count. - --limit-priority | --lpri (number) + --limit-priority | --lpri (number) Specifies the limit priority. - --lock | -l (string) + --lock | -l (string) Specifies that the LOCK status is to be set on or off. Cannot be specified with any other SET attribute(ON or OFF). Allowed values: ON, OFF - --log-write-ahead | --dclwa (string) + --log-write-ahead | --dclwa (string) Specifies the log write-ahead option (N or Y). Allowed values: N, Y - --maximum-regions | --maxrgn (number) + --maximum-regions | --maxrgn (number) Specifies a new value for the maximum number of regions that can be simultaneously scheduled for a given transaction. - --message-type | --msgtype (string) + --message-type | --msgtype (string) Specifies the message type (single segment or multiple segment) (MULTSEG or SNGLSEG). Allowed values: MULTSEG, SNGLSEG - --msname | --mn (string) + --msname | --mn (string) Specifies the one- to eight-character name of the logical link path in a multiple IMS system configuration (MSC). - --normal-scheduling-priority | --npri (number) + --normal-scheduling-priority | --npri (number) Specifies the normal scheduling priority. - --option | -o (string) + --option | -o (string) Specifies functions to be performed along with the command (AFFIN or ALLRSP). Allowed values: ALLRSP - --parallel-processing-limit | --parlim (number) + --parallel-processing-limit | --parlim (number) Specifies the parallel processing limit count. - --program | --pgm (string) + --program | --pgm (string) Specifies the name of the application program associated with the transaction. - --processing-limit-count | --plct (number) + --processing-limit-count | --plct (number) Specifies the processing limit count. - --processing-limit-count-time | --plcttime (number) + --processing-limit-count-time | --plcttime (number) Specifies the processing limit count time. - --recover | -r (string) + --recover | -r (string) Specifies the recovery option (N or Y). Allowed values: N, Y - --remote | --re (string) + --remote | --re (string) Specifies the remote option (N or Y). Allowed values: N, Y - --response-mode | --resp (string) + --response-mode | --resp (string) Specifies the response mode option (N or Y). Allowed values: N, Y - --route | --rte (array) + --route | --rte (array) Specifies the region(s) to route the command. - --segment-number | --segno (number) + --segment-number | --segno (number) Specifies the segment number. - --segment-size | --segsz (number) + --segment-size | --segsz (number) Specifies the segment size. - --serial | --sr (string) + --serial | --sr (string) Specifies the serial option (N or Y). Allowed values: N, Y - --set-class | --sc (number) + --set-class | --sc (number) Specifies the transaction class, which is an attribute used to select a transaction for scheduling. - --system-identification-local | --sidl (number) + --system-identification-local | --sidl (number) Specifies the system identification (SYSID) of the local system in a multiple-IMS system (MSC) configuration. - --system-identification-remote | --sidr (number) + --system-identification-remote | --sidr (number) Specifies the system identification (SYSID) of the remote system in a multiple-IMS system (MSC) configuration. - --scratchpad-area-size | --spasz (number) + --scratchpad-area-size | --spasz (number) Specifies the scratchpad area (SPA) size, in bytes, for a conversational transaction. The value can be a number from 16 and 32767. - --scratchpad-area-truncation | --spatrunc (string) + --scratchpad-area-truncation | --spatrunc (string) Specifies the scratchpad area (SPA) truncation option of a conversational transaction (S or R). Allowed values: S, R - --transaction-level-stat | --transtat (string) + --transaction-level-stat | --transtat (string) Specifies whether transaction level statistics should be logged for message driven programs (N or Y). Allowed values: N, Y - --wait-for-input | --wfi (string) + --wait-for-input | --wfi (string) Specifies the wait-for input option (N or Y). @@ -237,43 +237,43 @@ exports[`Update transaction command should display the help 1`] = ` IMS CONNECTION OPTIONS ---------------------- - --host | -H (string) + --host | -H (string) The IMS Operations API server host name. - --port | -P (number) + --port | -P (number) The IMS Operations API server port. - --ims-connect-host | --ich (string) + --ims-connect-host | --ich (string) The hostname of your instance of IMS Connect. This is typically the hostname of the mainframe LPAR where IMS Connect is running. - --ims-connect-port | --icp (number) + --ims-connect-port | --icp (number) The port of your instance of IMS Connect. This port can be found in your IMS Connect configuration file on the mainframe. - --plex | -x (string) + --plex | -x (string) The name of the IMS plex. - --user | -u (string) + --user | -u (string) The web server user name where the IMS Operations API resides. - --password | --pass (string) + --password | --pass (string) The web server user password where the IMS Operations API resides. - --base-path | --bp (string) + --base-path | --bp (string) The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer. - --protocol (string) + --protocol (string) Specifies protocol (http or https). @@ -283,44 +283,44 @@ exports[`Update transaction command should display the help 1`] = ` PROFILE OPTIONS --------------- - --ims-profile | --ims-p (string) + --ims-profile | --ims-p (string) The name of a (ims) profile to load for this command execution. - --base-profile | --base-p (string) + --base-profile | --base-p (string) The name of a (base) profile to load for this command execution. BASE CONNECTION OPTIONS ----------------------- - --reject-unauthorized | --ru (boolean) + --reject-unauthorized | --ru (boolean) Reject self-signed certificates. Default value: true - --token-type | --tt (string) + --token-type | --tt (string) The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'. - --token-value | --tv (string) + --token-value | --tv (string) The value of the token to pass to the API. - --cert-file (local file path) + --cert-file (local file path) The file path to a certificate file to use for authentication - --cert-key-file (local file path) + --cert-key-file (local file path) The file path to a certificate key file to use for authentication RESPONSE FORMAT OPTIONS ----------------------- - --response-format-filter | --rff (array) + --response-format-filter | --rff (array) Filter (include) fields in the response. Accepts an array of field/property names to include in the output response. You can filter JSON objects properties @@ -328,7 +328,7 @@ exports[`Update transaction command should display the help 1`] = ` with '--response-format-type' to reduce the output of a command to a single field/property or a list of a single field/property. - --response-format-type | --rft (string) + --response-format-type | --rft (string) The command response output format type. Must be one of the following: @@ -348,7 +348,7 @@ exports[`Update transaction command should display the help 1`] = ` Allowed values: table, list, object, string - --response-format-header | --rfh (boolean) + --response-format-header | --rfh (boolean) If \\"--response-format-type table\\" is specified, include the column headers in the output. @@ -356,19 +356,19 @@ exports[`Update transaction command should display the help 1`] = ` GLOBAL OPTIONS -------------- - --response-format-json | --rfj (boolean) + --response-format-json | --rfj (boolean) Produce JSON formatted data from a command - --help | -h (boolean) + --help | -h (boolean) Display help text - --help-examples (boolean) + --help-examples (boolean) Display examples for all the commands in a group - --help-web | --hw (boolean) + --help-web | --hw (boolean) Display HTML help in browser @@ -404,8 +404,8 @@ exports[`Update transaction command should display the help 1`] = ` \\"success\\": true, \\"exitCode\\": 0, \\"message\\": \\"The help was constructed for command: transaction.\\", - \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to update. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --aoi-cmd | --aocmd (string)\\\\n\\\\n Specifies the AOI option that you want to change (N, CMD, TRAN, Y).\\\\n\\\\n Allowed values: N, CMD, TRAN, Y\\\\n\\\\n --class | -c (array)\\\\n\\\\n Selects the transactions associated with the specified class or classes to be\\\\n updated.\\\\n\\\\n --commit-mode | --cmtmode (string)\\\\n\\\\n Specifies when database updates and non-express output messages are committed\\\\n (SNGL, MULT).\\\\n\\\\n Allowed values: SINGLE, MODE\\\\n\\\\n --conversation | --conv (string)\\\\n\\\\n Specifies the conversation option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --current-priority | --cpri (number)\\\\n\\\\n Specifies a new value for the current priority of a transaction.\\\\n\\\\n --directed-routing | --dirroute (string)\\\\n\\\\n Specifies the MSC directed routing option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --edit-routine | --editrtn (string)\\\\n\\\\n Specifies the 1- to 8-character name of your transaction input edit routine that\\\\n edits messages before the program receives the message.\\\\n\\\\n --edit-uppercase | --edituc (string)\\\\n\\\\n Specifies the edit to uppercase option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --emh-buffer-size | --emhbsz (number)\\\\n\\\\n Specifies the EMH buffer size required to run the Fast Path transaction.\\\\n\\\\n --expiration-time | --exprtime (number)\\\\n\\\\n Specifies the elapsed time in seconds that IMS can use to cancel the input\\\\n transaction.\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E, N, P).\\\\n\\\\n Allowed values: E, N, P\\\\n\\\\n --inquiry | --inq (string)\\\\n\\\\n Specifies the inquiry option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --limit-count | --lct (number)\\\\n\\\\n Specifies the limit count.\\\\n\\\\n --limit-priority | --lpri (number)\\\\n\\\\n Specifies the limit priority.\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies that the LOCK status is to be set on or off. Cannot be specified with\\\\n any other SET attribute(ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --log-write-ahead | --dclwa (string)\\\\n\\\\n Specifies the log write-ahead option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --maximum-regions | --maxrgn (number)\\\\n\\\\n Specifies a new value for the maximum number of regions that can be\\\\n simultaneously scheduled for a given transaction.\\\\n\\\\n --message-type | --msgtype (string)\\\\n\\\\n Specifies the message type (single segment or multiple segment) (MULTSEG or\\\\n SNGLSEG).\\\\n\\\\n Allowed values: MULTSEG, SNGLSEG\\\\n\\\\n --msname | --mn (string)\\\\n\\\\n Specifies the one- to eight-character name of the logical link path in a\\\\n multiple IMS system configuration (MSC).\\\\n\\\\n --normal-scheduling-priority | --npri (number)\\\\n\\\\n Specifies the normal scheduling priority.\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies functions to be performed along with the command (AFFIN or ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --parallel-processing-limit | --parlim (number)\\\\n\\\\n Specifies the parallel processing limit count.\\\\n\\\\n --program | --pgm (string)\\\\n\\\\n Specifies the name of the application program associated with the transaction.\\\\n\\\\n --processing-limit-count | --plct (number)\\\\n\\\\n Specifies the processing limit count.\\\\n\\\\n --processing-limit-count-time | --plcttime (number)\\\\n\\\\n Specifies the processing limit count time.\\\\n\\\\n --recover | -r (string)\\\\n\\\\n Specifies the recovery option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --remote | --re (string)\\\\n\\\\n Specifies the remote option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --response-mode | --resp (string)\\\\n\\\\n Specifies the response mode option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --segment-number | --segno (number)\\\\n\\\\n Specifies the segment number.\\\\n\\\\n --segment-size | --segsz (number)\\\\n\\\\n Specifies the segment size.\\\\n\\\\n --serial | --sr (string)\\\\n\\\\n Specifies the serial option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --set-class | --sc (number)\\\\n\\\\n Specifies the transaction class, which is an attribute used to select a\\\\n transaction for scheduling.\\\\n\\\\n --system-identification-local | --sidl (number)\\\\n\\\\n Specifies the system identification (SYSID) of the local system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --system-identification-remote | --sidr (number)\\\\n\\\\n Specifies the system identification (SYSID) of the remote system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --scratchpad-area-size | --spasz (number)\\\\n\\\\n Specifies the scratchpad area (SPA) size, in bytes, for a conversational\\\\n transaction. The value can be a number from 16 and 32767.\\\\n\\\\n --scratchpad-area-truncation | --spatrunc (string)\\\\n\\\\n Specifies the scratchpad area (SPA) truncation option of a conversational\\\\n transaction (S or R).\\\\n\\\\n Allowed values: S, R\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged for message\\\\n driven programs (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --wait-for-input | --wfi (string)\\\\n\\\\n Specifies the wait-for input option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update a transaction named TRN1 to process exclusively as\\\\n Fast Path:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN1\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Unlock to allow scheduling all transactions beginning with\\\\n TRN* and associated with class CLASSA:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN*\\\\\\" --class \\\\\\"CLASSA\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Set response mode on for transaction named TRN2 and\\\\n associated with classes CLASS1 and CLASS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN2\\\\\\" --class \\\\\\"CLASS1 CLASS2\\\\\\" --resp \\\\\\"Y\\\\\\"\\\\n\\\\n - Update a transaction named TRN3 to process exclusively as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN3\\\\\\" -fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Associate PGM1 with transaction named TRN4 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN4\\\\\\" --pgm \\\\\\"PGM1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", + \\"stdout\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to update. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --aoi-cmd | --aocmd (string)\\\\n\\\\n Specifies the AOI option that you want to change (N, CMD, TRAN, Y).\\\\n\\\\n Allowed values: N, CMD, TRAN, Y\\\\n\\\\n --class | -c (array)\\\\n\\\\n Selects the transactions associated with the specified class or classes to be\\\\n updated.\\\\n\\\\n --commit-mode | --cmtmode (string)\\\\n\\\\n Specifies when database updates and non-express output messages are committed\\\\n (SNGL, MULT).\\\\n\\\\n Allowed values: SINGLE, MODE\\\\n\\\\n --conversation | --conv (string)\\\\n\\\\n Specifies the conversation option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --current-priority | --cpri (number)\\\\n\\\\n Specifies a new value for the current priority of a transaction.\\\\n\\\\n --directed-routing | --dirroute (string)\\\\n\\\\n Specifies the MSC directed routing option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --edit-routine | --editrtn (string)\\\\n\\\\n Specifies the 1- to 8-character name of your transaction input edit routine that\\\\n edits messages before the program receives the message.\\\\n\\\\n --edit-uppercase | --edituc (string)\\\\n\\\\n Specifies the edit to uppercase option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --emh-buffer-size | --emhbsz (number)\\\\n\\\\n Specifies the EMH buffer size required to run the Fast Path transaction.\\\\n\\\\n --expiration-time | --exprtime (number)\\\\n\\\\n Specifies the elapsed time in seconds that IMS can use to cancel the input\\\\n transaction.\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E, N, P).\\\\n\\\\n Allowed values: E, N, P\\\\n\\\\n --inquiry | --inq (string)\\\\n\\\\n Specifies the inquiry option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --limit-count | --lct (number)\\\\n\\\\n Specifies the limit count.\\\\n\\\\n --limit-priority | --lpri (number)\\\\n\\\\n Specifies the limit priority.\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies that the LOCK status is to be set on or off. Cannot be specified with\\\\n any other SET attribute(ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --log-write-ahead | --dclwa (string)\\\\n\\\\n Specifies the log write-ahead option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --maximum-regions | --maxrgn (number)\\\\n\\\\n Specifies a new value for the maximum number of regions that can be\\\\n simultaneously scheduled for a given transaction.\\\\n\\\\n --message-type | --msgtype (string)\\\\n\\\\n Specifies the message type (single segment or multiple segment) (MULTSEG or\\\\n SNGLSEG).\\\\n\\\\n Allowed values: MULTSEG, SNGLSEG\\\\n\\\\n --msname | --mn (string)\\\\n\\\\n Specifies the one- to eight-character name of the logical link path in a\\\\n multiple IMS system configuration (MSC).\\\\n\\\\n --normal-scheduling-priority | --npri (number)\\\\n\\\\n Specifies the normal scheduling priority.\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies functions to be performed along with the command (AFFIN or ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --parallel-processing-limit | --parlim (number)\\\\n\\\\n Specifies the parallel processing limit count.\\\\n\\\\n --program | --pgm (string)\\\\n\\\\n Specifies the name of the application program associated with the transaction.\\\\n\\\\n --processing-limit-count | --plct (number)\\\\n\\\\n Specifies the processing limit count.\\\\n\\\\n --processing-limit-count-time | --plcttime (number)\\\\n\\\\n Specifies the processing limit count time.\\\\n\\\\n --recover | -r (string)\\\\n\\\\n Specifies the recovery option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --remote | --re (string)\\\\n\\\\n Specifies the remote option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --response-mode | --resp (string)\\\\n\\\\n Specifies the response mode option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --segment-number | --segno (number)\\\\n\\\\n Specifies the segment number.\\\\n\\\\n --segment-size | --segsz (number)\\\\n\\\\n Specifies the segment size.\\\\n\\\\n --serial | --sr (string)\\\\n\\\\n Specifies the serial option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --set-class | --sc (number)\\\\n\\\\n Specifies the transaction class, which is an attribute used to select a\\\\n transaction for scheduling.\\\\n\\\\n --system-identification-local | --sidl (number)\\\\n\\\\n Specifies the system identification (SYSID) of the local system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --system-identification-remote | --sidr (number)\\\\n\\\\n Specifies the system identification (SYSID) of the remote system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --scratchpad-area-size | --spasz (number)\\\\n\\\\n Specifies the scratchpad area (SPA) size, in bytes, for a conversational\\\\n transaction. The value can be a number from 16 and 32767.\\\\n\\\\n --scratchpad-area-truncation | --spatrunc (string)\\\\n\\\\n Specifies the scratchpad area (SPA) truncation option of a conversational\\\\n transaction (S or R).\\\\n\\\\n Allowed values: S, R\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged for message\\\\n driven programs (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --wait-for-input | --wfi (string)\\\\n\\\\n Specifies the wait-for input option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update a transaction named TRN1 to process exclusively as\\\\n Fast Path:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN1\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Unlock to allow scheduling all transactions beginning with\\\\n TRN* and associated with class CLASSA:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN*\\\\\\" --class \\\\\\"CLASSA\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Set response mode on for transaction named TRN2 and\\\\n associated with classes CLASS1 and CLASS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN2\\\\\\" --class \\\\\\"CLASS1 CLASS2\\\\\\" --resp \\\\\\"Y\\\\\\"\\\\n\\\\n - Update a transaction named TRN3 to process exclusively as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN3\\\\\\" -fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Associate PGM1 with transaction named TRN4 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN4\\\\\\" --pgm \\\\\\"PGM1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\", \\"stderr\\": \\"\\", - \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to update. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --aoi-cmd | --aocmd (string)\\\\n\\\\n Specifies the AOI option that you want to change (N, CMD, TRAN, Y).\\\\n\\\\n Allowed values: N, CMD, TRAN, Y\\\\n\\\\n --class | -c (array)\\\\n\\\\n Selects the transactions associated with the specified class or classes to be\\\\n updated.\\\\n\\\\n --commit-mode | --cmtmode (string)\\\\n\\\\n Specifies when database updates and non-express output messages are committed\\\\n (SNGL, MULT).\\\\n\\\\n Allowed values: SINGLE, MODE\\\\n\\\\n --conversation | --conv (string)\\\\n\\\\n Specifies the conversation option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --current-priority | --cpri (number)\\\\n\\\\n Specifies a new value for the current priority of a transaction.\\\\n\\\\n --directed-routing | --dirroute (string)\\\\n\\\\n Specifies the MSC directed routing option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --edit-routine | --editrtn (string)\\\\n\\\\n Specifies the 1- to 8-character name of your transaction input edit routine that\\\\n edits messages before the program receives the message.\\\\n\\\\n --edit-uppercase | --edituc (string)\\\\n\\\\n Specifies the edit to uppercase option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --emh-buffer-size | --emhbsz (number)\\\\n\\\\n Specifies the EMH buffer size required to run the Fast Path transaction.\\\\n\\\\n --expiration-time | --exprtime (number)\\\\n\\\\n Specifies the elapsed time in seconds that IMS can use to cancel the input\\\\n transaction.\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E, N, P).\\\\n\\\\n Allowed values: E, N, P\\\\n\\\\n --inquiry | --inq (string)\\\\n\\\\n Specifies the inquiry option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --limit-count | --lct (number)\\\\n\\\\n Specifies the limit count.\\\\n\\\\n --limit-priority | --lpri (number)\\\\n\\\\n Specifies the limit priority.\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies that the LOCK status is to be set on or off. Cannot be specified with\\\\n any other SET attribute(ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --log-write-ahead | --dclwa (string)\\\\n\\\\n Specifies the log write-ahead option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --maximum-regions | --maxrgn (number)\\\\n\\\\n Specifies a new value for the maximum number of regions that can be\\\\n simultaneously scheduled for a given transaction.\\\\n\\\\n --message-type | --msgtype (string)\\\\n\\\\n Specifies the message type (single segment or multiple segment) (MULTSEG or\\\\n SNGLSEG).\\\\n\\\\n Allowed values: MULTSEG, SNGLSEG\\\\n\\\\n --msname | --mn (string)\\\\n\\\\n Specifies the one- to eight-character name of the logical link path in a\\\\n multiple IMS system configuration (MSC).\\\\n\\\\n --normal-scheduling-priority | --npri (number)\\\\n\\\\n Specifies the normal scheduling priority.\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies functions to be performed along with the command (AFFIN or ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --parallel-processing-limit | --parlim (number)\\\\n\\\\n Specifies the parallel processing limit count.\\\\n\\\\n --program | --pgm (string)\\\\n\\\\n Specifies the name of the application program associated with the transaction.\\\\n\\\\n --processing-limit-count | --plct (number)\\\\n\\\\n Specifies the processing limit count.\\\\n\\\\n --processing-limit-count-time | --plcttime (number)\\\\n\\\\n Specifies the processing limit count time.\\\\n\\\\n --recover | -r (string)\\\\n\\\\n Specifies the recovery option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --remote | --re (string)\\\\n\\\\n Specifies the remote option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --response-mode | --resp (string)\\\\n\\\\n Specifies the response mode option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --segment-number | --segno (number)\\\\n\\\\n Specifies the segment number.\\\\n\\\\n --segment-size | --segsz (number)\\\\n\\\\n Specifies the segment size.\\\\n\\\\n --serial | --sr (string)\\\\n\\\\n Specifies the serial option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --set-class | --sc (number)\\\\n\\\\n Specifies the transaction class, which is an attribute used to select a\\\\n transaction for scheduling.\\\\n\\\\n --system-identification-local | --sidl (number)\\\\n\\\\n Specifies the system identification (SYSID) of the local system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --system-identification-remote | --sidr (number)\\\\n\\\\n Specifies the system identification (SYSID) of the remote system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --scratchpad-area-size | --spasz (number)\\\\n\\\\n Specifies the scratchpad area (SPA) size, in bytes, for a conversational\\\\n transaction. The value can be a number from 16 and 32767.\\\\n\\\\n --scratchpad-area-truncation | --spatrunc (string)\\\\n\\\\n Specifies the scratchpad area (SPA) truncation option of a conversational\\\\n transaction (S or R).\\\\n\\\\n Allowed values: S, R\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged for message\\\\n driven programs (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --wait-for-input | --wfi (string)\\\\n\\\\n Specifies the wait-for input option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update a transaction named TRN1 to process exclusively as\\\\n Fast Path:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN1\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Unlock to allow scheduling all transactions beginning with\\\\n TRN* and associated with class CLASSA:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN*\\\\\\" --class \\\\\\"CLASSA\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Set response mode on for transaction named TRN2 and\\\\n associated with classes CLASS1 and CLASS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN2\\\\\\" --class \\\\\\"CLASS1 CLASS2\\\\\\" --resp \\\\\\"Y\\\\\\"\\\\n\\\\n - Update a transaction named TRN3 to process exclusively as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN3\\\\\\" -fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Associate PGM1 with transaction named TRN4 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN4\\\\\\" --pgm \\\\\\"PGM1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" + \\"data\\": \\"\\\\n COMMAND NAME\\\\n ------------\\\\n\\\\n transaction | tran\\\\n\\\\n DESCRIPTION\\\\n -----------\\\\n\\\\n Update an IMS transaction.\\\\n\\\\n USAGE\\\\n -----\\\\n\\\\n zowe ims update transaction [name...] [options]\\\\n\\\\n POSITIONAL ARGUMENTS\\\\n --------------------\\\\n\\\\n name...\\\\t\\\\t (string)\\\\n\\\\n The name of the transaction(s) to update. The maximum length of a transaction\\\\n name is eight characters.\\\\n\\\\n OPTIONS\\\\n -------\\\\n\\\\n --aoi-cmd | --aocmd (string)\\\\n\\\\n Specifies the AOI option that you want to change (N, CMD, TRAN, Y).\\\\n\\\\n Allowed values: N, CMD, TRAN, Y\\\\n\\\\n --class | -c (array)\\\\n\\\\n Selects the transactions associated with the specified class or classes to be\\\\n updated.\\\\n\\\\n --commit-mode | --cmtmode (string)\\\\n\\\\n Specifies when database updates and non-express output messages are committed\\\\n (SNGL, MULT).\\\\n\\\\n Allowed values: SINGLE, MODE\\\\n\\\\n --conversation | --conv (string)\\\\n\\\\n Specifies the conversation option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --current-priority | --cpri (number)\\\\n\\\\n Specifies a new value for the current priority of a transaction.\\\\n\\\\n --directed-routing | --dirroute (string)\\\\n\\\\n Specifies the MSC directed routing option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --edit-routine | --editrtn (string)\\\\n\\\\n Specifies the 1- to 8-character name of your transaction input edit routine that\\\\n edits messages before the program receives the message.\\\\n\\\\n --edit-uppercase | --edituc (string)\\\\n\\\\n Specifies the edit to uppercase option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --emh-buffer-size | --emhbsz (number)\\\\n\\\\n Specifies the EMH buffer size required to run the Fast Path transaction.\\\\n\\\\n --expiration-time | --exprtime (number)\\\\n\\\\n Specifies the elapsed time in seconds that IMS can use to cancel the input\\\\n transaction.\\\\n\\\\n --fast-path | --fp (string)\\\\n\\\\n Specifies the Fast Path option (E, N, P).\\\\n\\\\n Allowed values: E, N, P\\\\n\\\\n --inquiry | --inq (string)\\\\n\\\\n Specifies the inquiry option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --limit-count | --lct (number)\\\\n\\\\n Specifies the limit count.\\\\n\\\\n --limit-priority | --lpri (number)\\\\n\\\\n Specifies the limit priority.\\\\n\\\\n --lock | -l (string)\\\\n\\\\n Specifies that the LOCK status is to be set on or off. Cannot be specified with\\\\n any other SET attribute(ON or OFF).\\\\n\\\\n Allowed values: ON, OFF\\\\n\\\\n --log-write-ahead | --dclwa (string)\\\\n\\\\n Specifies the log write-ahead option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --maximum-regions | --maxrgn (number)\\\\n\\\\n Specifies a new value for the maximum number of regions that can be\\\\n simultaneously scheduled for a given transaction.\\\\n\\\\n --message-type | --msgtype (string)\\\\n\\\\n Specifies the message type (single segment or multiple segment) (MULTSEG or\\\\n SNGLSEG).\\\\n\\\\n Allowed values: MULTSEG, SNGLSEG\\\\n\\\\n --msname | --mn (string)\\\\n\\\\n Specifies the one- to eight-character name of the logical link path in a\\\\n multiple IMS system configuration (MSC).\\\\n\\\\n --normal-scheduling-priority | --npri (number)\\\\n\\\\n Specifies the normal scheduling priority.\\\\n\\\\n --option | -o (string)\\\\n\\\\n Specifies functions to be performed along with the command (AFFIN or ALLRSP).\\\\n\\\\n Allowed values: ALLRSP\\\\n\\\\n --parallel-processing-limit | --parlim (number)\\\\n\\\\n Specifies the parallel processing limit count.\\\\n\\\\n --program | --pgm (string)\\\\n\\\\n Specifies the name of the application program associated with the transaction.\\\\n\\\\n --processing-limit-count | --plct (number)\\\\n\\\\n Specifies the processing limit count.\\\\n\\\\n --processing-limit-count-time | --plcttime (number)\\\\n\\\\n Specifies the processing limit count time.\\\\n\\\\n --recover | -r (string)\\\\n\\\\n Specifies the recovery option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --remote | --re (string)\\\\n\\\\n Specifies the remote option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --response-mode | --resp (string)\\\\n\\\\n Specifies the response mode option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --route | --rte (array)\\\\n\\\\n Specifies the region(s) to route the command.\\\\n\\\\n --segment-number | --segno (number)\\\\n\\\\n Specifies the segment number.\\\\n\\\\n --segment-size | --segsz (number)\\\\n\\\\n Specifies the segment size.\\\\n\\\\n --serial | --sr (string)\\\\n\\\\n Specifies the serial option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --set-class | --sc (number)\\\\n\\\\n Specifies the transaction class, which is an attribute used to select a\\\\n transaction for scheduling.\\\\n\\\\n --system-identification-local | --sidl (number)\\\\n\\\\n Specifies the system identification (SYSID) of the local system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --system-identification-remote | --sidr (number)\\\\n\\\\n Specifies the system identification (SYSID) of the remote system in a\\\\n multiple-IMS system (MSC) configuration.\\\\n\\\\n --scratchpad-area-size | --spasz (number)\\\\n\\\\n Specifies the scratchpad area (SPA) size, in bytes, for a conversational\\\\n transaction. The value can be a number from 16 and 32767.\\\\n\\\\n --scratchpad-area-truncation | --spatrunc (string)\\\\n\\\\n Specifies the scratchpad area (SPA) truncation option of a conversational\\\\n transaction (S or R).\\\\n\\\\n Allowed values: S, R\\\\n\\\\n --transaction-level-stat | --transtat (string)\\\\n\\\\n Specifies whether transaction level statistics should be logged for message\\\\n driven programs (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n --wait-for-input | --wfi (string)\\\\n\\\\n Specifies the wait-for input option (N or Y).\\\\n\\\\n Allowed values: N, Y\\\\n\\\\n IMS CONNECTION OPTIONS\\\\n ----------------------\\\\n\\\\n --host | -H (string)\\\\n\\\\n The IMS Operations API server host name.\\\\n\\\\n --port | -P (number)\\\\n\\\\n The IMS Operations API server port.\\\\n\\\\n --ims-connect-host | --ich (string)\\\\n\\\\n The hostname of your instance of IMS Connect. This is typically the hostname of\\\\n the mainframe LPAR where IMS Connect is running.\\\\n\\\\n --ims-connect-port | --icp (number)\\\\n\\\\n The port of your instance of IMS Connect. This port can be found in your IMS\\\\n Connect configuration file on the mainframe.\\\\n\\\\n --plex | -x (string)\\\\n\\\\n The name of the IMS plex.\\\\n\\\\n --user | -u (string)\\\\n\\\\n The web server user name where the IMS Operations API resides.\\\\n\\\\n --password | --pass (string)\\\\n\\\\n The web server user password where the IMS Operations API resides.\\\\n\\\\n --base-path | --bp (string)\\\\n\\\\n The base path for your API mediation layer instance. Specify this option to\\\\n prepend the base path to all z/OSMF resources when making REST requests. Do not\\\\n specify this option if you are not using an API mediation layer.\\\\n\\\\n --protocol (string)\\\\n\\\\n Specifies protocol (http or https).\\\\n\\\\n Default value: https\\\\n Allowed values: http, https\\\\n\\\\n PROFILE OPTIONS\\\\n ---------------\\\\n\\\\n --ims-profile | --ims-p (string)\\\\n\\\\n The name of a (ims) profile to load for this command execution.\\\\n\\\\n --base-profile | --base-p (string)\\\\n\\\\n The name of a (base) profile to load for this command execution.\\\\n\\\\n BASE CONNECTION OPTIONS\\\\n -----------------------\\\\n\\\\n --reject-unauthorized | --ru (boolean)\\\\n\\\\n Reject self-signed certificates.\\\\n\\\\n Default value: true\\\\n\\\\n --token-type | --tt (string)\\\\n\\\\n The type of token to get and use for the API. Omit this option to use the\\\\n default token type, which is provided by 'zowe auth login'.\\\\n\\\\n --token-value | --tv (string)\\\\n\\\\n The value of the token to pass to the API.\\\\n\\\\n --cert-file (local file path)\\\\n\\\\n The file path to a certificate file to use for authentication\\\\n\\\\n --cert-key-file (local file path)\\\\n\\\\n The file path to a certificate key file to use for authentication\\\\n\\\\n RESPONSE FORMAT OPTIONS\\\\n -----------------------\\\\n\\\\n --response-format-filter | --rff (array)\\\\n\\\\n Filter (include) fields in the response. Accepts an array of field/property\\\\n names to include in the output response. You can filter JSON objects properties\\\\n OR table columns/fields. In addition, you can use this option in conjunction\\\\n with '--response-format-type' to reduce the output of a command to a single\\\\n field/property or a list of a single field/property.\\\\n\\\\n --response-format-type | --rft (string)\\\\n\\\\n The command response output format type. Must be one of the following:\\\\n\\\\n table: Formats output data as a table. Use this option when the output data is\\\\n an array of homogeneous JSON objects. Each property of the object will become a\\\\n column in the table.\\\\n\\\\n list: Formats output data as a list of strings. Can be used on any data type\\\\n (JSON objects/arrays) are stringified and a new line is added after each entry\\\\n in an array.\\\\n\\\\n object: Formats output data as a list of prettified objects (or single object).\\\\n Can be used in place of \\\\\\"table\\\\\\" to change from tabular output to a list of\\\\n prettified objects.\\\\n\\\\n string: Formats output data as a string. JSON objects/arrays are stringified.\\\\n\\\\n Allowed values: table, list, object, string\\\\n\\\\n --response-format-header | --rfh (boolean)\\\\n\\\\n If \\\\\\"--response-format-type table\\\\\\" is specified, include the column headers in\\\\n the output.\\\\n\\\\n GLOBAL OPTIONS\\\\n --------------\\\\n\\\\n --response-format-json | --rfj (boolean)\\\\n\\\\n Produce JSON formatted data from a command\\\\n\\\\n --help | -h (boolean)\\\\n\\\\n Display help text\\\\n\\\\n --help-examples (boolean)\\\\n\\\\n Display examples for all the commands in a group\\\\n\\\\n --help-web | --hw (boolean)\\\\n\\\\n Display HTML help in browser\\\\n\\\\n EXAMPLES\\\\n --------\\\\n\\\\n - Update a transaction named TRN1 to process exclusively as\\\\n Fast Path:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN1\\\\\\" --fp \\\\\\"E\\\\\\"\\\\n\\\\n - Unlock to allow scheduling all transactions beginning with\\\\n TRN* and associated with class CLASSA:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN*\\\\\\" --class \\\\\\"CLASSA\\\\\\" --lock \\\\\\"OFF\\\\\\"\\\\n\\\\n - Set response mode on for transaction named TRN2 and\\\\n associated with classes CLASS1 and CLASS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN2\\\\\\" --class \\\\\\"CLASS1 CLASS2\\\\\\" --resp \\\\\\"Y\\\\\\"\\\\n\\\\n - Update a transaction named TRN3 to process exclusively as\\\\n Fast Path routing to control regions IMS1 and IMS2:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN3\\\\\\" -fp \\\\\\"E\\\\\\" --route \\\\\\"IMS1 IMS2\\\\\\"\\\\n\\\\n - Associate PGM1 with transaction named TRN4 specifying\\\\n optional connection parameters:\\\\n\\\\n $ zowe ims update transaction \\\\\\"TRN4\\\\\\" --pgm \\\\\\"PGM1\\\\\\" --user \\\\\\"username\\\\\\" --pass \\\\\\"pass1234\\\\\\" --host \\\\\\"localhost\\\\\\" --port 8080 --ich \\\\\\"zos1\\\\\\" --icp 9999 --plex \\\\\\"PLEX1\\\\\\"\\\\n\\\\n\\" }" `;