From cadd88348aa9934a63849e149ddb4b60f7fbef5a Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Tue, 4 Sep 2018 21:57:47 -0400 Subject: Blueprints Processor MDSAL Resource Assignment Creating SDN Blueprints Processor MDSAL Resource Assignment Processor Change-Id: I111c9682a5601f32536e93180d4357fc7ac8a961 Issue-ID: CCSDK-498 Signed-off-by: Singal, Kapil (ks220y) --- .../test/resources/mapping/Mdsal/mdsal-simple.json | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-simple.json (limited to 'blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-simple.json') diff --git a/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-simple.json b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-simple.json new file mode 100644 index 000000000..db7ee7eed --- /dev/null +++ b/blueprints-processor/plugin/assignment-provider/src/test/resources/mapping/Mdsal/mdsal-simple.json @@ -0,0 +1,37 @@ +{ + "country": { + "name": "country", + "property": { + "type": "string" + }, + "sources": { + "mdsal": { + "type": "source-mdsal", + "properties": { + "url-path": "/restconf/config/L3VNF-API/services/service-list/$profile_name/12345", + "path": "/locations", + "input-key-mapping": { + "profile_name": "profile_name" + }, + "output-key-mapping": { + "country": "country" + }, + "key-dependencies": [ + "profile_name" + ] + } + } + } + }, + "profile_name": { + "name": "profile_name", + "property": { + "type": "string" + }, + "sources": { + "input": { + "type": "source-input" + } + } + } +} -- cgit 1.2.3-korg