File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,30 @@ service InternalService {
13
13
14
14
// Get configurations of all instances.
15
15
16
+ // General structure of returned configuration
17
+ message ConfigData {
18
+ // Structure of configuration of single instance.
19
+ message InstanceConfig {
20
+ // Tarantool instance configuration.
21
+ MapValue config
22
+ // Instance URI.
23
+ Value uri
24
+ // Instance replicaset.
25
+ string replicaset
26
+ // Instance group.
27
+ string group
28
+ }
29
+ // The name of the instance that provided this configuration.
30
+ string name
31
+ // Configurations of all instances.
32
+ map<string, InstanceConfig> instances
33
+ }
34
+
16
35
message GetConfigRequest {}
17
36
18
37
message GetConfigResponse {
19
38
// Error information. Set only on failure.
20
39
Error error = 1 ;
21
40
// Configurations of instances.
22
- Value config = 2 ;
41
+ ConfigData config = 2 ;
23
42
}
You can’t perform that action at this time.
0 commit comments