-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
newrelic
- upgrade API version to 2024-03-01
#27135
Conversation
…m into newrelic_2024-03-01
Default: "MONTHLY", | ||
ValidateFunc: validation.StringInSlice([]string{ | ||
string(monitors.BillingCycleMONTHLY), | ||
string(monitors.BillingCycleWEEKLY), | ||
string(monitors.BillingCycleYEARLY), | ||
"MONTHLY", | ||
"WEEKLY", | ||
"YEARLY", |
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.
is there a reason these are no longer constants? could we open an issue on the rest specs asking and link it here ?
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.
Hi @katbyte , from service team, earlier there was limit on values that this field can have, now that limitation has lifted. There will be new values in the future.
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.
I'm not sure why that means there is no longer an enum/defined in the rest API specs? i cannot see any reason why these values shouldn't be captures there. could we place open an issue on the rest specs + link it here?
Why the Enum is changed to string type in new API version: From service team, earlier there was limit on values that this field can have, now that limitation has lifted. There will be new values in the future. |
we have test failures:
and could we open a rest API specs issue calling out the change away from an enum (i see no reason why it shouldn't be one) and link it in the code. once that is done + tests pass this should be good to merge |
…m into newrelic_2024-03-01
…m into newrelic_2024-03-01
@teowa - could we please address this last comment? #27135 (comment) and link a rest specs issue? that property should still be an enum |
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.
Thanks! LGTM now 🚜
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Community Note
Description
PR Checklist
For example: “
resource_name_here
- description of change e.g. adding propertynew_property_name_here
”Changes to existing Resource / Data Source
Testing
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
newrelic
- upgrade API version to2024-03-01
This is a (please select all that apply):
Related Issue(s)
Fixes #0000
Note
If this PR changes meaningfully during the course of review please update the title and description as required.