commit | b1ccfce0b229d544bf08b1c197a2365b40369796 | [log] [tgz] |
---|---|---|
author | Claudio D. Gasparini <claudio.gasparini@pantheon.tech> | Thu Feb 04 09:33:28 2021 +0100 |
committer | Claudio D. Gasparini <claudio.gasparini@pantheon.tech> | Thu Feb 04 12:58:14 2021 +0100 |
tree | fd803e64387205147eda40668532a1aa053f7376 | |
parent | 1540a5809fff8477bfdb6f43fd6c475cf13c6d71 [diff] |
Decouple application configuration file Agreement is that application configuration should live on OOM - leave an example of the configuration file under docker compose to run locally, instead of use OOM. Mainly for devs - document on README how to run the app with IDE or with docker compose - remove duplicate code on poms Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech> Change-Id: I328e89dba78cdf4d8abab51e3be5cb6d641064db
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.
CREATE USER cps WITH PASSWORD 'cps'; CREATE DATABASE cpsdb OWNER cps;
mvn clean package
java -DDB_HOST=localhost -DDB_USERNAME=cps -DDB_PASSWORD=cps -jar cps-rest/target/cps-rest-0.0.1-SNAPSHOT.jar