Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.64 KB

File metadata and controls

46 lines (31 loc) · 1.64 KB

Ceph Module

!!! note This module is INCUBATING. While it is ready for use and operational in the current version of Testcontainers, it is possible that it may receive breaking changes in the future. See our contributing guidelines for more information on our incubating modules policy.

Testcontainers module for Ceph.

Ceph vs Localstack for simulating S3

One possible usage for the Ceph module is to take advantage of its S3 compatibility.

For simulating S3 you may wish to also consider the Localstack module. Ceph and Localstack provide good compatibility with the S3 API, and we encourage you to evaluate both.

Localstack is likely to be a better choice if you require simulation of other AWS services along with S3.

Usage example

Creating a Ceph container:

Creating a Ceph container inside_block:creating_container

Configuring an S3 Client to use Ceph:

Configuring an S3 Client to use Ceph inside_block:setting_up_s3_client

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

testCompile "org.testcontainers:ceph:{{latest_version}}"
<dependency>
    <groupId>org.testcontainers</groupId>
    <artifactId>ceph</artifactId>
    <version>{{latest_version}}</version>
    <scope>test</scope>
</dependency>