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

[v9.3.x] AzureMonitor: Automate location retrieval #59717

Merged
merged 1 commit into from Dec 2, 2022

Conversation

grafanabot
Copy link
Contributor

Backport c52d4e2 from #59602

* Automate location retrieval

- Add function to retrieve provider information
- Add function to retrieve subscription locations
- Add parsers for each function
- Add types
- Update resourcePickerData with new functions
- Remove old location metadata file

* Improve types

- Add types for responses
- Use correct name parameter
- Update response parser (parseProvider unnecessary)

* Fix tests

- Add necessary mocks

* Fix logic and ensure maps are consistent

* Add tests

* Review

* Lint issue

(cherry picked from commit c52d4e2)
@grafanabot grafanabot requested a review from a team as a code owner December 2, 2022 13:24
@grafanabot grafanabot requested review from asimpson and aangelisc and removed request for a team December 2, 2022 13:24
@grafanabot grafanabot added this to the 9.3.2 milestone Dec 2, 2022
@grafanabot grafanabot added backport A backport PR no-changelog Skip including change in changelog/release notes type/bug area/frontend datasource/Azure Azure Monitor Datasource labels Dec 2, 2022
@aangelisc aangelisc enabled auto-merge (squash) December 2, 2022 13:25
@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

Backend code coverage report for PR #59717
No changes

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

Frontend code coverage report for PR #59717

Plugin Main PR Difference
grafana-azure-monitor-datasource 76.27% 76.27% 0%

@aangelisc aangelisc merged commit de582ef into v9.3.x Dec 2, 2022
@aangelisc aangelisc deleted the backport-59602-to-v9.3.x branch December 2, 2022 13:38
GuYounes pushed a commit to paul-wurth/BIXpert that referenced this pull request Feb 8, 2023
AzureMonitor: Automate location retrieval (grafana#59602)

* Automate location retrieval

- Add function to retrieve provider information
- Add function to retrieve subscription locations
- Add parsers for each function
- Add types
- Update resourcePickerData with new functions
- Remove old location metadata file

* Improve types

- Add types for responses
- Use correct name parameter
- Update response parser (parseProvider unnecessary)

* Fix tests

- Add necessary mocks

* Fix logic and ensure maps are consistent

* Add tests

* Review

* Lint issue

(cherry picked from commit c52d4e2)

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend backport A backport PR datasource/Azure Azure Monitor Datasource no-changelog Skip including change in changelog/release notes type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants