diff --git a/README.md b/README.md index 0f00ae47..f1a71346 100644 --- a/README.md +++ b/README.md @@ -87,26 +87,27 @@ Before you install the plug-in, meet the following requirements: 5. [Create a user profile](#create-a-user-profile). -## Create a User Profile +## Creating a user profile -You can create a `zftp` user profile to avoid typing your connection details on every command. A `zftp` profile contains the host, port, username, and password for the z/OS you will connect. You can create multiple profiles and switch between them as needed. +After you install the plug-in, you create an FTP profile. An FTP profile is recommended to issue commands to via FTP. FTP profiles contain your host, port, user name, and password for connect to z/OS using FTP. You can create multiple profiles and switch between them as needed. **Follow these steps:** -1. Create a zftp profile: +1. Install the z/OS FTP Plug-in for Zowe CLI +2. Create an FTP profile: ``` - zowe profiles create zftp -H -u -p -P --secure-ftp true + zowe config init ``` +3. If using a non-standard port, set the port number to your FTP connection: - The result of the command displays as a success or failure message. You can use your profile when you issue commands in the zftp command group. - -**Notice** The option `--secure-ftp true` is strongly recommended if FTPS (FTP over SSL) is enabled in z/OS FTP service. This is not the same as SFTP (FTP over SSH). - -**Tip:** For more information about the syntax, actions, and options, for a profiles create command, open Zowe CLI and issue the following command: + ``` + zowe config set profiles.zftp.properties.port + ``` +4. If using a insecure connection, set the secureFtp value to false: -``` -zowe profiles create zftp -h -``` + ``` + zowe config set profiles.zftp.properties.secureFtp false + ``` ## Running tests diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index e35ad067..856dd127 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -16,9 +16,9 @@ "@types/node": "^18.19.21", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", - "@zowe/cli": "^8.0.0-next.202403041352", - "@zowe/cli-test-utils": "^8.0.0-next.202403041352", - "@zowe/imperative": "^8.0.0-next.202403041352", + "@zowe/cli": "^8.0.0-next.202403061549", + "@zowe/cli-test-utils": "^8.0.0-next.202403061549", + "@zowe/imperative": "^8.0.0-next.202403061549", "env-cmd": "^10.1.0", "eslint": "^8.57.0", "eslint-plugin-jest": "^27.9.0", @@ -2421,23 +2421,23 @@ "dev": true }, "node_modules/@zowe/cli": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-8.0.0-next.202403041352.tgz", - "integrity": "sha512-l8bAds2R8hz9ZnS4C20Q1NbtBKKXAT+HkrENjdvnvuSDizqXgcsSu9kYDkP5UVYALrNnc/ZukF0lfnc5PXi2EA==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli/-/@zowe/cli-8.0.0-next.202403061549.tgz", + "integrity": "sha512-7h3SfrtF21R1gG8xGc0/gMffpMHGTrJd0HDvgzKd2NdriPzc5bqDTkjFYgjOWu0fxPFKB3ZLoLQR6Jg6mpYkMA==", "dev": true, "hasInstallScript": true, "dependencies": { - "@zowe/core-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/imperative": "8.0.0-next.202403041352", - "@zowe/provisioning-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-console-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-jobs-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-logs-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-tso-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-uss-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zos-workflows-for-zowe-sdk": "8.0.0-next.202403041352", - "@zowe/zosmf-for-zowe-sdk": "8.0.0-next.202403041352", + "@zowe/core-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/imperative": "8.0.0-next.202403061549", + "@zowe/provisioning-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-console-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-jobs-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-logs-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-tso-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-uss-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zos-workflows-for-zowe-sdk": "8.0.0-next.202403061549", + "@zowe/zosmf-for-zowe-sdk": "8.0.0-next.202403061549", "find-process": "1.4.7", "lodash": "4.17.21", "minimatch": "9.0.3", @@ -2450,13 +2450,13 @@ "node": ">=18.12.0" }, "optionalDependencies": { - "@zowe/secrets-for-zowe-sdk": "8.0.0-next.202403041352" + "@zowe/secrets-for-zowe-sdk": "8.0.0-next.202403061549" } }, "node_modules/@zowe/cli-test-utils": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli-test-utils/-/@zowe/cli-test-utils-8.0.0-next.202403041352.tgz", - "integrity": "sha512-Ybi6Q0Wfr+4AHHMScYIyUHMtWLlKd1ImO5fyvTYBVUNO9OCPNS2uZnAXi09RYWrMGOgxlfFRwXWC+8B0acluPg==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/cli-test-utils/-/@zowe/cli-test-utils-8.0.0-next.202403061549.tgz", + "integrity": "sha512-v07jJxTaxEyJOhMq50i28f/ydw8kPWw1R/xQduB5ICNf8lK6s01iZy4gTNIaiqe/3bVRcsAFwhF4/Xr08qpSPA==", "dev": true, "dependencies": { "find-up": "^5.0.0", @@ -2554,9 +2554,9 @@ } }, "node_modules/@zowe/core-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-LUf4r6VKi02qcWgYWNZEjMRZd017HLTjhvkr8kOiUdB98w7ZYvVJd+H4CfHqUnjSy21HqTGgSyA4EVZpPWBY2A==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/core-for-zowe-sdk/-/@zowe/core-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-/fZCXX5em6Clg7rU66VE7LF5GQzpTvq1x+Ssi95go0nZmRzGo2inEdsCxjY8uiB/soELeG2JbfBTTc7cJ8gHLQ==", "dev": true, "dependencies": { "comment-json": "~4.2.3", @@ -2570,9 +2570,9 @@ } }, "node_modules/@zowe/imperative": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-8.0.0-next.202403041352.tgz", - "integrity": "sha512-Q49MW3AS0V5eNvk3LxxVgUkQ6nC4qcDJUPqyaZIQb5cei2eemDfvDWmWiiNKFtQY8WJMott+mKzMyW6iDD37HA==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/imperative/-/@zowe/imperative-8.0.0-next.202403061549.tgz", + "integrity": "sha512-G4ffGKdQKd676IZxTYyC3u2s5b0+29wCpdHA7Tve7TlpNUlwM3pNUQriQpkTuDG6+MqLtqQh2y6cVwVHR57V8w==", "dev": true, "dependencies": { "@types/yargs": "^17.0.32", @@ -2701,9 +2701,9 @@ } }, "node_modules/@zowe/provisioning-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-OM6la5bRJgHJxGRJLDa6qKf5YJDm20nW4De3pi8r7KxW/fjfgGyW2CZSdr5bzDw2/N2hw131z5shoMGdx03lRw==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/provisioning-for-zowe-sdk/-/@zowe/provisioning-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-oKYlquBmcoWvWrerudLEsfp0YBtfl/xEL9kmRXyylouj2rWLKk9W78jzvZwsONm/qlpsSBz8/Hm/r0cw9IMeQw==", "dev": true, "dependencies": { "js-yaml": "^4.1.0" @@ -2717,9 +2717,9 @@ } }, "node_modules/@zowe/secrets-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/secrets-for-zowe-sdk/-/@zowe/secrets-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-AVl6n3Ldbrj2LLar4dOTLBi27W1Jzd75iLajPqMAogHH7I8iPhAkzQzptWUOhH0bDEEwoQpg+cLBweMzhDdzUg==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/secrets-for-zowe-sdk/-/@zowe/secrets-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-v9zxQyWh36+rWCMemgDfqSVsxEE113k/QAkwZRqFCwQipmM75/ezfHI24nsTuTn9D2xWrhitQ/t/T2SbmPFFpg==", "dev": true, "hasInstallScript": true, "optional": true, @@ -2728,9 +2728,9 @@ } }, "node_modules/@zowe/zos-console-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-XJ8jKelyVyQr6COGxBO4J4IkSlNCg3egyGt3C8cQSvcQ13e5fF09wnjkXsKl10P0Rl3Z/UTDpZw+TW5DSWDO1g==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-console-for-zowe-sdk/-/@zowe/zos-console-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-l7JDX1S9/XGVwCdV3TRVdY4DPlnREvSqiMyAD614FHnjTQbA2bmxXCLdpiSlUz7att1WmWHfuNLBoW0j9cCJog==", "dev": true, "engines": { "node": ">=18.12.0" @@ -2741,9 +2741,9 @@ } }, "node_modules/@zowe/zos-files-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-huw5+E4g4mo8iSwqW5kqlHxV72TRg2l9JSGKX9SKsiht8wsR7ILdcWadWR2vrUcmoP4JMEtyKjWOQtJ3X+MkPg==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-files-for-zowe-sdk/-/@zowe/zos-files-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-7ZZkIbAbYZHn5jSPbDi3jVs9/YPpGBp9S1MDik+qIhbu6VUGyd8zZ7Xq0DTiZHfYOmOMAweHq8ATwOY/zcmlWg==", "dev": true, "dependencies": { "minimatch": "^9.0.3" @@ -2781,12 +2781,12 @@ } }, "node_modules/@zowe/zos-jobs-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-M30sEALmM5mB3kV4CKMYf5aEU4AQHbAMUzZlPt7/WACPQPwef9Sxd/Zk/sebcRq3A7SAhxszzrwQzFWY7WRHfA==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-jobs-for-zowe-sdk/-/@zowe/zos-jobs-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-a3wwbLWynvlHEj904HGp3GoWcXTDG/3bxOoltvbYtWIXywFd0VzVeAkLM+jcOzNEIKQ8tAtFPis3WMl3Ffvpvg==", "dev": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403041352" + "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403061549" }, "engines": { "node": ">=18.12.0" @@ -2797,9 +2797,9 @@ } }, "node_modules/@zowe/zos-logs-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-PKeYumflw333cOZRYgy2DT4hsMeU/Bv+124Z4b3+Zy20Oii0GmtYc3OER+h2yMKSgF59rg4hHUlC4jRpNol5BQ==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-logs-for-zowe-sdk/-/@zowe/zos-logs-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-K20onBjwExpzJKWxmU+hCH5XGHq2RCUguQeEiFvX94fS9yOmKUxBW5PSYHVFEJS6Gqj2L/ZLRkZbwD8TNGEOIA==", "dev": true, "engines": { "node": ">=18.12.0" @@ -2810,12 +2810,12 @@ } }, "node_modules/@zowe/zos-tso-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-3ITslHy8qyCIPJP0/Y01T1oocgpZB4EPLYJvwwZbSMdB1xL0+odwNmiT5wn7EDKlKIwTGXk9qk0vtXHJIvz18w==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-tso-for-zowe-sdk/-/@zowe/zos-tso-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-V7lDBYpo3/EWU8WlG9A8Ym++0d3008tBe5xX1+TRNUT+Kh/OFEcJF74kgSHZbQxnlyBnQBM0c98txa8KUgY4nQ==", "dev": true, "dependencies": { - "@zowe/zosmf-for-zowe-sdk": "8.0.0-next.202403041352" + "@zowe/zosmf-for-zowe-sdk": "8.0.0-next.202403061549" }, "engines": { "node": ">=18.12.0" @@ -2826,9 +2826,9 @@ } }, "node_modules/@zowe/zos-uss-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-HZra7WUDLuG7ATN3nycQFKV0xTNB00/73PpfXm/A1WmpqctaQKsDgje5Epfjd+paAztecb1gixJf0z07yMac2A==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-uss-for-zowe-sdk/-/@zowe/zos-uss-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-mAQJBXXi67MCPVtPeNHQpHiJpTV6agnQNuvQNQfY0yrPhp5AoOX1XP5Yj+7aTN7fHcofP6SQ23Rad/ZS6xhKPA==", "dev": true, "dependencies": { "ssh2": "^1.15.0" @@ -2841,12 +2841,12 @@ } }, "node_modules/@zowe/zos-workflows-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-OFwM0fe/3QHqQHDk/Ie0S9+GybRWiPaR9aMVgrqjJyPibQ78pATkNUsrF7GHRml0F3iBJwxphaxfge8LPIcuQQ==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zos-workflows-for-zowe-sdk/-/@zowe/zos-workflows-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-Q0y/FBHJbZpM5WGnOi0u+wX9ykePc/ujxZPxfkhVWbQa768DU4w1anKWjNYd6NC+r4AwiRBtJOgU2bH92aWurQ==", "dev": true, "dependencies": { - "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403041352" + "@zowe/zos-files-for-zowe-sdk": "8.0.0-next.202403061549" }, "engines": { "node": ">=18.12.0" @@ -2857,9 +2857,9 @@ } }, "node_modules/@zowe/zosmf-for-zowe-sdk": { - "version": "8.0.0-next.202403041352", - "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-8.0.0-next.202403041352.tgz", - "integrity": "sha512-/pmQ9TKTskcmtjnmCInuO9Ibh3ThR1jnhf1KPsY/02QA7vk9WRCDVITik8RiZF51aKCrnzLDTTwyUlfKzQ3pFQ==", + "version": "8.0.0-next.202403061549", + "resolved": "https://zowe.jfrog.io/zowe/api/npm/npm-release/@zowe/zosmf-for-zowe-sdk/-/@zowe/zosmf-for-zowe-sdk-8.0.0-next.202403061549.tgz", + "integrity": "sha512-IHGyt+FIMpqxpAUFyE1hdMr4RDCXdqeSCdhN/VnIoyibcPYyBjFVGnun6ceib1q6qXdMls1/wNAEPJuBVE96Bg==", "dev": true, "engines": { "node": ">=18.12.0" @@ -7429,9 +7429,9 @@ } }, "node_modules/nan": { - "version": "2.18.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.18.0.tgz", - "integrity": "sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==", + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index 17602f82..0df91a8a 100644 --- a/package.json +++ b/package.json @@ -47,9 +47,9 @@ "@types/node": "^18.19.21", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", - "@zowe/cli": "^8.0.0-next.202403041352", - "@zowe/cli-test-utils": "^8.0.0-next.202403041352", - "@zowe/imperative": "^8.0.0-next.202403041352", + "@zowe/cli": "^8.0.0-next.202403061549", + "@zowe/cli-test-utils": "^8.0.0-next.202403061549", + "@zowe/imperative": "^8.0.0-next.202403061549", "env-cmd": "^10.1.0", "eslint": "^8.57.0", "eslint-plugin-jest": "^27.9.0", diff --git a/release.config.js b/release.config.js index e5249b1f..3525371c 100644 --- a/release.config.js +++ b/release.config.js @@ -1,3 +1,14 @@ +/* + * 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. + * + */ + module.exports = { branches: [ {