Versions Compared

Key

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

This page is out of date.
Please see the relevant page for the latest release: e.g. Release J - Run in Docker


This is a brief instruction on how to deploy dmaap-mediator & dmaap-mr  in docker env and how to send a msg to the deployment

Image Added

Prerequisite

  • Docker
  • bash
  • linux(ubuntu 18+)

Installation

clone nonrtric repo from oran gerrit

Code Block
languagebash
titleclone nonrtric repo
git clone "https://gerrit.o-ran-sc.org/r/nonrtric"

go to sub-directory:

Code Block
languagebash
titlecd docker-compose
cd docker-compose/

install dmaap-dr:

Code Block
languagebash
titleinstall dmapp-dr
docker-compose -f docker-compose.yaml -f mr/docker-compose.yml up -d

install ecs, dmaap-mediator and consumer sim:

Code Block
languagebash
titleinstall ecs, dmaap-mediator and consumer sim
docker-compose -f docker-compose.yaml -f ecs/docker-compose.yaml -f dmaap-mediator-go/docker-compose.yaml up -d

After above commands, we should be able see all the containers up & running:

Image Added

populate some data into ecs for test purpose:

Code Block
languagebash
titlepopulate data into ecs for test purpose
./data/prepareEcsData.sh

Above scripts will create a "job" in ecs micro-service.

send a msg to dmaap-mr topic:

Code Block
languagebash
titlesend a msg to dmaap-mr topic
./data/sendMsgToMediator.sh

After running above script, go check the docker logs on dmaap mediator service, with command:

Code Block
languagebash
titledocker logs dmaap-mediator-java
docker logs dmaap-mediator-java

We should see logs like:

Image Added

This is a brief instruction on how to deploy dmaap-mediator & dmaap-mr  in docker env and how to send a msg to the deployment

Prerequisite

  • Docker
  • bash
  • linux(ubuntu 18+)

Installation

clone nonrtric repo from oran gerrit

...