Skip to content
Snippets Groups Projects
Commit 0f848afe authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7908 adjust structure of payload

parent 432ade3b
Branches
Tags
1 merge request!17Ozg 7908 aggregation manager server grpc interface
...@@ -41,24 +41,30 @@ message GrpcAggregationData { ...@@ -41,24 +41,30 @@ message GrpcAggregationData {
string status = 2; string status = 2;
string eingangDatum = 3; string eingangDatum = 3;
string vorgangName = 4; string vorgangName = 4;
GrpcPayload payload = 5; GrpcObject payload = 5;
} }
message GrpcPayload { message GrpcObject {
repeated GrpcProperty properties = 1; repeated GrpcProperty properties = 1;
} }
message GrpcProperty { message GrpcProperty {
string key = 1; string key = 1;
GrpcElement value = 2;
}
message GrpcElement {
oneof value { oneof value {
string stringValue = 2; bool boolValue = 1;
GrpcPayload nestedPayload = 3; int64 longValue = 2;
GrpcValueList valueList = 4; string stringValue = 3;
GrpcElementList listValue = 4;
GrpcObject objectValue = 5;
} }
} }
message GrpcValueList { message GrpcElementList {
repeated string values = 1; repeated GrpcElement elements = 1;
} }
message GrpcSendAggregationDataResponse {} message GrpcSendAggregationDataResponse {}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment