diff options
Diffstat (limited to 'hv-collector-utils')
-rw-r--r-- | hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/commandline/CommandLineOption.kt | 8 |
1 files changed, 7 insertions, 1 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 27213c95..a654868e 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 @@ -41,6 +41,12 @@ enum class CommandLineOption(val option: Option) { .desc("Delay of first request to consul in seconds") .build() ), + CONSUL_REQUEST_INTERVAL(Option.builder("I") + .longOpt("request-interval") + .hasArg() + .desc("Interval of consul configuration requests in seconds") + .build() + ), VES_HV_PORT(Option.builder("p") .longOpt("ves-port") .required() @@ -105,7 +111,7 @@ enum class CommandLineOption(val option: Option) { |connection might be closed.""".trimMargin()) .build() ), - DUMMY_MODE(Option.builder("d") + DUMMY_MODE(Option.builder("u") .longOpt("dummy") .desc("If present will start in dummy mode (dummy external services)") .build() |