Versions Compared

Key

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

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


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 - Run in Docker for running the release G Non-RT RIC.  


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

...

Download the following repos:

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

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

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

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

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

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

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

git clone "https://gerrit.o-ran-sc.org/r/nonrtric/rapp/orufhrecoveryransliceassurance" -b g-release
    git clone "https//gerrit.o-ran-sc.org/r/nonrtric"
-b g-release     git clone "https://gerrit.o-ran-sc.org/r/portal/nonrtric-controlpanelnonrtric/rapp/orufhrecovery" -b g-release

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


           git clone sme ...

git clone nonrtric control panel ...

To build docker images of rapp-catalogue,  information-coordinator-service, policy-management-service, helm-manager, and dmaap-adapter, a1policymanagementservice, dmaapadapter, helmmanager, informationcoordinatorservice, and rappcatalogue; go into the repo of each product and run the following command:

Code Block
languagebash
mvn clean install -Dmaven.test.skip=true

After build, you should be able to see logs like this:

<to be updated>

Image Removed


To build docker image of nonrtric, go into the repo run the commands below. Use the version found in the file container-tag.yaml.

Code Block
languagebash
cd auth-token-fetch
docker build -t o-ran-sc/nonrtric-plt-auth-token-fetch:<image-version> .


To build docker image of the enhanced rappcatalogue, go into the repo rappcatalogue run the commands below. Use the version found in the file container-tag.yaml.

Code Block
languagebash
cd catalogue-enhanced
docker build -t o-ran-sc/nonrtric-plt-rappcatalogue-enhanced:<image-version> .


To build docker image of dmaapmediatorproducer, go into the repo run the command below. Use the version found in the file container-tag.yaml.

Code Block
languagebash
docker build -t o-ran-sc/nonrtric-plt-dmaapmediatorproducer:<image-version> .


To build docker images of the use cases for ransliceassurance, go into the repo for To build docker images of dmaap-mediator-producer as well as images for the use cases o-du-slice-assurance and o-ru-closed-loop-consumer, go into the repo of each product and run the command below. Note! The use cases have more than one implementationcase have two implementations, in subfolders. Choose the version needed and perform the build in the corresponding subfolder. Use the version found in the file container-tag.
yaml in each subfolder.

Code Block
languagebash
cd icsversion
docker build -t o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion:<image-version> .

cd smoversion
docker build -t o-ran-sc/nonrtric-rapp-ransliceassurance:<image-version> .


To build docker images of the use cases for orufhrecovery, go into the repo for and run the command below. Use the version found in the file container-tag.yaml.<to be updated>

Code Block
languagebash
cd goversion
docker build -t o-ran-sc/nonrtric-o-ru-closed-loop-recovery:<image-version> .


To build docker images sme, go into the repo for and run the command below. Use the version found in the file container-tag.yaml.

Code Block
languagebash
cd capifcore
docker build -t o-ran-sc/nonrtric-plt-capifcore<image-name>:<image-version> .


If the build was successful images with following name and tag shall be built. Use the command 'docker images' to view newly built images in the local docker registry.
<to be updated>

Code Block
languagebash
themeEmacs
$ docker images

o-ran-sc/nonrtric-plt-a1policymanagementservice       2.5.1-SNAPSHOT  
o-ran-sc/nonrtric-plt-rappcataloguedmaapadapter                    1.2.1.0-SNAPSHOT 
o-ran-sc/nonrtric-plt-informationcoordinatorservicehelmmanager                     1.32.01-SNAPSHOT 
o-ran-sc/nonrtric-plt-a1policymanagementserviceinformationcoordinatorservice       21.4.01-SNAPSHOT  
o-ran-sc/nonrtric-plt-helmmanager  rappcatalogue                   1.2.0-SNAPSHOT 
o-ran-sc/nonrtric-plt-rappcatalogue-dmaapadapterenhanced          1.0.1
o-ran-sc/nonrtric-plt-auth-token-fetch                1.1.0-SNAPSHOT1
o-ran-sc/nonrtric-plt-dmaapmediatorproducer           1.1.0-SNAPSHOT1
o-ran-sc/nonrtric-rapp-ransliceassurance-icsversion   1.1.1
o-ran-sc/nonrtric-rapp-ransliceassurance              1.2.1.0
o-ran-sc/nonrtric-rapp-orufhrecovery                  1.1.0 1  
o-ran-sc/nonrtric-plt-capifcore                       1.0.1

(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 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.1.0-SNAPSHOT .

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

Using the command below you can check that the names below are in the list of available images.<to be updated>

Code Block
languagebash
themeEmacs
$ docker images
o-ran-sc/nonrtric-gateway                           1.1.0-SNAPSHOT
o-ran-sc/nonrtric-controlpanel                      2.34.01-SNAPSHOT

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