summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitreview7
-rw-r--r--INFO.yaml56
-rw-r--r--README.md34
3 files changed, 97 insertions, 0 deletions
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 000000000..191b931b7
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,7 @@
+
+ [gerrit]
+ host=gerrit.onap.org
+ port=29418
+ project=cps
+ defaultbranch=master
+ \ No newline at end of file
diff --git a/INFO.yaml b/INFO.yaml
new file mode 100644
index 000000000..156e6caf8
--- /dev/null
+++ b/INFO.yaml
@@ -0,0 +1,56 @@
+---
+project: 'cps'
+project_creation_date: '2020-10-27'
+lifecycle_state: 'Incubation'
+project_category: ''
+project_lead: &onap_releng_ptl
+ name: 'Toine Siebelink'
+ email: 'toine.siebelink@est.tech'
+ id: 'toinesiebelink'
+ company: 'Ericsson Software Technology'
+ timezone: 'Europe/Dublin'
+primary_contact: *onap_releng_ptl
+issue_tracking:
+ type: 'jira'
+ url: 'https://jira.onap.org/projects/CPS'
+ key: 'CPS'
+mailing_list:
+ type: 'groups.io'
+ url: 'lists.onap.org'
+ tag: '<[sub-project_name]>'
+realtime_discussion: ''
+meetings:
+ - type: 'zoom'
+ agenda: 'https://wiki.onap.org/pages/viewpage.action?pageId=84644224'
+ url: 'https://zoom.us/j/836561560?pwd=TTZNcFhXTWYxMmZ4SlgzcVZZQXluUT09'
+ server: 'n/a'
+ channel: 'n/a'
+ repeats: 'weekly'
+ time: '08:00 America/New_York'
+committers:
+ - <<: *onap_releng_ptl
+ - name: 'Toine Siebelink'
+ email: 'toine.siebelink@est.tech'
+ company: 'Ericsson Software Technology'
+ id: 'toinesiebelink'
+ timezone: 'Europe/Dublin'
+ - name: 'Bruno Sakoto'
+ email: 'bruno.sakoto@bell.ca'
+ company: 'Bell Canada'
+ id: 'brusak'
+ timezone: 'America/Toronto'
+ - name: 'Rishi Chail'
+ email: 'rishi.chail@est.tech'
+ company: 'Ericsson Software Technology'
+ id: 'Rishi.Chail'
+ timezone: 'Europe/Dublin'
+repositories:
+ - cps
+tsc:
+ approval: 'https://lists.onap.org/g/onap-tsc'
+ changes:
+ - type: 'Addition'
+ name: 'cps'
+ # yamllint disable rule:line-length
+ link: 'https://lists.onap.org/g/onap-tsc/topic/cps_ask_for_new_repo/77844208'
+ # yamllint enable rule:line-length
diff --git a/README.md b/README.md
new file mode 100644
index 000000000..d1bf49d8c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,34 @@
+# 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
+```
+
+* 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)
+ * OpenAPI Specification in [JSON](http://localhost:8080/api/cps/openapi.json)
+ or [YAML](http://localhost:8080/api/cps/openapi.yaml) format