blob: 43ac2d1531fc6e430a32cf98464f735d25281e9b [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
PatrikBuhr1e714862021-05-20 12:02:38 +020018Enrichment Coordinator Service
19------------------------------
elinuxhenrik2a6084b2021-06-02 15:31:18 +020020The Enrichment Coordinator Service is a Java 11 web application built using the Spring Framework. Using Spring Boot
21dependencies, 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
elinuxhenrik2a6084b2021-06-02 15:31:18 +020025See the ./config/README file in the *enrichment-coordinator-service* directory Gerrit repo on how to create and setup
26the certificates and private keys needed for HTTPS.
27
28Start standalone
29++++++++++++++++
30
31The project uses Maven. To start the Enrichment Coordinator Service as a freestanding application, run the following
32command in the *enrichment-coordinator-service* directory:
33
34 +-----------------------------+
35 | mvn spring-boot:run |
36 +-----------------------------+
37
38Start in Docker
39+++++++++++++++
40
41To build and deploy the Enrichment Coordinator Service, go to the "enrichment-coordinator-service" folder and run the
42following command:
43
44 +-----------------------------+
45 | mvn clean install |
46 +-----------------------------+
47
48Then start the container by running the following command:
49
50 +--------------------------------------------------------------------+
51 | docker run nonrtric-enrichment-coordinator-service |
52 +--------------------------------------------------------------------+
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>`_.