Fix SonarQube Violations

Issue-ID: CPS-89

Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I72e734929b464072e23b08a1e213b5fac31ff710
2 files changed
tree: 380c87fbf8f274f5968d87235810f706f941ec3c
  1. checkstyle/
  2. cps-application/
  3. cps-bom/
  4. cps-dependencies/
  5. cps-nf-proxy-rest/
  6. cps-parent/
  7. cps-rest/
  8. cps-ri/
  9. cps-service/
  10. docker-compose/
  11. spotbugs/
  12. .gitignore
  13. .gitreview
  14. INFO.yaml
  15. LICENSE.txt
  16. pom.xml
  17. README.md
  18. 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