Skip to content
Snippets Groups Projects
Commit c161b596 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-198 - add protobuf file for StatusWechsel

parent cc9a5ac4
No related branches found
No related tags found
No related merge requests found
syntax = "proto3";
package de.itvsh.ozg.pluto.command;
option java_multiple_files = true;
option java_package = "de.itvsh.ozg.pluto.command";
option java_outer_classname = "SharedCommandProto";
message CallContext {
string client = 1;
User user = 2;
}
message User {
string id = 1;
string name = 2;
repeated string roles = 3;
}
\ No newline at end of file
syntax = "proto3";
package de.itvsh.ozg.pluto.vorgang.command;
import "callcontext.proto";
option java_multiple_files = true;
option java_package = "de.itvsh.ozg.pluto.vorgang.command";
option java_outer_classname = "VorgangCommandProto";
service CommandService {
rpc CreateVorgangCommand(CreateVorgangCommandRequest) returns (CommandResponse) {
}
rpc RevokeVorgangCommand(RevokeVorgangCommandRequest) returns (CommandResponse) {
}
}
enum Order {
ANNEHMEN = 0;
}
message CreateVorgangCommandRequest {
de.itvsh.ozg.pluto.command.CallContext context = 1;
string vorgangId = 2;
string order = 3;
string documentVersion = 4;
}
message CommandResponse {
enum ResponseCode {
OK = 0;
PENDING = 1;
ERROR = 2;
CONFLICT = 3;
}
ResponseCode responseCode = 1;
string messageCode = 2;
string messageParameters = 3;
string commandId = 4;
string documentVersion = 5;
}
message MessageParameter {
string name = 1;
string value = 2;
}
message RevokeVorgangCommandRequest {
de.itvsh.ozg.pluto.command.CallContext context = 1;
string commandId = 2;
string documentVersion = 3;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment