1. Clone the code: `git clone git@github.com:Seagate/LC2.git`
1. Run the integration tests against the Java Simulator: `mvn test -DargLine="-Xmx500M"`
1. Run the integration tests but exclude specific files: `mvn test -Dmaven.test.excludes="**/File.java,**/OtherFile.java"
1. Run the integration tests against the skinny waist implementation at a particular path: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_PATH=/path/to/kinetic_home`
1. Run the integration tests against the skinny waist implementation at a particular host: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_HOST=1.2.3.4`
1. Run the integration tests against the skinny waist implementation at a particular host using SSH to reset state before runs: `mvn test -DRUN_AGAINST_EXTERNAL=true -DKINETIC_HOST=1.2.3.4 -DFAST_CLEAN_UP=true`
Getting Started With Simulator
================================
1. Run "mvn clean package" in "Kinetic-Folder"
2. Start with java CLI:
java -jar in "Kinetic-Folder"/kinetic-simulator/target/kinetic-simulator-0.5.0.1-SNAPSHOT-jar-with-dependencies.jar
or Start with script (If configuration tcp_port, tls_port and Kinetic_home, use script -help):
Windows:
cd "Kinetic-Folder"\bin
startSimulator.bat
Linux & Mac:
cd "Kinetic-Folder"/bin
sh startSimulator.sh
Admin command line Usage
==============================
1, make sure "Kinetic-Folder"/kinetic-simulator/target/kinetic-simulator-0.5.0.1-SNAPSHOT-jar-with-dependencies.jar
1. Run "mvn clean package" in "Kinetic-Folder"/kinetic-client, "Kinetic-Folder"/kinetic-simulator and "Kinetic-Folder"/kinetic-test.
2. Javadoc will be generated for modules in directory of "Kinetic-Folder"/kinetic-client/doc, "Kinetic-Folder"/kinetic-simulator/doc and "Kinetic-Folder"/kinetic-test/doc.
Run smoke test against simulator or kinetic drive
==================================
Make sure one instance of simulator or kinetic drive is running.
1. Run "mvn clean package" in "Kinetic-Folder" or "Kinetic-Folder"/kinetic-test, verify