Skip to content

Commit

Permalink
[infra-proxy-service] Environment recipes list API (#4478)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Singh authored Jan 8, 2021
1 parent b814e9e commit 4b6d536
Show file tree
Hide file tree
Showing 18 changed files with 1,164 additions and 456 deletions.
14 changes: 14 additions & 0 deletions .license_scout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ allowed_licenses:
- CC-BY-4.0
- curl
- gnuplot
- Gocov-Authors
- ICU
- ISC
- MIT
Expand All @@ -86,6 +87,7 @@ allowed_licenses:
- Python-2.0
- SAX-PD
- Unlicense
- w32-Authors
- WTFPL
- Zlib

Expand Down Expand Up @@ -259,6 +261,18 @@ fallbacks:
- name: honnef.co/go/tools
license_id: MIT
license_content: https://raw.githubusercontent.com/dominikh/go-tools/master/LICENSE
- name: github.com/axw/gocov
license_id: Gocov-Authors
license_content: https://raw.githubusercontent.com/axw/gocov/master/LICENSE
- name: github.com/keybase/go-ps
license_id: MIT
license_content: https://raw.githubusercontent.com/keybase/go-ps/master/LICENSE.md
- name: github.com/shirou/gopsutil
license_id: BSD-Source-Code
license_content: https://raw.githubusercontent.com/shirou/gopsutil/master/LICENSE
- name: github.com/shirou/w32
license_id: w32-Authors
license_content: https://raw.githubusercontent.com/shirou/w32/master/LICENSE

habitat:
- name: chef/mlsa
Expand Down
541 changes: 300 additions & 241 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 @@ -211,6 +211,11 @@ service InfraProxy {
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:environments";
option (chef.automate.api.iam.policy).action = "infra:infraServers:update";
};
rpc GetEnvironmentRecipes (infra_proxy.request.Environment) returns (infra_proxy.response.EnvironmentRecipesList) {
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name}/recipes";
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:environments";
option (chef.automate.api.iam.policy).action = "infra:infraServers:get";
};

rpc GetNodes (infra_proxy.request.Nodes) returns (infra_proxy.response.Nodes) {
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes";
Expand Down
57 changes: 57 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 4b6d536

Please sign in to comment.