maximesson | 94978f4 | 2019-11-13 11:53:26 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. SPDX-License-Identifier: CC-BY-4.0 |
elinuxhenrik | 0a4c38b | 2020-04-14 10:59:36 +0200 | [diff] [blame] | 3 | .. Copyright (C) 2020 Nordix |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 4 | |
elinuxhenrik | c7a0d73 | 2020-02-04 14:49:59 +0100 | [diff] [blame] | 5 | Developer Guide |
| 6 | =============== |
Lathish | 1279d19 | 2019-10-10 13:30:07 +0100 | [diff] [blame] | 7 | |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 8 | This document provides a quickstart for developers of the Non-RT RIC parts. |
| 9 | |
JohnKeeney | 01ea4be | 2021-05-26 19:32:47 +0100 | [diff] [blame] | 10 | Additional developer guides are available on the `O-RAN SC NONRTRIC Developer wiki <https://wiki.o-ran-sc.org/display/RICNR/Release+D>`_ |
elinuxhenrik | c7a0d73 | 2020-02-04 14:49:59 +0100 | [diff] [blame] | 11 | |
JohnKeeney | 01ea4be | 2021-05-26 19:32:47 +0100 | [diff] [blame] | 12 | A1 Policy Management Service & SDNC/A1 Controller & A1 Adapter |
| 13 | -------------------------------------------------------------- |
maximesson | eaaee91 | 2020-03-26 16:43:27 +0100 | [diff] [blame] | 14 | |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 15 | The 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>`_ |
| 16 | and `wiki <https://wiki.onap.org/pages/viewpage.action?pageId=84672221>`_. |
elinuxhenrik | 7106105 | 2020-02-03 11:11:37 +0100 | [diff] [blame] | 17 | |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 18 | Information Coordinator Service |
| 19 | ------------------------------- |
| 20 | The Information Coordinator Service is a Java 11 web application built using the Spring Framework. Using Spring Boot |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 21 | dependencies, it runs as a standalone application. |
PatrikBuhr | 1e71486 | 2021-05-20 12:02:38 +0200 | [diff] [blame] | 22 | |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 23 | Its main functionality is to act as a data subscription broker and to decouple data producer from data consumers. |
PatrikBuhr | 1e71486 | 2021-05-20 12:02:38 +0200 | [diff] [blame] | 24 | |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 25 | See the ./config/README file in the *information-coordinator-service* directory Gerrit repo on how to create and setup |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 26 | the certificates and private keys needed for HTTPS. |
| 27 | |
| 28 | Start standalone |
| 29 | ++++++++++++++++ |
| 30 | |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 31 | The project uses Maven. To start the Information Coordinator Service as a freestanding application, run the following |
| 32 | command in the *information-coordinator-service* directory: |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 33 | |
| 34 | +-----------------------------+ |
| 35 | | mvn spring-boot:run | |
| 36 | +-----------------------------+ |
| 37 | |
| 38 | Start in Docker |
| 39 | +++++++++++++++ |
| 40 | |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 41 | To build and deploy the Information Coordinator Service, go to the "information-coordinator-service" folder and run the |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 42 | following command: |
| 43 | |
| 44 | +-----------------------------+ |
| 45 | | mvn clean install | |
| 46 | +-----------------------------+ |
| 47 | |
| 48 | Then start the container by running the following command: |
| 49 | |
| 50 | +--------------------------------------------------------------------+ |
PatrikBuhr | c691603 | 2021-11-22 16:12:27 +0100 | [diff] [blame] | 51 | | docker run nonrtric-information-coordinator-service | |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 52 | +--------------------------------------------------------------------+ |
PatrikBuhr | 1e71486 | 2021-05-20 12:02:38 +0200 | [diff] [blame] | 53 | |
JohnKeeney | 01ea4be | 2021-05-26 19:32:47 +0100 | [diff] [blame] | 54 | Initial Non-RT-RIC App Catalogue |
| 55 | -------------------------------- |
PatrikBuhr | 1e71486 | 2021-05-20 12:02:38 +0200 | [diff] [blame] | 56 | |
JohnKeeney | 01ea4be | 2021-05-26 19:32:47 +0100 | [diff] [blame] | 57 | See the README.md file in the *r-app-catalogue* directory in the Gerrit repo for more details how to run the component. |
elinuxhenrik | c7a0d73 | 2020-02-04 14:49:59 +0100 | [diff] [blame] | 58 | |
JohnKeeney | 01ea4be | 2021-05-26 19:32:47 +0100 | [diff] [blame] | 59 | Kubernetes deployment |
| 60 | ===================== |
RehanRaza | c079452 | 2020-07-23 18:35:50 +0200 | [diff] [blame] | 61 | |
elinuxhenrik | 2a6084b | 2021-06-02 15:31:18 +0200 | [diff] [blame] | 62 | Non-RT RIC can be also deployed in a Kubernetes cluster, `it/dep repository <https://gerrit.o-ran-sc.org/r/admin/repos/it/dep>`_ |
| 63 | hosts deployment and integration artifacts. Instructions and helm charts to deploy the Non-RT-RIC functions in the |
| 64 | OSC NONRTRIC integrated test environment can be found in the *./nonrtric* directory. |
| 65 | For 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>`_. |