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

CRAYSAT-1896: Add CFSClient methods to get configurations, sessions #47

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

haasken-hpe
Copy link
Contributor

@haasken-hpe haasken-hpe commented Nov 18, 2024

Summary and Scope

Add methods to the CFSV2Client and CFSV3Client classes to get a list of all the CFS configurations and sessions. The CFS V3 version handles paging in the same way paging is handled for the components resource.

This change is needed for the sat bootprep command to be updated to support CFS v2 and v3 because it looks through all the existing CFS configurations to determine if there are any existing CFS configurations of the same name.

Issues and Related PRs

Testing

Tested on:

  • Local development environment

Test description:

Unit tests only so far. This will be tested by pulling it into the
corresponding branch in the sat repository that adds CFS v2/v3 support
to sat bootprep.

Risks and Mitigations

Pretty low risk as it's just adding a couple methods on the CFS client classes.

Pull Request Checklist

  • Version number(s) incremented, if applicable
  • Copyrights updated
  • License file intact
  • Target branch correct
  • CHANGELOG.md updated
  • Testing is appropriate and complete, if applicable
  • HPC Product Announcement prepared, if applicable

@haasken-hpe haasken-hpe force-pushed the CRAYSAT-1896-cfs-v3-paging-fix branch 2 times, most recently from e798973 to 3996ca0 Compare November 18, 2024 22:45
Add methods to the `CFSV2Client` and `CFSV3Client` classes to get a list
of all the CFS configurations and sessions. The CFS V3 version handles
paging in the same way paging is handled for the `components` resource.

This change is needed for the `sat bootprep` command to be updated to
support CFS v2 and v3 because it looks through all the existing CFS
configurations to determine if there are any existing CFS configurations
of the same name.

Test Description:
Unit tests only so far. This will be tested by pulling it into the
corresponding branch in the sat repository that adds CFS v2/v3 support
to `sat bootprep`.
@haasken-hpe haasken-hpe merged commit 4e43f8a into main Nov 26, 2024
3 checks passed
@haasken-hpe haasken-hpe deleted the CRAYSAT-1896-cfs-v3-paging-fix branch November 26, 2024 16:53
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.

3 participants