resolveAll method
Resolves all component connection. If connections are configured to be retrieved from Discovery service it finds a IDiscovery and resolves the connection there.
correlationId
(optional) transaction id to trace execution through call chain. Return Future that receives resolved connections Throws error.
Implementation
Future<ConfigParams> resolveAll(String? correlationId) async {
var connections = await connectionResolver.resolveAll(correlationId);
var credential = await credentialResolver.lookup(correlationId);
for (var connection in connections) {
_validateConnection(correlationId, connection, credential);
}
return _composeConnection(connections, credential);
}