Skip to content

Commit 1934ed8

Browse files
Merge pull request #74 from vera-chan/link-fix
update/fix links, minor editorial changes to filter doc
2 parents 0838418 + 3722f60 commit 1934ed8

File tree

8 files changed

+63
-56
lines changed

8 files changed

+63
-56
lines changed

docs/source/community_guides.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For a developer guide on how to develop and run test cases for IBM® z/OS® CICS
2020
.. _git issues:
2121
https://github.com/ansible-collections/ibm_zos_cics/issues
2222
.. _Developer guide:
23-
https://github.com/ansible-collections/ibm_zos_cics/tree/master/CONTRIBUTING.md
23+
https://github.com/ansible-collections/ibm_zos_cics/blob/main/devguide.md
2424

2525

2626

docs/source/modules/cmci_action.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ resources
189189

190190
Filters can be nested. At most four nesting layers are allowed.
191191

192-
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
192+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
193193

194-
For examples, see :ref:`cmci_get <cmci_get_module>`
194+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
195195

196196

197197
| **required**: False
@@ -202,7 +202,7 @@ resources
202202
and
203203
A list of filter expressions to be combined with an ``and`` operation.
204204

205-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
205+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
206206

207207

208208
| **required**: False
@@ -222,7 +222,7 @@ resources
222222

223223

224224
operator
225-
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when 'attribute' is used, ``EQ`` will be assumed.
225+
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when ``attribute`` is used, ``EQ`` is assumed.
226226

227227

228228

@@ -235,7 +235,7 @@ resources
235235
or
236236
A list of filter expressions to be combined with an ``or`` operation.
237237

238-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
238+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
239239

240240

241241
| **required**: False
@@ -258,17 +258,17 @@ resources
258258
filter
259259
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
260260

261-
Filters implicitly use the ``=`` operator
261+
Filters implicitly use the ``=`` operator.
262262

263-
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
263+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators.
264264

265-
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
265+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value.
266266

267267
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
268268

269269
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
270270

271-
For examples, see :ref:`cmci_get <cmci_get_module>`
271+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
272272

273273
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
274274

docs/source/modules/cmci_delete.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ resources
149149

150150
Filters can be nested. At most four nesting layers are allowed.
151151

152-
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
152+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
153153

154-
For examples, see :ref:`cmci_get <cmci_get_module>`
154+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
155155

156156

157157
| **required**: False
@@ -162,7 +162,7 @@ resources
162162
and
163163
A list of filter expressions to be combined with an ``and`` operation.
164164

165-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
165+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
166166

167167

168168
| **required**: False
@@ -182,7 +182,7 @@ resources
182182

183183

184184
operator
185-
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when 'attribute' is used, ``EQ`` will be assumed.
185+
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when ``attribute`` is used, ``EQ`` is assumed.
186186

187187

188188

@@ -195,7 +195,7 @@ resources
195195
or
196196
A list of filter expressions to be combined with an ``or`` operation.
197197

198-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
198+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
199199

200200

201201
| **required**: False
@@ -218,17 +218,17 @@ resources
218218
filter
219219
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
220220

221-
Filters implicitly use the ``=`` operator
221+
Filters implicitly use the ``=`` operator.
222222

223-
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
223+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators.
224224

225-
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
225+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value.
226226

227227
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
228228

229229
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
230230

231-
For examples, see :ref:`cmci_get <cmci_get_module>`
231+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
232232

233233
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
234234

docs/source/modules/cmci_get.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ resources
162162

163163
Filters can be nested. At most four nesting layers are allowed.
164164

165-
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
165+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
166166

167-
For examples, see :ref:`cmci_get <cmci_get_module>`
167+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
168168

169169

170170
| **required**: False
@@ -175,7 +175,7 @@ resources
175175
and
176176
A list of filter expressions to be combined with an ``and`` operation.
177177

178-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
178+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
179179

180180

181181
| **required**: False
@@ -195,7 +195,7 @@ resources
195195

196196

197197
operator
198-
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when 'attribute' is used, ``EQ`` will be assumed.
198+
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when ``attribute`` is used, ``EQ`` is assumed.
199199

200200

201201

@@ -208,7 +208,7 @@ resources
208208
or
209209
A list of filter expressions to be combined with an ``or`` operation.
210210

211-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
211+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
212212

213213

214214
| **required**: False
@@ -231,17 +231,17 @@ resources
231231
filter
232232
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
233233

234-
Filters implicitly use the ``=`` operator
234+
Filters implicitly use the ``=`` operator.
235235

236-
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
236+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators.
237237

238-
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
238+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value.
239239

240240
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
241241

242242
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
243243

244-
For examples, see :ref:`cmci_get <cmci_get_module>`
244+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
245245

246246
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
247247

docs/source/modules/cmci_update.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ resources
158158

159159
Filters can be nested. At most four nesting layers are allowed.
160160

161-
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
161+
When supplying the ``attribute`` option, you must also supply a ``value`` for the filter. You can also override the default operator of ``=`` with the ``operator`` option.
162162

