Introduce CPS-checkstyle

new module will define our own java checkstyle.
Which should extend any rule desired and not covered
already by onap checkstyle

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