Developer Guide

This document provides a quickstart for developers of the Non-RT RIC Control Panel.

The Non-RT RIC Control Panel is an interface that allows human users to create, edit and delete policy instances, for each existing policy type. The policy types and their definitions are retrieved from each Near-RT RIC.

See the README.md file in the nonrtric-controlpanel repo for info about how to use it.

Start the Control Panel

To run the Control Panel locally for development with simulated services, follow these steps:

Fetch the code

Fetch the latest code from gerrit (nonrtric-controlpanel)

Start the backend

cd webapp-backend
mvn clean install
mvn -Dorg.oransc.portal.nonrtric.controlpanel=mock -Dtest=MockControlPanelBackEnd -DfailIfNoTests=false test

Now you can open URL: localhost:8080 in a browser to access the backend directly.

Start the frontend

cd webapp-frontend
./ng serve --proxy-config proxy.conf.json

Now you can open URL: localhost:4200 in a browser to access the Control Panel.

From the main page, click on the Policy Control card. From here, it is possible to create or list instances for each existing policy type.

When the instances are listed, it is possible to edit or delete each instance from the expanded view.

_images/non-RT_RIC_controlpanel.png

End-to-end call

In order to make a complete end-to-end call, follow the instructions given in this guide.