Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new modules for password rules #537

Merged
merged 2 commits into from
Jun 27, 2022

Conversation

andy-maier
Copy link
Member

@andy-maier andy-maier commented Jun 26, 2022

Note: This PR is on top of PR #535. Review only the delta.
Merge only after PR #535 has been merged.

Details:

* Added a new target 'end2end_mocked' to the Makefile that runs the end2end
  tests against mock environments defined with a new HMC inventory file
  (mocked_inventory.yaml) and a new HMC vault file (mocked_vault.yaml).

* Added the new make target to the GitHub Actions test workflow.

* Added new mock files that define a mocked HMC for thee tests:
  * mocked_z14_classic.yaml - for an HMC managing a z14 in classic mode
  * mocked_z14_dpm.yaml - for an HMC managing a z14 in DPM mode

* Enabled testing with mock support in the existing end2end testcases:
  * test_zhmc_partition.py
  * test_zhmc_user.py

* Increased the minimum version of zhmcclient to 1.3.1, in order to pick
  up the fix for the filepath AttributeError.

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier self-assigned this Jun 26, 2022
@andy-maier andy-maier requested a review from vkathir82 June 26, 2022 16:38
@andy-maier andy-maier added this to the 1.2.0 milestone Jun 26, 2022
@andy-maier andy-maier linked an issue Jun 26, 2022 that may be closed by this pull request
@andy-maier andy-maier force-pushed the andy/add-password-rule-modules branch from 2b73b1e to 2be9adf Compare June 26, 2022 17:05
@andy-maier andy-maier force-pushed the andy/add-password-rule-modules branch 2 times, most recently from 8d21a17 to a6f75b8 Compare June 26, 2022 17:36
Details:

* Added a new module 'zhmc_password_rule' that supports creating/updating,
  deleting, and gathering facts of a password rule on the HMC. (issue #363)

* Added a new module 'zhmc_password_rule_list' that supports listing the names
  of password rules on the HMC. (issue #363)

* Improved the mocked HMCs defined in mocked_z14_classic.yaml and
  mocked_z14_dpm.yaml to define password rules with all properties.

* Changed the password rule 'Basic' that is used in the end2end tests
  to 'Standard'.

* Increased zhmcclient to 1.4.0 (currently still pulled drom master branch)
  in orde to pick up improvements in mock support for password rules.

Signed-off-by: Andreas Maier <[email protected]>
@andy-maier andy-maier force-pushed the andy/add-password-rule-modules branch from a6f75b8 to 43a9a75 Compare June 26, 2022 17:39
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.4%) to 30.817% when pulling 43a9a75 on andy/add-password-rule-modules into b0e4b9d on master.

@vkathir82 vkathir82 merged commit f3aba6a into master Jun 27, 2022
@vkathir82 vkathir82 deleted the andy/add-password-rule-modules branch June 27, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add module for PasswordRule resources
3 participants