Fix code smell

Issue-ID: CPS-89

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I57fbcc57f0d9c03d5757279429afec107d79f49b
1 file changed
tree: e4cf2e78001170062d3976ba6f1beae2ba1b29f0
  1. cps-bom/
  2. cps-dependencies/
  3. cps-parent/
  4. cps-rest/
  5. cps-ri/
  6. cps-service/
  7. docker-compose/
  8. .gitignore
  9. .gitreview
  10. INFO.yaml
  11. LICENSE.txt
  12. pom.xml
  13. README.md
  14. 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