X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=README.md;h=61a3af4b149547f8273ad06bba5d59106ce79bac;hb=2f09266fd3231529e41ce97b02577bc5b82a8c03;hp=d1bf49d8cfcf3cb16a5b437d8868c7a1d5a7d881;hpb=c61942632e69165266c8a8834073d993b8b5c34e;p=cps.git diff --git a/README.md b/README.md index d1bf49d8cf..61a3af4b14 100644 --- a/README.md +++ b/README.md @@ -1,34 +1,29 @@ -# Configuration Persistence Service - -This folder contains all files for -[Configuration Persistence Service](https://wiki.onap.org/pages/viewpage.action?pageId=81406119). - -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 -``` +# Configuration Persistence Service -* Run (from cps root folder) +## General Information +* [CPS Project Wiki](https://wiki.onap.org/display/DW/Configuration+Persistence+Service+Project) -```bash -java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar -``` +## 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) -* Browse - * [Swagger UI](http://localhost:8080/swagger-ui/index.html) - * OpenAPI Specification in [JSON](http://localhost:8080/api/cps/openapi.json) - or [YAML](http://localhost:8080/api/cps/openapi.yaml) format