Introduce caffeine cache

Issue-ID: CPS-163
Signed-off-by: Claudio David Gasparini <claudio.gasparini@pantheon.tech>
Change-Id: Iff9b831c2d895d82aff419f60a8dd86a38b545d0
8 files changed
tree: 5b3d9f62011f82b0d78c9a43a1363de635af21f8
  1. checkstyle/
  2. cps-bom/
  3. cps-dependencies/
  4. cps-parent/
  5. cps-rest/
  6. cps-ri/
  7. cps-service/
  8. docker-compose/
  9. spotbugs/
  10. .gitignore
  11. .gitreview
  12. INFO.yaml
  13. LICENSE.txt
  14. pom.xml
  15. README.md
  16. version.properties
README.md

Configuration Persistence Service

This folder contains all files for Configuration Persistence Service.

The code here is related to CPS POC, then it must be kept self contained in this cps folder to prevent any impact on current ccsdk components and to be ready to be moved in its own repo once CPS becomes a standalone project.

Running Locally

  • Run a postgres container instance and create `cpsdb' database:
CREATE USER cps WITH PASSWORD 'cps';
CREATE DATABASE cpsdb OWNER cps;
  • Build (from cps root folder)
mvn clean package
  • Run (from cps root folder)
java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar