Hazelcast Debug CLI.
Prep. work for ONOS-1767
Wrapping HZ bundled TestApp CLI, to use ONOS hazelcast.xml
Could be used for simple performance measurements.
Example: measure Throughput from 5000 increments)
hazelcast[default] > #5000 a.inc
...
ops/s = 1238
Change-Id: Ia728b339bf569cd521061d1f119143ea287207be
diff --git a/pom.xml b/pom.xml
index 0725340..779d78c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -846,5 +846,29 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>hz-cli</id>
+ <build>
+ <plugins>
+ <!-- mvn exec:java -P hz-cli to start Hazelcast CLI -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.2.1</version>
+ <configuration>
+ <mainClass>net.onrc.onos.core.datagrid.HazelcastCLI</mainClass>
+ <systemProperties>
+ <systemProperty>
+ <key>hazelcast.logging.type</key>
+ <value>slf4j</value>
+ </systemProperty>
+ </systemProperties>
+ </configuration>
+ <executions>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>