Skip to content

RosarioB/spring-boot-rest-api-crud-couchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

spring-boot-rest-api-crud-couchbase

Spring Boot REST APIs with CRUD for Couchbase.

Each branch implements different features:

  • basic_crud: basic REST APIs with CRUD for Couchbase

  • transactions_implementations: REST APIs with transactions. In transactions Couchbase uses durability level majority by default. Here https://docs.couchbase.com/server/current/learn/data/durability.html it is explained how to configure the number of replicas in relation to the number of nodes. For example if you start a couchbase server in local and you have 1 node you must set a number of replicas equal to 0 otherwise it will raise an exception. The other solution could be to set the Durability level to NONE but the ACID guarantees won't be provided in transactions. Furthermore I am looking for next release of spring data couchbase in which will be solved this issue spring-projects/spring-data-couchbase#1745 with the deleteAll method.

The APIs work fine but some tests may fail randomly if you run them altogheter. I am trying to solve the issue.

If you have any suggestions or thoughts feel free to contact me.

About

Spring Boot REST APIs with CRUD for Couchbase

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published