HTTPS SSH

Amdatu BlobStores

BlobStores are used to store (large) files in the cloud. Amdatu BlobStores is based on the jclouds library that supports BlobStores from several cloud providers such as Amazon S3 and Microsoft Azure. Amdatu BlobStores re-packages jclouds and all of it's dependencies to provide a single comprehensive component that is available as an OSGi service which is configurable using a Managed Service Factory. This way ConfigurationAdmin can be used to configure BlobStores while using the jclouds API to use the BlobStores from code.

Usage

Please visit the BlobStores component page on the Amdatu website for a detailed description on how to use Amdatu Blobstores.

Building

The source code can be built on the command line using Gradle, or by using Bndtools in Eclipse. Tests can be ran from command line using Gradle as well, or by using JUnit in Eclipse.

Eclipse using Bndtools

When Bndtools is correctly installed in Eclipse, import all subprojects into the workspace using Import -> Existing Projects into Workspace from the Eclipse context menu. Ensure project -> Build Automatically is checked in the top menu, and when no (compilation) errors are present, each subproject's bundles should be available in their generated folder after building.

Gradle

When building from command line, invoke ./gradlew jar from the root of the project. This will assemble all project bundles and place them in the generated folder of each subproject.

Testing

Eclipse using Bndtools

Unit tests can be ran per project or per class, using JUnit in Eclipse. Unit tests are ran by right clicking a project which contains a non-empty test folder or a test class and choosing Run As -> JUnit Test.

Integration tests can be ran in a similar way; right click an integration test project (commonly suffixed by .itest), but select Run As -> Bnd OSGi Test Launcher (JUnit) instead.

Gradle

Unit tests are ran by invoking ./gradlew test from the root of the project.

Integration tests can be ran by running a full build, this is done by invoking ./gradlew build from the root of the project. More info on available Gradle tasks can be found by invoking ./gradlew tasks.

License

The Amdatu BlobStores project is licensed under Apache License 2.0.