readFromFile method

Future<ContainerConfig> readFromFile (String correlationId, String path, ConfigParams parameters)

Reads container configuration from JSON or YAML file. The type of the file is determined by file extension.

  • correlationId (optional) transaction id to trace execution through call chain.
  • path a path to component configuration file.
  • parameters values to parameters the configuration or null to skip parameterization. Returns the read container configuration