Eliminate Sphinx Errors and Warnings 13/48413/1 2.0.0-ONAP 2.0.0-ONAP
authorRich Bennett <rb2745@att.com>
Tue, 22 May 2018 04:45:53 +0000 (00:45 -0400)
committerRich Bennett <rb2745@att.com>
Tue, 22 May 2018 04:53:18 +0000 (00:53 -0400)
Add end of block and inline markup delimeters
Use code blocks for json, xml, and http

Change-Id: I79f69227bfb3e43d97f46e01fe2ada6d1c4872ea
Issue-ID: AAI-1152
Signed-off-by: Rich Bennett <rb2745@att.com>
docs/AAI REST API Documentation/AAIRESTAPI_AMSTERDAM.rst
docs/platform/Getting Started/How_to_Docker_setup_on_Single_VM.rst
docs/release-notes.rst

index 16e4a94..9dc91f7 100644 (file)
@@ -431,48 +431,41 @@ missing (e.g., generic-vnf) and the key data for that node type
 
 Single relationships can be PUT to the graph in the following way:
 
-https://{serverRoot}/{namespace}/{resource}
-/relationship-list/relationship
-
-or
-
-https://{hostname}:8443/aai/v11/cloud-infrastructure/pservers/pserver/pserver-123456789-01/p-interfaces/p-interface/p-interface-name-123456789-01/l-interfaces/l-interface/l-interface-name-123456789-01/relationship-list/relationship
-
-with a payload containing the relationship information.
-
-XML:
-
-<relationship xmlns="http://org.openecomp.aai.inventory/v11">
-
-<related-to>logical-link</related-to>
-
-<relationship-data>
-
-    <relationship-key>logical-link.link-name</relationship-key>
+.. code-block:: none
 
-    <relationship-value>logical-link-123456789-01</relationship-value>
+   https://{serverRoot}/{namespace}/{resource}/relationship-list/relationship
 
-</relationship-data>
-
-</relationship>
+or
 
-JSON:
+.. code-block:: none
 
-"related-to": "logical-link",
+   https://{hostname}:8443/aai/v11/cloud-infrastructure/pservers/pserver/pserver-123456789-01/p-interfaces/p-interface/p-interface-name-123456789-01/l-interfaces/l-interface/l-interface-name-123456789-01/relationship-list/relationship
 
-"relationship-data": [
+with a payload containing the relationship information in XML
 
-{
+.. code-block:: xml
 
-    "relationship-key": "logical-link.link-name",
+   <relationship xmlns="http://org.openecomp.aai.inventory/v11">
+   <related-to>logical-link</related-to>
+   <relationship-data>
+       <relationship-key>logical-link.link-name</relationship-key>
+       <relationship-value>logical-link-123456789-01</relationship-value>
+   </relationship-data>
+   </relationship>
 
-    "relationship-value": " logical-link-123456789-01"
+or JSON.
 
-}
+.. code-block:: json
 
-]
-
-}
+   {
+   "related-to": "logical-link",
+   "relationship-data": [
+       {
+           "relationship-key": "logical-link.link-name",
+           "relationship-value": " logical-link-123456789-01"
+       }
+        ]
+   }
 
 Edges
 =====
@@ -528,7 +521,9 @@ connectivity with AAI.
 
 The URL for the echo utility is:
 
-https://load-balanced-address:8443/aai/util/echo
+.. code-block:: none
+
+   https://load-balanced-address:8443/aai/util/echo
 
 If the response is unsuccessful, an error will be returned following the
 standard format.
