Skip to content

Commit

Permalink
feat: add run and test APIs to inventory.Metric
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
whdalsrnt committed Apr 10, 2024
1 parent fa6954e commit 2da3921
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions proto/spaceone/api/inventory/v1/metric.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,20 @@ service Metric {
};
}

rpc run (MetricRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
post: "/inventory/v1/metric/run"
body: "*"
};
}

rpc test (MetricRequest) returns (google.protobuf.Struct) {
option (google.api.http) = {
post: "/inventory/v1/metric/test"
body: "*"
};
}

rpc get (MetricRequest) returns (MetricInfo) {
option (google.api.http) = {
post: "/inventory/v1/metric/get"
Expand Down

0 comments on commit 2da3921

Please sign in to comment.