diff options
author | 2018-09-06 16:01:47 -0400 | |
---|---|---|
committer | 2018-09-06 16:45:59 -0400 | |
commit | ac1650b87348b4b01080ae210062c48da355496c (patch) | |
tree | a3fa42083d2a930f1d27ea67cd3480f953384ca0 /blueprints-processor/plugin/model-provider/src/test/resources/dictionary | |
parent | f086bce7843b959598bf0a4423487d28dd0a0f7b (diff) |
SDN Controller Blueprints Processor
Fixing POM's, Junit Test Cases and removing extra resource files
Change-Id: Iaa6932903d1b476453d242779370197769d91484
Issue-ID: CCSDK-505
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'blueprints-processor/plugin/model-provider/src/test/resources/dictionary')
-rw-r--r-- | blueprints-processor/plugin/model-provider/src/test/resources/dictionary/dictionary_schema.json | 307 |
1 files changed, 82 insertions, 225 deletions
diff --git a/blueprints-processor/plugin/model-provider/src/test/resources/dictionary/dictionary_schema.json b/blueprints-processor/plugin/model-provider/src/test/resources/dictionary/dictionary_schema.json index dd297ab87..809db7dea 100644 --- a/blueprints-processor/plugin/model-provider/src/test/resources/dictionary/dictionary_schema.json +++ b/blueprints-processor/plugin/model-provider/src/test/resources/dictionary/dictionary_schema.json @@ -2,260 +2,117 @@ "type": "object",
"properties": {
"resource-path": {
+ "tags": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string",
+ "required": true
+ },
"type": "string",
"required": true
},
- "description": {
- "type": "string"
- },
- "updated-by": {
- "type": "string"
- },
- "data-type": {
- "type": "string",
- "required": true
- },
- "sources": {
+ "property": {
"type": "object",
- "required": true,
"properties": {
- "input": {
- "type": "object",
- "properties": {
- "key": {
- "type": "string"
- }
- }
- },
- "component": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "required": true
- },
- "input-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "output-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
"default": {
"type": "any"
},
- "aai": {
- "type": "any"
- },
- "mdsal": {
+ "entry_schema": {
"type": "object",
"properties": {
- "path": {
- "type": "string",
- "required": true
- },
- "url-path": {
- "type": "string",
- "required": true
- },
- "input-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
"type": {
- "type": "string",
- "required": true
- },
- "output-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "base": {
- "type": "string",
- "required": true
- }
- }
- },
- "network-resource-discovery": {
- "type": "object",
- "properties": {
- "input-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "output-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "db": {
- "type": "object",
- "properties": {
- "query": {
- "type": "string",
- "required": true
- },
- "input-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "type": {
- "type": "string",
- "required": true
- },
- "output-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "base": {
- "type": "string",
- "required": true
- }
- }
- },
- "policy": {
- "type": "object",
- "properties": {
- "input-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "output-key-mapping": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- }
- }
- },
- "candidate-dependency": {
- "type": "object",
- "properties": {
- "input": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "string"
}
}
},
- "component": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
+ "description": {
+ "type": "string"
},
- "aai": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
+ "type": {
+ "type": "string"
},
- "mdsal": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
+ "constraints": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "any"
}
}
},
- "network-resource-discovery": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
+ "value": {
+ "type": "any"
},
- "db": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
+ "required": {
+ "type": "boolean"
},
- "policy": {
- "type": "object",
- "properties": {
- "names": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
+ "status": {
+ "type": "string"
}
}
},
- "tags": {
- "type": "string"
- },
- "default": {
- "type": "any"
- },
- "name": {
- "type": "string",
- "required": true
- },
- "valid-values": {
- "type": "string"
- },
"resource-type": {
"type": "string",
"required": true
},
- "sample-value": {
+ "updated-by": {
"type": "string"
},
- "entry-schema": {
- "type": "string"
+ "sources": {
+ "type": "object",
+ "required": true,
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "required": true
+ },
+ "properties": {
+ "type": "object",
+ "required": true,
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "key": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ },
+ "url-path": {
+ "type": "string"
+ },
+ "query": {
+ "type": "string"
+ },
+ "input-key-mapping": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "output-key-mapping": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "key-dependencies": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
}
}
-}
+}
\ No newline at end of file |