diff options
author | 2018-07-05 14:35:43 +0200 | |
---|---|---|
committer | 2018-08-02 12:24:04 +0200 | |
commit | a788d58f813b71644059623877aca629ab49ab74 (patch) | |
tree | ea49e72a023d1d8fe735f292628c43684fa63074 /hv-collector-utils/src | |
parent | 72b60289c3aa91f91893193011a01ea11bee2375 (diff) |
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 <jdudycz@nokia.com>
Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-utils/src')
-rw-r--r-- | hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt | 6 |
1 files changed, 3 insertions, 3 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 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") |