diff options
author | Jakub Dudycz <jakub.dudycz@nokia.com> | 2018-07-31 14:49:35 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-03 11:27:21 +0200 |
commit | e688b54db7667e9a7a1cd8a0daa682e631c36368 (patch) | |
tree | e688d2c20227fafdd090614b25e21238e85dfea5 /hv-collector-utils | |
parent | 185bc70fa1c024e532649bea650183e05c2d3d87 (diff) |
Remove default consul configuration
Default consul configuration is not needed in real life use case
and it doesnt even bring anything useful in our test environment,
since it's immediately overriden.
Tasks:
- remove default consul configuration
- make "config-url" argument required
Closes ONAP-727
Change-Id: I4a01cebfc6b2918fa3aa6020504def60572b09da
Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-utils')
-rw-r--r-- | hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt b/hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt index 6180adf5..44de9d7a 100644 --- a/hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt +++ b/hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt @@ -32,6 +32,7 @@ enum class CommandLineOption(val option: Option) { ), CONSUL_CONFIG_URL(Option.builder("c") .longOpt("config-url") + .required() .hasArg() .desc("URL of ves configuration on consul") .build() |