@itentialopensource/adapter-etsi_sol002 0.1.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/AUTH.md +39 -0
  2. package/BROKER.md +199 -0
  3. package/CALLS.md +498 -0
  4. package/CHANGELOG.md +13 -5
  5. package/CODE_OF_CONDUCT.md +12 -17
  6. package/CONTRIBUTING.md +3 -148
  7. package/ENHANCE.md +69 -0
  8. package/PROPERTIES.md +641 -0
  9. package/README.md +235 -576
  10. package/SUMMARY.md +9 -0
  11. package/SYSTEMINFO.md +11 -0
  12. package/TROUBLESHOOT.md +47 -0
  13. package/adapter.js +291 -640
  14. package/adapterBase.js +843 -419
  15. package/changelogs/changelog.md +16 -0
  16. package/entities/.generic/action.json +105 -0
  17. package/entities/.generic/schema.json +6 -1
  18. package/error.json +6 -0
  19. package/metadata.json +49 -0
  20. package/package.json +24 -24
  21. package/pronghorn.json +527 -116
  22. package/propertiesDecorators.json +14 -0
  23. package/propertiesSchema.json +827 -6
  24. package/refs?service=git-upload-pack +0 -0
  25. package/report/adapter-openapi.json +3367 -0
  26. package/report/adapter-openapi.yaml +2548 -0
  27. package/report/adapterInfo.json +10 -0
  28. package/report/updateReport1653138361361.json +120 -0
  29. package/report/updateReport1691507414889.json +120 -0
  30. package/report/updateReport1692202448186.json +120 -0
  31. package/report/updateReport1694460767581.json +120 -0
  32. package/report/updateReport1698420537369.json +120 -0
  33. package/sampleProperties.json +153 -3
  34. package/test/integration/adapterTestBasicGet.js +3 -5
  35. package/test/integration/adapterTestConnectivity.js +91 -42
  36. package/test/integration/adapterTestIntegration.js +1299 -1569
  37. package/test/unit/adapterBaseTestUnit.js +388 -308
  38. package/test/unit/adapterTestUnit.js +399 -260
  39. package/utils/adapterInfo.js +206 -0
  40. package/utils/addAuth.js +1 -1
  41. package/utils/artifactize.js +1 -1
  42. package/utils/checkMigrate.js +1 -1
  43. package/utils/entitiesToDB.js +12 -57
  44. package/utils/findPath.js +1 -1
  45. package/utils/methodDocumentor.js +273 -0
  46. package/utils/modify.js +13 -15
  47. package/utils/packModificationScript.js +1 -1
  48. package/utils/pre-commit.sh +5 -0
  49. package/utils/taskMover.js +309 -0
  50. package/utils/tbScript.js +123 -53
  51. package/utils/tbUtils.js +87 -49
  52. package/utils/testRunner.js +17 -17
  53. package/utils/troubleshootingAdapter.js +9 -6
  54. package/workflows/README.md +0 -3