163-
For examples, see :ref:`cmci_get <cmci_get_module>`
163+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
164164

165165

166166
| **required**: False
@@ -171,7 +171,7 @@ resources
171171
and
172172
A list of filter expressions to be combined with an ``and`` operation.
173173

174-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
174+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
175175

176176

177177
| **required**: False
@@ -191,7 +191,7 @@ resources
191191

192192

193193
operator
194-
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when 'attribute' is used, ``EQ`` will be assumed.
194+
These operators are accepted: ``<`` or ``LT`` (less than), ``<=`` or ``LE`` (less than or equal to), ``=`` or ``EQ`` (equal to), ``>`` or ``GT`` (greater than), ``>=`` or ``GE`` (greater than or equal to), ``==`` or ``IS`` (is), ``¬=``, ``!=``, or ``NE`` (not equal to). If not supplied when ``attribute`` is used, ``EQ`` is assumed.
195195

196196

197197

@@ -204,7 +204,7 @@ resources
204204
or
205205
A list of filter expressions to be combined with an ``or`` operation.
206206

207-
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
207+
Filter expressions are nested ``complex_filter`` elements. Each nested filter expression can be either an ``attribute``, ``and`` or ``or`` complex filter expression.
208208

209209

210210
| **required**: False
@@ -227,17 +227,17 @@ resources
227227
filter
228228
A dictionary with attribute names as keys, and target values, to be used as criteria to filter the set of resources returned from CICSPlex SM.
229229

230-
Filters implicitly use the ``=`` operator
230+
Filters implicitly use the ``=`` operator.
231231

232-
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators
232+
Filters for ``string`` type attributes can use the ``*`` and ``+`` wildcard operators.
233233

234-
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value
234+
``*`` is a wildcard representing an unknown number of characters, and must appear at the end of the value.
235235

236236
``+`` is a wildcard representing a single character, and can appear in any place in the value, potentially multiple times.
237237

238238
To use more complicated filter expressions, including a range of different filter operators, and the ability to compose filters with ``and`` and ``or`` operators, see the ``complex_filter`` parameter.
239239

240-
For examples, see :ref:`cmci_get <cmci_get_module>`
240+
For examples, see "Examples" in :ref:`cmci_get <cmci_get_module>`.
241241

242242
For more details, see `How to build a filter expression <https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/system-programming/cpsm/eyup1a0.html>`_.
243243

docs/source/release_notes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ This collection can manage CICS and CICSPlex® SM resources and definitions by c
3737
* Sample playbooks are available at the `samples repository`_. Each playbook contains a README that explains what configurations must be made to run a sample playbook.
3838

3939
.. _samples repository:
40-
https://github.com/IBM/z_ansible_collections_samples/blob/master/README.md
40+
https://github.com/IBM/z_ansible_collections_samples/tree/master/cics/cmci
4141

4242
.. _CMCI REST API:
4343
https://www.ibm.com/support/knowledgecenter/SSGMCP_5.6.0/fundamentals/cpsm/cpsm-cmci-restfulapi-overview.html
4444

4545
.. _the documentation site:
46-
https://ansible-collections.github.io/ibm_zos_cics/
46+
https://ibm.github.io/z_ansible_collections_doc/ibm_zos_cics/docs/ansible_content.html
4747

4848
Availability
4949
------------

docs/source/requirements_managed.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,29 @@ The requirements of the managed node are as follows:
2323
* `xmltodict`_
2424

2525
If you delegate the tasks to run on your localhost, the Python module dependencies
26-
need to be installed on your localhost instead. You can install them from CLI:
26+
need to be installed on your localhost instead.
27+
28+
You can install them from CLI:
2729

2830
.. code-block:: sh
2931
3032
pip install requests xmltodict
3133
32-
You can also install them using the playbook. See this sample (link to be added) for an example.
34+
You can also install them using the playbook. For example, this `CICS
35+
sample playbook`_ shows how you can ensure the pre-requisites are installed before the module is executed.
3336

3437
.. _requests:
3538
https://pypi.org/project/requests/
3639

3740
.. _xmltodict:
3841
https://pypi.org/project/xmltodict/
3942

43+
.. _CICS sample playbook:
44+
https://github.com/IBM/z_ansible_collections_samples/tree/master/cics/cmci/reporting
45+
4046

41-
If you use the CICS collection in conjunction with other IBM z/OS collections, you won't be able to delegate all tasks to your localhost. In that case, your managed node must also follow the requirements of those collections, for example, `IBM z/OS core managed node requirements`_.
47+
If you use the CICS collection in conjunction with other IBM z/OS collections,
48+
your managed node must also follow the requirements of those collections, for example, `IBM z/OS core managed node requirements`_.
4249

4350
If you use the CICS collection alone but don't delegate the CICS tasks to your localhost, your managed node must also follow the `IBM z/OS core managed node requirements`_ except that IBM Z Open Automation Utilities (ZOAU) is not required.
4451

0 commit comments

Comments
 (0)