User should be able to run Knot.x with multiple configuration files, e.g. by:
java -jar knotx-example-monolith-X.X.X-fat.jar -configDir ./configuration
Where configuration is the directory where JSON config files are stored.
When configuration directory contains knotx-example-monolith.json file, both commands are equivalent.
When configuration directory contains more than one JSON file, all files are merged and treated as a single configuration file.
The goal of this task is to enable providing Knot.x configuration with multiple JSON config files. Currently Knot.x is runned with command:
java -jar knotx-example-monolith-X.X.X-fat.jar -conf knotx-example-monolith.json
User should be able to run Knot.x with multiple configuration files, e.g. by:
java -jar knotx-example-monolith-X.X.X-fat.jar -configDir ./configuration
Where
configuration
is the directory where JSON config files are stored.When
configuration
directory containsknotx-example-monolith.json
file, both commands are equivalent. Whenconfiguration
directory contains more than one JSON file, all files are merged and treated as a single configuration file.