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
@@ -4,16 +4,14 @@
4
4
5
5
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.
6
6
7
-
## Status
7
+
## Installing
8
8
9
-
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.
10
-
11
-
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).
9
+
Install the plug-in by following the steps in [installing](https://ibm.github.io/zowe-cli-cics-deploy-plugin/installing.html).
12
10
13
11
## Documentation
14
12
15
13
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).
16
14
17
15
## Contributing
18
16
19
-
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).
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) 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
+22-17Lines changed: 22 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,25 @@ 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
35
-
*Possible causes*:
40
+
*Possible causes:*
36
41
* 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 +52,16 @@ If you experience errors while using the cics-deploy plug-in, check the followin
47
52
16:22:50.065729 : DFHRL2055I Errors have occurred, processing terminated.
48
53
</pre>
49
54
50
-
*Suggested actions*:
55
+
*Suggested actions:*
51
56
52
57
* Confirm that the `--scope` and `--cicsplex` settings are correct.
53
58
* Ask your CICS Systems Programmer to check that the CMAS for the current CICSPlex is alive and that CPSM is working properly.
54
59
55
60
### Command error: ... validation of - -cicshlq dataset failed: z/OSMF REST API Error
56
61
57
-
*Possible cause*: The profile setting for `--cicshlq` is incorrect.
62
+
*Possible cause:* The profile setting for `--cicshlq` is incorrect.
58
63
59
-
*Representative output*:
64
+
*Representative output:*
60
65
<preclass="messageText">
61
66
A failure occurred during CICS bundle deployment.
62
67
Reason = Validation of --cicshlq dataset failed: z/OSMF REST API Error:
@@ -69,21 +74,21 @@ details:
69
74
- ISRZ002 Data set not cataloged - 'ANT.CICS.TS.DEV.INTEGRAT.SDFHLOAD' was not found in catalog.
70
75
</pre>
71
76
72
-
*Suggested action*:
77
+
*Suggested action:*
73
78
Check that your `--cicshlq` profile setting matches the value configured for CICS high-level qualifiers in your CICS region.
74
79
75
80
### BUNDLE ... cannot be deployed (1)
76
81
77
-
*Possible cause*: CICS does not have permission to read the bundle directory.
82
+
*Possible cause:* CICS does not have permission to read the bundle directory.
78
83
79
-
*Representative output*:
84
+
*Representative output:*
80
85
<preclass="messageText">
81
86
11:46:15.916293 : DFHRL2300E BUNDLE(CICSJS02) cannot be deployed. The reason for the failure could not be determined.
82
87
11:46:15.922147 : DFHRL2055I Errors have occurred, processing terminated.
83
88
11:46:15.927066 : DFHRL2014I Disconnecting from CICSPLEX(CAPLEX).
84
89
</pre>
85
90
86
-
*Suggested action*:
91
+
*Suggested action:*
87
92
Check the MSGUSR file for more specific diagnostics and if relevant, change the permissions on the offending directory.
88
93
89
94
<preclass="messageText">
@@ -93,9 +98,9 @@ DFHRL0110 E 04/24/2019 11:46:13 CALMAS1 COIE The CICS resource lifecycle manager
93
98
94
99
### BUNDLE ... cannot be deployed (2)
95
100
96
-
*Possible cause*: The `cics.xml` file is malformed.
101
+
*Possible cause:* The `cics.xml` file is malformed.
97
102
98
-
*Representative output*:
103
+
*Representative output:*
99
104
<preclass="messageText">
100
105
15:56:17.411714 : DFHRL2300E BUNDLE(CICSJS02) cannot be deployed. The reason for the failure could not be determined.
101
106
15:56:17.419308 : DFHRL2055I Errors have occurred, processing terminated.
@@ -110,16 +115,16 @@ DFHRL0113 E 05/17/2019 15:56:15 CALMAS1 COIE The CICS resource lifecycle manager
110
115
root directory. The manifest is not valid.
111
116
</pre>
112
117
113
-
*Suggested action*:
118
+
*Suggested action:*
114
119
Check that your `cics.xml` file is well-formed.
115
120
116
121
## General errors
117
122
118
123
### Syntax error: Invalid value length for option
119
124
120
-
*Possible cause*: The length of the option you provided in a command was either too long or two short.
125
+
*Possible cause:* The length of the option you provided in a command was either too long or two short.
121
126
122
-
*Representative output*:
127
+
*Representative output:*
123
128
<preclass="messageText">
124
129
Syntax Error:
125
130
Invalid value length for option:
@@ -131,5 +136,5 @@ NODETESTS
131
136
The length must be between 1 and 8 (inclusive)
132
137
</pre>
133
138
134
-
*Suggested action*:
139
+
*Suggested action:*
135
140
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