...
Below are the responsibilities of each module
...
language | bash |
---|
...
docker-config_mariadb_1
...
#
...
responsible
...
for
...
handling
...
the
...
DB
...
store
...
(mariadb).
...
docker-config_api-handler-infra_1
...
#
...
responsible
...
for handling the DB store (mariadb).
docker-config_sdc-controller_1
...
#
...
responsible
...
for
...
handling
...
CSAR
...
distribution
...
and
...
parsing.
...
docker-config_bpmn-infra_1
...
#
...
responsible
...
for
...
executing
...
BMPN
...
worklows.
...
docker-config_vfc-adapter_1
...
is #
...
responsible
...
for
...
communicating
...
with
...
VFC.
...
docker-config_sdnc-adapter_1
...
#
...
responsible
...
for
...
communicating
...
with
...
SDNC.
...
docker-config_openstack-adapter_1
...
#
...
responsible
...
for
...
comomunicating
...
with
...
openstack.
...
docker-config_catalog-db-adapter_1
...
#
...
responsible
...
for
...
API
...
to communicate with DB.
docker-config_request-db-adapter_1
...
#
...
responsible
...
for
...
API
...
to track requests details.
docker-config_so-monitoring_1 # responsible for Monitoring.
One can create docker image locally from code using following command from /so/packages/docker:
Code Block | ||
---|---|---|
| ||
$ mvn clean install -U -DskipTests=true -DdockerDmaven.test.skip.build=falsetrue -DdockerDmaven.javadoc.skip.push=true -Dadditionalparam=-Xdoclint:none -P docker |
For creating docker image you need to run the above command from /so/package/docker
To run the docker images go to /docker-config folder which was cloned from the above command and run the command
Code Block | ||
---|---|---|
| ||
$ docker-compose up -d |
SO docker deployment
For initialization of docker there are 2 deployment options currently adpoted in ONAP:
- using heat template
- using OOM
...
To see the various logs on can go to /app/log folder inside corresponding pod e.g. /app/logs/bpmn for bpmn related logs.
Code Block | ||
---|---|---|
| ||