@@ -2,47 +2,14 @@ syntax = "proto3";
22
33package sagittarius ;
44
5- option ruby_package = "Tucana::Sagittarius" ;
6-
7- message AdapaterStatusInformation {
8- oneof data {
9- string endpoint = 1 ; // e.g. URL, cron expression, ...
10- }
11- }
12-
13- enum Status {
14- UNKNOWN = 0 ;
15- NOT_RESPONDING = 1 ;
16- NOT_READY = 2 ;
17- RUNNING = 3 ;
18- STOPPED = 4 ;
19- }
20-
21- message AdapterRuntimeStatus {
22- Status status = 1 ;
23- string timestamp = 2 ; // epoch timestamp in milliseconds
5+ import "shared.runtime_status.proto" ;
246
25- string identifier = 3 ; // unique identifier of the adapter
26-
27- // All the supported features: e.g. ['http'] / ['cron'] / ['http', 'cron']
28- repeated string feature_set = 4 ;
29- repeated AdapaterStatusInformation informations = 5 ;
30- }
31-
32- message ExecutionRuntimeStatus {
33- Status status = 1 ;
34- string timestamp = 2 ; // epoch timestamp in milliseconds
35-
36- string identifier = 3 ; // unique identifier of the adapter
37-
38- // All the supported features: e.g. ['http'] / ['cron'] / ['http', 'cron']
39- repeated string feature_set = 4 ;
40- }
7+ option ruby_package = "Tucana::Sagittarius" ;
418
429message RuntimeStatusUpdateRequest {
4310 oneof status {
44- AdapterRuntimeStatus adapter_runtime_status = 1 ;
45- ExecutionRuntimeStatus execution_runtime_status = 2 ;
11+ shared. AdapterRuntimeStatus adapter_runtime_status = 1 ;
12+ shared. ExecutionRuntimeStatus execution_runtime_status = 2 ;
4613 }
4714}
4815
0 commit comments