Versions Compared

Key

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

...

All components of the Non-RT RIC (from three different repos) run inside docker containers and communicate via a docker network. Details of the architecture can be found from Release C page.

Table of Contents

Project Requirements

  • Java 11 (make sure that JAVA_HOME environment variable points to correct Java version)

  • Maven 3.6

  • Docker and docker-compose (latest)
  • Maven 3.6

    • There are several build-time dependencies for ONAP Maven modules.
      Your Maven build settings will need to access the ONAP Maven repos, as described on this ONAP wiki page

Build Code

Build nonrtric containers

...

docker run -p 8083:8083 -p 8434:8434 --network=nonrtric-docker-net --name=enrichment-service-container o-ran-sc/nonrtric-enrichment-coordinator-service:1.0.1-SNAPSHOT

  • Change directory:  
    cd nonrtric/docker-compose/data/testdata/ECS
  • Put an example Enrichment information Producer by By running these curl commands objects can be added:
    • Add new EI type:

      Code Block
      languageyml
      themeEmacs
      curl -H 'Content-Type: application/json' -X PUT \
      	-d '{"ei_job_data_schema":{"$schema":"http://json-schema.org/draft-07/schema#", "title":"STD_Type1_1.0.0", "description":"EI-Type 1", "type":"object"}}' \
      	http://localhost:8083/ei-producer/v1/eitypes/type1


    • Add new EI Producer

      Code Block
      languageyml
      themeEmacs
      curl -H 'Content-Type: application/json' -X PUT \
      	-d '{"supported_ei_types":["type1"],"ei_job_callback_url":"http://producer:80/","ei_producer_supervision_callback_url":"http://producer:80/"}' \
      	http://localhost:8083/ei-producer/v1/eiproducers/prod-a
    Put an example Enrichment information Job by running these curl commands:

    • Add new EI Job

      Code Block
      languageyml
      themeEmacs
      curl -H 'Content-Type: application/json' -X PUT \
      	-d '{"eiTypeId":"type1","jobResultUri":"https://ricsim_g3_1:8185/datadelivery","jobOwner":"ricsim_g3_1","jobStatusNotificationUri":"https://callback-receiver:8091/callbacks/job1-status","jobDefinition":{"jobparam1":"value1_job1","jobparam2":"value2_job1","jobparam3":"value3_job1"}}' \
      	http://localhost:8083/A1-EI/v1/eijobs/job1


Run Non-RT RIC Control Panel Docker Container

...