package/CALLS.md ADDED
@@ -0,0 +1,498 @@
1
+ ## Using this Adapter
2
+
3
+ The `adapter.js` file contains the calls the adapter makes available to the rest of the Itential Platform. The API detailed for these calls should be available through JSDOC. The following is a brief summary of the calls.
4
+
5
+ ### Generic Adapter Calls
6
+
7
+ These are adapter methods that IAP or you might use. There are some other methods not shown here that might be used for internal adapter functionality.
8
+
9
+ <table border="1" class="bordered-table">
10
+ <tr>
11
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
12
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
13
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
14
+ </tr>
15
+ <tr>
16
+ <td style="padding:15px">connect()</td>
17
+ <td style="padding:15px">This call is run when the Adapter is first loaded by he Itential Platform. It validates the properties have been provided correctly.</td>
18
+ <td style="padding:15px">No</td>
19
+ </tr>
20
+ <tr>
21
+ <td style="padding:15px">healthCheck(callback)</td>
22
+ <td style="padding:15px">This call ensures that the adapter can communicate with ETSI Standard sol002. The actual call that is used is defined in the adapter properties and .system entities action.json file.</td>
23
+ <td style="padding:15px">No</td>
24
+ </tr>
25
+ <tr>
26
+ <td style="padding:15px">refreshProperties(properties)</td>
27
+ <td style="padding:15px">This call provides the adapter the ability to accept property changes without having to restart the adapter.</td>
28
+ <td style="padding:15px">No</td>
29
+ </tr>
30
+ <tr>
31
+ <td style="padding:15px">encryptProperty(property, technique, callback)</td>
32
+ <td style="padding:15px">This call will take the provided property and technique, and return the property encrypted with the technique. This allows the property to be used in the adapterProps section for the credential password so that the password does not have to be in clear text. The adapter will decrypt the property as needed for communications with ETSI Standard sol002.</td>
33
+ <td style="padding:15px">No</td>
34
+ </tr>
35
+ <tr>
36
+ <td style="padding:15px">iapUpdateAdapterConfiguration(configFile, changes, entity, type, action, callback)</td>
37
+ <td style="padding:15px">This call provides the ability to update the adapter configuration from IAP - includes actions, schema, mockdata and other configurations.</td>
38
+ <td style="padding:15px">Yes</td>
39
+ </tr>
40
+ <tr>
41
+ <td style="padding:15px">iapFindAdapterPath(apiPath, callback)</td>
42
+ <td style="padding:15px">This call provides the ability to see if a particular API path is supported by the adapter.</td>
43
+ <td style="padding:15px">Yes</td>
44
+ </tr>
45
+ <tr>
46
+ <td style="padding:15px">iapSuspendAdapter(mode, callback)</td>
47
+ <td style="padding:15px">This call provides the ability to suspend the adapter and either have requests rejected or put into a queue to be processed after the adapter is resumed.</td>
48
+ <td style="padding:15px">Yes</td>
49
+ </tr>
50
+ <tr>
51
+ <td style="padding:15px">iapUnsuspendAdapter(callback)</td>
52
+ <td style="padding:15px">This call provides the ability to resume a suspended adapter. Any requests in queue will be processed before new requests.</td>
53
+ <td style="padding:15px">Yes</td>
54
+ </tr>
55
+ <tr>
56
+ <td style="padding:15px">iapGetAdapterQueue(callback)</td>
57
+ <td style="padding:15px">This call will return the requests that are waiting in the queue if throttling is enabled.</td>
58
+ <td style="padding:15px">Yes</td>
59
+ </tr>
60
+ <tr>
61
+ <td style="padding:15px">iapTroubleshootAdapter(props, persistFlag, adapter, callback)</td>
62
+ <td style="padding:15px">This call can be used to check on the performance of the adapter - it checks connectivity, healthcheck and basic get calls.</td>
63
+ <td style="padding:15px">Yes</td>
64
+ </tr>
65
+
66
+ <tr>
67
+ <td style="padding:15px">iapRunAdapterHealthcheck(adapter, callback)</td>
68
+ <td style="padding:15px">This call will return the results of a healthcheck.</td>
69
+ <td style="padding:15px">Yes</td>
70
+ </tr>
71
+ <tr>
72
+ <td style="padding:15px">iapRunAdapterConnectivity(callback)</td>
73
+ <td style="padding:15px">This call will return the results of a connectivity check.</td>
74
+ <td style="padding:15px">Yes</td>
75
+ </tr>
76
+ <tr>
77
+ <td style="padding:15px">iapRunAdapterBasicGet(callback)</td>
78
+ <td style="padding:15px">This call will return the results of running basic get API calls.</td>
79
+ <td style="padding:15px">Yes</td>
80
+ </tr>
81
+ <tr>
82
+ <td style="padding:15px">iapMoveAdapterEntitiesToDB(callback)</td>
83
+ <td style="padding:15px">This call will push the adapter configuration from the entities directory into the Adapter or IAP Database.</td>
84
+ <td style="padding:15px">Yes</td>
85
+ </tr>
86
+ <tr>
87
+ <td style="padding:15px">genericAdapterRequest(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
88
+ <td style="padding:15px">This call allows you to provide the path to have the adapter call. It is an easy way to incorporate paths that have not been built into the adapter yet.</td>
89
+ <td style="padding:15px">Yes</td>
90
+ </tr>
91
+ <tr>
92
+ <td style="padding:15px">genericAdapterRequestNoBasePath(uriPath, restMethod, queryData, requestBody, addlHeaders, callback)</td>
93
+ <td style="padding:15px">This call is the same as the genericAdapterRequest only it does not add a base_path or version to the call.</td>
94
+ <td style="padding:15px">Yes</td>
95
+ </tr>
96
+ <tr>
97
+ <td style="padding:15px">iapHasAdapterEntity(entityType, entityId, callback)</td>
98
+ <td style="padding:15px">This call verifies the adapter has the specific entity.</td>
99
+ <td style="padding:15px">No</td>
100
+ </tr>
101
+ <tr>
102
+ <td style="padding:15px">iapVerifyAdapterCapability(entityType, actionType, entityId, callback)</td>
103
+ <td style="padding:15px">This call verifies the adapter can perform the provided action on the specific entity.</td>
104
+ <td style="padding:15px">No</td>
105
+ </tr>
106
+ <tr>
107
+ <td style="padding:15px">iapUpdateAdapterEntityCache()</td>
108
+ <td style="padding:15px">This call will update the entity cache.</td>
109
+ <td style="padding:15px">No</td>
110
+ </tr>
111
+ </table>
112
+ <br>
113
+
114
+ ### Adapter Broker Calls
115
+
116
+ These are adapter methods that are used to integrate to IAP Brokers. This adapter currently supports the following broker calls.
117
+
118
+ <table border="1" class="bordered-table">
119
+ <tr>
120
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
121
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
122
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
123
+ </tr>
124
+ <tr>
125
+ <td style="padding:15px">hasEntities(entityType, entityList, callback)</td>
126
+ <td style="padding:15px">This call is utilized by the IAP Device Broker to determine if the adapter has a specific entity and item of the entity.</td>
127
+ <td style="padding:15px">No</td>
128
+ </tr>
129
+ <tr>
130
+ <td style="padding:15px">getDevice(deviceName, callback)</td>
131
+ <td style="padding:15px">This call returns the details of the requested device.</td>
132
+ <td style="padding:15px">Yes</td>
133
+ </tr>
134
+ <tr>
135
+ <td style="padding:15px">getDevicesFiltered(options, callback)</td>
136
+ <td style="padding:15px">This call returns the list of devices that match the criteria provided in the options filter.</td>
137
+ <td style="padding:15px">Yes</td>
138
+ </tr>
139
+ <tr>
140
+ <td style="padding:15px">isAlive(deviceName, callback)</td>
141
+ <td style="padding:15px">This call returns whether the device status is active</td>
142
+ <td style="padding:15px">Yes</td>
143
+ </tr>
144
+ <tr>
145
+ <td style="padding:15px">getConfig(deviceName, format, callback)</td>
146
+ <td style="padding:15px">This call returns the configuration for the selected device.</td>
147
+ <td style="padding:15px">Yes</td>
148
+ </tr>
149
+ <tr>
150
+ <td style="padding:15px">iapGetDeviceCount(callback)</td>
151
+ <td style="padding:15px">This call returns the count of devices.</td>
152
+ <td style="padding:15px">Yes</td>
153
+ </tr>
154
+ </table>
155
+ <br>
156
+
157
+ ### Specific Adapter Calls
158
+
159
+ Specific adapter calls are built based on the API of the ETSI Standard sol002. The Adapter Builder creates the proper method comments for generating JS-DOC for the adapter. This is the best way to get information on the calls.
160
+
161
+ <table border="1" class="bordered-table">
162
+ <tr>
163
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Method Signature</span></th>
164
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Description</span></th>
165
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Path</span></th>
166
+ <th bgcolor="lightgrey" style="padding:15px"><span style="font-size:12.0pt">Workflow?</span></th>
167
+ </tr>
168
+ <tr>
169
+ <td style="padding:15px">getApiVersions(callback)</td>
170
+ <td style="padding:15px">Retrieve API version information</td>
171
+ <td style="padding:15px">{base_path}/{version}/api_versions?{query}</td>
172
+ <td style="padding:15px">Yes</td>
173
+ </tr>
174
+ <tr>
175
+ <td style="padding:15px">getConfiguration(callback)</td>
176
+ <td style="padding:15px">Read VNF/VNFC configuration from VNF</td>
177
+ <td style="padding:15px">{base_path}/{version}/vnfconfig/v1/configuration?{query}</td>
178
+ <td style="padding:15px">Yes</td>
179
+ </tr>
180
+ <tr>
181
+ <td style="padding:15px">patchConfiguration(body, callback)</td>
182
+ <td style="padding:15px">Modify VNF/VNFC configuration.</td>
183
+ <td style="padding:15px">{base_path}/{version}/vnfconfig/v1/configuration?{query}</td>
184
+ <td style="padding:15px">Yes</td>
185
+ </tr>
186
+ <tr>
187
+ <td style="padding:15px">getIndicators(filter, nextpageOpaqueMarker, callback)</td>
188
+ <td style="padding:15px">Query multiple indicators</td>
189
+ <td style="padding:15px">{base_path}/{version}/vnfind/v1/indicators?{query}</td>
190
+ <td style="padding:15px">Yes</td>
191
+ </tr>
192
+ <tr>
193
+ <td style="padding:15px">getIndicatorsVnfInstanceId(vnfInstanceId, filter, nextpageOpaqueMarker, callback)</td>
194
+ <td style="padding:15px">Query multiple indicators related to a VNF instance.</td>
195
+ <td style="padding:15px">{base_path}/{version}/vnfind/v1/indicators/{pathv1}?{query}</td>
196
+ <td style="padding:15px">Yes</td>
197
+ </tr>
198
+ <tr>
199
+ <td style="padding:15px">getIndicatorsVnfInstanceIdIndicatorId(vnfInstanceId, indicatorId, callback)</td>
200
+ <td style="padding:15px">Read an inidividual VNF indicator related to a VNF instance.</td>
201
+ <td style="padding:15px">{base_path}/{version}/vnfind/v1/indicators/{pathv1}/{pathv2}?{query}</td>
202
+ <td style="padding:15px">Yes</td>
203
+ </tr>
204
+ <tr>
205
+ <td style="padding:15px">getSubscriptions(filter, nextpageOpaqueMarker, callback)</td>
206
+ <td style="padding:15px">Query multiple subscriptions.</td>
207
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/subscriptions?{query}</td>
208
+ <td style="padding:15px">Yes</td>
209
+ </tr>
210
+ <tr>
211
+ <td style="padding:15px">postSubscriptions(body, callback)</td>
212
+ <td style="padding:15px">Create a new subscription to VNF indicator change notifications</td>
213
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/subscriptions?{query}</td>
214
+ <td style="padding:15px">Yes</td>
215
+ </tr>
216
+ <tr>
217
+ <td style="padding:15px">getSubscriptionsSubscriptionId(subscriptionId, callback)</td>
218
+ <td style="padding:15px">Read an individual subscription.</td>
219
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/subscriptions/{pathv1}?{query}</td>
220
+ <td style="padding:15px">Yes</td>
221
+ </tr>
222
+ <tr>
223
+ <td style="padding:15px">deleteSubscriptionsSubscriptionId(subscriptionId, callback)</td>
224
+ <td style="padding:15px">Delete a subscription</td>
225
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/subscriptions/{pathv1}?{query}</td>
226
+ <td style="padding:15px">Yes</td>
227
+ </tr>
228
+ <tr>
229
+ <td style="padding:15px">getAlarms(filter, nextpageOpaqueMarker, callback)</td>
230
+ <td style="padding:15px">The client can use this method to retrieve information about the alarm list.
231
+ </td>
232
+ <td style="padding:15px">{base_path}/{version}/vnffm/v1/alarms?{query}</td>
233
+ <td style="padding:15px">Yes</td>
234
+ </tr>
235
+ <tr>
236
+ <td style="padding:15px">getAlarmsAlarmId(alarmId, callback)</td>
237
+ <td style="padding:15px">The client can use this method to read an individual alarm.
238
+ </td>
239
+ <td style="padding:15px">{base_path}/{version}/vnffm/v1/alarms/{pathv1}?{query}</td>
240
+ <td style="padding:15px">Yes</td>
241
+ </tr>
242
+ <tr>
243
+ <td style="padding:15px">patchAlarmsAlarmId(alarmId, body, callback)</td>
244
+ <td style="padding:15px">This method modifies an individual alarm resource.
245
+ </td>
246
+ <td style="padding:15px">{base_path}/{version}/vnffm/v1/alarms/{pathv1}?{query}</td>
247
+ <td style="padding:15px">Yes</td>
248
+ </tr>
249
+ <tr>
250
+ <td style="padding:15px">postAlarmsAlarmIdEscalate(alarmId, body, callback)</td>
251
+ <td style="padding:15px">The POST method enables the consumer to escalate the perceived severity of an alarm that is represe</td>
252
+ <td style="padding:15px">{base_path}/{version}/vnffm/v1/alarms/{pathv1}/escalate?{query}</td>
253
+ <td style="padding:15px">Yes</td>
254
+ </tr>
255
+ <tr>
256
+ <td style="padding:15px">getVnfInstances(filter, allFields, fields, excludeFields, excludeDefault, nextpageOpaqueMarker, callback)</td>
257
+ <td style="padding:15px">The GET method queries information about multiple VNF instances.
258
+ </td>
259
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances?{query}</td>
260
+ <td style="padding:15px">Yes</td>
261
+ </tr>
262
+ <tr>
263
+ <td style="padding:15px">postVnfInstances(body, callback)</td>
264
+ <td style="padding:15px">The POST method creates a new VNF instance resource based on a VNF package that is onboarded and in</td>
265
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances?{query}</td>
266
+ <td style="padding:15px">Yes</td>
267
+ </tr>
268
+ <tr>
269
+ <td style="padding:15px">getVnfInstancesVnfInstanceId(vnfInstanceId, callback)</td>
270
+ <td style="padding:15px">Information about a VNF instance by reading an "Individual VNF instance".
271
+ </td>
272
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}?{query}</td>
273
+ <td style="padding:15px">Yes</td>
274
+ </tr>
275
+ <tr>
276
+ <td style="padding:15px">deleteVnfInstancesVnfInstanceId(vnfInstanceId, callback)</td>
277
+ <td style="padding:15px">This method deletes an "Individual VNF instance" resource.
278
+ </td>
279
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}?{query}</td>
280
+ <td style="padding:15px">Yes</td>
281
+ </tr>
282
+ <tr>
283
+ <td style="padding:15px">patchVnfInstancesVnfInstanceId(vnfInstanceId, body, callback)</td>
284
+ <td style="padding:15px">This method modifies an "Individual VNF instance" resource. Changes to the VNF configurable propert</td>
285
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}?{query}</td>
286
+ <td style="padding:15px">Yes</td>
287
+ </tr>
288
+ <tr>
289
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdInstantiate(vnfInstanceId, body, callback)</td>
290
+ <td style="padding:15px">The POST method instantiates a VNF instance.
291
+ </td>
292
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/instantiate?{query}</td>
293
+ <td style="padding:15px">Yes</td>
294
+ </tr>
295
+ <tr>
296
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdScale(vnfInstanceId, body, callback)</td>
297
+ <td style="padding:15px">The POST method requests to scale a VNF instance resource incrementally.
298
+ </td>
299
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/scale?{query}</td>
300
+ <td style="padding:15px">Yes</td>
301
+ </tr>
302
+ <tr>
303
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdScaleToLevel(vnfInstanceId, body, callback)</td>
304
+ <td style="padding:15px">The POST method requests to scale a VNF instance resource to a target level.
305
+ </td>
306
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/scale_to_level?{query}</td>
307
+ <td style="padding:15px">Yes</td>
308
+ </tr>
309
+ <tr>
310
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdChangeFlavour(vnfInstanceId, body, callback)</td>
311
+ <td style="padding:15px">The POST method changes the deployment flavour of a VNF instance.
312
+ </td>
313
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/change_flavour?{query}</td>
314
+ <td style="padding:15px">Yes</td>
315
+ </tr>
316
+ <tr>
317
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdTerminate(vnfInstanceId, body, callback)</td>
318
+ <td style="padding:15px">The POST method triggers the VNFM to terminate a VNF instance and to request to the VIM the releas</td>
319
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/terminate?{query}</td>
320
+ <td style="padding:15px">Yes</td>
321
+ </tr>
322
+ <tr>
323
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdHeal(vnfInstanceId, body, callback)</td>
324
+ <td style="padding:15px">The POST method requests to heal a VNF instance.
325
+ </td>
326
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/heal?{query}</td>
327
+ <td style="padding:15px">Yes</td>
328
+ </tr>
329
+ <tr>
330
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdOperate(vnfInstanceId, body, callback)</td>
331
+ <td style="padding:15px">The POST method changes the operational state of a VNF instance.
332
+ </td>
333
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/operate?{query}</td>
334
+ <td style="padding:15px">Yes</td>
335
+ </tr>
336
+ <tr>
337
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdChangeExtConn(vnfInstanceId, body, callback)</td>
338
+ <td style="padding:15px">The POST method changes the external connectivity of a VNF instance.
339
+ </td>
340
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/change_ext_conn?{query}</td>
341
+ <td style="padding:15px">Yes</td>
342
+ </tr>
343
+ <tr>
344
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdChangeVnfpkg(vnfInstanceId, body, callback)</td>
345
+ <td style="padding:15px">The POST method changes the current VNF package on which the VNF instance is based.
346
+ </td>
347
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/change_vnfpkg?{query}</td>
348
+ <td style="padding:15px">Yes</td>
349
+ </tr>
350
+ <tr>
351
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdCreateSnapshot(vnfInstanceId, body, callback)</td>
352
+ <td style="padding:15px">The POST method requests tacking a VNF instance snapshot and populating a previously created VNF sn</td>
353
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/create_snapshot?{query}</td>
354
+ <td style="padding:15px">Yes</td>
355
+ </tr>
356
+ <tr>
357
+ <td style="padding:15px">postVnfInstancesVnfInstanceIdRevertToSnapshot(vnfInstanceId, body, callback)</td>
358
+ <td style="padding:15px">The POST method requests reverting a VNF/VNFC instance to a VNF/VNFC snapshot.
359
+ </td>
360
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_instances/{pathv1}/revert_to_snapshot?{query}</td>
361
+ <td style="padding:15px">Yes</td>
362
+ </tr>
363
+ <tr>
364
+ <td style="padding:15px">getVnfLcmOpOccs(filter, allFields, fields, excludeFields, excludeDefault, nextpageOpaqueMarker, callback)</td>
365
+ <td style="padding:15px">The client can use this method to query status information about multiple VNF lifecycle management</td>
366
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs?{query}</td>
367
+ <td style="padding:15px">Yes</td>
368
+ </tr>
369
+ <tr>
370
+ <td style="padding:15px">getVnfLcmOpOccsVnfLcmOpOccId(vnfLcmOpOccId, callback)</td>
371
+ <td style="padding:15px">The client can use this method to retrieve status information about a VNF lifecycle management oper</td>
372
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs/{pathv1}?{query}</td>
373
+ <td style="padding:15px">Yes</td>
374
+ </tr>
375
+ <tr>
376
+ <td style="padding:15px">postVnfLcmOpOccsVnfLcmOpOccIdRetry(vnfLcmOpOccId, callback)</td>
377
+ <td style="padding:15px">The POST method initiates retrying a VNF lifecycle operation if that operation has experienced a te</td>
378
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs/{pathv1}/retry?{query}</td>
379
+ <td style="padding:15px">Yes</td>
380
+ </tr>
381
+ <tr>
382
+ <td style="padding:15px">postVnfLcmOpOccsVnfLcmOpOccIdRollback(vnfLcmOpOccId, callback)</td>
383
+ <td style="padding:15px">The POST method initiates rolling back a VNF lifecycle operation if that operation has experienced</td>
384
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs/{pathv1}/rollback?{query}</td>
385
+ <td style="padding:15px">Yes</td>
386
+ </tr>
387
+ <tr>
388
+ <td style="padding:15px">postVnfLcmOpOccsVnfLcmOpOccIdFail(vnfLcmOpOccId, callback)</td>
389
+ <td style="padding:15px">The POST method marks a VNF lifecycle management operation occurrence as "finally failed" if that o</td>
390
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs/{pathv1}/fail?{query}</td>
391
+ <td style="padding:15px">Yes</td>
392
+ </tr>
393
+ <tr>
394
+ <td style="padding:15px">postVnfLcmOpOccsVnfLcmOpOccIdCancel(vnfLcmOpOccId, callback)</td>
395
+ <td style="padding:15px">The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed</td>
396
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_lcm_op_occs/{pathv1}/cancel?{query}</td>
397
+ <td style="padding:15px">Yes</td>
398
+ </tr>
399
+ <tr>
400
+ <td style="padding:15px">postVnfSnapshots(body, callback)</td>
401
+ <td style="padding:15px">The POST method creates a new individual VNF snapshot resource.
402
+ </td>
403
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_snapshots?{query}</td>
404
+ <td style="padding:15px">Yes</td>
405
+ </tr>
406
+ <tr>
407
+ <td style="padding:15px">getVnfSnapshots(filter, allFields, fields, excludeFields, excludeDefault, nextpageOpaqueMarker, callback)</td>
408
+ <td style="padding:15px">The GET method queries information about multiple VNF/VNFC snapshots.
409
+ </td>
410
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_snapshots?{query}</td>
411
+ <td style="padding:15px">Yes</td>
412
+ </tr>
413
+ <tr>
414
+ <td style="padding:15px">getVnfSnapshotsVnfSnapshotInfoId(vnfSnapshotInfoId, callback)</td>
415
+ <td style="padding:15px">The GET method retrieves information about a VNF /VNFC snapshot by reading an individual VNF snapsh</td>
416
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_snapshots/{pathv1}?{query}</td>
417
+ <td style="padding:15px">Yes</td>
418
+ </tr>
419
+ <tr>
420
+ <td style="padding:15px">deleteVnfSnapshotsVnfSnapshotInfoId(vnfSnapshotInfoId, callback)</td>
421
+ <td style="padding:15px">This method deletes an individual VNF snapshot resource and the associated VNF snapshot information</td>
422
+ <td style="padding:15px">{base_path}/{version}/vnflcm/v1/vnf_snapshots/{pathv1}?{query}</td>
423
+ <td style="padding:15px">Yes</td>
424
+ </tr>
425
+ <tr>
426
+ <td style="padding:15px">getPmJobs(filter, allFields, fields, excludeFields, excludeDefault, nextpageOpaqueMarker, callback)</td>
427
+ <td style="padding:15px">The client can use this method to retrieve information about PM jobs.
428
+ </td>
429
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs?{query}</td>
430
+ <td style="padding:15px">Yes</td>
431
+ </tr>
432
+ <tr>
433
+ <td style="padding:15px">postPmJobs(body, callback)</td>
434
+ <td style="padding:15px">The POST method creates a PM job. As the result of successful executing this method, a new "Indivi</td>
435
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs?{query}</td>
436
+ <td style="padding:15px">Yes</td>
437
+ </tr>
438
+ <tr>
439
+ <td style="padding:15px">getPmJobsPmJobId(pmJobId, callback)</td>
440
+ <td style="padding:15px">The client can use this method for reading an individual PM job.
441
+ </td>
442
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs/{pathv1}?{query}</td>
443
+ <td style="padding:15px">Yes</td>
444
+ </tr>
445
+ <tr>
446
+ <td style="padding:15px">deletePmJobsPmJobId(pmJobId, callback)</td>
447
+ <td style="padding:15px">This method terminates an individual PM job. As the result of successfully executing this method, t</td>
448
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs/{pathv1}?{query}</td>
449
+ <td style="padding:15px">Yes</td>
450
+ </tr>
451
+ <tr>
452
+ <td style="padding:15px">patchPmJobsPmJobId(pmJobId, body, callback)</td>
453
+ <td style="padding:15px">This method allows to modify an "individual PM job" resource. This method shall follow the provisio</td>
454
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs/{pathv1}?{query}</td>
455
+ <td style="padding:15px">Yes</td>
456
+ </tr>
457
+ <tr>
458
+ <td style="padding:15px">getPmJobsPmJobIdReportsReportId(pmJobId, reportId, callback)</td>
459
+ <td style="padding:15px">The client can use this method for reading an individual performance report.
460
+ </td>
461
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/pm_jobs/{pathv1}/reports/{pathv2}?{query}</td>
462
+ <td style="padding:15px">Yes</td>
463
+ </tr>
464
+ <tr>
465
+ <td style="padding:15px">getThresholds(filter, nextpageOpaqueMarker, callback)</td>
466
+ <td style="padding:15px">The client can use this method to query information about thresholds.
467
+ </td>
468
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/thresholds?{query}</td>
469
+ <td style="padding:15px">Yes</td>
470
+ </tr>
471
+ <tr>
472
+ <td style="padding:15px">postThresholds(body, callback)</td>
473
+ <td style="padding:15px">The POST method can be used by the client to create a threshold. As the result of successfully exec</td>
474
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/thresholds?{query}</td>
475
+ <td style="padding:15px">Yes</td>
476
+ </tr>
477
+ <tr>
478
+ <td style="padding:15px">getThresholdsThresholdId(thresholdId, callback)</td>
479
+ <td style="padding:15px">The client can use this method for reading an individual threshold.
480
+ </td>
481
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/thresholds/{pathv1}?{query}</td>
482
+ <td style="padding:15px">Yes</td>
483
+ </tr>
484
+ <tr>
485
+ <td style="padding:15px">deleteThresholdsThresholdId(thresholdId, callback)</td>
486
+ <td style="padding:15px">This method allows to delete a threshold. As the result of successfully executing this method, the
487
+ </td>
488
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/thresholds/{pathv1}?{query}</td>
489
+ <td style="padding:15px">Yes</td>
490
+ </tr>
491
+ <tr>
492
+ <td style="padding:15px">patchThresholdsThresholdId(thresholdId, body, callback)</td>
493
+ <td style="padding:15px">This method allows to modify an "Individual threshold" resource. This method shall follow the provi</td>
494
+ <td style="padding:15px">{base_path}/{version}/vnfpm/v2/thresholds/{pathv1}?{query}</td>
495
+ <td style="padding:15px">Yes</td>
496
+ </tr>
497
+ </table>
498
+ <br>
package/CHANGELOG.md CHANGED
@@ -1,15 +1,23 @@
1
1
 
