aboutsummaryrefslogtreecommitdiffstats
path: root/docs/microservices
diff options
context:
space:
mode:
Diffstat (limited to 'docs/microservices')
-rw-r--r--docs/microservices/bluePrintsProcessorMS.rst26
-rw-r--r--docs/microservices/dynamicapi.rst2
-rw-r--r--docs/microservices/enrichment.rst5
3 files changed, 24 insertions, 9 deletions
diff --git a/docs/microservices/bluePrintsProcessorMS.rst b/docs/microservices/bluePrintsProcessorMS.rst
index 3f308138f..bd0b6997d 100644
--- a/docs/microservices/bluePrintsProcessorMS.rst
+++ b/docs/microservices/bluePrintsProcessorMS.rst
@@ -34,7 +34,9 @@ Check out the latest code from Gerrit: https://gerrit.onap.org/r/#/admin/project
Build CDS locally:
In the checked out directory, type
- mvn clean install -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dadditionalparam=-Xdoclint:none
+.. code-block:: none
+
+ mvn clean install -DskipTests=true -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dadditionalparam=-Xdoclint:none
Create the needed Docker images:
@@ -42,27 +44,39 @@ The Blueprints Processor microservice project has a module, called distribution,
The first step is to create any custom image needed, by building the distribution module. From the CDS home directory (where the code was checked out), navigate to the module:
- cd ms/blueprintsprocessor/distribution/
+.. code-block:: none
+
+ cd ms/blueprintsprocessor/distribution/
+
Build it using the Maven profile called Docker:
- mvn clean install -Pdocker
+.. code-block:: none
+
+ mvn clean install -Pdocker
Start Docker containers using docker-composer:
----------------------------------------------
Navigate to the docker-compose file in the distribution module:
- cd src/main/dc/
+.. code-block:: none
+
+ cd src/main/dc/
From there, start the containers:
- docker-compose up -d
+.. code-block:: none
+
+ docker-compose up -d
+
This will spin the Docker containers declared inside the docker-compose.yaml file in the background.
To verify the logs generated by docker-composer, type:
- docker-compose logs -f
+.. code-block:: none
+
+ docker-compose logs -f
Testing the environment:
diff --git a/docs/microservices/dynamicapi.rst b/docs/microservices/dynamicapi.rst
index eaf9987b7..c732bd09d 100644
--- a/docs/microservices/dynamicapi.rst
+++ b/docs/microservices/dynamicapi.rst
@@ -19,6 +19,6 @@ Here is how the a generic request and response look like.
|image0|
-.. |image0| image:: media/dynamicapi.jpg
+.. |image0| image:: media/dyanmicapi.jpg
:height: 4.43750in
:width: 7.88889in \ No newline at end of file
diff --git a/docs/microservices/enrichment.rst b/docs/microservices/enrichment.rst
index 1f94556e3..306cdbcc5 100644
--- a/docs/microservices/enrichment.rst
+++ b/docs/microservices/enrichment.rst
@@ -13,13 +13,14 @@ Once the base CBA zip file is done, the enrichment process will complete the des
The following shows 2 ways to run CBA enrichment
REST API request:
-----------------
+-----------------
|image0|
CDS UI:
-------
+-------
+
|image1|