From d894ec51a86cfb4d711d3c053d8aa46759584456 Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Wed, 28 Nov 2018 17:27:31 +0000 Subject: Upgrade version of aai-common * Configure Spike with schema ingestion beans. * Update OXMModelLoader and EdgeRulesLoader to make use of schema ingestion beans. Here there is an acknowledged awkward marrying of bean creation and static method use. * Update tests to mock schema ingestion beans and organise test resources. Change-Id: I1f043aa5852dbd2737a804ebc282a12afb9fb39f Issue-ID: AAI-1951 Signed-off-by: Michael Arrastia --- .../rules/v11/DbEdgeRules_test_two_v11.json | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json (limited to 'src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json') diff --git a/src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json b/src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json new file mode 100644 index 0000000..f38bd2c --- /dev/null +++ b/src/test/resources/rules/v11/DbEdgeRules_test_two_v11.json @@ -0,0 +1,26 @@ +{ + "rules": [ + { + "from": "U", + "to": "V", + "label": "org.onap.relationships.inventory.groupsResourcesIn", + "direction": "BOTH", + "multiplicity": "Many2Many", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "!${direction}" + }, + { + "from": "Y", + "to": "X", + "label": "org.onap.relationships.inventory.groupsResourcesIn", + "direction": "OUT", + "multiplicity": "Many2Many", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "!${direction}" + } + ] +} -- cgit 1.2.3-korg