templating dataFlows
# umh-support
s
Hi, is there any way of templating dataFlows in the config.yaml? Now I abuse the protocolConverter to template dataFlows. The general idea is to compile a config.yaml from different sources. The 'templates:' section has generic blocks of bridges, data flows and stream processors. The 'dataFlow:', 'protocolConverter:', 'streamProcessor:' describe a configuration specefic per installation. That way I hope to automate the config.yaml generation (will be done by a cloud service and then deployed to the edge).
r
Not sure i fully understand you needs, but it seems you want to use our planned CLI. Can you clarify more what you want to accomplish?
s
First I want to make my config.yaml more human manageable, without meany copied, similar blocks. Later on when we understand completely the process of the config.yaml in UMH-Core we will automate the process of creating a config.yaml (read computer generates config.yaml).
r
This is what our frontend does. The config file is not meant to be altered manually, but you still have the option. Our planned CLI will solve this for you. Why do you want to generate config files? Are you thinking about using some LLM to create/update deployments?
s
Yeah, maybe some llm or an other tool, as part of a pipeline to generate and install software.
r
Can you elaborate more about the whole use case? This would make it easier to understand and perhaps provide the help you need.
s
While learning the system I'm manually editing the config.yaml. Templates for dataFlow's would be nice at this stage. Once in production that will less of an issue because the config.yaml will be generated.
3 Views