X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=README.md;h=c7bbd8116a5a76ad06959c1b2ecac76d24f57f68;hb=49a609c8e2d359b62d1b27058e663c1dbf7344c6;hp=d5f0c66f4c292228111d786dfa272c0d3a544d16;hpb=7f6616e5d7e2759bc21fad0e363e4e356a8ec8f9;p=cps.git diff --git a/README.md b/README.md index d5f0c66f4..c7bbd8116 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,9 @@ # Configuration Persistence Service -This folder contains all files for -[Configuration Persistence Service](https://wiki.onap.org/pages/viewpage.action?pageId=81406119). +## General Information +* [CPS Project Wiki](https://wiki.onap.org/display/DW/Configuration+Persistence+Service+Project) + +## For Developers +* [Developer Wiki](https://wiki.onap.org/display/DW/Configuration+Persistence+Service+Developer%27s+Landing+Page) +* [Building and running CPS locally](docker-compose/README.md) -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) - -```bash -mvn clean package -``` - -* Run (from cps root folder) - -```bash -java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar -``` - -* Browse - * [Swagger UI](http://localhost:8080/api/cps/swagger-ui/index.html) - * [Api Documentation](http://localhost:8080/api/cps/v3/api-docs)