-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbusi.proto
52 lines (43 loc) · 2.01 KB
/
busi.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
syntax = "proto3";
package busi;
import "google/protobuf/empty.proto";
option php_generic_services = true;
option php_namespace = "App\\Grpc\\Message";
option php_metadata_namespace = "App\\Grpc\\GPBMetadata";
// DtmRequest request sent to dtm server
message BusiReq {
int64 Amount = 1;
string TransOutResult = 2;
string TransInResult = 3;
}
message BusiReply {
string message = 1;
}
// The dtm service definition.
service Busi {
rpc TransIn(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOut(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInRevert(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutRevert(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInConfirm(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutConfirm(BusiReq) returns (google.protobuf.Empty) {}
rpc XaNotify(google.protobuf.Empty) returns (google.protobuf.Empty) {}
rpc TransInXa(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutXa(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInTcc(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutTcc(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInTccNested(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInBSaga(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutBSaga(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInRevertBSaga(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutRevertBSaga(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutHeaderYes(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutHeaderNo(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInRedis(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutRedis(BusiReq) returns (google.protobuf.Empty) {}
rpc TransInRevertRedis(BusiReq) returns (google.protobuf.Empty) {}
rpc TransOutRevertRedis(BusiReq) returns (google.protobuf.Empty) {}
rpc QueryPrepared(BusiReq) returns (BusiReply) {}
rpc QueryPreparedB(BusiReq) returns (google.protobuf.Empty) {}
rpc QueryPreparedRedis(BusiReq) returns (google.protobuf.Empty) {}
}