@zowe/db2-for-zowe-cli 5.0.24 → 5.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -151,6 +151,35 @@ After the uninstallation process completes successfully, the product no longer c
151
151
 
152
152
  ## Troubleshooting
153
153
 
154
+ ### The `ibm_db` module is not installed
155
+
156
+ **Error message**: The `zowe plugins install` command fails, and the `Error Details` of the failure contain the following text:
157
+ ```
158
+ IBM® Db2® Plug-in for Zowe CLI was installed, but its required 'ibm_db' module could not be loaded.
159
+ Db2 commands will fail until the installation of 'ibm_db' is completed.
160
+ ```
161
+
162
+ The IBM Db2 Plug-in for Zowe CLI is installed and registered with Zowe CLI when this failure occurs. Only the `ibm_db` module is incomplete, so you do not need to reinstall the plug-in.
163
+
164
+ **Cause**: The plug-in delivers `ibm_db` as a bundled dependency, so that the plug-in can be installed without access to a public npm registry. However, `ibm_db` is a native module. Its own npm install script must download the IBM Db2 ODBC CLI driver and build the binding for your platform. npm does not run the lifecycle scripts of a bundled dependency, so that install script does not run when the plug-in is installed. The `--allow-scripts` option of the `zowe plugins install` command does not change that behavior, because npm skips the scripts of bundled dependencies even when scripts are allowed.
165
+
166
+ **Action**: Run the `ibm_db` install script yourself. The error message contains the full path to the `ibm_db` directory on your system, which is normally the following path:
167
+
168
+ ```
169
+ <zowe home>/plugins/installed/node_modules/@zowe/db2-for-zowe-cli/node_modules/ibm_db
170
+ ```
171
+
172
+ Change to that directory and run the `ibm_db` install script:
173
+
174
+ ```bash
175
+ cd "<zowe home>/plugins/installed/node_modules/@zowe/db2-for-zowe-cli/node_modules/ibm_db"
176
+ npm run install
177
+ ```
178
+
179
+ If npm is not available, run the same script directly with `node installer/driverInstall.js`. You must run the script from the `ibm_db` directory, because `ibm_db` installs the CLI driver relative to the current directory.
180
+
181
+ The script downloads the CLI driver from `https://public.dhe.ibm.com`, so the system needs network access to that site. If the system already has a Db2 client, a Db2 server, or a copy of the CLI driver, set the `IBM_DB_HOME` environment variable to that directory before you run the script to skip the download. For more `ibm_db` installation options, see the `README.md` file in the `ibm_db` directory.
182
+
154
183
  ### Node.js version incompatible with plug-in
155
184
 
156
185
  **Error message**:
