-
Notifications
You must be signed in to change notification settings - Fork 2
CDMI JAVA
Welcome to the libcdmi-java wiki!
LibCDMI-Java is an implementation of Cloud Data Management Interface (CDMI) version 1.0 developed at PDC Center for High Performance Computing as a part of Venus-C project.
To use this library, you should have following software installed:
- Java SE 6.0 (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
- Maven 2.x (http://maven.apache.org/download.html)
Then you need to download the library by these commands:
$ git clone [email protected]:livenson/libcdmi-java.git $ cd libcdmi-java
Enusre that your VCDM server and back ends are up and running.
If you intend to run the junit test cases, edit CDMIConnectionTest.java according to your settings: libcdmi-java/src/test/java/eu/venusc/cdmi/CDMIConnectionTest.java
Edit and save: //cdmiServer: url to your server cdmiServer = new URL("http://hostname:port"); creds: your username/password
This'll produce a jar file called: libcdmi-1.0.jar in target folder: libcdmi/targets. This library can be imported by some applications.
There's an example client under libcdmi-java/src/main/java/CDMIClient.java. You can edit the backends according to your environment and run the program.