File tree Expand file tree Collapse file tree
proto/sagittarius_gateway Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,8 +28,21 @@ message ModuleConfigurationResponse {
2828 shared.ModuleConfigurations module_configurations = 1 ;
2929}
3030
31+ message ModuleConfigurationPushRequest {
32+ int64 runtime_identifier = 1 ;
33+ ModuleConfigurationResponse response = 2 ;
34+ }
35+
36+ message ModuleConfigurationPushResponse {
37+ }
38+
3139//This service will be implemented as a server by Sagittarius and as a client by Aquila.
3240service ModuleService {
41+ // Aquila will call this method to update modules
3342 rpc Update (ModuleUpdateRequest ) returns (ModuleUpdateResponse ) {}
34- rpc Configurations (ModuleUpdateRequest ) returns (stream ModuleUpdateResponse ) {}
43+ // Aquila will call this method to open a stream to receive module configurations
44+ rpc Configurations (ModuleConfigurationRequest ) returns (stream ModuleConfigurationResponse ) {}
45+
46+ // Sagittarius will call this method push new module configurations to aquila
47+ rpc Push (ModuleConfigurationPushRequest ) returns (ModuleConfigurationPushResponse ) {}
3548}
You can’t perform that action at this time.
0 commit comments