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

Fix Pricing Rules and Limits endpoints to accept metrics from BackendApi #1364

Merged

Conversation

duduribeiro
Copy link
Contributor

THREESCALE-3746
Currently when the user tries to create/update/delete limits or pricing
rules for a Backend API metric in a plan it fails with 404.

This commit fixes it by making the controller consider the backend api
metrics using the all_metrics method from the plan.

THREESCALE-3746
Currently when the user tries to create/update/delete limits or pricing
rules for a Backend API metric in a plan it fails with 404.

This commit fixes it by making the controller consider the backend api
metrics using the `all_metrics` method from the plan.
@duduribeiro duduribeiro requested a review from a team October 22, 2019 19:34
@duduribeiro duduribeiro self-assigned this Oct 22, 2019
@guicassolato guicassolato merged commit 9621ddb into master Oct 22, 2019
@guicassolato guicassolato deleted the pricing_rules_when_backend_does_not_have_product branch October 22, 2019 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants