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

Update to upstream, fix statPanel marshalling #13

Merged
merged 16 commits into from
Mar 31, 2022

Conversation

wurbanski
Copy link

This PR:

  1. Updates grafanasdk to parity with the upstream project
  2. Fixes statPanel marshaling while a PR (Add FieldConfig field for StatPanel grafana-tools/sdk#183) is not merged in the upstream project.

this is required to fix kubermatic/kubermatic#8506

krya-kryak and others added 16 commits March 30, 2022 00:04
* Add FieldConfig to GraphPanel

* add Links to FieldConfig
* Added Tags to Target object (grafana-tools#169)

* correct annotations

* add quotes to annotations

* added unit test for Target.Tags

* make unit tests work - correct JSON for target.tags, fatal error on assertion fail

* move Target.tags test logic to unmarshal test

Co-authored-by: Tank <[email protected]>
Add TextPanel tests that test whether it actually works on Grafana.
…-tools#180)

* GroupBy should be singular in the JSON

* fix json declaration for groupBy

Co-authored-by: Tank <[email protected]>
* feat: dashboard versions API support

* chore: add test and update style

* improve naming

Co-authored-by: Giedrius Statkevičius <[email protected]>

Co-authored-by: Vincent Miszczak <[email protected]>
Co-authored-by: Giedrius Statkevičius <[email protected]>
* Added team REST

* Fixed failing tests

* Use new query parameter pattern and refactored GetTeamByName

* Fixed failing integration tests

* Dont return team as pointer for GetTeamByName

* Update team.go

Co-authored-by: Giedrius Statkevičius <[email protected]>

* Added team not found error message

* Update rest-team.go

Co-authored-by: Giedrius Statkevičius <[email protected]>
* Added folder permission REST support

* Removed unneeded UpdateFolderPermissionRequest

* Handle return value of defer to fix linting

* Removed UpdateFolderPermissionRequest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

user-cluster mla dashboard does not show correct data