private Config getNodeConfigWithOverrides ( Config nodeConfig , Path nodeFilePath ) { String nodeId = nodeFilePath . getParent ( ) . getName ( ) ; return nodeConfig . withValue ( FlowGraphConfigurationKeys . DATA_NODE_ID_KEY , ConfigValueFactory . fromAnyRef ( nodeId ) ) ; }
Helper that overrides the data . node . id property with name derived from the node file path