Skip to content

Update RMS models and API #262

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

Merged
merged 3 commits into from
Dec 22, 2023
Merged

Update RMS models and API #262

merged 3 commits into from
Dec 22, 2023

Conversation

FedericoNegri
Copy link
Contributor

@FedericoNegri FedericoNegri commented Dec 22, 2023

  • regenerated RMS models using latest openapi spec
  • updated the RmsApi.get_cluster_info function (and included in a test)

The failing test is unrelated to these changes.

Checklist

Please complete the following checklist before submitting your pull request:

  • I have tested these changes locally and verified that they work as intended.
  • I have updated any documentation as needed to reflect these changes (if appropriate)
  • I have verified that these changes to the best of my knowledge do not introduce any security vulnerabilities.
  • Unit tests have been added (if appropriate)
  • Test-cases have been added (if appropriate)
  • Testing instructions have been added (if appropriate)

@github-actions github-actions bot added the dependencies Related with project dependencies label Dec 22, 2023
@github-actions github-actions bot added the maintenance Package and maintenance related label Dec 22, 2023
@FedericoNegri FedericoNegri marked this pull request as ready for review December 22, 2023 12:20
crs_id=id,
f"{self.url}/compute_resource_sets/{compute_resource_set_id}/cluster_info",
ClusterInfo,
as_object=as_object,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if your change not gives back a list now whereas previous solution was giving back first entry (without checking if the list is not empty!!)

Copy link
Contributor Author

@FedericoNegri FedericoNegri Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No because now I'm using get_object instead of get_objects

@FedericoNegri FedericoNegri merged commit 95eb05c into main Dec 22, 2023
@FedericoNegri FedericoNegri deleted the fnegri/rms_api_update branch December 22, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related with project dependencies maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants