Open davsclaus opened 8 years ago
This command supports editing Camel component options for a Spring Boot project in the application.properties file.
The .yaml file is not yet supported, but will work on that. Would require using SnakeYaml or something to parse the yaml.
yaml is a bit more tricky as it can be one line or multi lined values. And SnakeYaml do not preserve comments / spaces.
So we either have to write our own line number parser that can map a key to a line so we can do a gentle replace. And insert new values in the right place.
So we can configure components, like we can do for endpoints.
Currently it creates Java code, but for Spring Boot we can configure this in application.properties / yml file.