Follow the steps below Depending on you requirements there are several ways to setup the CPS environment.
Checkout the features project
Checkout https://gerrit.nordix.org/#/admin/projects/onap/ccsdk/features
Checkout the cps_poc branch
git checkout cps_poc
Run a Postgres 13 container instance and create 'cpsdb' database.
CREATE USER cps WITH PASSWORD 'cps';
CREATE DATABASE cpsdb OWNER cps;
Setup schema in DB
The spring-boot application auto creates the schema on startup via a script run by JPA.
Set environment variables for relevant connection details which can be found in application.yaml
Building the project
We are working from the cps folder for the POC.
When building the project run :
mvn clean install
from the root cps folder.
Running the project
From the features\cps\ folder run the following command;
...
CPS and Its dependencies:
- Local Setup Using Docker
- Local Setup Using CSIT
- CPS Setup Using Minikube
- SDNC, RAN-sim controller and Honeycomb Simulator Setup Locally
- CPS-OOM Deployment for Kubernetes VM
Optional supporting setup guides:
...