Skip to content

Commit

Permalink
PMM-12913 migrate /v1/settings/Change
Browse files Browse the repository at this point in the history
  • Loading branch information
ademidoff committed Mar 13, 2024
1 parent 0e99c6f commit 9711084
Show file tree
Hide file tree
Showing 11 changed files with 405 additions and 412 deletions.
8 changes: 4 additions & 4 deletions api/MIGRATION_TO_V3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
| ----------------------------------------------- | ---------------------------------------------- | ------------------------------- |

**ServerService** **ServerService**
GET /logz.zip GET /v1/server/logs.zip redirect to /logs.zip in swagger
GET /v1/version GET /v1/server/version ✅ redirect to /v1/version in swagger
GET /v1/readyz GET /v1/server/readyz ✅ redirect to /v1/readyz in swagger
GET /logz.zip GET /v1/server/logs.zip /logs.zip is now a redirect to /v1/server/logs.zip
GET /v1/version GET /v1/server/version ✅ /v1/version is now a redirect to /v1/server/version
GET /v1/readyz GET /v1/server/readyz ✅ /v1/readyz is now a redirect to /v1/server/readyz
POST /v1/AWSInstanceCheck GET /v1/server/AWSInstance
POST /v1/leaderHealthCheck GET /v1/server/leaderHealthCheck
POST /v1/settings/Change PUT /v1/server/settings
POST /v1/settings/Change PUT /v1/server/settings
POST /v1/settings/Get GET /v1/server/settings ✅
POST /v1/updates/Check GET /v1/server/updates
POST /v1/updates/Start POST /v1/server/updates:start
Expand Down

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

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

258 changes: 128 additions & 130 deletions api/server/v1/json/v1.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/server/v1/server.pb.go

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

10 changes: 5 additions & 5 deletions api/server/v1/server.pb.gw.go

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

2 changes: 1 addition & 1 deletion api/server/v1/server.proto
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ service ServerService {
// ChangeSettings changes PMM Server settings.
rpc ChangeSettings(ChangeSettingsRequest) returns (ChangeSettingsResponse) {
option (google.api.http) = {
post: "/v1/settings/Change"
put: "/v1/server/settings"
body: "*"
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
Expand Down
Loading

0 comments on commit 9711084

Please sign in to comment.