Remove DMaaP Adapter
[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 A1 Policy Management Service & SDNC/A1 Controller & A1 Adapter
13 --------------------------------------------------------------
14
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>`_.
17
18 Information Coordinator Service
19 -------------------------------
20 The Information Coordinator Service is a Java 11 web application built using the Spring Framework. Using Spring Boot
21 dependencies, it runs as a standalone application.
22
23 Its main functionality is to act as a data subscription broker and to decouple data producer from data consumers.
24
25 See the ./config/README file in the *information-coordinator-service* directory Gerrit repo on how to create and setup
26 the certificates and private keys needed for HTTPS.
27
28 Start standalone
29 ++++++++++++++++
30
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:
33
34     +-----------------------------+
35     | mvn spring-boot:run         |
36     +-----------------------------+
37
38 There are a few files that needs to be available to run. These are referred to from the application.yaml file.
39 The following properties have to be modified:
40
41 * server.ssl.key-store=./config/keystore.jks
42 * app.webclient.trust-store=./config/truststore.jks
43 * app.vardata-directory=./target
44
45 Start in Docker
46 +++++++++++++++
47
48 To build and deploy the Information Coordinator Service, go to the "information-coordinator-service" folder and run the
49 following command:
50
51     +-----------------------------+
52     | mvn clean install           |
53     +-----------------------------+
54
55 Then start the container by running the following command:
56
57     +--------------------------------------------------------------------+
58     | docker run nonrtric-information-coordinator-service                |
59     +--------------------------------------------------------------------+
60
61 O-DU & O-RU fronthaul recovery
62 ------------------------------
63
64 See the page in Wiki: `O-RU Fronthaul Recovery usecase <https://wiki.o-ran-sc.org/display/RICNR/O-RU+Fronthaul+Recovery+usecase>`_.
65
66 Helm Manager
67 ------------
68
69 See the page in Wiki: `Release E <https://wiki.o-ran-sc.org/display/RICNR/Release+E>`_.
70
71 Kubernetes deployment
72 =====================
73
74 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>`_.
75 hosts deployment and integration artifacts. Instructions and helm charts to deploy the Non-RT-RIC functions in the
76 OSC NONRTRIC integrated test environment can be found in the *./nonrtric* directory.
77
78 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>`_.
79
80 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>`_.
81