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

Alerting: Return provenance of notification templates #82274

Merged

Conversation

julienduchesne
Copy link
Member

I noticed that this endpoint, unlike other provisioning endpoints, does not return the provenance in the GET operations (while setting it does work).
This PR should add it to the response by building the NotificationTemplate objects in the service, and setting the provenance there, rather than building the object in the API, where the provenance is unavailable

@julienduchesne julienduchesne requested review from a team, rwwiv, JacobsonMT, yuri-tceretian and grobinson-grafana and removed request for a team February 9, 2024 18:47
@grafana-delivery-bot grafana-delivery-bot bot added this to the 10.4.x milestone Feb 9, 2024
Noticed that this endpoint, unlike other provisioning endpoints, does not return the provenance (while setting it works)
This should add it to the response
@julienduchesne julienduchesne force-pushed the julienduchesne/notification-templates-provenance branch from 40e6523 to c5ecffa Compare February 9, 2024 18:49
Copy link
Contributor

@yuri-tceretian yuri-tceretian left a comment

Choose a reason for hiding this comment

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

LGTM

@yuri-tceretian yuri-tceretian merged commit ba63e62 into main Feb 15, 2024
18 checks passed
@yuri-tceretian yuri-tceretian deleted the julienduchesne/notification-templates-provenance branch February 15, 2024 19:35
@aangelisc aangelisc modified the milestones: 10.4.x, 10.4.0 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants