From e688b54db7667e9a7a1cd8a0daa682e631c36368 Mon Sep 17 00:00:00 2001 From: Jakub Dudycz Date: Tue, 31 Jul 2018 14:49:35 +0200 Subject: 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 Issue-ID: DCAEGEN2-601 --- .../onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt | 1 + 1 file changed, 1 insertion(+) (limited to 'hv-collector-utils') 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() -- cgit 1.2.3-korg