From: Jimmy Forsyth Date: Wed, 29 May 2019 21:14:30 +0000 (-0400) Subject: Fix errors on dev env guide X-Git-Tag: 1.5.0~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bbc512e0a3a1e9efcd7715626e26edd6e8bdef46;p=aai%2Faai-common.git Fix errors on dev env guide Issue-ID: AAI-2461 Signed-off-by: Jimmy Forsyth Change-Id: Id548b843d29cd965741de2b387ae4e8d39e42691 --- diff --git a/docs/platform/Getting Started/AAI_Developer_Environment_Setup.rst b/docs/platform/Getting Started/AAI_Developer_Environment_Setup.rst index 7c7184ce..c8afd9c1 100644 --- a/docs/platform/Getting Started/AAI_Developer_Environment_Setup.rst +++ b/docs/platform/Getting Started/AAI_Developer_Environment_Setup.rst @@ -218,7 +218,7 @@ For this exercise, I set up a new instance of Ubuntu in Virtualbox and gave it 1 Start the microservice - adjust your build version accordingly - .. code-block:: + .. code-block:: bash $ mvn -pl aai-resources -PrunAjsc -Daai.schema.version=0.0.1-TEST-SNAPSHOT -Daai.schema.ingest.version=0.0.1-TEST-SNAPSHOT -DskipTests -Dcheckstyle.skip=true @@ -230,20 +230,20 @@ For this exercise, I set up a new instance of Ubuntu in Virtualbox and gave it 1 This example uses curl from commandline - .. code-block:: + .. code-block:: bash - $ sudo apt-get install jq # for pretty output + $ sudo apt-get install jq # for pretty output Download :download:`script - test-complex ` Download :download:`data - data-complex.json ` - .. code-block:: + .. code-block:: bash $ sh ./test-complex 2>&1 | tee log.txt Confirm log.txt contains: - .. code-block:: + .. code-block:: bash > GET /aai/v16/cloud-infrastructure/complexes HTTP/1.1 @@ -266,7 +266,7 @@ For this exercise, I set up a new instance of Ubuntu in Virtualbox and gave it 1 Then followed by: - .. code-block:: + .. code-block:: bash > PUT /aai/v16/cloud-infrastructure/complexes/complex/clli2 HTTP/1.1 > GET /aai/v16/cloud-infrastructure/complexes/complex/clli2 HTTP/1.1 @@ -297,7 +297,7 @@ For this exercise, I set up a new instance of Ubuntu in Virtualbox and gave it 1 And finishes with: - .. code-block:: + .. code-block:: bash > DELETE /aai/v16/cloud-infrastructure/complexes/complex/clli2?resource-version=1543408364646 HTTP/1.1 > GET /aai/v16/cloud-infrastructure/complexes HTTP/1.1 @@ -338,7 +338,7 @@ For this exercise, I set up a new instance of Ubuntu in Virtualbox and gave it 1 .. code-block:: bash - $ mvn -pl aai-traversal -PrunAjsc -Daai.schema.version=0.0.1-TEST-SNAPSHOT -Daai.schema.ingest.version=0.0.1-TEST-SNAPSHOT -DskipTests -Dcheckstyle.skip=true + $ mvn -pl aai-traversal -PrunAjsc -Daai.schema.version=0.0.1-TEST-SNAPSHOT -Daai.schema.ingest.version=0.0.1-TEST-SNAPSHOT -DskipTests -Dcheckstyle.skip=true Should see something like this: Traversal Microservice Started