Fixed warnings and errors in Doc 82/93882/2
authorEzhilarasi <ezhrajam@in.ibm.com>
Mon, 19 Aug 2019 15:14:09 +0000 (20:44 +0530)
committerEzhilarasi R <ezhrajam@in.ibm.com>
Wed, 21 Aug 2019 13:59:24 +0000 (13:59 +0000)
Fixed errors in read the docs page
Change-Id: Id5ccdd2049d71d5099de5537b0799bb5dfc7124c
Issue-ID: CCSDK-1453
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
docs/datadictionary/complexResponse.rst
docs/datadictionary/dbsystemcode.rst
docs/datadictionary/index.rst
docs/datadictionary/restauth.rst

index aa39ff2..d32d13d 100644 (file)
@@ -5,16 +5,17 @@
 complex Response code
 =====================
 
-{
-    "id": 4,
-    "address": "192.168.10.2/32",
-    "vrf": null,
-    "tenant": null,
-    "status": 1,
-    "role": null,
-    "interface": null,
-    "description": "",
-    "nat_inside": null,
-    "created": "2018-08-30",
-    "last_updated": "2018-08-30T14:59:05.277820Z"
-}
+.. code-block:: json
+   :linenos:
+
+   "id": 4,
+   "address": "192.168.10.2/32",
+   "vrf": null,
+   "tenant": null,
+   "status": 1,
+   "role": null,
+   "interface": null,
+   "description": "",
+   "nat_inside": null,
+   "created": "2018-08-30",
+   "last_updated": "2018-08-30T14:59:05.277820Z"
\ No newline at end of file
index 5051d1e..d6cda5b 100644 (file)
@@ -4,12 +4,14 @@
 
 Dbsystemcode
 ============
-
-"dsl_definitions": {
-  "dynamic-db-source": {
+.. code-block:: json
+   :linenos:
+   
+   "dsl_definitions": {
+   "dynamic-db-source": {
     "type": "maria-db",
     "url": "jdbc:mysql://localhost:3306/sdnctl",
-    "username": "sdnctl",
-    "password": "sdnctl"
-  }
-}
\ No newline at end of file
+    "username": <username>,
+    "password": <password>
+   }
+   }
\ No newline at end of file
index 3ac8587..4039cca 100644 (file)
@@ -40,7 +40,7 @@ Here is how input-key-mapping, output-key-mapping and key-dependencies can be us
 .. toctree::
    :maxdepth: 1
    
-       resourcedefinitioncodesnip 
+   resourcedefinitioncodesnip 
 
 
 Resource source:
index 40c1793..9f62869 100644 (file)
@@ -7,36 +7,48 @@ Resource Rest Authentication
 ----------------------------
 
 token-auth:
-
-"dsl_definitions": {
-  "dynamic-rest-source": {
-    "type" : "token-auth",
-    "url" : "http://localhost:32778",
-    "token" : "Token 0123456789abcdef0123456789abcdef01234567"
-  }
-}
-
+~~~~~~~~~~~
+
+.. code-block:: json
+   :linenos:
+   
+   "dsl_definitions": {
+     "dynamic-rest-source": {
+       "type" : "token-auth",
+       "url" : "http://localhost:32778",
+       "token" : <token>
+     }
+   }
+   
 basic-auth:
-
-"dsl_definitions": {
-  "dynamic-rest-source": {
-    "type" : "basic-auth",
-    "url" : "http://localhost:32778",
-    "username" : "bob",
-    "password": "marley"
- }
-}
-
+~~~~~~~~~~~
+
+.. code-block:: json
+   :linenos:
+      
+   "dsl_definitions": {
+     "dynamic-rest-source": {
+       "type" : "basic-auth",
+       "url" : "http://localhost:32778",
+       "username" : <username>,
+       "password": <password>
+    }
+   }
+   
 ssl-basic-auth:
-
-"dsl_definitions": {
-  "dynamic-rest-source": {
-    "type" : "ssl-basic-auth",
-    "url" : "http://localhost:32778",
-    "keyStoreInstance": "JKS or PKCS12",
-    "sslTrust": "trusture",
-    "sslTrustPassword": "trustore password",
-    "sslKey": "keystore",
-    "sslKeyPassword: "keystore password"
- }
-}
\ No newline at end of file
+~~~~~~~~~~~~~~~
+
+.. code-block:: json
+   :linenos:
+      
+   "dsl_definitions": {
+     "dynamic-rest-source": {
+       "type" : "ssl-basic-auth",
+       "url" : "http://localhost:32778",
+       "keyStoreInstance": "JKS or PKCS12",
+       "sslTrust": "trusture",
+       "sslTrustPassword": <password>,
+       "sslKey": "keystore",
+       "sslKeyPassword: <password>
+    }
+   }
\ No newline at end of file