From 5363b2782d906a6c6067eb840392f959ed4dfe4b Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Tue, 18 Jul 2017 20:23:07 -0400 Subject: [CCSDK-6] Populate seed code Add seed code for sli/adaptors repository Update code to use org.onap.ccsdk.sli.core Change-Id: I477c7a24f2cc1fed8fb0975fe9f33733411c27f9 Signed-off-by: Dan Timoney --- .../provider/src/test/resources/param.txt | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 resource-assignment/provider/src/test/resources/param.txt (limited to 'resource-assignment/provider/src/test/resources/param.txt') diff --git a/resource-assignment/provider/src/test/resources/param.txt b/resource-assignment/provider/src/test/resources/param.txt new file mode 100755 index 00000000..d1aac477 --- /dev/null +++ b/resource-assignment/provider/src/test/resources/param.txt @@ -0,0 +1,44 @@ +isAvailable: + Input in ctx: + tmp.resource-allocator.aic-site-id + tmp.resource-allocator.speed + tmp.resource-allocator.speed-unit + Output in ctx: + tmp.resource-allocator.max-available-speed + tmp.resource-allocator.speed-unit + Return: + SUCCESS – capacity available + NOT_FOUND – capacity not available + Error message in: error-message, error-code + FAILURE – the check has failed (data error, code defect, etc) + Error message in: error-message, error-code + +Reserve: + Input in ctx: + tmp.resource-allocator.aic-site-id + tmp.resource-allocator.speed + tmp.resource-allocator.speed-unit + tmp.resource-allocator.service-instance-id + tmp.resource-allocator.request-type { New, Change } + Output in ctx: + tmp.resource-allocator-output.max-available-speed + tmp.resource-allocator-output.speed-unit + Return: + SUCCESS – capacity available + NOT_FOUND – capacity not available + Error message in: error-message, error-code + FAILURE – the check has failed (data error, code defect, etc) + Error message in: error-message, error-code + +Release: + Input in ctx: + tmp.resource-allocator.service-instance-id + tmp.resource-allocator.request-type { Activate, Cancel, Disconnect } + Return: + SUCCESS – capacity available + FAILURE – the check has failed (data error, code defect, etc) + Error message in: error-message, error-code + + +Plugin name: org.openecomp.sdnc.ra.ResourceAllocator +Resource: NetworkCapacity -- cgit 1.2.3-korg