Skip to content

Commit 6197159

Browse files
authored
Merge pull request #288 from code0-tech/feat/#285
Rework test executions
2 parents 0417a5a + a92ac1d commit 6197159

1 file changed

Lines changed: 3 additions & 37 deletions

File tree

proto/sagittarius/sagittarius.text_execution.proto

Lines changed: 3 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,56 +5,22 @@ option ruby_package = "Tucana::Sagittarius";
55
package sagittarius;
66

77
import "shared.struct.proto";
8+
import "shared.execution_result.proto";
89

910
message Logon {}
1011

1112
message TestExecutionRequest {
1213
int64 flow_id = 1;
13-
string execution_uuid = 2;
14+
string execution_identifier = 2;
1415
shared.Value body = 3;
1516
}
1617

17-
message TestExecutionResponse {
18-
int64 flow_id = 1;
19-
string execution_uuid = 2;
20-
shared.Value result = 3;
21-
repeated Log logs = 4;
22-
}
23-
24-
message Log {
25-
oneof kind {
26-
ApplicationLog application_log = 1;
27-
SuccessLog success_log = 2;
28-
RuntimeErrorLog error_log = 3;
29-
}
30-
}
31-
32-
message SuccessLog {
33-
int64 node_id = 1;
34-
shared.Value result = 2;
35-
repeated shared.Value parameter = 3;
36-
string timestamp = 4;
37-
}
38-
39-
message RuntimeErrorLog {
40-
int64 node_id = 1;
41-
string error = 2;
42-
repeated shared.Value parameter = 3;
43-
string timestamp = 4;
44-
}
45-
46-
message ApplicationLog {
47-
string message = 1;
48-
string level = 2;
49-
string timestamp = 3;
50-
}
51-
5218
// Aquila sends a logon request to Sagittarius that initiates a stream
5319
// If the stream is initialized it will return the result after it received a request
5420
message ExecutionLogonRequest {
5521
oneof data {
5622
Logon logon = 1;
57-
TestExecutionResponse response = 2;
23+
shared.ExecutionResult response = 2;
5824
}
5925
}
6026

0 commit comments

Comments
 (0)