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
No related branches found
No related tags found
1 merge request!17Ozg 7908 aggregation manager server grpc interface
......@@ -41,24 +41,30 @@ message GrpcAggregationData {
string status = 2;
string eingangDatum = 3;
string vorgangName = 4;
GrpcPayload payload = 5;
GrpcObject payload = 5;
}
message GrpcPayload {
message GrpcObject {
repeated GrpcProperty properties = 1;
}
message GrpcProperty {
string key = 1;
GrpcElement value = 2;
}
message GrpcElement {
oneof value {
string stringValue = 2;
GrpcPayload nestedPayload = 3;
GrpcValueList valueList = 4;
bool boolValue = 1;
int64 longValue = 2;
string stringValue = 3;
GrpcElementList listValue = 4;
GrpcObject objectValue = 5;
}
}
message GrpcValueList {
repeated string values = 1;
message GrpcElementList {
repeated GrpcElement elements = 1;
}
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