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
As a plug-in for Zowe CLI, we aim to follow their guidelines. Our plugin is based on the Imperative CLI framework.
46
+
47
+
| For more information about ... | See: |
48
+
| ------------------------------ | ----- |
49
+
| Conventions and best practices for creating packages and plug-ins for Zowe CLI |[Package and Plug-in Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/PackagesAndPluginGuidelines.md)|
50
+
| Guidelines for running tests on the plug-ins that you build for Zowe CLI |[Plug-in Testing Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/PluginTESTINGGuidelines.md)|
51
+
| Documentation that describes the features of the Imperative CLI Framework |[About Imperative CLI Framework](https://github.com/zowe/imperative/wiki)|
52
+
53
+
As per the testing guidelines above, all code should have unit tests. System tests should be written for cases where it's not necessary to interact with a remote CICS system.
54
+
55
+
Please make sure all tests pass before opening a PR.
56
+
25
57
### Licensing
26
58
27
59
All code must have an EPL v2.0 header. Please add the following to any new files you create:
@@ -93,24 +125,20 @@ To save you having to type the above for every commit, Git can add the `Signed-o
93
125
94
126
If you haven't signed each commit, then the pull request will fail to pass all checks.
-*dev*: our main dev branch, which will work with Zowe CLI @lts-incremental. New pull requests should normally be made into this branch.
132
+
-*master*: our release branch, which will work with Zowe CLI @lts-incremental. Project maintainers will merge code into here from `dev` when we're ready to release.
133
+
-*zowe-dev*: a branch which works with Zowe CLI@daily so we can prepare for forthcoming major releases of Zowe CLI.
106
134
107
-
For guidelines on developing Zowe CLI plug-ins see the [Zowe CLI GitHub repository](https://github.com/zowe/zowe-cli). The following information is critical to working with the code, running/writing/maintaining automated tests, developing consistent syntax and ensuring that the plug-in integrates with Zowe CLI properly:
135
+
### Release process
108
136
109
-
| For more information about ... | See: |
110
-
| ------------------------------ | ----- |
111
-
| General guidelines that apply to contributing to Zowe CLI and plug-ins |[Contribution Guidelines](https://github.com/zowe/zowe-cli/blob/master/CONTRIBUTING.md)|
112
-
| Conventions and best practices for creating packages and plug-ins for Zowe CLI |[Package and Plug-in Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/PackagesAndPluginGuidelines.md)|
113
-
| Guidelines for running tests on Zowe CLI |[Testing Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/TESTING.md)|
114
-
| Guidelines for running tests on the plug-ins that you build for Zowe CLI |[Plug-in Testing Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/PluginTESTINGGuidelines.md)|
115
-
| Documentation that describes the features of the Imperative CLI Framework |[About Imperative CLI Framework](https://github.com/zowe/imperative/wiki)|
116
-
Versioning conventions for Zowe CLI and plug-ins| [Versioning Guidelines](https://github.com/zowe/zowe-cli/blob/master/docs/MaintainerVersioning.md) |
137
+
1. Ensure all code to be released is merged into `dev`.
138
+
2. Create a release branch locally based on `master`.
139
+
3. Merge commits to be relaased into the release branch. Avoid cherry-picking changes so that `master` always remains a subset of `dev`.
140
+
4. Update the version number in `package.json` according to [semantic versioning](https://semver.org/).
141
+
- Note: if the only changes being made are to the documentation, do not update the version number. In this case the GitHub Pages site will be published when `master` is built, but no new version of the plug-in will be published.
142
+
5. Make a PR to merge your release brnach into `master`. The reviewer should make sure all commits are suitable to release and version number has been updated appropriately.
143
+
6. After the PR is merged, Jenkins will run a build of `master` and publish the new version to registry.npmjs.org.
Copy file name to clipboardExpand all lines: README.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,14 @@
2
2
3
3
This project provides a plug-in for [Zowe CLI](https://github.com/zowe/zowe-cli) to deploy applications developed on a workstation to IBM CICS® Transaction Server for z/OS (CICS). It aims to provide an experience similar to deploying to a cloud platform when deploying to CICS®. It will also provide low-level commands for performing individual steps of the deployment process that could be used as part of a CI/CD pipeline.
4
4
5
-
## Status
5
+
## Installing
6
6
7
-
The project was started in February 2019 and is at an early stage of development. It will initially focus on generating and deploying CICS® bundles containing Node.js applications.
8
-
9
-
To try it out, install the plug-in by following the steps in [installing](https://ibm.github.io/zowe-cli-cics-deploy-plugin/installing.html).
7
+
Install the plug-in by following the steps in [installing](https://ibm.github.io/zowe-cli-cics-deploy-plugin/installing.html).
10
8
11
9
## Documentation
12
10
13
11
You can find information and tutorials on using this plug-in in our [documentation](https://ibm.github.io/zowe-cli-cics-deploy-plugin/index.html).
14
12
15
13
## Contributing
16
14
17
-
Contributions are welcome - see the [contribution guidelines](CONTRIBUTING.md). If you have a question or encounter a problem, please search the [issues](https://github.com/IBM/zowe-cli-cics-deploy-plugin/issues)in this repo before raising a [New issue](https://github.com/IBM/zowe-cli-cics-deploy-plugin/issues/new).
15
+
Contributions are welcome - see the [contribution guidelines](CONTRIBUTING.md). If you have a question or encounter a problem, please search the [issues](https://github.com/IBM/zowe-cli-cics-deploy-plugin/issues) before raising a [New issue](https://github.com/IBM/zowe-cli-cics-deploy-plugin/issues/new).
Copy file name to clipboardExpand all lines: docs/pages/cdp/cdp-Common-Errors.md
+27-17Lines changed: 27 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,30 @@ If you experience errors while using the cics-deploy plug-in, check the followin
24
24
25
25
### Application incorrectly deploys in a DISABLED state
26
26
27
-
*Possible cause*: The port requested by the application is already in use.
27
+
*Possible cause:* The port requested by the application is already in use.
28
28
29
-
*Suggested action*: Choose a new port number after double-checking that it is not in use. Redeploy the application using the new value for the port.
29
+
*Suggested action:* Choose a new port number after double-checking that it is not in use. Redeploy the application using the new value for the port.
30
30
31
31
{% include note.html content="An application in a `DISABLED` state does not necessarily indicate an error condition. The `cics-deploy deploy`, `cics-deploy push` and `cics-deploy undeploy` commands allow you to specify a `--target-state` option which you may deliberately choose to set to `DISABLED`." %}
32
32
33
+
### When deploying to multiple regions, the application fails to enable in the second and subsequent regions
34
+
*Possible cause:* The application has deployed successfully in the first region, but subsequent regions see the requested port as in use, and cannot enable the application.
35
+
36
+
*Suggested action:* Confirm the error by searching for `Error: listen EADDRINUSE :::30701` in STDERR. Contact a CICS systems administrator to set up port sharing for the affected port.
37
+
33
38
### Command error: DFHDPLOY stopped processing due to an error
34
39
40
+
<<<<<<< HEAD
35
41
*Possible causes*:
36
42
* The `--scope` and/or `--cicsplex` settings for the current deploy profile are wrong, and don't correctly identify a current CICS® system, CICS® System Group and/or a correct CICSPlex respectively.
43
+
=======
44
+
*Possible causes:*
45
+
* The `--scope` and/or `--cicsplex` settings for the current deploy profile are wrong, and don't correctly identify a current CICS system, CICS System Group and/or a correct CICSPlex respectively.
16:22:50.059562 : RELEASE: HCI7300. SERVICE LEVEL: HCI7300.
@@ -47,16 +57,16 @@ If you experience errors while using the cics-deploy plug-in, check the followin
47
57
16:22:50.065729 : DFHRL2055I Errors have occurred, processing terminated.
48
58
</pre>
49
59
50
-
*Suggested actions*:
60
+
*Suggested actions:*
51
61
52
62
* Confirm that the `--scope` and `--cicsplex` settings are correct.
53
63
* Ask your CICS® Systems Programmer to check that the CMAS for the current CICSPlex is alive and that CPSM is working properly.
54
64
55
65
### Command error: ... validation of - -cicshlq dataset failed: z/OSMF REST API Error
56
66
57
-
*Possible cause*: The profile setting for `--cicshlq` is incorrect.
67
+
*Possible cause:* The profile setting for `--cicshlq` is incorrect.
58
68
59
-
*Representative output*:
69
+
*Representative output:*
60
70
<preclass="messageText">
61
71
A failure occurred during CICS® bundle deployment.
62
72
Reason = Validation of --cicshlq dataset failed: z/OSMF REST API Error:
@@ -69,21 +79,21 @@ details:
69
79
- ISRZ002 Data set not cataloged - 'ANT.CICS.TS.DEV.INTEGRAT.SDFHLOAD' was not found in catalog.
70
80
</pre>
71
81
72
-
*Suggested action*:
73
-
Check that your `--cicshlq` profile setting matches the value configured for CICS® high-level qualifiers in your CICS® region.
82
+
*Suggested action:*
83
+
Check that your `--cicshlq` profile setting matches the value configured for CICS® high-level qualifiers in your CICS region.
74
84
75
85
### BUNDLE ... cannot be deployed (1)
76
86
77
-
*Possible cause*: CICS® does not have permission to read the bundle directory.
87
+
*Possible cause:* CICS® does not have permission to read the bundle directory.
78
88
79
-
*Representative output*:
89
+
*Representative output:*
80
90
<preclass="messageText">
81
91
11:46:15.916293 : DFHRL2300E BUNDLE(CICSJS02) cannot be deployed. The reason for the failure could not be determined.
82
92
11:46:15.922147 : DFHRL2055I Errors have occurred, processing terminated.
83
93
11:46:15.927066 : DFHRL2014I Disconnecting from CICSPLEX(CAPLEX).
84
94
</pre>
85
95
86
-
*Suggested action*:
96
+
*Suggested action:*
87
97
Check the MSGUSR file for more specific diagnostics and if relevant, change the permissions on the offending directory.
88
98
89
99
<preclass="messageText">
@@ -93,9 +103,9 @@ DFHRL0110 E 04/24/2019 11:46:13 CALMAS1 COIE The CICS resource lifecycle manager
93
103
94
104
### BUNDLE ... cannot be deployed (2)
95
105
96
-
*Possible cause*: The `cics.xml` file is malformed.
106
+
*Possible cause:* The `cics.xml` file is malformed.
97
107
98
-
*Representative output*:
108
+
*Representative output:*
99
109
<preclass="messageText">
100
110
15:56:17.411714 : DFHRL2300E BUNDLE(CICSJS02) cannot be deployed. The reason for the failure could not be determined.
101
111
15:56:17.419308 : DFHRL2055I Errors have occurred, processing terminated.
@@ -110,16 +120,16 @@ DFHRL0113 E 05/17/2019 15:56:15 CALMAS1 COIE The CICS resource lifecycle manager
110
120
root directory. The manifest is not valid.
111
121
</pre>
112
122
113
-
*Suggested action*:
123
+
*Suggested action:*
114
124
Check that your `cics.xml` file is well-formed.
115
125
116
126
## General errors
117
127
118
128
### Syntax error: Invalid value length for option
119
129
120
-
*Possible cause*: The length of the option you provided in a command was either too long or two short.
130
+
*Possible cause:* The length of the option you provided in a command was either too long or two short.
121
131
122
-
*Representative output*:
132
+
*Representative output:*
123
133
<preclass="messageText">
124
134
Syntax Error:
125
135
Invalid value length for option:
@@ -131,5 +141,5 @@ NODETESTS
131
141
The length must be between 1 and 8 (inclusive)
132
142
</pre>
133
143
134
-
*Suggested action*:
144
+
*Suggested action:*
135
145
Review the error output text and reissue the original command having corrected the name of the option so that its length falls within acceptable limits.
0 commit comments