You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: __tests__/api/BundleDeploy/__snapshots__/BundleDeployer.test.ts.snap
+9-19Lines changed: 9 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,24 @@
1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
-
exports[`BundleDeployer01 should complain if DFHDPLOY ends with an error 1`] =`"DFHRL2055I"`;
3
+
exports[`BundleDeployer01 should complain if DFHDPLOY ends with an error 1`] =`"DFHDPLOY stopped processing due to an error."`;
4
4
5
-
exports[`BundleDeployer01 should complain if DFHDPLOY ends with an error 2`] =`"DFHDPLOY stopped processing due to an error."`;
5
+
exports[`BundleDeployer01 should complain if SYSTSPRT not found 1`] =`"SYSTSPRT output from DFHDPLOY not found. Most recent status update: 'Submitting DFHDPLOY JCL'."`;
6
6
7
-
exports[`BundleDeployer01 should complain if cicshlq not found 1`] =`"Validation of --cicshlq dataset failed: Cannot read property 'hostname' of undefined"`;
7
+
exports[`BundleDeployer01 should complain if cicshlq not found 1`] =`"Validation of --cicshlq dataset failed: Injected CICSHLQ error"`;
8
8
9
9
exports[`BundleDeployer01 should complain if cicshlq not found2 1`] =`"DFHDPLOY not found in SDFHLOAD within the --cicshlq dataset: 12345678901234567890123456789012345.SDFHLOAD"`;
10
10
11
-
exports[`BundleDeployer01 should complain if cpsmhlq not found 1`] =`"Validation of --cpsmhlq dataset failed: Cannot read property 'hostname' of undefined"`;
11
+
exports[`BundleDeployer01 should complain if cpsmhlq not found 1`] =`"Validation of --cpsmhlq dataset failed: Injected CPSMHLQ error"`;
12
12
13
13
exports[`BundleDeployer01 should complain if cpsmhlq not found2 1`] =`"EYU9ABSI not found in SEYUAUTH within the --cpsmhlq dataset: abcde12345abcde12345abcde12345abcde.SEYUAUTH"`;
14
14
15
-
exports[`BundleDeployer01 should complain if status can't be determined 1`] =`" "`;
16
-
17
-
exports[`BundleDeployer01 should complain if status can't be determined 2`] =`"DFHDPLOY command completed, but status cannot be determined."`;
18
-
19
-
exports[`BundleDeployer01 should complain of SYSTSPRT not found 1`] =`"SYSTSPRT output from DFHDPLOY not found. Most recent status update: 'Submitting DFHDPLOY JCL'."`;
15
+
exports[`BundleDeployer01 should complain if status can't be determined 1`] =`"DFHDPLOY command completed, but status cannot be determined."`;
20
16
21
17
exports[`BundleDeployer01 should complain with missing zOSMF profile for deploy 1`] =`"Expect Error: Required parameter 'hostname' must be defined"`;
22
18
23
19
exports[`BundleDeployer01 should complain with missing zOSMF profile for undeploy 1`] =`"Expect Error: Required parameter 'hostname' must be defined"`;
24
20
25
-
exports[`BundleDeployer01 should complete with warnings 1`] =`"DFHRL2043I"`;
26
-
27
-
exports[`BundleDeployer01 should complete with warnings 2`] =`"DFHDPLOY completed with warnings."`;
21
+
exports[`BundleDeployer01 should complete with warnings 1`] =`"DFHDPLOY completed with warnings."`;
28
22
29
23
exports[`BundleDeployer01 should deploy successfully 1`] =`"Bundle deployment successful."`;
30
24
@@ -365,7 +359,7 @@ UNDEPLOY BUNDLE(12345678)
365
359
"
366
360
`;
367
361
368
-
exports[`BundleDeployer01 should handle failure during submitjobs processing 1`] =`"Failure occurred submitting DFHDPLOY JCL: 'Cannot read property 'hostname' of undefined'. Most recent status update: 'Submitting DFHDPLOY JCL'."`;
362
+
exports[`BundleDeployer01 should handle failure during submitjobs processing 1`] =`"Failure occurred submitting DFHDPLOY JCL: 'Injected Submit error'. Most recent status update: 'Submitting DFHDPLOY JCL'."`;
369
363
370
364
exports[`BundleDeployer01 should support long bundledir 1`] =`
Issue `zowe cics-deploy generate deploy --help` in the command line to return information for the installed `cics-deploy` command group.
21
+
Issue `zowe cics-deploy --help` in the command line to return information for the installed `cics-deploy` command group. Information for
22
+
specific cics-deploy commands can also be displayed, for example `zowe cics-deploy generate bundle --help` will return information
23
+
on generating a CICS bundle.
22
24
23
25
## Using the installed plug-in
24
-
To use the plug-in functionality, issue: `zowe cics-deploy generate bundle`. It will generate meta-data for a simple CICS Bundle into the working directory;
25
-
if the working directory contains a node.js `package.json` file then a NODEJSAPP resource definition will be included in the Bundle meta-data.
26
+
To use the plug-in functionality, issue: `zowe cics-deploy generate bundle`. It will generate meta-data for a simple CICS bundle into the working directory;
27
+
if the working directory contains a node.js `package.json` file then a NODEJSAPP resource definition will be included in the bundle meta-data. Other
28
+
commands such as `zowe cics-deploy deploy bundle` can be issued if required.
26
29
27
30
## Testing the installed plug-in
28
31
To run automated tests against the plug-in, `cd` into your `cics-deploy/zowe-cli-cics-deploy-plugin` folder.
0 commit comments