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

feat: pluralize resource manager URLs #2381

Merged
merged 11 commits into from
Apr 14, 2023
Merged

Conversation

schoren
Copy link
Collaborator

@schoren schoren commented Apr 13, 2023

This PR converts the PAPI URLs managed by resourcemanager from singular (like /api/pollingprofile) to plural (like /api/pollingprofiles).

While this might not seem important now, it will be in the future, as we migrate resources to the RM architecture. This makes our URLs consistent.

Changes

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@schoren schoren marked this pull request as ready for review April 14, 2023 13:35
@schoren schoren requested review from jorgeepc, danielbdias and xoscar and removed request for jorgeepc April 14, 2023 13:35
Copy link
Contributor

@jorgeepc jorgeepc left a comment

Choose a reason for hiding this comment

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

LGTM!

@schoren schoren changed the title Pluralize resource manager feat: pluralize resource manager URLs Apr 14, 2023
@schoren schoren merged commit 55c28a6 into main Apr 14, 2023
@schoren schoren deleted the pluralize-resource-manager branch April 14, 2023 16:19
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 support for pluralization of Resource Names when building endpoints on Resource Manager
3 participants