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
Prerequisite
- Docker
- bash
- linux(ubuntu 18+)
Installation
clone nonrtric repo from oran gerrit
Code Block | ||||
---|---|---|---|---|
| ||||
git clone "https://gerrit.o-ran-sc.org/r/nonrtric" |
go to sub-directory:
Code Block | ||||
---|---|---|---|---|
| ||||
cd docker-compose/ |
install dmaap-dr:
Code Block | ||||
---|---|---|---|---|
| ||||
docker-compose -f docker-compose.yaml -f mr/docker-compose.yml up -d |
install ecs, dmaap-mediator and consumer sim:
Code Block | ||||
---|---|---|---|---|
| ||||
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:
populate some data into ecs for test purpose:
Code Block | ||||
---|---|---|---|---|
| ||||
./data/prepareEcsData.sh |
Above scripts will create a "job" in ecs micro-service.
send a msg to dmaap-mr topic:
Code Block | ||||
---|---|---|---|---|
| ||||
./data/sendMsgToMediator.sh |
After running above script, go check the docker logs on dmaap mediator service, with command:
Code Block | ||||
---|---|---|---|---|
| ||||
docker logs dmaap-mediator-java |
We should see logs like:
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
...