diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 019cb057..d13039e8 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -7,11 +7,24 @@ Releases ======== +Version 1.0.2 +============= + +What's New +------------------- +* Updated timeout support on requests to be configurable via the ``timeout`` option. The default value is 30 seconds if not specified + +* Improve sanitisation and validation of parameters. + +* Added support for CMCI Feedback on failed CMCI Requests. + + Version 1.0.1 ============= What's New ------------------- + Initial release of the **IBM® z/OS® CICS® collection**, also referred to as **ibm_zos_cics**, which is part of the broader offering **Red Hat® Ansible® Certified Content for IBM Z®**. This collection can manage CICS and CICSPlex® SM resources and definitions by calling the `CMCI REST API`_, which can be configured in a CICSplex or in a stand-alone region. diff --git a/galaxy.yml b/galaxy.yml index 5dd03358..4d6e5da7 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -7,7 +7,7 @@ namespace: ibm name: ibm_zos_cics # The collection version -version: 1.0.1 +version: 1.0.2 # Collection README file readme: README.md diff --git a/meta/ibm_zos_cics_meta.yml b/meta/ibm_zos_cics_meta.yml index 9fa687ac..ebe8b8f9 100644 --- a/meta/ibm_zos_cics_meta.yml +++ b/meta/ibm_zos_cics_meta.yml @@ -1,5 +1,5 @@ name: ibm_zos_cics -version: "1.0.1" +version: "1.0.2" managed_requirements: - name: "Python" version: ">=2.7" diff --git a/plugins/module_utils/cmci.py b/plugins/module_utils/cmci.py index 34defbb7..eca85b59 100644 --- a/plugins/module_utils/cmci.py +++ b/plugins/module_utils/cmci.py @@ -152,7 +152,7 @@ def is_alphanumeric(value): return re.match('^([A-Za-z0-9]{1,100})$', value, flags=0) -def read_node(node): # type: (OrderedDict) -> List[OrderedDict] +def read_node(node): # type: (OrderedDict) -> List[OrderedDict] # Reads a record node that can contain multiple lists of attributes result = [ OrderedDict( @@ -195,7 +195,7 @@ def read_error_detail(key, value): def get_attribute(k, v): # Return key, value pair stripping @ from the attributes key - return k[1:], v + return (k[1:], v) class AnsibleCMCIModule(object): diff --git a/tests/sanity/ignore-2.11.txt b/tests/sanity/ignore-2.11.txt new file mode 100644 index 00000000..26fa9c20 --- /dev/null +++ b/tests/sanity/ignore-2.11.txt @@ -0,0 +1,7 @@ +docs/make.bat line-endings!skip # Windows batch file requires windows line endings +plugins/modules/cmci_get.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_action.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_create.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_delete.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_update.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/doc_fragments/cmci.py pep8:E501 # Link can't be split or it does not render correctly \ No newline at end of file diff --git a/tests/sanity/ignore-2.12.txt b/tests/sanity/ignore-2.12.txt new file mode 100644 index 00000000..26fa9c20 --- /dev/null +++ b/tests/sanity/ignore-2.12.txt @@ -0,0 +1,7 @@ +docs/make.bat line-endings!skip # Windows batch file requires windows line endings +plugins/modules/cmci_get.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_action.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_create.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_delete.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/modules/cmci_update.py validate-modules:missing-gplv3-license # Licence is Apache-2.0 +plugins/doc_fragments/cmci.py pep8:E501 # Link can't be split or it does not render correctly \ No newline at end of file