-
Notifications
You must be signed in to change notification settings - Fork 38
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
Use the API backend for online validation #201
Conversation
docs/guides/info_plan.md
Outdated
```shell | ||
# Filter out available plans for RabbitMQ | ||
curl -u :xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx \ | ||
https://customer.cloudamqp.com/api/plans?backend=rabbitmq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Each of these examples with filtered requests would require: https://github.com/84codes/customer-console/pull/164
Or if we should just reference our docs.cloudamqp.com.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we should document it there and reference it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I did a tiny bit of testing and experienced no problems :)
Change plan and region validation to no longer use hardcoded values in the provider. Instead use the API backend to do the validation. The plans are validated against each team, in regards to any specific feature flags set, such as preview plans without the need to update the provider. Therefore will now also support all new LavinMQ dedicated plans.
The validation only occurs when plan or region are changed from earlier state, during create or plan/region update.
More changes done in this PR.
Testing requires: 84codes/go-api#34