@@ -6,14 +6,22 @@ option ruby_package = "Tucana::Shared";
66
77import "shared.translation.proto" ;
88
9- message AdapterConfiguration {
9+ message AdapterStatusConfiguration {
1010 // List of flow type identifiers for this specific AdapterConfiguration
1111 repeated string flow_type_identifiers = 1 ;
1212 oneof data {
1313 string endpoint = 2 ; // e.g. URL, ...
1414 }
1515}
1616
17+ message ActionStatusConfiguration {
18+ // List of flow type identifiers for this specific ActionStatusConfiguration
19+ repeated string flow_type_identifiers = 1 ;
20+ oneof data {
21+ string endpoint = 2 ; // e.g. URL, ...
22+ }
23+ }
24+
1725message RuntimeFeature {
1826 repeated shared.Translation name = 1 ;
1927 repeated shared.Translation description = 2 ;
@@ -34,7 +42,7 @@ message AdapterRuntimeStatus {
3442 string identifier = 3 ; // unique identifier of the adapter
3543
3644 repeated RuntimeFeature features = 4 ;
37- repeated AdapterConfiguration configurations = 5 ;
45+ repeated AdapterStatusConfiguration configurations = 5 ;
3846}
3947
4048message ExecutionRuntimeStatus {
@@ -53,3 +61,23 @@ message ExecutionRuntimeStatus {
5361
5462 repeated RuntimeFeature features = 4 ;
5563}
64+
65+
66+ message ActionStatus {
67+ enum Status {
68+ UNKNOWN = 0 ;
69+ NOT_RESPONDING = 1 ;
70+ NOT_READY = 2 ;
71+ RUNNING = 3 ;
72+ STOPPED = 4 ;
73+ }
74+
75+ Status status = 1 ;
76+ int64 timestamp = 2 ; // epoch timestamp in milliseconds
77+
78+ string identifier = 3 ; // unique identifier of the action
79+
80+ repeated RuntimeFeature features = 4 ;
81+ repeated ActionStatusConfiguration configurations = 5 ;
82+ }
83+
0 commit comments