summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/load
diff options
context:
space:
mode:
authorBrinda Santh <brindasanth@in.ibm.com>2018-08-26 16:20:04 -0400
committerBrinda Santh <brindasanth@in.ibm.com>2018-08-26 16:20:04 -0400
commit48c15ed0d02d98acac81773d84e928d0bd5ff07d (patch)
tree0a9e7bfad8689014e2e86984c1dc1d0dc7e4378f /ms/controllerblueprints/modules/resource-dict/load
parent7b23a92a3d079940193eaf141ff8494851b49d61 (diff)
Controller Blueprints Microservice
Add Standardized resource definition in Initial data loading and Dictionary management services. Change-Id: Ib33ba2ecf3cb1e1fb9b5dea71532e6bc8280bcbb Issue-ID: CCSDK-487 Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/load')
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json4
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json2
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json2
-rw-r--r--ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json7
4 files changed, 7 insertions, 8 deletions
diff --git a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json
index 7ebeaa82c..661a9503b 100644
--- a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json
+++ b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-db.json
@@ -7,7 +7,7 @@
"type": "string",
"constraints": [
{
- "validValues": [
+ "valid_values": [
"SQL",
"PLSQL"
]
@@ -33,7 +33,7 @@
}
},
"key-dependencies": {
- "required": false,
+ "required": true,
"type": "list",
"entry_schema": {
"type": "string"
diff --git a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json
index dd0bffcc1..13e234e1b 100644
--- a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json
+++ b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-default.json
@@ -7,7 +7,7 @@
"type": "string"
},
"key-dependencies": {
- "required": false,
+ "required": true,
"type": "list",
"entry_schema": {
"type": "string"
diff --git a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json
index 99c4691c4..126ea30bd 100644
--- a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json
+++ b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-input.json
@@ -7,7 +7,7 @@
"type": "string"
},
"key-dependencies": {
- "required": false,
+ "required": true,
"type": "list",
"entry_schema": {
"type": "string"
diff --git a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json
index e77020ec9..f8dd8b6fc 100644
--- a/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json
+++ b/ms/controllerblueprints/modules/resource-dict/load/model_type/node_type/source-rest.json
@@ -8,8 +8,7 @@
"default": "JSON",
"constraints": [
{
- "validValues": [
- "XML",
+ "valid_values": [
"JSON"
]
}
@@ -29,7 +28,7 @@
"default": "JSON_PATH",
"constraints": [
{
- "validValues": [
+ "valid_values": [
"JSON_PATH",
"JSON_POINTER"
]
@@ -51,7 +50,7 @@
}
},
"key-dependencies": {
- "required": false,
+ "required": true,
"type": "list",
"entry_schema": {
"type": "string"