Initial cps-nf-proxy-rest module setup in CPS project

Issue-ID: CPS-171
Change-Id: I8998dc2818b6bc07fc4fe25a2d735b4ab8b4b817
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
15 files changed
tree: e02fff6a25ad49e177522e14ed3cc646d7ffd06f
  1. checkstyle/
  2. cps-bom/
  3. cps-dependencies/
  4. cps-nf-proxy-rest/
  5. cps-parent/
  6. cps-rest/
  7. cps-ri/
  8. cps-service/
  9. docker-compose/
  10. spotbugs/
  11. .gitignore
  12. .gitreview
  13. INFO.yaml
  14. LICENSE.txt
  15. pom.xml
  16. README.md
  17. 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