From b4aaa6d004c4643e593fc789bbe9776a6226315d Mon Sep 17 00:00:00 2001 From: Dmitry Puzikov Date: Tue, 28 Jan 2020 18:04:40 +0100 Subject: Policies import when import VSP Polices import implemented. Error type added for invalid policies. Import tests added. Fix test failures. Got rid of Either in the new code. Change-Id: I3e91cc6d24433c2b3862f407348e71e1e67c3b4e Issue-ID: SDC-2728 Signed-off-by: Dmitry Puzikov --- .../resources/config/catalog-be/error-configuration.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'catalog-be/src/test/resources') diff --git a/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml b/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml index 39316c62f9..a28f31b1b0 100644 --- a/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml +++ b/catalog-be/src/test/resources/config/catalog-be/error-configuration.yaml @@ -2239,3 +2239,18 @@ errors: message: 'Error: Invalid Content. %1 has invalid format.', messageId: "SVC4723" } + #---------SVC4801------------------------------ + # %1 - policy type + POLICY_TYPE_IS_INVALID: { + code: 400, + message: "Error: Invalid content. Policy type %1 does not exist", + messageId: "SVC4801" + } + + #---------SVC4802------------------------------ + # %1 - policy name + POLICY_MISSING_POLICY_TYPE: { + code: 400, + message: "Error: Invalid content. Type name is not defined for policy %1", + messageId: "SVC4802" + } -- cgit 1.2.3-korg