2
- ## 0.1.2 [03-02-2022]
2
+ ## 0.3.0 [12-27-2023]
3
3
 
4
- * Bug fixes and performance improvements
4
+ * Adapter Engine has been updated and the changes are being migrated to the adapter
5
5
 
6
- See commit be0ed7e
6
+ See merge request itentialopensource/adapters/cloud/adapter-etsi_sol002!2
7
7
 
8
8
  ---
9
9
 
10
- ## 0.1.1 [03-02-2022]
10
+ ## 0.2.0 [05-21-2022]
11
11
 
12
- * Bug fixes and performance improvements
12
+ * Migration to the latest Adapter Foundation
13
+
14
+ See merge request itentialopensource/adapters/cloud/adapter-etsi_sol002!1
15
+
16
+ ---
17
+
18
+ ## 0.1.2 [03-02-2022] & 0.1.1 [03-02-2022]
19
+
20
+ - Initial Commit
13
21
 
14
22
  See commit 75f0a6d
15
23
 
@@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
8
8
 
9
9
  Examples of behavior that contributes to creating a positive environment include:
10
10
 
11
- * Using welcoming and inclusive language
12
- * Being respectful of differing viewpoints and experiences
13
- * Gracefully accepting constructive criticism
14
- * Focusing on what is best for the community
15
- * Showing empathy towards other community members
11
+ - Using welcoming and inclusive language
12
+ - Being respectful of differing viewpoints and experiences
13
+ - Gracefully accepting constructive criticism
14
+ - Focusing on what is best for the community
15
+ - Showing empathy towards other community members
16
16
 
