1 # Configuration Persistence Service
3 This folder contains all files for
4 [Configuration Persistence Service](https://wiki.onap.org/pages/viewpage.action?pageId=81406119).
6 The code here is related to CPS POC, then it must be kept self contained in this cps folder to prevent any impact on
7 current ccsdk components and to be ready to be moved in its own repo once CPS becomes a standalone project.
12 * Run a postgres container instance and create `cpsdb' database:
15 CREATE USER cps WITH PASSWORD 'cps';
16 CREATE DATABASE cpsdb OWNER cps;
19 * Build (from cps root folder)
25 * Run (from cps root folder)
28 java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar
32 * [Swagger UI](http://localhost:8080/api/cps/swagger-ui/index.html)
33 * [Api Documentation](http://localhost:8080/api/cps/v3/api-docs)