Skip to content
Snippets Groups Projects
Commit a14fdc72 authored by Malte Bauch's avatar Malte Bauch
Browse files

fixed errors for buf generate

parent 856f3daa
No related branches found
No related tags found
No related merge requests found
...@@ -68,13 +68,12 @@ service pnd { ...@@ -68,13 +68,12 @@ service pnd {
// managed by a specific Principal Network Domain. // managed by a specific Principal Network Domain.
rpc GetPath(GetPathRequest) returns (GetPathResponse) { rpc GetPath(GetPathRequest) returns (GetPathResponse) {
option (google.api.http) = { option (google.api.http) = {
get: "/v1/pnd/{pid}/ond/{did}/change" get: "/v1/pnd/{pid}/ond/{did}/path/{path}"
body: "*"
}; };
} }
rpc SetPath(SetPathRequest) returns (SetResponse) { rpc SetPath(SetPathRequest) returns (SetResponse) {
option (google.api.http) = { option (google.api.http) = {
set: "/v1/pnd/{pid}/ond/{did}/change" post: "/v1/pnd/{pid}/ond/{did}/path"
body: "*" body: "*"
}; };
} }
...@@ -198,7 +197,8 @@ message SetChangeRequest { ...@@ -198,7 +197,8 @@ message SetChangeRequest {
message SetPathRequest { message SetPathRequest {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch. int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
repeated ChangeRequest changeRequest = 2; repeated ChangeRequest changeRequest = 2;
string pid = 3; string did = 3;
string pid = 4;
} }
message setOnd { message setOnd {
...@@ -228,10 +228,9 @@ message ChangeRequest { ...@@ -228,10 +228,9 @@ message ChangeRequest {
REPLACE = 1; REPLACE = 1;
DELETE = 2; DELETE = 2;
} }
string id = 1; string path = 1;
string path = 2; string value = 2;
string value = 3; ApiOperation apiOp = 3;
ApiOperation apiOp = 4;
} }
message SetResponse{ message SetResponse{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment