Skip to content

Commit ee27941

Browse files
committed
temp
1 parent 22d6ed9 commit ee27941

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

aeon_internal.proto

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,30 @@ service InternalService {
1313

1414
// Get configurations of all instances.
1515

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+
1635
message GetConfigRequest {}
1736

1837
message GetConfigResponse {
1938
// Error information. Set only on failure.
2039
Error error = 1;
2140
// Configurations of instances.
22-
Value config = 2;
41+
ConfigData config = 2;
2342
}

0 commit comments

Comments
 (0)