Merge "Remove A1 Policy Management Service"
[nonrtric.git] / docs / developer-guide.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. SPDX-License-Identifier: CC-BY-4.0
3 .. Copyright (C) 2021 Nordix
4
5 Developer Guide
6 ===============
7
8 This document provides a quickstart for developers of the Non-RT RIC parts.
9
10 Additional developer guides are available on the `O-RAN SC NONRTRIC Developer wiki <https://wiki.o-ran-sc.org/display/RICNR/Release+E>`_.
11
12 Information Coordinator Service
13 -------------------------------
14 The Information Coordinator Service is a Java 11 web application built using the Spring Framework. Using Spring Boot
15 dependencies, it runs as a standalone application.
16
17 Its main functionality is to act as a data subscription broker and to decouple data producer from data consumers.
18
19 See the ./config/README file in the *information-coordinator-service* directory Gerrit repo on how to create and setup
20 the certificates and private keys needed for HTTPS.
21
22 Start standalone
23 ++++++++++++++++
24
25 The project uses Maven. To start the Information Coordinator Service as a freestanding application, run the following
26 command in the *information-coordinator-service* directory:
27
28     +-----------------------------+
29     | mvn spring-boot:run         |
30     +-----------------------------+
31
32 There are a few files that needs to be available to run. These are referred to from the application.yaml file.
33 The following properties have to be modified:
34
35 * server.ssl.key-store=./config/keystore.jks
36 * app.webclient.trust-store=./config/truststore.jks
37 * app.vardata-directory=./target
38
39 Start in Docker
40 +++++++++++++++
41
42 To build and deploy the Information Coordinator Service, go to the "information-coordinator-service" folder and run the
43 following command:
44
45     +-----------------------------+
46     | mvn clean install           |
47     +-----------------------------+
48
49 Then start the container by running the following command:
50
51     +--------------------------------------------------------------------+
52     | docker run nonrtric-information-coordinator-service                |
53     +--------------------------------------------------------------------+
54
55 O-DU & O-RU fronthaul recovery
56 ------------------------------
57
58 See the page in Wiki: `O-RU Fronthaul Recovery usecase <https://wiki.o-ran-sc.org/display/RICNR/O-RU+Fronthaul+Recovery+usecase>`_.
59
60 Helm Manager
61 ------------
62
63 See the page in Wiki: `Release E <https://wiki.o-ran-sc.org/display/RICNR/Release+E>`_.
64
65 Kubernetes deployment
66 ---------------------
67
68 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>`_.
69 hosts deployment and integration artifacts. Instructions and helm charts to deploy the Non-RT-RIC functions in the
70 OSC NONRTRIC integrated test environment can be found in the *./nonrtric* directory.
71
72 For more information on installation of NonRT-RIC in Kubernetes, see `Deploy NONRTRIC in Kubernetes <https://wiki.o-ran-sc.org/display/RICNR/Deploy+NONRTRIC+in+Kubernetes>`_.
73
74 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>`_.
75