Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bldr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ paths = [
"lib/elasticutil/*",
"lib/grpc/*",
"lib/io/*",
"lib/logger/*",
"lib/platform/config/*",
"lib/platform/sys/*",
"lib/proc/*",
Expand Down
155 changes: 135 additions & 20 deletions api/external/ingest/chef.pb.go

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions api/external/ingest/chef.pb.gw.go

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

36 changes: 36 additions & 0 deletions api/external/ingest/chef.pb.policy.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/ingest/chef.proto
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,21 @@ service ChefIngester {
option (chef.automate.api.iam.policy).resource = "system:service:version";
option (chef.automate.api.iam.policy).action = "system:serviceVersion:get";
};
//inserting dummy values in insert_request and insert_request_details tables
rpc InsertDummy (ingest.request.InsertRequest) returns (ingest.response.InsertRequestResponse) {
option (google.api.http) = {
post: "/api/v0/ingest/events/chef/insert_request"
body: "*"
};
option (chef.automate.api.iam.policy).resource = "ingest:nodes:{request_id}:insert_request";
option (chef.automate.api.iam.policy).action = "ingest:nodes:create";
};
rpc InsertDummyDetails (ingest.request.InsertRequestDetails) returns (ingest.response.InsertRequestDetailsResponse) {
option (google.api.http) = {
post: "/api/v0/ingest/events/chef/insert_request_details"
body: "*"
};
option (chef.automate.api.iam.policy).resource = "ingest:nodes:{request_id}:insert_request_details";
option (chef.automate.api.iam.policy).action = "ingest:nodes:create";
};
}
Loading