diff options
author | 2018-09-04 23:11:42 -0400 | |
---|---|---|
committer | 2018-09-04 23:11:42 -0400 | |
commit | 3c91aeea6ef932527eb3743675bb28f393c7c1ee (patch) | |
tree | 7a7e5c3adfabb630f2665d27900ee1d8d315cabb /blueprints-processor/plugin/model-provider/src/test/resources/componentnode | |
parent | 1419e6066cc5ce7a47bb2916e165d6f90dc8bc55 (diff) |
SDNC Blueprints Processor Model Service
Creating SDN Controller Blueprints Processor Model Service JUnit Tests - 2
Change-Id: I871401fc661a671beaec8319cb40d10b71a4093c
Issue-ID: CCSDK-516
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
Diffstat (limited to 'blueprints-processor/plugin/model-provider/src/test/resources/componentnode')
-rw-r--r-- | blueprints-processor/plugin/model-provider/src/test/resources/componentnode/default.json | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/blueprints-processor/plugin/model-provider/src/test/resources/componentnode/default.json b/blueprints-processor/plugin/model-provider/src/test/resources/componentnode/default.json new file mode 100644 index 000000000..0129195c2 --- /dev/null +++ b/blueprints-processor/plugin/model-provider/src/test/resources/componentnode/default.json @@ -0,0 +1,100 @@ +{
+ "metadata": {
+ "author": "ks220y@att.com",
+ "vendor": "Juniper",
+ "os": "XXX",
+ "service-type": "AVPN",
+ "vnf-type": "VRR",
+ "action": "Base Configuration",
+ "sub-action": "Generate Configuration",
+ "service-template-name": "VRR-baseconfiguration",
+ "service-template-version": "1.0.0"
+ },
+ "topology_template": {
+ "inputs": {
+ "service-instance-id": {
+ "required": true,
+ "type": "string"
+ },
+ "vnf-id": {
+ "required": true,
+ "type": "string"
+ },
+ "service": {
+ "required": true,
+ "type": "string"
+ },
+ "region": {
+ "required": true,
+ "type": "string"
+ },
+ "bundle-id": {
+ "required": true,
+ "type": "string"
+ },
+ "bundle-mac": {
+ "required": true,
+ "type": "string"
+ }
+ },
+ "node_templates": {
+ "generate-configuration": {
+ "type": "mock-component-generateConfig",
+ "interfaces": {
+ "org-onap-ccsdk-config-params-service-MockComponentNode": {
+ "operations": {
+ "process": {
+ "inputs": {
+ "entity-type": "vnf-type",
+ "template-content": "sample-template",
+ "entity-id": "{ \"get_input\" : \"vnf-id\" }"
+ },
+ "outputs": {
+ "mergedData": "merged Data",
+ "status": "status"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "node_types": {
+ "mock-component-generateConfig": {
+ "interfaces": {
+ "org-onap-ccsdk-config-params-service-MockComponentNode": {
+ "operations": {
+ "process": {
+ "inputs": {
+ "entity-type": {
+ "required": false,
+ "type": "string"
+ },
+ "template-content": {
+ "required": false,
+ "type": "string"
+ },
+ "entity-id": {
+ "required": true,
+ "type": "string"
+ }
+ },
+ "outputs": {
+ "generated-config": {
+ "required": true,
+ "type": "string"
+ },
+ "status": {
+ "required": true,
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ },
+ "derived_from": "tosca.nodes.Component"
+ }
+ }
+}
|