java-tutorials/couchbase
Seun Matt 90a102ec47 rename module to couchbase (#2646)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom

* refactored tests for PCollections

* spring security xml config

* spring security xml config

* remove redundant comment

* example code for apache-shiro

* updated example code for Vavr Collections

* updated Vavr's Collection example

* updated Vavr Collection file

* updated example code for Apache Shiro

* updated Vavr Collections example

* added example code for N1QL

* update example code for N1QL

* added integration test for N1QL

* update N1QL Example code

* update the N1QL example Code

* rename module to couchbase

* rename module to couchbase

* change module name in parent module and pom
2017-09-19 17:27:22 +02:00
..
src rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00
.gitignore rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00
README.md rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00
mvnw rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00
mvnw.cmd rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00
pom.xml rename module to couchbase (#2646) 2017-09-19 17:27:22 +02:00

README.md

Couchbase SDK Tutorial Project

Relevant Articles:

Overview

This Maven project contains the Java code for the Couchbase entities and Spring services as described in the tutorials, as well as a unit/integration test for each service implementation.

Working with the Code

The project was developed and tested using Java 7 and 8 in the Eclipse-based Spring Source Toolkit (STS) and therefore should run fine in any recent version of Eclipse or another IDE of your choice that supports Java 7 or later.

Building the Project

You can also build the project using Maven outside of any IDE:

mvn clean install

Package Organization

Java classes for the intro tutorial are in the org.baeldung.couchbase.intro package.

Java classes for the Spring service tutorial are in the org.baeldung.couchbase.spring package hierarchy.

Java classes for the Asynchronous Couchbase tutorial are in the org.baeldung.couchbase.async package hierarchy.

Running the tests

The test classes for the Spring service tutorial are:

  • org.baeldung.couchbase.spring.service.ClusterServiceTest
  • org.baeldung.couchbase.spring.person.PersonCrudServiceTest

The test classes for the Asynchronous Couchbase tutorial are in the org.baeldung.couchbase.async package hierarchy:

  • org.baeldung.couchbase.async.service.ClusterServiceTest
  • org.baeldung.couchbase.async.person.PersonCrudServiceTest

The test classes may be run as JUnit tests from your IDE or using the Maven command line:

mvn test