@@ -539,56 +534,38 @@ by the client.
 Successful XML Response Payload
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-<Info>
-
-<responseMessages>
-
-<responseMessage>
-
-<messageId>INF0001</messageId>
-
-<text>Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (rc=%4)</text>
-
-<variables>
-
-<variable>XYZ</variable>
-
-<variable>XYZ123</variable>
-
-<variable>Successful health check:OK</variable>
-
-<variable>0.0.0002</variable>
-
-</variables>
-
-</responseMessage>
-
-</responseMessages>
-
-</Info>
+.. code-block:: xml
+
+   <Info>
+   <responseMessages>
+   <responseMessage>
+   <messageId>INF0001</messageId>
+   <text>Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (rc=%4)</text>
+   <variables>
+   <variable>XYZ</variable>
+   <variable>XYZ123</variable>
+   <variable>Successful health check:OK</variable>
+   <variable>0.0.0002</variable>
+   </variables>
+   </responseMessage>
+   </responseMessages>
+   </Info>
 
 Successful JSON Response Payload
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-{"responseMessages": {"responseMessage": [{
-
-"messageId": "INF0001",
-
-"text": "Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (rc=%4)",
-
-"variables": {"variable": [
-
-"XYZ",
-
-"XYZ123",
-
-"Successful health check:OK",
-
-"0.0.0002"
-
-]}
-
-}]}}
+.. code-block:: json
+
+   {"responseMessages": {"responseMessage": [{
+   "messageId": "INF0001",
+   "text": "Success X-FromAppId=%1 X-TransactionId=%2 (msg=%3) (rc=%4)",
+   "variables": {"variable": [
+   "XYZ",
+   "XYZ123",
+   "Successful health check:OK",
+   "0.0.0002"
+   ]}
+   }]}}
 
 Cloud Infrastructure Domain
 ---------------------------
index d869c9a..82ebf3f 100644 (file)
@@ -1,7 +1,6 @@
 
 .. contents::
    :depth: 3
-.. _dev-setup:
 
 How to Docker setup on Single VM
 ================================
@@ -16,56 +15,67 @@ Step-by-step guide
 ------------------
 
 1.  You would need to have a root access to the vm
+
   .. code-block:: bash
 
    sudo su - root
 
 2.  Navigate to /opt directory
+
   .. code-block:: bash
 
    cd /opt
 
 3.  Clone the test-config git project
+
   .. code-block:: bash
 
    git clone http://gerrit.onap.org/r/aai/test-config
 
 4.  Navigate to /opt/test-config directory
+
   .. code-block:: bash
 
    cd test-config
 
 5.  Create a directory called /opt/config
+
   .. code-block:: bash
 
    mkdir /opt/config/
 
 6.  Create a file called /opt/config/nexus\_username.txt containing the text: docker
+
   .. code-block:: bash
 
     echo "docker" > /opt/config/nexus_username.txt
 
 7.  Create a file called /opt/config/nexus\_password.txt containing the text: docker
+
   .. code-block:: bash
 
     echo "docker" > /opt/config/nexus_password.txt
 
 8. Create a file called /opt/config/dmaap\_topic.txt containing the text: AAI-EVENT
+
   .. code-block:: bash
 
     echo "AAI-EVENT" > /opt/config/dmaap_topic.txt
 
 9. Create a file called /opt/config/nexus\_docker\_repo.txt containing text: nexus3.onap.org:10001
+
   .. code-block:: bash
 
     echo "nexus3.onap.org:10001" > /opt/config/nexus_docker_repo.txt
 
 10. Create a file called /opt/config/docker\_version.txt containing text: 1.1-STAGING-latest
+
   .. code-block:: bash
 
     echo "1.1-STAGING-latest" > /opt/config/docker_version.txt
 
 11. Please note that in the previous step, docker version is currently 1.1-STAGING-latest and this will be changed later. Finally, run the installation scripts
+
   .. code-block:: bash
 
     ./deploy_vm2.sh && ./deploy_vm1.sh
index 5355358..79e8eb8 100644 (file)
@@ -187,7 +187,7 @@ There is an error to startup esr-gui docker
 Replace the type specification in this constructor call with the diamond operator ("<>")
 
 `AAI-417 <https://jira.onap.org/browse/AAI-417>`_
-Rackspace 20170928 fails to authenticate nexus3 on 10003 during *_init.sh (sdnc for example)
+Rackspace 20170928 fails to authenticate nexus3 on 10003 during *_init.sh* (sdnc for example)
 
 `AAI-420 <https://jira.onap.org/browse/AAI-420>`_
 Can not get the MSB address in esr-server