private Config loadConfigFileWithFlowNameOverrides(Path configFilePath) throws IOException {
    Config flowConfig = this.pullFileLoader.loadPullFile(configFilePath, emptyConfig, false);
    String flowName = FSSpecStore.getSpecName(configFilePath);
    String flowGroup = FSSpecStore.getSpecGroup(configFilePath);

    return flowConfig.withValue(ConfigurationKeys.FLOW_NAME_KEY, ConfigValueFactory.fromAnyRef(flowName))
        .withValue(ConfigurationKeys.FLOW_GROUP_KEY, ConfigValueFactory.fromAnyRef(flowGroup));
  }
private Config loadConfigFileWithFlowNameOverrides ( Path configFilePath ) throws IOException { Config flowConfig = this . pullFileLoader . loadPullFile ( configFilePath , emptyConfig , false ) ; String flowName = FSSpecStore . getSpecName ( configFilePath ) ; String flowGroup = FSSpecStore . getSpecGroup ( configFilePath ) ; return flowConfig . withValue ( ConfigurationKeys . FLOW_NAME_KEY , ConfigValueFactory . fromAnyRef ( flowName ) ) . withValue ( ConfigurationKeys . FLOW_GROUP_KEY , ConfigValueFactory . fromAnyRef ( flowGroup ) ) ; }
Load the config file and override the flow name and flow path properties with the names from the file path
@param configFilePath path of the config file relative to the repository root
@return the configuration object
@throws IOException