- Kinetic Protocol Definition: [https://github.com/Kinetic/kinetic-protocol] (https://github.com/Kinetic/kinetic-protocol)
Project components:
kinetic-client
(Java client API and implementation of Kinetic Protocol)kinetic-simulator
(Kinetic device simulator)kinetic-common
(Common library for kinetic-client and kinetic-simulator)kinetic-test
(Test Suite for simulator and kinetic devices)
- Latest version of Git: http://git-scm.com/downloads
- JDK 1.7 or above: http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Maven 3.0.3 or later: http://maven.apache.org/download.cgi
cd ~/workspace
git clone https://github.com/Kinetic/kinetic-java.git
mvn clean package
# By default, simulator uses "USER-HOME/kinetic" as its data store folder.
# To build, the "workspace" must be located in a separate folder as the data store folder.
Start with simulator jar:
cd ~/workspace
java -jar kinetic-simulator/target/kinetic-simulator-"Version"-SNAPSHOT-jar-with-dependencies.jar
where "Version" above is the build version number (such as 3.0.7).
Start with script (If configuring tcp_port, tls_port and Kinetic_home, type script -help
for usage help):
cd ~/workspace
./bin/startSimulator.sh
cd ~/workspace
# ping <device-ip>,
# e.g.:
./bin/ping.sh 127.0.0.1
- Run the integration tests against the simulator with specified max memory:
mvn test -DargLine="-Xmx500M"
- Run the integration tests against the remote instance at a particular host:
mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_HOST=1.2.3.4
- Download, build, and start simulator as described in Quick Start section above
- Run admin CLI
cd ~/workspace
./bin/kineticadmin.sh -help
- The simulator should be running, default port for TCP is 8123, SSL/TLS port is 8443
./bin/kineticadmin.sh -instanterase
Examples are located at the following directory.
"workspace"/kinetic-test/src/test/java/com/seagate/kinetic/example
To browse Javadoc: http://kinetic.github.io/kinetic-java/
- kinetic-releases: https://github.com/Kinetic/kinetic-java/releases
- Download, build, and start simulator as described in Quick Start section above
cd "workspace"/bin
sh runSmokeTests.sh [-host host_ip] [-port port] [-tlsport tlsport] [-home kinetic_home]
The kinetic tools and console provide tools to discover, setup, configure, and monitor Kinetic devices.
[https://github.com/Seagate/kinetic-java-tools] (https://github.com/Seagate/kinetic-java-tools)