java-tutorials/spring-data-couchbase-2
Amit Pandey 7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
..
src Bael 6556 3 (#4382) 2018-06-01 13:12:51 +02:00
README.md BAEL-202: Consolidated Couchbase SDK and Spring Data Couchbase from five modules down to two 2016-10-01 21:25:26 -05:00
pom.xml Bael 5249 cleanup (#4108) 2018-04-26 14:37:47 +02:00

README.md

Spring Data Couchbase Tutorial Project

Relevant Articles:

Overview

This Maven project contains the Java code for Spring Data Couchbase entities, repositories, and template-based 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 first two tutorials listed above are in src/main/java in the package hierarchy org.baeldung.spring.data.couchbase

Java classes for the multiple-bucket tutorials are in src/main/java in the package hierarchy org.baeldung.spring.data.couchbase2b

Running the tests

The test classes for the single-bucket tutorials are in src/test/java in the package org.baeldung.spring.data.couchbase.service:

  • PersonServiceTest (abstract)
  • PersonRepositoryTest (concrete)
  • PersonTemplateServiceTest (concrete)
  • StudentServiceTest (abstract)
  • StudentRepositoryTest (concrete)
  • StudentTemplateServiceTest (concrete)

The concrete test classes for the multiple-bucket tutorial are in src/test/java in the package org.baeldung.spring.data.couchbase2b.service:

  • CampusRepositoryServiceImplTest
  • PersonRepositoryServiceImplTest
  • StudentRepositoryServiceImplTest

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

mvn test