Skip to content

Commit 4b6d536

Browse files
author
Vivek Singh
authored
[infra-proxy-service] Environment recipes list API (#4478)
1 parent b814e9e commit 4b6d536

File tree

18 files changed

+1164
-456
lines changed

18 files changed

+1164
-456
lines changed

.license_scout.yml

+14
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ allowed_licenses:
7575
- CC-BY-4.0
7676
- curl
7777
- gnuplot
78+
- Gocov-Authors
7879
- ICU
7980
- ISC
8081
- MIT
@@ -86,6 +87,7 @@ allowed_licenses:
8687
- Python-2.0
8788
- SAX-PD
8889
- Unlicense
90+
- w32-Authors
8991
- WTFPL
9092
- Zlib
9193

@@ -259,6 +261,18 @@ fallbacks:
259261
- name: honnef.co/go/tools
260262
license_id: MIT
261263
license_content: https://raw.githubusercontent.com/dominikh/go-tools/master/LICENSE
264+
- name: github.com/axw/gocov
265+
license_id: Gocov-Authors
266+
license_content: https://raw.githubusercontent.com/axw/gocov/master/LICENSE
267+
- name: github.com/keybase/go-ps
268+
license_id: MIT
269+
license_content: https://raw.githubusercontent.com/keybase/go-ps/master/LICENSE.md
270+
- name: github.com/shirou/gopsutil
271+
license_id: BSD-Source-Code
272+
license_content: https://raw.githubusercontent.com/shirou/gopsutil/master/LICENSE
273+
- name: github.com/shirou/w32
274+
license_id: w32-Authors
275+
license_content: https://raw.githubusercontent.com/shirou/w32/master/LICENSE
262276

263277
habitat:
264278
- name: chef/mlsa

api/external/infra_proxy/infra_proxy.pb.go

+300-241
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/external/infra_proxy/infra_proxy.pb.gw.go

+142
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/external/infra_proxy/infra_proxy.pb.policy.go

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/external/infra_proxy/infra_proxy.proto

+5
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ service InfraProxy {
211211
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:environments";
212212
option (chef.automate.api.iam.policy).action = "infra:infraServers:update";
213213
};
214+
rpc GetEnvironmentRecipes (infra_proxy.request.Environment) returns (infra_proxy.response.EnvironmentRecipesList) {
215+
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/environments/{name}/recipes";
216+
option (chef.automate.api.iam.policy).resource = "infra:infraServers:{server_id}:orgs:{org_id}:environments";
217+
option (chef.automate.api.iam.policy).action = "infra:infraServers:get";
218+
};
214219

215220
rpc GetNodes (infra_proxy.request.Nodes) returns (infra_proxy.response.Nodes) {
216221
option (google.api.http).get = "/api/v0/infra/servers/{server_id}/orgs/{org_id}/nodes";

api/external/infra_proxy/infra_proxy.swagger.json

+57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)