File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ option ruby_package = "Tucana::Aquila";
55package aquila ;
66
77import "shared.action_configuration.proto" ;
8+ import "shared.execution_result.proto" ;
89import "shared.struct.proto" ;
910
1011// Event that gets admitted by an action
@@ -37,19 +38,14 @@ message ExecutionRequest {
3738 int64 project_id = 4 ;
3839}
3940
40- message ActionRuntimeError {
41- string code = 1 ;
42- optional string description = 2 ;
43- }
44-
4541// Result from executed flows by an action
4642message ExecutionResult {
4743 // Identifier of flow to execute
4844 string execution_identifier = 1 ;
4945 // Result of executed flow
5046 oneof result {
5147 shared.Value success = 2 ;
52- ActionRuntimeError error = 3 ;
48+ shared.RuntimeError error = 3 ;
5349 }
5450}
5551
Original file line number Diff line number Diff line change 1+ syntax = "proto3" ;
2+
3+ package shared ;
4+
5+ option ruby_package = "Tucana::Shared" ;
6+
7+ import "shared.struct.proto" ;
8+
9+ message NodeParameterNodeExecutionResult {
10+ shared.Value value = 5 ;
11+ }
12+
13+ message RuntimeError {
14+ string code = 1 ;
15+ optional string description = 2 ;
16+ }
17+
18+ message NodeExecutionResult {
19+
20+ int64 node_id = 1 ;
21+ int64 started_at = 2 ;
22+ int64 finished_at = 3 ;
23+
24+ repeated NodeParameterNodeExecutionResult parameter_results = 4 ;
25+
26+ oneof result {
27+ shared.Value success = 5 ;
28+ RuntimeError error = 6 ;
29+ }
30+
31+ }
32+
33+ message ExecutionResult {
34+
35+ string execution_identifier = 1 ;
36+ int64 flow_id = 2 ;
37+ int64 started_at = 3 ;
38+ int64 finished_at = 4 ;
39+ shared.Value input = 5 ;
40+
41+ repeated NodeExecutionResult node_execution_results = 6 ;
42+
43+ // Result of executed flow
44+ oneof result {
45+ shared.Value success = 7 ;
46+ RuntimeError error = 8 ;
47+ }
48+
49+ }
You can’t perform that action at this time.
0 commit comments