aboutsummaryrefslogtreecommitdiffstats
path: root/docs/datadictionary/sourceprimarydbcode.rst
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-08-16 14:07:00 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-16 14:07:00 +0000
commitfb598fb2ddd1ac27e03450fca03909ba3611a455 (patch)
tree7f921e40b1529163faf8164edafb7208d5777c10 /docs/datadictionary/sourceprimarydbcode.rst
parent11dbd17296d9572a04bb4e3aea9063c2d1ee3f1d (diff)
parenta0b7010ed18a04e4a1aa6a6db2d6b0a18072e955 (diff)
Merge "Formatted Doc text"
Diffstat (limited to 'docs/datadictionary/sourceprimarydbcode.rst')
-rw-r--r--docs/datadictionary/sourceprimarydbcode.rst95
1 files changed, 48 insertions, 47 deletions
diff --git a/docs/datadictionary/sourceprimarydbcode.rst b/docs/datadictionary/sourceprimarydbcode.rst
index e2e0b2d76..949dee071 100644
--- a/docs/datadictionary/sourceprimarydbcode.rst
+++ b/docs/datadictionary/sourceprimarydbcode.rst
@@ -5,50 +5,51 @@
Source Primary DB Code:
=======================
-{
- "description": "This is Database Resource Source Node Type",
- "version": "1.0.0",
- "properties": {
- "type": {
- "required": true,
- "type": "string",
- "constraints": [
- {
- "valid_values": [
- "SQL"
- ]
- }
- ]
- },
- "endpoint-selector": {
- "required": false,
- "type": "string"
- },
- "query": {
- "required": true,
- "type": "string"
- },
- "input-key-mapping": {
- "required": false,
- "type": "map",
- "entry_schema": {
- "type": "string"
- }
- },
- "output-key-mapping": {
- "required": false,
- "type": "map",
- "entry_schema": {
- "type": "string"
- }
- },
- "key-dependencies": {
- "required": true,
- "type": "list",
- "entry_schema": {
- "type": "string"
- }
- }
- },
- "derived_from": "tosca.nodes.ResourceSource"
-} \ No newline at end of file
+.. code-block:: json
+ :linenos:
+
+ "description": "This is Database Resource Source Node Type",
+ "version": "1.0.0",
+ "properties": {
+ "type": {
+ "required": true,
+ "type": "string",
+ "constraints": [
+ {
+ "valid_values": [
+ "SQL"
+ ]
+ }
+ ]
+ },
+ "endpoint-selector": {
+ "required": false,
+ "type": "string"
+ },
+ "query": {
+ "required": true,
+ "type": "string"
+ },
+ "input-key-mapping": {
+ "required": false,
+ "type": "map",
+ "entry_schema": {
+ "type": "string"
+ }
+ },
+ "output-key-mapping": {
+ "required": false,
+ "type": "map",
+ "entry_schema": {
+ "type": "string"
+ }
+ },
+ "key-dependencies": {
+ "required": true,
+ "type": "list",
+ "entry_schema": {
+ "type": "string"
+ }
+ }
+ },
+ "derived_from": "tosca.nodes.ResourceSource" \ No newline at end of file