@@ -0,0 +1,82 @@
1
+ import { AbstractPluginLifeCycle } from "@zowe/imperative";
2
+ /**
3
+ * Life cycle actions for the Db2 plug-in.
4
+ *
5
+ * The plug-in delivers the native `ibm_db` module as a bundled dependency.
6
+ * NPM does not run the lifecycle scripts of bundled dependencies (and as of
7
+ * NPM v12 it does not run them even when scripts are allowed), so the driver
8
+ * install script that `ibm_db` relies on never runs during a plug-in install.
9
+ * We use the post-install hook to detect that condition and to tell the user
10
+ * how to complete the installation themselves.
11
+ *
12
+ * @export
13
+ * @class Db2PluginLifeCycle
14
+ */
15
+ declare class Db2PluginLifeCycle extends AbstractPluginLifeCycle {
16
+ /**
17
+ * The name of the native module that Db2 commands require.
18
+ * @type {string}
19
+ * @static
20
+ * @memberof Db2PluginLifeCycle
21
+ */
22
+ static readonly NATIVE_MODULE_NM: string;
23
+ /**
24
+ * Confirm that the bundled native module can be loaded after the plug-in
25
+ * has been installed. When it cannot be loaded, report the steps that the
26
+ * user must perform to finish the installation.
27
+ *
28
+ * @throws {ImperativeError}
29
+ * When the native module cannot be loaded. The message contains the
30
+ * steps that complete the installation.
31
+ * @memberof Db2PluginLifeCycle
32
+ */
33
+ postInstall(): void;
34
+ /**
35
+ * The Db2 plug-in makes no changes outside of its own installation
36
+ * directory, so nothing must be reverted before it is uninstalled.
37
+ *
38
+ * @memberof Db2PluginLifeCycle
39
+ */
40
+ preUninstall(): void;
41
+ /**
42
+ * Attempt to load the native module that Db2 commands require.
43
+ *
44
+ * @private
45
+ * @static
46
+ * @throws If the native module is missing or installation is incomplete.
47
+ * @memberof Db2PluginLifeCycle
48
+ */
49
+ private static loadNativeModule;
50
+ /**
51
+ * Form the message that tells the user how to finish the installation of
52
+ * the native module that this plug-in bundles.
53
+ *
54
+ * @private
55
+ * @static
56
+ * @param {string} reason The reason that the native module could not be loaded.
57
+ * @returns {string} The multi-line message to report to the user.
58
+ * @memberof Db2PluginLifeCycle
59
+ */
60
+ private static formIncompleteInstallMsg;
61
+ /**
62
+ * Find the directory into which the native module was installed, so that
63
+ * we can show the user exactly where to run its install script.
64
+ *
65
+ * @private
66
+ * @static
67
+ * @returns {string} The path to the directory of the native module.
68
+ * @memberof Db2PluginLifeCycle
69
+ */
70
+ private static findNativeModuleDir;
71
+ /**
72
+ * A horizontal rule used to make the reported steps stand out among the
73
+ * other messages that are displayed while a plug-in is installed.
74
+ *
75
+ * @private
76
+ * @static
77
+ * @returns {string}
78
+ * @memberof Db2PluginLifeCycle
79
+ */
80
+ private static get dividerLine();
81
+ }
82
+ export = Db2PluginLifeCycle;
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ /*
3
+ * This program and the accompanying materials are made available under the terms of the *
4
+ * Eclipse Public License v2.0 which accompanies this distribution, and is available at *
5
+ * https://www.eclipse.org/legal/epl-v20.html *
6
+ * *
7
+ * SPDX-License-Identifier: EPL-2.0 *
8
+ * *
9
+ * Copyright Contributors to the Zowe Project. *
10
+ * *
11
+ */
12
+ const path = require("path");
13
+ const imperative_1 = require("@zowe/imperative");
14
+ const Constants_1 = require("./Constants");
15
+ /**
16
+ * Life cycle actions for the Db2 plug-in.
17
+ *
18
+ * The plug-in delivers the native `ibm_db` module as a bundled dependency.
19
+ * NPM does not run the lifecycle scripts of bundled dependencies (and as of
20
+ * NPM v12 it does not run them even when scripts are allowed), so the driver
21
+ * install script that `ibm_db` relies on never runs during a plug-in install.
22
+ * We use the post-install hook to detect that condition and to tell the user
23
+ * how to complete the installation themselves.
24
+ *
25
+ * @export
26
+ * @class Db2PluginLifeCycle
27
+ */
28
+ class Db2PluginLifeCycle extends imperative_1.AbstractPluginLifeCycle {
29
+ /**
30
+ * Confirm that the bundled native module can be loaded after the plug-in
31
+ * has been installed. When it cannot be loaded, report the steps that the
32
+ * user must perform to finish the installation.
33
+ *
34
+ * @throws {ImperativeError}
35
+ * When the native module cannot be loaded. The message contains the
36
+ * steps that complete the installation.
37
+ * @memberof Db2PluginLifeCycle
38
+ */
39
+ postInstall() {
40
+ const impLogger = imperative_1.Logger.getImperativeLogger();
41
+ try {
42
+ Db2PluginLifeCycle.loadNativeModule();
43
+ impLogger.debug(`The '${Db2PluginLifeCycle.NATIVE_MODULE_NM}' module was loaded successfully ` +
44
+ `after the installation of ${Constants_1.Constants.DISPLAY_NAME}.`);
45
+ }
46
+ catch (err) {
47
+ const warningMsg = Db2PluginLifeCycle.formIncompleteInstallMsg(err instanceof Error ? err.message : String(err));
48
+ impLogger.warn(warningMsg);
49
+ throw new imperative_1.ImperativeError({ msg: warningMsg });
50
+ }
51
+ }
52
+ /**
53
+ * The Db2 plug-in makes no changes outside of its own installation
54
+ * directory, so nothing must be reverted before it is uninstalled.
55
+ *
56
+ * @memberof Db2PluginLifeCycle
57
+ */
58
+ preUninstall() {
59
+ // nothing to do
60
+ }
61
+ /**
62
+ * Attempt to load the native module that Db2 commands require.
63
+ *
64
+ * @private
65
+ * @static
66
+ * @throws If the native module is missing or installation is incomplete.
67
+ * @memberof Db2PluginLifeCycle
68
+ */
69
+ static loadNativeModule() {
70
+ require(Db2PluginLifeCycle.NATIVE_MODULE_NM);
71
+ }
72
+ /**
73
+ * Form the message that tells the user how to finish the installation of
74
+ * the native module that this plug-in bundles.
75
+ *
76
+ * @private
77
+ * @static
78
+ * @param {string} reason The reason that the native module could not be loaded.
79
+ * @returns {string} The multi-line message to report to the user.
80
+ * @memberof Db2PluginLifeCycle
81
+ */
82
+ static formIncompleteInstallMsg(reason) {
83
+ const nativeMod = Db2PluginLifeCycle.NATIVE_MODULE_NM;
84
+ const nativeModDir = Db2PluginLifeCycle.findNativeModuleDir();
85
+ return `\n${Db2PluginLifeCycle.dividerLine}\n` +
86
+ `${Constants_1.Constants.DISPLAY_NAME} was installed, but its required '${nativeMod}' module could not be loaded.\n` +
87
+ `Db2 commands will fail until the installation of '${nativeMod}' is completed.\n` +
88
+ `\n` +
89
+ `Reason = ${reason}\n` +
90
+ `\n` +
91
+ `The plug-in delivers '${nativeMod}' as a bundled dependency, so that the plug-in can be installed\n` +
92
+ `without access to a public NPM registry. However, '${nativeMod}' is a native module. Its own NPM install\n` +
93
+ `script must download the IBM Db2 ODBC CLI driver and build the binding for your platform. NPM does\n` +
94
+ `not run the lifecycle scripts of a bundled dependency, so that install script did not run on this\n` +
95
+ `system. The '--allow-scripts' option of 'plugins install' does not change that behavior, because\n` +
96
+ `NPM skips the scripts of bundled dependencies even when scripts are allowed.\n` +
97
+ `\n` +
98
+ `To finish the installation, run that install script yourself:\n` +
99
+ `\n` +
100
+ ` cd "${nativeModDir}"\n` +
101
+ ` npm run install\n` +
102
+ `\n` +
103
+ `You must run the script from the directory shown above, because '${nativeMod}' installs the CLI driver\n` +
104
+ `relative to the current directory.\n` +
105
+ `\n` +
106
+ `The script downloads the CLI driver from https://public.dhe.ibm.com, so the system needs network\n` +
107
+ `access to that site. If this system already has a Db2 client, a Db2 server, or a copy of the CLI\n` +
108
+ `driver, set the IBM_DB_HOME environment variable to that directory before you run the script to\n` +
109
+ `skip the download.\n` +
110
+ `\n` +
111
+ `See ${path.join(nativeModDir, "README.md")} for more '${nativeMod}' installation options.\n` +
112
+ `${Db2PluginLifeCycle.dividerLine}\n`;
113
+ }
114
+ /**
115
+ * Find the directory into which the native module was installed, so that
116
+ * we can show the user exactly where to run its install script.
117
+ *
118
+ * @private
119
+ * @static
120
+ * @returns {string} The path to the directory of the native module.
121
+ * @memberof Db2PluginLifeCycle
122
+ */
123
+ static findNativeModuleDir() {
124
+ const nativeMod = Db2PluginLifeCycle.NATIVE_MODULE_NM;
125
+ try {
126
+ /* The module cannot be loaded, but its package.json can still be
127
+ * resolved, which reflects wherever NPM placed the module.
128
+ */
129
+ return path.dirname(require.resolve(`${nativeMod}/package.json`));
130
+ }
131
+ catch (err) {
132
+ // fall back to the location that a bundled dependency normally occupies
133
+ return path.resolve(__dirname, "..", "node_modules", nativeMod);
134
+ }
135
+ }
136
+ /**
137
+ * A horizontal rule used to make the reported steps stand out among the
138
+ * other messages that are displayed while a plug-in is installed.
139
+ *
140
+ * @private
141
+ * @static
142
+ * @returns {string}
143
+ * @memberof Db2PluginLifeCycle
144
+ */
145
+ static get dividerLine() {
146
+ var _a;
147
+ const defaultWidth = 100;
148
+ return "_".repeat(Math.min(((_a = process.stdout) === null || _a === void 0 ? void 0 : _a.columns) || Infinity, defaultWidth));
149
+ }
150
+ }
151
+ /**
152
+ * The name of the native module that Db2 commands require.
153
+ * @type {string}
154
+ * @static
155
+ * @memberof Db2PluginLifeCycle
156
+ */
157
+ Db2PluginLifeCycle.NATIVE_MODULE_NM = "ibm_db";
158
+ module.exports = Db2PluginLifeCycle;
159
+ //# sourceMappingURL=Db2PluginLifeCycle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Db2PluginLifeCycle.js","sourceRoot":"","sources":["../src/Db2PluginLifeCycle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;AAEF,6BAA6B;AAC7B,iDAAoF;AACpF,2CAAwC;AAExC;;;;;;;;;;;;GAYG;AACH,MAAM,kBAAmB,SAAQ,oCAAuB;IASpD;;;;;;;;;OASG;IACI,WAAW;QACd,MAAM,SAAS,GAAG,mBAAM,CAAC,mBAAmB,EAAE,CAAC;QAC/C,IAAI;YACA,kBAAkB,CAAC,gBAAgB,EAAE,CAAC;YACtC,SAAS,CAAC,KAAK,CAAC,QAAQ,kBAAkB,CAAC,gBAAgB,mCAAmC;gBAC1F,6BAA6B,qBAAS,CAAC,YAAY,GAAG,CACzD,CAAC;SACL;QAAC,OAAO,GAAG,EAAE;YACV,MAAM,UAAU,GAAG,kBAAkB,CAAC,wBAAwB,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;YACjH,SAAS,CAA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OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,SAAS,eAAe,CAAC,CAAC,CAAC;SACrE;QAAC,OAAO,GAAG,EAAE;YACV,wEAAwE;YACxE,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,CAAC,CAAC;SACnE;IACL,CAAC;IAED;;;;;;;;OAQG;IACK,MAAM,KAAK,WAAW;;QAC1B,MAAM,YAAY,GAAG,GAAG,CAAC;QACzB,OAAO,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA,MAAA,OAAO,CAAC,MAAM,0CAAE,OAAO,KAAI,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC;IACnF,CAAC;;AApID;;;;;GAKG;AACoB,mCAAgB,GAAW,QAAQ,CAAC;AAiI/D,iBAAS,kBAAkB,CAAC"}
package/lib/imperative.js CHANGED
@@ -15,7 +15,7 @@ const config = {
15
15
  commandModuleGlobs: ["**/cli/*/*.definition!(.d).*s"],
16
16
  rootCommandDescription: Constants_1.Constants.DESCRIPTION,
17
17
  productDisplayName: Constants_1.Constants.DISPLAY_NAME,
18
- pluginHealthCheck: "./lib/HealthCheck.handler",
18
+ pluginLifeCycle: "lib/Db2PluginLifeCycle.js",
19
19
  profiles: [
20
20
  {
21
21
  type: "db2",
@@ -1 +1 @@
1
- {"version":3,"file":"imperative.js","sourceRoot":"","sources":["../src/imperative.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;AAGF,2CAAwC;AAExC,MAAM,MAAM,GAAsB;IAC9B,IAAI,EAAE,qBAAS,CAAC,SAAS;IACzB,kBAAkB,EAAE,CAAC,+BAA+B,CAAC;IACrD,sBAAsB,EAAE,qBAAS,CAAC,WAAW;IAC7C,kBAAkB,EAAE,qBAAS,CAAC,YAAY;IAC1C,iBAAiB,EAAE,2BAA2B;IAC9C,QAAQ,EAAE;QACN;YACI,IAAI,EAAE,KAAK;YACX,MA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B;qBACJ;oBACD,QAAQ,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,MAAM,EAAE,IAAI;wBACZ,gBAAgB,EAAE;4BACd,IAAI,EAAE,UAAU;4BAChB,OAAO,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC;4BACvB,WAAW,EAAE,wDAAwD;4BACrE,IAAI,EAAE,QAAQ;yBACjB;qBACJ;oBACD,QAAQ,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE;4BACd,IAAI,EAAE,UAAU;4BAChB,OAAO,EAAE,CAAC,GAAG,CAAC;4BACd,WAAW,EAAE,0BAA0B;4BACvC,IAAI,EAAE,QAAQ;yBACjB;qBACJ;oBACD,OAAO,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,gBAAgB,EAAE;4BACd,IAAI,EAAE,UAAU;4BAChB,OAAO,EAAE,CAAC,GAAG,CAAC;4BACd,WAAW,EAAE,iCAAiC;4BAC9C,IAAI,EAAE,QAAQ;yBACjB;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,iBAAS,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zowe/db2-for-zowe-cli",
3
- "version": "5.0.24",
3
+ "version": "5.0.25",
4
4
  "description": "IBM® Db2® Plug-in for Zowe CLI",
5
5
  "author": "Zowe",
6
6
  "license": "EPL-2.0",
@@ -13,8 +13,7 @@
13
13
  "registry": "https://registry.npmjs.org/"
14
14
  },
15
15
  "files": [
16
- "lib",
17
- "npm-shrinkwrap.json"
16
+ "lib"
18
17
  ],
19
18
  "scripts": {
20
19
  "prebuild": "npm run clean && npm run lint && echo Using TypeScript && tsc --version",
@@ -1,2 +0,0 @@
1
- declare const _default: () => boolean;
2
- export = _default;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /*
3
- * This program and the accompanying materials are made available under the terms of the *
4
- * Eclipse Public License v2.0 which accompanies this distribution, and is available at *
5
- * https://www.eclipse.org/legal/epl-v20.html *
6
- * *
7
- * SPDX-License-Identifier: EPL-2.0 *
8
- * *
9
- * Copyright Contributors to the Zowe Project. *
10
- * *
11
- */
12
- module.exports = () => {
13
- return true;
14
- };
15
- //# sourceMappingURL=HealthCheck.handler.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HealthCheck.handler.js","sourceRoot":"","sources":["../src/HealthCheck.handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE;AAEF,iBAAS,GAAG,EAAE;IACV,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC"}