diff options
author | Singal, Kapil (ks220y) <ks220y@att.com> | 2018-09-04 21:38:51 -0400 |
---|---|---|
committer | Singal, Kapil (ks220y) <ks220y@att.com> | 2018-09-04 21:55:26 -0400 |
commit | 021d63c68b4d5fbb8cf5e34549d5b17bce488df3 (patch) | |
tree | 181a618982073d7e05b41282c98981f5a8466776 /blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default | |
parent | 79db143e7f121f28c6b8d44d66d86601ffc95ba4 (diff) |
Blueprints Processor Default Resource Assignment
Creating SDN Blueprints Processor Default Resource Assignment Processor
Change-Id: Ib2475eb220218c95eda62b5cefe4eed38e9f756e
Issue-ID: CCSDK-501
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default')
2 files changed, 70 insertions, 0 deletions
diff --git a/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/default-simple.json b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/default-simple.json new file mode 100644 index 000000000..fca0dde83 --- /dev/null +++ b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/default-simple.json @@ -0,0 +1,35 @@ +{
+ "country": {
+ "name": "country",
+ "property": {
+ "type": "string"
+ },
+ "sources": {
+ "default": {
+ "type": "source-default"
+ }
+ }
+ },
+ "port": {
+ "name": "port",
+ "property": {
+ "type": "integer"
+ },
+ "sources": {
+ "default": {
+ "type": "source-default"
+ }
+ }
+ },
+ "voip-enabled": {
+ "name": "voip-enabled",
+ "property": {
+ "type": "boolean"
+ },
+ "sources": {
+ "default": {
+ "type": "source-default"
+ }
+ }
+ }
+}
diff --git a/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/resource-assignments-simple.json b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/resource-assignments-simple.json new file mode 100644 index 000000000..fc92710a5 --- /dev/null +++ b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/default/resource-assignments-simple.json @@ -0,0 +1,35 @@ +[
+ {
+ "name": "country",
+ "input-param": true,
+ "property": {
+ "type": "string",
+ "default": "US"
+ },
+ "dictionary-name": "country",
+ "dictionary-source": "default",
+ "dependencies": []
+ },
+ {
+ "name": "port",
+ "input-param": true,
+ "property": {
+ "type": "integer",
+ "default": 830
+ },
+ "dictionary-name": "port",
+ "dictionary-source": "default",
+ "dependencies": []
+ },
+ {
+ "name": "voip-enabled",
+ "input-param": true,
+ "property": {
+ "type": "boolean",
+ "default": true
+ },
+ "dictionary-name": "voip-enabled",
+ "dictionary-source": "default",
+ "dependencies": []
+ }
+]
|