Skip to content

Commit

Permalink
PMM-7 Merge PMM 2 changes into v3 branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk committed Nov 20, 2023
1 parent 6236724 commit 3fad605
Show file tree
Hide file tree
Showing 6 changed files with 696 additions and 117 deletions.
32 changes: 16 additions & 16 deletions api/serverpb/json/serverpb.json

Large diffs are not rendered by default.

437 changes: 357 additions & 80 deletions api/swagger/swagger-dev.json

Large diffs are not rendered by default.

337 changes: 321 additions & 16 deletions api/swagger/swagger.json

Large diffs are not rendered by default.

Binary file modified descriptor.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions managed/services/management/deps.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package management

import (
"context"
"net/http"
"time"

"github.com/percona-platform/saas/pkg/check"
Expand Down Expand Up @@ -100,4 +101,5 @@ type victoriaMetricsClient interface {

type apiKeyProvider interface {
CreateAdminAPIKey(ctx context.Context, name string) (int64, string, error)
IsAPIKeyAuth(headers http.Header) bool
}
5 changes: 0 additions & 5 deletions managed/services/management/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ import (
"github.com/percona/pmm/managed/services"
)

type apiKeyProvider interface {
CreateAdminAPIKey(ctx context.Context, name string) (int64, string, error)
IsAPIKeyAuth(headers http.Header) bool
}

// NodeService represents service for working with nodes.
type NodeService struct {
db *reform.DB
Expand Down

0 comments on commit 3fad605

Please sign in to comment.