Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.96 KB

File metadata and controls

43 lines (35 loc) · 1.96 KB

embedded-couchbase

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-couchbase</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.couchbase.enabled (true|false, default is true)

  • embedded.couchbase.reuseContainer (true|false, default is false)

  • embedded.couchbase.services (comma separated list, default is 'INDEX,KV,QUERY,SEARCH')

  • embedded.couchbase.bucketRamMb (default is '100')

  • embedded.couchbase.dockerImage (default is 'couchbase/server:7.6.4')

  • embedded.toxiproxy.proxies.couchbase.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-couchbase container.

Produces

  • embedded.couchbase.bootstrapHttpDirectPort

  • embedded.couchbase.bootstrapCarrierDirectPort

  • embedded.couchbase.host

  • embedded.couchbase.bucket

  • embedded.couchbase.user

  • embedded.couchbase.password

  • embedded.couchbase.toxiproxy.host

  • embedded.couchbase.toxiproxy.port

  • embedded.couchbase.networkAlias

  • Bean ToxiproxyContainer.ContainerProxy couchbaseContainerProxy

Notes

  • Versions of Couchbase 2.x/3.x are not functional via docker, consider use of CouchbaseMock.

  • Spring data couchbase do not allow customization of ports for couchbase client, see SpringDataTest in this repo for reference