Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
README.md
pom.xml

README.md

Couchbase Project

Couchbase: Couchbase Server, originally known as Membase, is an open-source, distributed multi-model NoSQL document-oriented database software package that is optimized for interactive applications.

How To test

Once this a communication layer to Couchbase, we're using integration test, so you need to install Couchbase. The recommended way is using Docker.

Docker

  1. Execute the test mvn clean install

Install without testing

If you won't run the tests the database is not required, so just run the maven skipping the tests.

  1. Execute the test mvn clean install -DskipTests

Adding dependencies

If you are not using a Java EE application server, you must add the following dependencies:

Maven

<dependency>
    <groupId>org.eclipse</groupId>
    <artifactId>yasson</artifactId>
    <version>1.0</version>
</dependency>

<dependency>
    <groupId>org.glassfish</groupId>
    <artifactId>javax.json</artifactId>
    <version>1.1</version>
</dependency>

Gradle

compile('org.eclipse:yasson:1.0')
compile('org.glassfish:javax.json:1.1')