commit | 84ac94d2f3f9ebd6a3a7befa244beef851eac126 | [log] [tgz] |
---|---|---|
author | puthuparambil.aditya <aditya.puthuparambil@bell.ca> | Wed Dec 16 16:51:08 2020 +0000 |
committer | Rishi Chail <rishi.chail@est.tech> | Thu Dec 17 12:24:44 2020 +0000 |
tree | 6666b6a851c47ba6095d8a6ce9a4897978c5064c | |
parent | 951b41eb70a8dfb90dc357cb20bda07a832eaec1 [diff] |
Split the CpsRestController.java 1. Changes in openApi.yml tags to cps-admin and cps-data 2. 2 different controllers implementing the corresponding Interfaces generated by the openapi 3. CpsRestExceptionHandler.java modified to handle the exceptions from all the controllers Issue-ID: CPS-129 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: If4da380771093f2a06946340c015ffa5c39e105d
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