@@ -4,6 +4,8 @@ package shared;
44
55option ruby_package = "Tucana::Shared" ;
66
7+ import "shared.translation.proto" ;
8+
79message AdapterConfiguration {
810 oneof data {
911 string endpoint = 1 ; // e.g. URL, ...
@@ -18,23 +20,28 @@ enum RuntimeStatus {
1820 STOPPED = 4 ;
1921}
2022
23+ message RuntimeFeature {
24+ repeated shared.Translation name = 1 ;
25+ repeated shared.Translation description = 2 ;
26+ }
27+
2128message AdapterRuntimeStatus {
2229 RuntimeStatus status = 1 ;
23- string timestamp = 2 ; // epoch timestamp in milliseconds
30+ int64 timestamp = 2 ; // epoch timestamp in milliseconds
2431
2532 string identifier = 3 ; // unique identifier of the adapter
2633
2734 // All the supported features: e.g. ['http'] / ['cron'] / ['http', 'cron']
28- repeated string features = 4 ;
35+ repeated RuntimeFeature features = 4 ;
2936 repeated AdapterConfiguration configurations = 5 ;
3037}
3138
3239message ExecutionRuntimeStatus {
3340 RuntimeStatus status = 1 ;
34- string timestamp = 2 ; // epoch timestamp in milliseconds
41+ int64 timestamp = 2 ; // epoch timestamp in milliseconds
3542
3643 string identifier = 3 ; // unique identifier of the adapter
3744
3845 // All the supported features: e.g. ['http'] / ['cron'] / ['http', 'cron']
39- repeated string features = 4 ;
46+ repeated RuntimeFeature features = 4 ;
4047}
0 commit comments