summaryrefslogtreecommitdiffstats
path: root/aai-schema-gen/src/test/resources/dbedgerules/DbEdgeBusinessRules_test.json
blob: c69b741207611ad678d5111a6cb9aeb1624b48c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
  "rules": [
    {
      "from": "service-subscription",
      "to": "customer",
      "label": "org.onap.relationships.inventory.BelongsTo",
      "direction": "OUT",
      "multiplicity": "MANY2ONE",
      "contains-other-v": "!${direction}",
      "delete-other-v": "!${direction}",
      "prevent-delete": "NONE",
      "default": "true",
      "description":""
    },
    {
      "from": "service-instance",
      "to": "service-subscription",
      "label": "org.onap.relationships.inventory.BelongsTo",
      "direction": "OUT",
      "multiplicity": "MANY2ONE",
      "contains-other-v": "!${direction}",
      "delete-other-v": "!${direction}",
      "prevent-delete": "NONE",
      "default": "true",
      "description":""
    },
    {
      "from": "service-subscription",
      "to": "tenant",
      "label": "org.onap.relationships.inventory.Uses",
      "direction": "OUT",
      "multiplicity": "MANY2MANY",
      "contains-other-v": "NONE",
      "delete-other-v": "NONE",
      "prevent-delete": "NONE",
      "default": "true",
      "description":""
    }  ]
}