blob: e0cb0809e2aab1dc1ba9546a60f51d96e35bd147 [file] [log] [blame]
maximesson94978f42019-11-13 11:53:26 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. SPDX-License-Identifier: CC-BY-4.0
elinuxhenrik0a4c38b2020-04-14 10:59:36 +02003.. Copyright (C) 2020 Nordix
Lathish1279d192019-10-10 13:30:07 +01004
elinuxhenrikc7a0d732020-02-04 14:49:59 +01005Developer Guide
6===============
Lathish1279d192019-10-10 13:30:07 +01007
elinuxhenrik2a6084b2021-06-02 15:31:18 +02008This document provides a quickstart for developers of the Non-RT RIC parts.
9
JohnKeeney01ea4be2021-05-26 19:32:47 +010010Additional developer guides are available on the `O-RAN SC NONRTRIC Developer wiki <https://wiki.o-ran-sc.org/display/RICNR/Release+D>`_
elinuxhenrikc7a0d732020-02-04 14:49:59 +010011
JohnKeeney01ea4be2021-05-26 19:32:47 +010012A1 Policy Management Service & SDNC/A1 Controller & A1 Adapter
13--------------------------------------------------------------
maximessoneaaee912020-03-26 16:43:27 +010014
elinuxhenrik2a6084b2021-06-02 15:31:18 +020015The A1 Policy Management Service is implemented in ONAP. For documentation see `ONAP CCSDK documentation <https://docs.onap.org/projects/onap-ccsdk-oran/en/latest/index.html>`_
16and `wiki <https://wiki.onap.org/pages/viewpage.action?pageId=84672221>`_.
elinuxhenrik71061052020-02-03 11:11:37 +010017
PatrikBuhrc6916032021-11-22 16:12:27 +010018Information Coordinator Service
19-------------------------------
20The Information Coordinator Service is a Java 11 web application built using the Spring Framework. Using Spring Boot
elinuxhenrik2a6084b2021-06-02 15:31:18 +020021dependencies, it runs as a standalone application.
PatrikBuhr1e714862021-05-20 12:02:38 +020022
elinuxhenrik2a6084b2021-06-02 15:31:18 +020023Its main functionality is to act as a data subscription broker and to decouple data producer from data consumers.
PatrikBuhr1e714862021-05-20 12:02:38 +020024
PatrikBuhrc6916032021-11-22 16:12:27 +010025See the ./config/README file in the *information-coordinator-service* directory Gerrit repo on how to create and setup
elinuxhenrik2a6084b2021-06-02 15:31:18 +020026the certificates and private keys needed for HTTPS.
27
28Start standalone
29++++++++++++++++
30
PatrikBuhrc6916032021-11-22 16:12:27 +010031The project uses Maven. To start the Information Coordinator Service as a freestanding application, run the following
32command in the *information-coordinator-service* directory:
elinuxhenrik2a6084b2021-06-02 15:31:18 +020033
34 +-----------------------------+
35 | mvn spring-boot:run |
36 +-----------------------------+
37
38Start in Docker
39+++++++++++++++
40
PatrikBuhrc6916032021-11-22 16:12:27 +010041To build and deploy the Information Coordinator Service, go to the "information-coordinator-service" folder and run the
elinuxhenrik2a6084b2021-06-02 15:31:18 +020042following command:
43
44 +-----------------------------+
45 | mvn clean install |
46 +-----------------------------+
47
48Then start the container by running the following command:
49
50 +--------------------------------------------------------------------+
PatrikBuhrc6916032021-11-22 16:12:27 +010051 | docker run nonrtric-information-coordinator-service |
elinuxhenrik2a6084b2021-06-02 15:31:18 +020052 +--------------------------------------------------------------------+
PatrikBuhr1e714862021-05-20 12:02:38 +020053
JohnKeeney01ea4be2021-05-26 19:32:47 +010054Initial Non-RT-RIC App Catalogue
55--------------------------------
PatrikBuhr1e714862021-05-20 12:02:38 +020056
JohnKeeney01ea4be2021-05-26 19:32:47 +010057See the README.md file in the *r-app-catalogue* directory in the Gerrit repo for more details how to run the component.
elinuxhenrikc7a0d732020-02-04 14:49:59 +010058
JohnKeeney01ea4be2021-05-26 19:32:47 +010059Kubernetes deployment
60=====================
RehanRazac0794522020-07-23 18:35:50 +020061
elinuxhenrik2a6084b2021-06-02 15:31:18 +020062Non-RT RIC can be also deployed in a Kubernetes cluster, `it/dep repository <https://gerrit.o-ran-sc.org/r/admin/repos/it/dep>`_
63hosts deployment and integration artifacts. Instructions and helm charts to deploy the Non-RT-RIC functions in the
64OSC NONRTRIC integrated test environment can be found in the *./nonrtric* directory.
65For more information see `Integration and Testing documentation on the O-RAN-SC wiki <https://docs.o-ran-sc.org/projects/o-ran-sc-it-dep/en/latest/index.html>`_.