17
17
  Examples of unacceptable behavior by participants include:
18
18
 
19
- * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
- * Trolling, insulting/derogatory comments, and personal or political attacks
21
- * Public or private harassment
22
- * Publishing others' private information, such as a physical or electronic address, without explicit permission
23
- * Other conduct which could reasonably be considered inappropriate in a professional setting
19
+ - The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ - Trolling, insulting/derogatory comments, and personal or political attacks
21
+ - Public or private harassment
22
+ - Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
24
24
 
25
25
  ## Our Responsibilities
26
26
 
@@ -34,15 +34,10 @@ This Code of Conduct applies both within project spaces and in public spaces whe
34
34
 
35
35
  ## Enforcement
36
36
 
37
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [support@itential.com](mailto:support@itential.com). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@itential.com. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
38
 
39
39
  Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
40
 
41
41
  ## Attribution
42
42
 
43
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44
-
45
- [homepage]: http://contributor-covenant.org
46
- [version]: http://contributor-covenant.org/version/1/4/
47
-
48
- _return to [README](../README.md)_
43
+ This Code of Conduct is adapted from the <a href="http://contributor-covenant.org" target="_blank">Contributor Covenant</a>, version 1.4, available at <a href="http://contributor-covenant.org/version/1/4/" target="_blank">version</a>