From 021d63c68b4d5fbb8cf5e34549d5b17bce488df3 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Tue, 4 Sep 2018 21:38:51 -0400 Subject: 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) --- .../test/resources/service_templates/input/input.json | 18 ++++++++++++++++++ .../service_templates/input/inputValidateTest.json | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/input.json create mode 100644 blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/inputValidateTest.json (limited to 'blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input') diff --git a/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/input.json b/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/input.json new file mode 100644 index 000000000..cd6fac128 --- /dev/null +++ b/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/input.json @@ -0,0 +1,18 @@ +{ + "api-ver": "2.00", + "originator-id": "MSO", + "request-id": "123456", + "service-instance-id": "ibcx0001vm001", + "service-type": "AVPN", + "vnf-type": "vUSP - vDBE-IPX HUB", + "vnf-id": 123456, + "service-template-name": "VRR-baseconfiguration", + "service-template-version": "1.0.0", + "action-name": "resource-assignment-action", + "group-name": "sample group name", + "bundle-id": "sample bundle id", + "bundle-mac": [ + "Sample bundle mac", + "Sample bundle mac" + ] +} diff --git a/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/inputValidateTest.json b/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/inputValidateTest.json new file mode 100644 index 000000000..354ca577b --- /dev/null +++ b/blueprints-processor/plugin/assignment-provider/src/test/resources/service_templates/input/inputValidateTest.json @@ -0,0 +1,18 @@ +{ + "api-ver": "2.00", + "originator-id": "MSO", + "request-id": "123456", + "service-instance-id": "ibcx0001vm001", + "service-type": "AVPN", + "vnf-type": "vUSP - vDBE-IPX HUB", + "vnf-id": "", + "service-template-name": "VRR-baseconfiguration", + "service-template-version": "1.0.0", + "action-name": "resource-assignment-action", + "group-name": "sample group name", + "bundle-id": "sample bundle id", + "bundle-mac": [ + "Sample bundle mac", + "Sample bundle mac" + ] +} -- cgit 1.2.3-korg