Skip to content

Commit

Permalink
ARTEMIS-4372 Renaming --staticCluster as --static-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
clebertsuconic committed Sep 1, 2023
1 parent b11945e commit 78a3e66
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public class Create extends InstallAbstract {
@Option(names = "--jdbc", description = "Store message data in JDBC instead of local files.")
boolean jdbc;

@Option(names = "--staticCluster", description = "Cluster node connectors list separated by comma, e.g. \"tcp://server:61616,tcp://server2:61616,tcp://server3:61616\".")
@Option(names = {"--staticCluster", "--static-cluster"}, description = "Cluster node connectors list separated by comma, e.g. \"tcp://server:61616,tcp://server2:61616,tcp://server3:61616\".")
String staticNode;

@Option(names = "--support-advisory", description = "Support advisory messages for the OpenWire protocol.")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ protected void doExecute() throws MojoExecutionException, MojoFailureException {
}

if (staticCluster != null) {
add(listCommands, "--staticCluster", staticCluster);
add(listCommands, "--static-cluster", staticCluster);
}

if (!javaOptions.isEmpty()) {
Expand Down
4 changes: 2 additions & 2 deletions docs/user-manual/using-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Usage: artemis create [--aio] [--allow-anonymous] [--autocreate] [--autodelete]
[--ssl-key-password=<sslKeyPassword>]
[--ssl-trust=<sslTrust>]
[--ssl-trust-password=<sslTrustPassword>]
[--staticCluster=<staticNode>] [--user=<user>]
[--static-cluster=<staticNode>] [--user=<user>]
[--java-options=<javaOptions>]... <directory>
Create a new broker instance.
<directory> The instance directory to hold the broker's
Expand Down Expand Up @@ -257,7 +257,7 @@ Create a new broker instance.
authentication.
--ssl-trust-password=<sslTrustPassword>
The trust store's password.
--staticCluster=<staticNode>
--static-cluster=<staticNode>
Cluster node connectors list separated by comma, e.
g. "tcp://server:61616,tcp://server2:61616,tcp:
//server3:61616".
Expand Down
4 changes: 2 additions & 2 deletions docs/user-manual/using-server.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ SYNOPSIS
[--role <role>] [--security-manager <securityManager>] [--shared-store]
[--silent] [--slave] [--ssl-key <sslKey>]
[--ssl-key-password <sslKeyPassword>] [--ssl-trust <sslTrust>]
[--ssl-trust-password <sslTrustPassword>] [--staticCluster <staticNode>]
[--ssl-trust-password <sslTrustPassword>] [--static-cluster <staticNode>]
[--use-client-auth] [--user <user>] [--verbose] [--] <directory>
OPTIONS
Expand Down Expand Up @@ -337,7 +337,7 @@ OPTIONS
--ssl-trust-password <sslTrustPassword>
The trust store password
--staticCluster <staticNode>
--static-cluster <staticNode>
Cluster node connectors list, separated by comma: Example
"tcp://server:61616,tcp://server2:61616,tcp://server3:61616"
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@
<arg>--name</arg>
<arg>cluster1</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61716</arg>
<arg>--max-hops</arg>
<arg>1</arg>
Expand Down Expand Up @@ -1227,7 +1227,7 @@
<arg>--name</arg>
<arg>cluster2</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61616</arg>
<arg>--max-hops</arg>
<arg>1</arg>
Expand Down
4 changes: 2 additions & 2 deletions tests/soak-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@
<arg>--java-options</arg>
<arg>-Djava.rmi.server.hostname=localhost</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61716</arg>
<arg>--queues</arg>
<arg>ClusteredLargeMessageInterruptTest</arg>
Expand Down Expand Up @@ -414,7 +414,7 @@
<arg>--java-options</arg>
<arg>-Djava.rmi.server.hostname=localhost</arg>
<arg>--clustered</arg>
<arg>--staticCluster</arg>
<arg>--static-cluster</arg>
<arg>tcp://localhost:61616</arg>
<arg>--queues</arg>
<arg>ClusteredLargeMessageInterruptTest</arg>
Expand Down

0 comments on commit 78a3e66

Please sign in to comment.