diff options
author | Claudio D. Gasparini <claudio.gasparini@pantheon.tech> | 2021-02-11 08:51:06 +0100 |
---|---|---|
committer | Bruno Sakoto <bruno.sakoto@bell.ca> | 2021-02-15 08:47:27 -0500 |
commit | 4e07d48caae2cdcfa2a583070c08bb572dbb683f (patch) | |
tree | ac6381295b09a9cf062425cf751d453244ee7618 /README.md | |
parent | 994c59050730a200d030ade14b768539089576a2 (diff) |
Update docker-compose
- Add more documentation
- fix application.yml location for service
Issue-ID: CPS-236
Co-authored-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I5a16f520c9536d2034c2afd1de947058d2fb13ee
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 36 |
1 files changed, 6 insertions, 30 deletions
@@ -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/swagger-ui/index.html) - * [Api Documentation](http://localhost:8080/v3/api-docs) |