commit | 098a93c84aae8d8d74e7589518a576b84c38ca27 | [log] [tgz] |
---|---|---|
author | ToineSiebelink <toine.siebelink@est.tech> | Tue Dec 08 12:08:31 2020 +0000 |
committer | ToineSiebelink <toine.siebelink@est.tech> | Thu Dec 10 10:11:53 2020 +0000 |
tree | 97ef75d4be28415dbc71d093db1d8d27d6ac3f4c | |
parent | 9647834359b168ed8091cecaecd363cb87abe874 [diff] |
Improve CPS Exception handling - Removing unnecessary level of CPS(Validation)Exception - Moved exception inside spi package - Rename exceptions are per agreed new exception hierarchy - Use new exceptions - Added SchemaSetAlreadDefined Exception - Added AnchorAlreadyDefined Exception - Ensure unique serialVersionUIDs - Fixed CpsAdmin(Persistence)ServiceImplSpec tests (there was a mix-up about what this class was testing) - Replaced exception builder with dedicated exception (constructors) Issue-ID: CPS-8 Change-Id: I9cb80af4951e69ee7b0e99303853955de9d4399f Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
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