aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/resources/etc/scriptdata/named-query-json/closed-loop-named-query-1.0.json
blob: e7a43143c5aecacc477715769a25304fa841fff4 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
    "description": "Named Query - For closed loop flow",
    "named-query-elements": {
        "named-query-element": [
            {
                "named-query-elements": {
                    "named-query-element": [
                        {
                            "named-query-elements": {
                                "named-query-element": [
                                    {
                                        "relationship-list": {
                                            "relationship": [
                                                {
                                                    "related-to": "model",
                                                    "relationship-data": [
                                                        {
                                                            "relationship-key": "model.model-invariant-id",
                                                            "relationship-value": "425b2158-e51d-4509-9945-dad4556474a3"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            "relationship-list": {
                                "relationship": [
                                    {
                                        "related-to": "model",
                                        "relationship-data": [
                                            {
                                                "relationship-key": "model.model-invariant-id",
                                                "relationship-value": "97c26c99-6870-44c1-8a07-1d900d3f4ce6"
                                            }
                                        ]
                                    }
                                ]
                            }
                        },
                        {
                            "named-query-elements": {
                                "named-query-element": [
                                    {
                                        "related-lookups": {
                                            "related-lookup": [
                                                {
                                                    "property-collect-list": [
                                                        "model-invariant-id",
                                                        "model-type"
                                                    ],
                                                    "source-node-property": "model-invariant-id-local",
                                                    "source-node-type": "vf-module",
                                                    "target-node-property": "model-invariant-id",
                                                    "target-node-type": "model"
                                                },
                                                {
                                                    "property-collect-list": [
                                                        "model-name",
                                                        "model-version-id",
                                                        "model-version"
                                                    ],
                                                    "source-node-property": "model-version-id-local",
                                                    "source-node-type": "vf-module",
                                                    "target-node-property": "model-version-id",
                                                    "target-node-type": "model-ver"
                                                }
                                            ]
                                        },
                                        "relationship-list": {
                                            "relationship": [
                                                {
                                                    "related-to": "model",
                                                    "relationship-data": [
                                                        {
                                                            "relationship-key": "model.model-invariant-id",
                                                            "relationship-value": "ef86f9c5-2165-44f3-8fc3-96018b609ea5"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    },
                                    {
                                        "related-lookups": {
                                            "related-lookup": [
                                                {
                                                    "property-collect-list": [
                                                        "model-invariant-id",
                                                        "model-type"
                                                    ],
                                                    "source-node-property": "model-invariant-id-local",
                                                    "source-node-type": "service-instance",
                                                    "target-node-property": "model-invariant-id",
                                                    "target-node-type": "model"
                                                },
                                                {
                                                    "property-collect-list": [
                                                        "model-name",
                                                        "model-version-id",
                                                        "model-version"
                                                    ],
                                                    "source-node-property": "model-version-id-local",
                                                    "source-node-type": "service-instance",
                                                    "target-node-property": "model-version-id",
                                                    "target-node-type": "model-ver"
                                                }
                                            ]
                                        },
                                        "relationship-list": {
                                            "relationship": [
                                                {
                                                    "related-to": "model",
                                                    "relationship-data": [
                                                        {
                                                            "relationship-key": "model.model-invariant-id",
                                                            "relationship-value": "82194af1-3c2c-485a-8f44-420e22a9eaa4"
                                                        }
                                                    ]
                                                }
                                            ]
                                        }
                                    }
                                ]
                            },
                            "related-lookups": {
                                "related-lookup": [
                                    {
                                        "property-collect-list": [
                                            "model-invariant-id",
                                            "model-type"
                                        ],
                                        "source-node-property": "model-invariant-id-local",
                                        "source-node-type": "generic-vnf",
                                        "target-node-property": "model-invariant-id",
                                        "target-node-type": "model"
                                    },
                                    {
                                        "property-collect-list": [
                                            "model-name",
                                            "model-version-id",
                                            "model-version"
                                        ],
                                        "source-node-property": "model-version-id-local",
                                        "source-node-type": "generic-vnf",
                                        "target-node-property": "model-version-id",
                                        "target-node-type": "model-ver"
                                    }
                                ]
                            },
                            "relationship-list": {
                                "relationship": [
                                    {
                                        "related-to": "model",
                                        "relationship-data": [
                                            {
                                                "relationship-key": "model.model-invariant-id",
                                                "relationship-value": "acc6edd8-a8d4-4b93-afaa-0994068be14c"
                                            }
                                        ]
                                    }
                                ]
                            }
                        }
                    ]
                },
                "relationship-list": {
                    "relationship": [
                        {
                            "related-to": "model",
                            "relationship-data": [
                                {
                                    "relationship-key": "model.model-invariant-id",
                                    "relationship-value": "ff69d4e0-a8e8-4108-bdb0-dd63217e63c7"
                                }
                            ]
                        }
                    ]
                }
            }
        ]
    },
    "named-query-name": "closed-loop-named-query",
    "named-query-uuid": "4ff56a54-9e3f-46b7-a337-07a1d3c6b469",
    "named-query-version": "1.0"
}