Skip to content

Commit

Permalink
PMM-13715: allow viewers/editors access limited PMM settings (#3518)
Browse files Browse the repository at this point in the history
* add new map for failed services

* add readonly settings endpoint

* update method comment

* drop retention data from readonly settings

* drop unused fields from settings proto

* use separate proto message
  • Loading branch information
idoqo authored Mar 4, 2025
1 parent 2d5003f commit 51d5ed3
Show file tree
Hide file tree
Showing 15 changed files with 2,261 additions and 315 deletions.
6 changes: 1 addition & 5 deletions api-tests/server/advisors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,8 @@ func TestStartChecks(t *testing.T) {
}

func TestGetAdvisorCheckResults(t *testing.T) {
if !pmmapitests.RunAdvisorTests {
t.Skip("Skipping Advisor tests until we have environment: https://jira.percona.com/browse/PMM-5106")
}

t.Run("with disabled Advisors", func(t *testing.T) {
toggleAdvisorChecks(t, true)
toggleAdvisorChecks(t, false)
t.Cleanup(func() { restoreSettingsDefaults(t) })

results, err := advisorClient.Default.AdvisorService.GetFailedChecks(nil)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 51d5ed3

Please sign in to comment.