aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources/openapi/examples/getMultipleParticipantResponse.json
blob: b5e73e04cf66785f6793690a28b102186ba37b15 (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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
[
    {
        "participant": {
            "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
            "participantState": "ON_LINE",
            "participantSupportedElementTypes": {
                "14c6d6d0-0fa2-4a7f-927a-afdab75e92c4": {
                    "id": "14c6d6d0-0fa2-4a7f-927a-afdab75e92c4",
                    "typeName": "org.onap.policy.clamp.acm.HttpAutomationCompositionElement",
                    "typeVersion": "1.0.0"
                }
            }
        },
        "acNodeTemplateStateDefinitionMap": {
            "d514b576-c091-4a2c-b797-99204e6dc620": {
                "nodeTemplateStateId": "d514b576-c091-4a2c-b797-99204e6dc620",
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "nodeTemplateId": {
                    "name": "onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "state": "PRIMED",
                "message": "Primed",
                "outProperties": {}
            },
            "05773b12-9005-4166-bd03-caec308207e7": {
                "nodeTemplateStateId": "05773b12-9005-4166-bd03-caec308207e7",
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "nodeTemplateId": {
                    "name": "onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "state": "PRIMED",
                "message": "Primed",
                "outProperties": {}
            },
            "363832a4-0281-4a69-8d37-99b4d48c5685": {
                "nodeTemplateStateId": "363832a4-0281-4a69-8d37-99b4d48c5685",
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "nodeTemplateId": {
                    "name": "onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "state": "PRIMED",
                "message": "Primed",
                "outProperties": {}
            }
        },
        "acElementInstanceMap": {
            "709c62b3-8918-41b9-a747-d21eb79c6c23": {
                "id": "709c62b3-8918-41b9-a747-d21eb79c6c23",
                "definition": {
                    "name": "onap.policy.clamp.ac.element.Http_SinkAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "deployState": "DEPLOYED",
                "lockState": "LOCKED",
                "description": "Sink Automation Composition Element for the Demo",
                "message": "Deployed",
                "properties": {
                    "baseUrl": "http://10.101.0.249:30802",
                    "httpHeaders": {
                        "Content-Type": "application/json",
                        "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
                    },
                    "configurationEntities": [
                        {
                            "configurationEntityId": {
                                "name": "onap.policy.clamp.ac.sink",
                                "version": "1.0.0"
                            },
                            "restSequence": [
                                {
                                    "restRequestId": {
                                        "name": "request3",
                                        "version": "1.0.1"
                                    },
                                    "httpMethod": "POST",
                                    "path": "/activate",
                                    "body": "{ \"receiverId\": { \"name\": \"onap.policy.clamp.ac.sink\", \"version\": \"1.0.0\" }, \"timerMs\": 20000, \"elementType\": \"SINK\", \"topicParameterGroup\": { \"server\": \"message-router\", \"listenerTopic\": \"POLICY_UPDATE_MSG\", \"publisherTopic\": \"AC_ELEMENT_MSG\", \"fetchTimeout\": 15000, \"topicCommInfrastructure\": \"dmaap\" } }",
                                    "expectedResponse": 201
                                }
                            ]
                        }
                    ]
                },
                "outProperties": {}
            },
            "709c62b3-8918-41b9-a747-d21eb79c6c25": {
                "id": "709c62b3-8918-41b9-a747-d21eb79c6c25",
                "definition": {
                    "name": "onap.policy.clamp.ac.element.Http_BridgeAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "deployState": "DEPLOYED",
                "lockState": "LOCKED",
                "description": "Bridge Automation Composition Element for the Demo",
                "message": "Deployed",
                "properties": {
                    "baseUrl": "http://10.101.0.249:30801",
                    "httpHeaders": {
                        "Content-Type": "application/json",
                        "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
                    },
                    "configurationEntities": [
                        {
                            "configurationEntityId": {
                                "name": "onap.policy.clamp.ac.bridge",
                                "version": "1.0.0"
                            },
                            "restSequence": [
                                {
                                    "restRequestId": {
                                        "name": "request2",
                                        "version": "1.0.1"
                                    },
                                    "httpMethod": "POST",
                                    "path": "/activate",
                                    "body": "{ \"receiverId\": { \"name\": \"onap.policy.clamp.ac.bridgetosink\", \"version\": \"1.0.0\" }, \"timerMs\": 20000, \"elementType\": \"BRIDGE\", \"topicParameterGroup\": { \"server\": \"message-router:3904\", \"listenerTopic\": \"POLICY_UPDATE_MSG\", \"publisherTopic\": \"AC_ELEMENT_MSG\", \"fetchTimeout\": 15000, \"topicCommInfrastructure\": \"dmaap\" } }",
                                    "expectedResponse": 201
                                }
                            ]
                        }
                    ]
                },
                "outProperties": {}
            },
            "709c62b3-8918-41b9-a747-d21eb79c6c24": {
                "id": "709c62b3-8918-41b9-a747-d21eb79c6c24",
                "definition": {
                    "name": "onap.policy.clamp.ac.element.Http_StarterAutomationCompositionElement",
                    "version": "1.2.3"
                },
                "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c91",
                "deployState": "DEPLOYED",
                "lockState": "LOCKED",
                "description": "Starter Automation Composition Element for the Demo",
                "message": "Deployed",
                "properties": {
                    "baseUrl": "http://10.101.0.249:30800",
                    "httpHeaders": {
                        "Content-Type": "application/json",
                        "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
                    },
                    "configurationEntities": [
                        {
                            "configurationEntityId": {
                                "name": "onap.policy.clamp.ac.starter",
                                "version": "1.0.0"
                            },
                            "restSequence": [
                                {
                                    "restRequestId": {
                                        "name": "request1",
                                        "version": "1.0.1"
                                    },
                                    "httpMethod": "POST",
                                    "path": "/activate",
                                    "body": "{ \"receiverId\": { \"name\": \"onap.policy.clamp.ac.startertobridge\", \"version\": \"1.0.0\" }, \"timerMs\": 20000, \"elementType\": \"STARTER\", \"topicParameterGroup\": { \"server\": \"message-router:3904\", \"listenerTopic\": \"POLICY_UPDATE_MSG\", \"publisherTopic\": \"AC_ELEMENT_MSG\", \"fetchTimeout\": 15000, \"topicCommInfrastructure\": \"dmaap\" } }",
                                    "expectedResponse": 201
                                }
                            ]
                        }
                    ]
                },
                "outProperties": {}
            }
        }
    },
    {
        "participant": {
            "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c92",
            "participantState": "ON_LINE",
            "participantSupportedElementTypes": {
                "110a2081-724a-4a15-b701-ff3c5cf741fa": {
                    "id": "110a2081-724a-4a15-b701-ff3c5cf741fa",
                    "typeName": "org.onap.policy.clamp.acm.PolicyAutomationCompositionElement",
                    "typeVersion": "1.0.0"
                }
            }
        },
        "acNodeTemplateStateDefinitionMap": {},
        "acElementInstanceMap": {}
    },
    {
        "participant": {
            "participantId": "101c62b3-8918-41b9-a747-d21eb79c6c93",
            "participantState": "ON_LINE",
            "participantSupportedElementTypes": {
                "e7eb37db-af7a-4840-a626-d82845c4786f": {
                    "id": "e7eb37db-af7a-4840-a626-d82845c4786f",
                    "typeName": "org.onap.policy.clamp.acm.K8SMicroserviceAutomationCompositionElement",
                    "typeVersion": "1.0.0"
                }
            }
        },
        "acNodeTemplateStateDefinitionMap": {},
        "acElementInstanceMap": {}
    }
]