Skip to content

Commit

Permalink
[infra-proxy-service] chef infra node detail API (#4471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Singh authored Jan 8, 2021
1 parent cc45ab4 commit b814e9e
Show file tree
Hide file tree
Showing 21 changed files with 1,624 additions and 318 deletions.
292 changes: 174 additions & 118 deletions api/external/infra_proxy/infra_proxy.pb.go

Large diffs are not rendered by default.

142 changes: 142 additions & 0 deletions api/external/infra_proxy/infra_proxy.pb.gw.go

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

17 changes: 17 additions & 0 deletions api/external/infra_proxy/infra_proxy.pb.policy.go

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

5 changes: 5 additions & 0 deletions api/external/infra_proxy/infra_proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ service InfraProxy {
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:nodes";
option (chef.automate.api.iam.policy).action = "infra:infraServers:update";
};
rpc GetNode (infra_proxy.request.Node) returns (infra_proxy.response.Node) {
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes/{name}";
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:nodes";
option (chef.automate.api.iam.policy).action = "infra:infraServers:get";
};

rpc GetPolicyfiles (infra_proxy.request.Policyfiles) returns (infra_proxy.response.Policyfiles) {
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/policyfiles";
Expand Down
98 changes: 98 additions & 0 deletions api/external/infra_proxy/infra_proxy.swagger.json

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

Loading

0 comments on commit b814e9e

Please sign in to comment.