From a788d58f813b71644059623877aca629ab49ab74 Mon Sep 17 00:00:00 2001 From: Jakub Dudycz Date: Thu, 5 Jul 2018 14:35:43 +0200 Subject: Implement blocking consul calls Replaced interval based requesting for consul configuration with blocking query calls Closes ONAP-80 Change-Id: If70365bae9fde513d99b047209d085122a5df0dd Signed-off-by: Jakub Dudycz Issue-ID: DCAEGEN2-601 --- .../dcae/collectors/veshv/utils/commandline/CommandLineOption.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 b20f2aab..82711d9b 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 @@ -35,10 +35,10 @@ enum class CommandLineOption(val option: Option) { .desc("URL of ves configuration on consul") .build() ), - UPDATE_INTERVAL(Option.builder("I") - .longOpt("update-interval") + CONSUL_FIRST_REQUEST_DELAY(Option.builder("d") + .longOpt("first-request-delay") .hasArg() - .desc("Consul configuration update interval in seconds") + .desc("Delay of first request to consul in seconds") .build() ), VES_HV_PORT(Option.builder("p") -- cgit 1.2.3-korg