From 987cb61f269572fec7c0b0fe500f081ca36c2dd9 Mon Sep 17 00:00:00 2001 From: liboNet Date: Tue, 27 Nov 2018 08:10:33 +0800 Subject: Fix policy format with vCPE service . change the capital and lower-case letter . add missing fields in ConfigBody policyName and templateVersion that are requried by OOF . add '=' into default operator once no such info in the input CSAR . based on the vCPE service, which includes several CPs, some may do NOT connect any VDU. so need deal with such case. . add new test case to cover complicated service includes 5 policies . change the resource's type from String to List as requried by OOF which needs such format to deal with all kind of policies beides hpa . improve the code style Change-Id: Id39b1a0511c362c5ae9dce409af18b032832de80 Issue-ID: POLICY-1282 Signed-off-by: liboNet --- .../src/test/resources/service-VcpeWithAll-csar.csar | Bin 0 -> 161962 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 plugins/reception-plugins/src/test/resources/service-VcpeWithAll-csar.csar (limited to 'plugins/reception-plugins/src/test/resources') diff --git a/plugins/reception-plugins/src/test/resources/service-VcpeWithAll-csar.csar b/plugins/reception-plugins/src/test/resources/service-VcpeWithAll-csar.csar new file mode 100644 index 00000000..f9b113f2 Binary files /dev/null and b/plugins/reception-plugins/src/test/resources/service-VcpeWithAll-csar.csar differ -- cgit 1.2.3-korg