Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how to build release G I version of Non-RT RIC. 


Info
titleDo you really need to build?

In general, there is no need to build the images manually.

Building from scratch is error-prone, and some development experience is required.

All images for the release are available in nexus image repositories. 

Please refer to the page  Release G I - Run in Docker  for running the release G I Non-RT RIC.  


Details of the architecture can be found from from Release GI page. 

(Note: The actual docker image version numbers/tags may be different from the instructions below as development continues in the relevant repositories)

Table of Contents

Project Requirements

  • Java 11 17 (make sure that JAVA_HOME environment variable points to correct Java version).
  • Docker and docker-compose (latest).
  • git (latest) -  for downloading code repos.
  • Maven 3.6.

Build Code

Build

...

NONRTRIC Docker containers

Download the following repos:

     git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/a1policymanagementservice" -b hi-release --recursive

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/dmaapadapter" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/helmmanager" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/informationcoordinatorservice" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/rappcatalogue" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/dmaapmediatorproducer" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/rapp/ransliceassurance" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/rapp/orufhrecovery" -b hi-release

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/sme" -b hi-release  

    git clone "https://gerrit.nordixo-ran-sc.org/oranscr/nonrtric/plt/ranpm" -b hi-release    


           

To build docker images of a1policymanagementservice, dmaapadapter, helmmanager, informationcoordinatorservice, and rappcatalogue; go into the repo of each product and run the following command:

...

(Note: The actual docker image version numbers/tags may be different as development continues in the relevant repositories. Use the latest version numbers in the instructions below)

Build A1 simulator (previously called Near-RT RIC A1 Interface) container

Download the A1 simulator repo (defaults to master branch - the simulator supports all available A1 versions): 

     git clone "https://gerrit.o-ran-sc.org/r/sim/a1-interface" -b hi-release

Create docker image

To create docker image A1 simulator (note that the given image name must match the name given in docker startup later):

...

Code Block
languagebash
themeEmacs
$ docker images
near-rt-ric-simulator                               latest           

Build

...

NONRTRIC Control panel and gateway containers

Download the nonrtric repo:  

     git clone "https://gerrit.o-ran-sc.org/r/portal/nonrtric-controlpanel" -b hi-release

Build the code and create docker images

Code Block
languagebash
cd nonrtric-controlpanel
cd nonrtric-gateway
mvn clean install  -Dmaven.test.skip=true
docker build --build-arg JAR=nonrtric-gateway-1.1.0-SNAPSHOT.jar -t o-ran-sc/nonrtric-gateway:1.2.0-SNAPSHOT .

cd ../webapp-frontend
docker build -t o-ran-sc/nonrtric-controlpanel:2.5.0-SNAPSHOT .

...