From 6e9946fc4fec34a8a248416bee868ed9a531de70 Mon Sep 17 00:00:00 2001 From: Jimmy Forsyth Date: Tue, 28 Aug 2018 13:15:42 -0400 Subject: Add pnp schema and edgerules files Issue-ID: AAI-1551 Change-Id: I8e7e70b01de1f8387694e2398d3f0d9e1080f1f9 Signed-off-by: Jimmy Forsyth --- .../onap/dbedgerules/v14/DbEdgeRules_pnp_v14.json | 17 +++++ .../resources/onap/oxm/v14/aai_pnp_oxm_v14.xml | 77 ++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_pnp_v14.json create mode 100644 aai-schema/src/main/resources/onap/oxm/v14/aai_pnp_oxm_v14.xml (limited to 'aai-schema/src/main/resources/onap') diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_pnp_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_pnp_v14.json new file mode 100644 index 00000000..5f8f4306 --- /dev/null +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_pnp_v14.json @@ -0,0 +1,17 @@ +{ + "rules": [ + { + "from": "software-version", + "to": "pnf", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "!${direction}", + "default": "true", + "description":"" + } + ] +} diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_pnp_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_pnp_oxm_v14.xml new file mode 100644 index 00000000..11563c56 --- /dev/null +++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_pnp_oxm_v14.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg