mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
simplify usage of Config APi
This commit is contained in:
parent
63501a907a
commit
fe1540d767
@ -242,7 +242,7 @@ public class SSLKsFactory implements NBMapConfigurable {
|
|||||||
|
|
||||||
public NBConfigModel getConfigModel() {
|
public NBConfigModel getConfigModel() {
|
||||||
return ConfigModel.of(SSLKsFactory.class,
|
return ConfigModel.of(SSLKsFactory.class,
|
||||||
Param.optional("ssl", String.class)
|
Param.optional("ssl")
|
||||||
.setDescription("Enable ssl and set the mode")
|
.setDescription("Enable ssl and set the mode")
|
||||||
.setRegex("jdk|openssl"),
|
.setRegex("jdk|openssl"),
|
||||||
Param.defaultTo("tlsversion", DEFAULT_TLSVERSION),
|
Param.defaultTo("tlsversion", DEFAULT_TLSVERSION),
|
||||||
|
Loading…
Reference in New Issue
Block a user