mrt-storeCloud / README-SETUP.txt

Full commit

* Requirements
JDK 1.6(+)
Java servlet container that accepts .war (e.g. tomcat, resin, jetta, ...)
maven 2
* Setup local maven dependencies
storeCloud is has 2 dependencies:

- clone each of the 3 bitbucket projects locally

- run mvn on each project
cd mrt-core
mvn clean install
cd ../mrt-s3
mvn clean install
cd ../mrt-storecloud
mvn clean install

* Create basic d-flat repository using base/storage/
Edit  - these ant properties that define the
new Storage Microservice 

-storage.node=[absolute file path to storage node that will be constructed by script]
Example: storage.node=/home/me/store

-can.node=[absolute file path to CAN node that will be constructed by script]
The actual storage of the pairtree/dflat architecture will occur under ths directory.
Example: can.node=/home/me/node
Required[any number - used in restful interface]
The Storage Service restful calls use this number which must be unique to the
Storage service.
Required[Absolute URL that will be used for the Storage Service]
This is the URL for your Storage Service calls.
if present then delete storage service every time clean/build is done in maven
Default: do not delete

if present then delete CAN every time clean/build is done in maven
Default: do not delete

NOTE: If you are using Windows for your Storage Service, then the file paths that you
set in the properties need to be specified in a unix style format with forward slashes:
C:/Documents and Settings/dloy/...

* run maven
cd to downloaded version of mrt-storeCloud
mvn install -Pdemo

This should build a working storage service


* Building a working servlet
After running the previous step a storage.war file will now exist that can be used
on the Storage Service defined by the previous step.

The .war is base/store-war/war/storage.war

Place this .war in a java container (tomcat/webapps, resin/webapps, jetta, ...) and start the container.

The restful interface should now be available at[]

- []/state 
Example: - Storage Service state

- []/state/[[]
Example: - CAN state

- Storage service URLs are sensitive to slashes (/) so URL encoding is required for any
URL element containing a slash: