File tree Expand file tree Collapse file tree 3 files changed +48
-28
lines changed Expand file tree Collapse file tree 3 files changed +48
-28
lines changed Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ services that Sagittarius must implement as a server.
58
58
│ ├── flow - Flow service (handles flow updates)
59
59
│ ├── flow_definition - FlowType service (handles flow_type updates)
60
60
│ ├── ping - Ping service (performs life checks)
61
- │ └── runtime_function - Service for updating the runtime functions
61
+ │ ├── runtime_function - Service for updating the runtime functions
62
+ │ └── test_execution - Service and Types for the test execution
62
63
└── shared
63
64
├── data_type - Defines types for data types
64
65
├── event - Defines types for events
65
66
├── flow - Defines types for flows
66
67
├── flow_definition - Defines a definition for a Flow
67
68
├── runtime_function_definition - Defines types for runtime functions
68
69
├── struct - Defines types for json representations
69
- ├── test_execution - Defines types test execution
70
70
└── translation - Contains translations with country codes and translated messages
71
71
```
Original file line number Diff line number Diff line change
1
+ syntax = "proto3" ;
2
+
3
+ option ruby_package = "Tucana::Sagittarius" ;
4
+
5
+ package sagittarius ;
6
+
7
+ import "shared.struct.proto" ;
8
+
9
+ message Logon {}
10
+
11
+ message TestExecutionRequest {
12
+ int64 flow_id = 1 ;
13
+ string execution_uuid = 2 ;
14
+ shared.Value body = 3 ;
15
+ }
16
+
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
+ string message = 1 ;
26
+ string level = 2 ;
27
+ string timestamp = 3 ;
28
+ }
29
+
30
+ // Aquila sends a logon request to Sagittarius that initiates a stream
31
+ // If the stream is initialized it will return the result after it received a request
32
+ message ExecutionLogonRequest {
33
+ oneof data {
34
+ Logon logon = 1 ;
35
+ TestExecutionResponse response = 2 ;
36
+ }
37
+ }
38
+
39
+ // Sagittarius sends execution requests
40
+ message ExecutionLogonResponse {
41
+ TestExecutionRequest request = 1 ;
42
+ }
43
+
44
+ service ExecutionService {
45
+ rpc Test (stream ExecutionLogonRequest ) returns (stream ExecutionLogonResponse ) {}
46
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments