Skip to content

Update to upstream, fix statPanel marshalling#13

Merged
rastislavs merged 16 commits intomasterfrom
2022-03-30-upstream-update
Mar 31, 2022
Merged

Update to upstream, fix statPanel marshalling#13
rastislavs merged 16 commits intomasterfrom
2022-03-30-upstream-update

Conversation

@wurbanski
Copy link
Copy Markdown

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 <tank@havenlife.com>
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 <tank@haventech.us>
* feat: dashboard versions API support

* chore: add test and update style

* improve naming

Co-authored-by: Giedrius Statkevičius <giedriuswork@gmail.com>

Co-authored-by: Vincent Miszczak <vincent.miszczak@teads.com>
Co-authored-by: Giedrius Statkevičius <giedriuswork@gmail.com>
* 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 <giedriuswork@gmail.com>

* Added team not found error message

* Update rest-team.go

Co-authored-by: Giedrius Statkevičius <giedriuswork@gmail.com>
* 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