@itentialopensource/adapter-etsi_sol005 0.1.1

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 (129) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/CHANGELOG.md +9 -0
  5. package/CODE_OF_CONDUCT.md +48 -0
  6. package/CONTRIBUTING.md +158 -0
  7. package/LICENSE +201 -0
  8. package/README.md +687 -0
  9. package/adapter.js +10403 -0
  10. package/adapterBase.js +1028 -0
  11. package/entities/.generic/action.json +109 -0
  12. package/entities/.generic/schema.json +23 -0
  13. package/entities/.system/action.json +50 -0
  14. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  15. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  16. package/entities/.system/schema.json +19 -0
  17. package/entities/.system/schemaTokenReq.json +53 -0
  18. package/entities/.system/schemaTokenResp.json +53 -0
  19. package/entities/Alarms/action.json +66 -0
  20. package/entities/Alarms/mockdatafiles/getAlarms-default.json +126 -0
  21. package/entities/Alarms/mockdatafiles/getAlarmsAlarmId-default.json +45 -0
  22. package/entities/Alarms/mockdatafiles/patchAlarmsAlarmId-default.json +3 -0
  23. package/entities/Alarms/schema.json +21 -0
  24. package/entities/ApiVersions/action.json +25 -0
  25. package/entities/ApiVersions/mockdatafiles/getApiVersions-default.json +55 -0
  26. package/entities/ApiVersions/schema.json +19 -0
  27. package/entities/CapacityThresholds/action.json +106 -0
  28. package/entities/CapacityThresholds/mockdatafiles/getCapacityThresholds-default.json +193 -0
  29. package/entities/CapacityThresholds/mockdatafiles/getCapacityThresholdsCapacityThresholdId-default.json +63 -0
  30. package/entities/CapacityThresholds/mockdatafiles/patchCapacityThresholdsCapacityThresholdId-default.json +26 -0
  31. package/entities/CapacityThresholds/mockdatafiles/postCapacityThresholds-default.json +50 -0
  32. package/entities/CapacityThresholds/schema.json +23 -0
  33. package/entities/NfviCapacityInfos/action.json +46 -0
  34. package/entities/NfviCapacityInfos/mockdatafiles/getNfviCapacityInfos-default.json +1457 -0
  35. package/entities/NfviCapacityInfos/mockdatafiles/getNfviCapacityInfosVimId-default.json +487 -0
  36. package/entities/NfviCapacityInfos/schema.json +20 -0
  37. package/entities/NsDescriptors/action.json +210 -0
  38. package/entities/NsDescriptors/mockdatafiles/getNsDescriptors-default.json +354 -0
  39. package/entities/NsDescriptors/mockdatafiles/getNsDescriptorsNsdInfoId-default.json +101 -0
  40. package/entities/NsDescriptors/mockdatafiles/patchNsDescriptorsNsdInfoId-default.json +10 -0
  41. package/entities/NsDescriptors/mockdatafiles/postNsDescriptors-default.json +136 -0
  42. package/entities/NsDescriptors/schema.json +83 -0
  43. package/entities/NsInstances/action.json +186 -0
  44. package/entities/NsInstances/mockdatafiles/querymultipleNSinstances-default.json +85311 -0
  45. package/entities/NsInstances/schema.json +27 -0
  46. package/entities/NsLcmOpOccs/action.json +106 -0
  47. package/entities/NsLcmOpOccs/mockdatafiles/querymultipleNSLCMoperationoccurrences-default.json +57603 -0
  48. package/entities/NsLcmOpOccs/schema.json +23 -0
  49. package/entities/Nslcm/action.json +44 -0
  50. package/entities/Nslcm/schema.json +20 -0
  51. package/entities/PmJobs/action.json +127 -0
  52. package/entities/PmJobs/mockdatafiles/getPmJobs-default.json +122 -0
  53. package/entities/PmJobs/mockdatafiles/getPmJobsPmJobId-default.json +60 -0
  54. package/entities/PmJobs/mockdatafiles/getPmJobsPmJobIdReportsReportId-default.json +148 -0
  55. package/entities/PmJobs/mockdatafiles/patchPmJobsPmJobId-default.json +22 -0
  56. package/entities/PmJobs/mockdatafiles/postPmJobs-default.json +52 -0
  57. package/entities/PmJobs/schema.json +24 -0
  58. package/entities/PnfDescriptors/action.json +210 -0
  59. package/entities/PnfDescriptors/mockdatafiles/getPnfDescriptors-default.json +113 -0
  60. package/entities/PnfDescriptors/mockdatafiles/getPnfDescriptorsPnfdInfoId-default.json +57 -0
  61. package/entities/PnfDescriptors/mockdatafiles/patchPnfDescriptorsPnfdInfoId-default.json +3 -0
  62. package/entities/PnfDescriptors/mockdatafiles/postPnfDescriptors-default.json +102 -0
  63. package/entities/PnfDescriptors/schema.json +83 -0
  64. package/entities/Subscriptions/action.json +86 -0
  65. package/entities/Subscriptions/mockdatafiles/getSubscriptions-default.json +482 -0
  66. package/entities/Subscriptions/mockdatafiles/getSubscriptionsSubscriptionId-default.json +152 -0
  67. package/entities/Subscriptions/mockdatafiles/postSubscriptions-default.json +151 -0
  68. package/entities/Subscriptions/schema.json +33 -0
  69. package/entities/Thresholds/action.json +106 -0
  70. package/entities/Thresholds/mockdatafiles/getThresholds-default.json +34 -0
  71. package/entities/Thresholds/mockdatafiles/getThresholdsThresholdId-default.json +30 -0
  72. package/entities/Thresholds/mockdatafiles/patchThresholdsThresholdId-default.json +18 -0
  73. package/entities/Thresholds/mockdatafiles/postThresholds-default.json +32 -0
  74. package/entities/Thresholds/schema.json +23 -0
  75. package/entities/VnfPackages/action.json +292 -0
  76. package/entities/VnfPackages/mockdatafiles/getVnfPackages-default.json +453 -0
  77. package/entities/VnfPackages/mockdatafiles/getVnfPackagesVnfPkgId-default.json +204 -0
  78. package/entities/VnfPackages/mockdatafiles/getVnfPackagesVnfPkgIdExtArtifactsAccess-default.json +14 -0
  79. package/entities/VnfPackages/mockdatafiles/patchVnfPackagesVnfPkgId-default.json +4 -0
  80. package/entities/VnfPackages/mockdatafiles/postVnfPackages-default.json +236 -0
  81. package/entities/VnfPackages/mockdatafiles/putVnfPackagesVnfPkgIdExtArtifactsAccess-default.json +14 -0
  82. package/entities/VnfPackages/schema.json +32 -0
  83. package/entities/VnfSnapshotPackages/action.json +289 -0
  84. package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackages-default.json +227 -0
  85. package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackagesVnfSnapshotPkgId-default.json +268 -0
  86. package/entities/VnfSnapshotPackages/mockdatafiles/patchVnfSnapshotPackagesVnfSnapshotPkgId-default.json +5 -0
  87. package/entities/VnfSnapshotPackages/mockdatafiles/postVnfSnapshotPackages-default.json +146 -0
  88. package/entities/VnfSnapshotPackages/schema.json +32 -0
  89. package/entities/VnfSnapshots/action.json +66 -0
  90. package/entities/VnfSnapshots/mockdatafiles/queryVNFsnapshots-default.json +1694 -0
  91. package/entities/VnfSnapshots/schema.json +21 -0
  92. package/error.json +184 -0
  93. package/package.json +85 -0
  94. package/pronghorn.json +18371 -0
  95. package/propertiesSchema.json +840 -0
  96. package/refs?service=git-upload-pack +0 -0
  97. package/report/creationReport.json +279 -0
  98. package/report/sol005_NSDmgmt_openapi.json +24207 -0
  99. package/report/sol005_capacity_openapi.json +14837 -0
  100. package/report/sol005_fault_openapi.json +8757 -0
  101. package/report/sol005_lifecycle_opneapi.json +61923 -0
  102. package/report/sol005_lifecycle_opneapi.json-OpenApi3Json.json +24758 -0
  103. package/report/sol005_package_openapi.json +19471 -0
  104. package/report/sol005_perf_openapi.json +11124 -0
  105. package/report/sol005_snapshot_openapi.json +16610 -0
  106. package/report/updateReport1646246505328.json +95 -0
  107. package/sampleProperties.json +106 -0
  108. package/test/integration/adapterTestBasicGet.js +85 -0
  109. package/test/integration/adapterTestConnectivity.js +93 -0
  110. package/test/integration/adapterTestIntegration.js +3685 -0
  111. package/test/unit/adapterBaseTestUnit.js +944 -0
  112. package/test/unit/adapterTestUnit.js +4287 -0
  113. package/utils/addAuth.js +94 -0
  114. package/utils/artifactize.js +146 -0
  115. package/utils/basicGet.js +50 -0
  116. package/utils/checkMigrate.js +63 -0
  117. package/utils/entitiesToDB.js +224 -0
  118. package/utils/findPath.js +74 -0
  119. package/utils/modify.js +154 -0
  120. package/utils/packModificationScript.js +35 -0
  121. package/utils/patches2bundledDeps.js +90 -0
  122. package/utils/pre-commit.sh +27 -0
  123. package/utils/removeHooks.js +20 -0
  124. package/utils/setup.js +33 -0
  125. package/utils/tbScript.js +169 -0
  126. package/utils/tbUtils.js +451 -0
  127. package/utils/testRunner.js +298 -0
  128. package/utils/troubleshootingAdapter.js +190 -0
  129. package/workflows/README.md +3 -0
@@ -0,0 +1,227 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "vnfSnapshotPkgUniqueId": "string",
5
+ "name": "string",
6
+ "checksum": {
7
+ "algorithm": "string",
8
+ "hash": "string"
9
+ },
10
+ "createdAt": null,
11
+ "vnfSnapshotId": "string",
12
+ "vnfcSnapshotInfoIds": [
13
+ "string",
14
+ "string",
15
+ "string",
16
+ "string"
17
+ ],
18
+ "isFullSnapshot": false,
19
+ "vnfdInfo": {
20
+ "vnfdId": "string",
21
+ "vnfdPath": "string",
22
+ "checksum": {
23
+ "algorithm": "string",
24
+ "hash": "string"
25
+ },
26
+ "isEncrypted": true
27
+ },
28
+ "vnfsr": {
29
+ "recordPath": "string",
30
+ "checksum": {
31
+ "algorithm": "string",
32
+ "hash": "string"
33
+ },
34
+ "isEncrypted": true
35
+ },
36
+ "vnfcSnapshotImages": [
37
+ {
38
+ "id": "string",
39
+ "name": "string",
40
+ "checksum": {
41
+ "algorithm": "string",
42
+ "hash": "string"
43
+ },
44
+ "isEncrypted": false,
45
+ "vnfcInstanceId": "string",
46
+ "containerFormat": "AKI",
47
+ "diskFormat": "ISO",
48
+ "createdAt": null,
49
+ "minDisk": 9,
50
+ "minRam": 9,
51
+ "size": 1,
52
+ "userMetadata": {},
53
+ "imagePath": "string",
54
+ "imageUri": "string"
55
+ },
56
+ {
57
+ "id": "string",
58
+ "name": "string",
59
+ "checksum": {
60
+ "algorithm": "string",
61
+ "hash": "string"
62
+ },
63
+ "isEncrypted": false,
64
+ "vnfcInstanceId": "string",
65
+ "containerFormat": "OVA",
66
+ "diskFormat": "RAW",
67
+ "createdAt": null,
68
+ "minDisk": 3,
69
+ "minRam": 3,
70
+ "size": 8,
71
+ "userMetadata": {},
72
+ "imagePath": "string",
73
+ "imageUri": "string"
74
+ },
75
+ {
76
+ "id": "string",
77
+ "name": "string",
78
+ "checksum": {
79
+ "algorithm": "string",
80
+ "hash": "string"
81
+ },
82
+ "isEncrypted": false,
83
+ "vnfcInstanceId": "string",
84
+ "containerFormat": "BARE",
85
+ "diskFormat": "QCOW2",
86
+ "createdAt": null,
87
+ "minDisk": 8,
88
+ "minRam": 2,
89
+ "size": 1,
90
+ "userMetadata": {},
91
+ "imagePath": "string",
92
+ "imageUri": "string"
93
+ },
94
+ {
95
+ "id": "string",
96
+ "name": "string",
97
+ "checksum": {
98
+ "algorithm": "string",
99
+ "hash": "string"
100
+ },
101
+ "isEncrypted": true,
102
+ "vnfcInstanceId": "string",
103
+ "containerFormat": "DOCKER",
104
+ "diskFormat": "ARI",
105
+ "createdAt": null,
106
+ "minDisk": 7,
107
+ "minRam": 7,
108
+ "size": 4,
109
+ "userMetadata": {},
110
+ "imagePath": "string",
111
+ "imageUri": "string"
112
+ },
113
+ {
114
+ "id": "string",
115
+ "name": "string",
116
+ "checksum": {
117
+ "algorithm": "string",
118
+ "hash": "string"
119
+ },
120
+ "isEncrypted": true,
121
+ "vnfcInstanceId": "string",
122
+ "containerFormat": "DOCKER",
123
+ "diskFormat": "AMI",
124
+ "createdAt": null,
125
+ "minDisk": 2,
126
+ "minRam": 9,
127
+ "size": 3,
128
+ "userMetadata": {},
129
+ "imagePath": "string",
130
+ "imageUri": "string"
131
+ }
132
+ ],
133
+ "additionalArtifacts": [
134
+ {
135
+ "artifactPath": "string",
136
+ "artifactUri": "string",
137
+ "checksum": {
138
+ "algorithm": "string",
139
+ "hash": "string"
140
+ },
141
+ "isEncrypted": true,
142
+ "metadata": {}
143
+ },
144
+ {
145
+ "artifactPath": "string",
146
+ "artifactUri": "string",
147
+ "checksum": {
148
+ "algorithm": "string",
149
+ "hash": "string"
150
+ },
151
+ "isEncrypted": true,
152
+ "metadata": {}
153
+ },
154
+ {
155
+ "artifactPath": "string",
156
+ "artifactUri": "string",
157
+ "checksum": {
158
+ "algorithm": "string",
159
+ "hash": "string"
160
+ },
161
+ "isEncrypted": false,
162
+ "metadata": {}
163
+ },
164
+ {
165
+ "artifactPath": "string",
166
+ "artifactUri": "string",
167
+ "checksum": {
168
+ "algorithm": "string",
169
+ "hash": "string"
170
+ },
171
+ "isEncrypted": false,
172
+ "metadata": {}
173
+ },
174
+ {
175
+ "artifactPath": "string",
176
+ "artifactUri": "string",
177
+ "checksum": {
178
+ "algorithm": "string",
179
+ "hash": "string"
180
+ },
181
+ "isEncrypted": false,
182
+ "metadata": {}
183
+ },
184
+ {
185
+ "artifactPath": "string",
186
+ "artifactUri": "string",
187
+ "checksum": {
188
+ "algorithm": "string",
189
+ "hash": "string"
190
+ },
191
+ "isEncrypted": false,
192
+ "metadata": {}
193
+ },
194
+ {
195
+ "artifactPath": "string",
196
+ "artifactUri": "string",
197
+ "checksum": {
198
+ "algorithm": "string",
199
+ "hash": "string"
200
+ },
201
+ "isEncrypted": false,
202
+ "metadata": {}
203
+ }
204
+ ],
205
+ "state": "ERROR",
206
+ "isCancelPending": true,
207
+ "failureDetails": {
208
+ "errorType": "PROCESS_ERROR",
209
+ "details": {
210
+ "type": "string",
211
+ "title": "string",
212
+ "status": 3,
213
+ "detail": "string",
214
+ "instance": "string"
215
+ }
216
+ },
217
+ "userDefinedData": {},
218
+ "_links": {
219
+ "self": {
220
+ "href": "string"
221
+ },
222
+ "packageContent": {
223
+ "href": "string"
224
+ }
225
+ }
226
+ }
227
+ ]
@@ -0,0 +1,268 @@
1
+ {
2
+ "id": "string",
3
+ "vnfSnapshotPkgUniqueId": "string",
4
+ "name": "string",
5
+ "checksum": {
6
+ "algorithm": "string",
7
+ "hash": "string"
8
+ },
9
+ "createdAt": null,
10
+ "vnfSnapshotId": "string",
11
+ "vnfcSnapshotInfoIds": [
12
+ "string"
13
+ ],
14
+ "isFullSnapshot": false,
15
+ "vnfdInfo": {
16
+ "vnfdId": "string",
17
+ "vnfdPath": "string",
18
+ "checksum": {
19
+ "algorithm": "string",
20
+ "hash": "string"
21
+ },
22
+ "isEncrypted": false
23
+ },
24
+ "vnfsr": {
25
+ "recordPath": "string",
26
+ "checksum": {
27
+ "algorithm": "string",
28
+ "hash": "string"
29
+ },
30
+ "isEncrypted": true
31
+ },
32
+ "vnfcSnapshotImages": [
33
+ {
34
+ "id": "string",
35
+ "name": "string",
36
+ "checksum": {
37
+ "algorithm": "string",
38
+ "hash": "string"
39
+ },
40
+ "isEncrypted": true,
41
+ "vnfcInstanceId": "string",
42
+ "containerFormat": "DOCKER",
43
+ "diskFormat": "VMDK",
44
+ "createdAt": null,
45
+ "minDisk": 5,
46
+ "minRam": 2,
47
+ "size": 6,
48
+ "userMetadata": {},
49
+ "imagePath": "string",
50
+ "imageUri": "string"
51
+ },
52
+ {
53
+ "id": "string",
54
+ "name": "string",
55
+ "checksum": {
56
+ "algorithm": "string",
57
+ "hash": "string"
58
+ },
59
+ "isEncrypted": false,
60
+ "vnfcInstanceId": "string",
61
+ "containerFormat": "BARE",
62
+ "diskFormat": "QCOW2",
63
+ "createdAt": null,
64
+ "minDisk": 5,
65
+ "minRam": 5,
66
+ "size": 3,
67
+ "userMetadata": {},
68
+ "imagePath": "string",
69
+ "imageUri": "string"
70
+ },
71
+ {
72
+ "id": "string",
73
+ "name": "string",
74
+ "checksum": {
75
+ "algorithm": "string",
76
+ "hash": "string"
77
+ },
78
+ "isEncrypted": true,
79
+ "vnfcInstanceId": "string",
80
+ "containerFormat": "DOCKER",
81
+ "diskFormat": "ISO",
82
+ "createdAt": null,
83
+ "minDisk": 7,
84
+ "minRam": 7,
85
+ "size": 3,
86
+ "userMetadata": {},
87
+ "imagePath": "string",
88
+ "imageUri": "string"
89
+ },
90
+ {
91
+ "id": "string",
92
+ "name": "string",
93
+ "checksum": {
94
+ "algorithm": "string",
95
+ "hash": "string"
96
+ },
97
+ "isEncrypted": true,
98
+ "vnfcInstanceId": "string",
99
+ "containerFormat": "OVF",
100
+ "diskFormat": "VDI",
101
+ "createdAt": null,
102
+ "minDisk": 5,
103
+ "minRam": 4,
104
+ "size": 10,
105
+ "userMetadata": {},
106
+ "imagePath": "string",
107
+ "imageUri": "string"
108
+ },
109
+ {
110
+ "id": "string",
111
+ "name": "string",
112
+ "checksum": {
113
+ "algorithm": "string",
114
+ "hash": "string"
115
+ },
116
+ "isEncrypted": true,
117
+ "vnfcInstanceId": "string",
118
+ "containerFormat": "OVA",
119
+ "diskFormat": "ARI",
120
+ "createdAt": null,
121
+ "minDisk": 1,
122
+ "minRam": 10,
123
+ "size": 7,
124
+ "userMetadata": {},
125
+ "imagePath": "string",
126
+ "imageUri": "string"
127
+ },
128
+ {
129
+ "id": "string",
130
+ "name": "string",
131
+ "checksum": {
132
+ "algorithm": "string",
133
+ "hash": "string"
134
+ },
135
+ "isEncrypted": true,
136
+ "vnfcInstanceId": "string",
137
+ "containerFormat": "DOCKER",
138
+ "diskFormat": "RAW",
139
+ "createdAt": null,
140
+ "minDisk": 10,
141
+ "minRam": 1,
142
+ "size": 2,
143
+ "userMetadata": {},
144
+ "imagePath": "string",
145
+ "imageUri": "string"
146
+ },
147
+ {
148
+ "id": "string",
149
+ "name": "string",
150
+ "checksum": {
151
+ "algorithm": "string",
152
+ "hash": "string"
153
+ },
154
+ "isEncrypted": false,
155
+ "vnfcInstanceId": "string",
156
+ "containerFormat": "OVF",
157
+ "diskFormat": "VHD",
158
+ "createdAt": null,
159
+ "minDisk": 10,
160
+ "minRam": 10,
161
+ "size": 10,
162
+ "userMetadata": {},
163
+ "imagePath": "string",
164
+ "imageUri": "string"
165
+ },
166
+ {
167
+ "id": "string",
168
+ "name": "string",
169
+ "checksum": {
170
+ "algorithm": "string",
171
+ "hash": "string"
172
+ },
173
+ "isEncrypted": false,
174
+ "vnfcInstanceId": "string",
175
+ "containerFormat": "BARE",
176
+ "diskFormat": "AMI",
177
+ "createdAt": null,
178
+ "minDisk": 4,
179
+ "minRam": 10,
180
+ "size": 9,
181
+ "userMetadata": {},
182
+ "imagePath": "string",
183
+ "imageUri": "string"
184
+ },
185
+ {
186
+ "id": "string",
187
+ "name": "string",
188
+ "checksum": {
189
+ "algorithm": "string",
190
+ "hash": "string"
191
+ },
192
+ "isEncrypted": true,
193
+ "vnfcInstanceId": "string",
194
+ "containerFormat": "OVF",
195
+ "diskFormat": "ARI",
196
+ "createdAt": null,
197
+ "minDisk": 8,
198
+ "minRam": 3,
199
+ "size": 1,
200
+ "userMetadata": {},
201
+ "imagePath": "string",
202
+ "imageUri": "string"
203
+ }
204
+ ],
205
+ "additionalArtifacts": [
206
+ {
207
+ "artifactPath": "string",
208
+ "artifactUri": "string",
209
+ "checksum": {
210
+ "algorithm": "string",
211
+ "hash": "string"
212
+ },
213
+ "isEncrypted": false,
214
+ "metadata": {}
215
+ },
216
+ {
217
+ "artifactPath": "string",
218
+ "artifactUri": "string",
219
+ "checksum": {
220
+ "algorithm": "string",
221
+ "hash": "string"
222
+ },
223
+ "isEncrypted": false,
224
+ "metadata": {}
225
+ },
226
+ {
227
+ "artifactPath": "string",
228
+ "artifactUri": "string",
229
+ "checksum": {
230
+ "algorithm": "string",
231
+ "hash": "string"
232
+ },
233
+ "isEncrypted": false,
234
+ "metadata": {}
235
+ },
236
+ {
237
+ "artifactPath": "string",
238
+ "artifactUri": "string",
239
+ "checksum": {
240
+ "algorithm": "string",
241
+ "hash": "string"
242
+ },
243
+ "isEncrypted": false,
244
+ "metadata": {}
245
+ }
246
+ ],
247
+ "state": "UPLOADING",
248
+ "isCancelPending": true,
249
+ "failureDetails": {
250
+ "errorType": "BUILD_ERROR",
251
+ "details": {
252
+ "type": "string",
253
+ "title": "string",
254
+ "status": 7,
255
+ "detail": "string",
256
+ "instance": "string"
257
+ }
258
+ },
259
+ "userDefinedData": {},
260
+ "_links": {
261
+ "self": {
262
+ "href": "string"
263
+ },
264
+ "packageContent": {
265
+ "href": "string"
266
+ }
267
+ }
268
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "string",
3
+ "userDefinedData": {},
4
+ "state": "AVAILABLE"
5
+ }
@@ -0,0 +1,146 @@
1
+ {
2
+ "id": "string",
3
+ "vnfSnapshotPkgUniqueId": "string",
4
+ "name": "string",
5
+ "checksum": {
6
+ "algorithm": "string",
7
+ "hash": "string"
8
+ },
9
+ "createdAt": null,
10
+ "vnfSnapshotId": "string",
11
+ "vnfcSnapshotInfoIds": [
12
+ "string",
13
+ "string",
14
+ "string"
15
+ ],
16
+ "isFullSnapshot": true,
17
+ "vnfdInfo": {
18
+ "vnfdId": "string",
19
+ "vnfdPath": "string",
20
+ "checksum": {
21
+ "algorithm": "string",
22
+ "hash": "string"
23
+ },
24
+ "isEncrypted": false
25
+ },
26
+ "vnfsr": {
27
+ "recordPath": "string",
28
+ "checksum": {
29
+ "algorithm": "string",
30
+ "hash": "string"
31
+ },
32
+ "isEncrypted": true
33
+ },
34
+ "vnfcSnapshotImages": [
35
+ {
36
+ "id": "string",
37
+ "name": "string",
38
+ "checksum": {
39
+ "algorithm": "string",
40
+ "hash": "string"
41
+ },
42
+ "isEncrypted": false,
43
+ "vnfcInstanceId": "string",
44
+ "containerFormat": "AKI",
45
+ "diskFormat": "QCOW2",
46
+ "createdAt": null,
47
+ "minDisk": 9,
48
+ "minRam": 8,
49
+ "size": 1,
50
+ "userMetadata": {},
51
+ "imagePath": "string",
52
+ "imageUri": "string"
53
+ },
54
+ {
55
+ "id": "string",
56
+ "name": "string",
57
+ "checksum": {
58
+ "algorithm": "string",
59
+ "hash": "string"
60
+ },
61
+ "isEncrypted": true,
62
+ "vnfcInstanceId": "string",
63
+ "containerFormat": "AMI",
64
+ "diskFormat": "ISO",
65
+ "createdAt": null,
66
+ "minDisk": 4,
67
+ "minRam": 7,
68
+ "size": 2,
69
+ "userMetadata": {},
70
+ "imagePath": "string",
71
+ "imageUri": "string"
72
+ },
73
+ {
74
+ "id": "string",
75
+ "name": "string",
76
+ "checksum": {
77
+ "algorithm": "string",
78
+ "hash": "string"
79
+ },
80
+ "isEncrypted": true,
81
+ "vnfcInstanceId": "string",
82
+ "containerFormat": "AMI",
83
+ "diskFormat": "AKI",
84
+ "createdAt": null,
85
+ "minDisk": 8,
86
+ "minRam": 10,
87
+ "size": 6,
88
+ "userMetadata": {},
89
+ "imagePath": "string",
90
+ "imageUri": "string"
91
+ }
92
+ ],
93
+ "additionalArtifacts": [
94
+ {
95
+ "artifactPath": "string",
96
+ "artifactUri": "string",
97
+ "checksum": {
98
+ "algorithm": "string",
99
+ "hash": "string"
100
+ },
101
+ "isEncrypted": false,
102
+ "metadata": {}
103
+ },
104
+ {
105
+ "artifactPath": "string",
106
+ "artifactUri": "string",
107
+ "checksum": {
108
+ "algorithm": "string",
109
+ "hash": "string"
110
+ },
111
+ "isEncrypted": false,
112
+ "metadata": {}
113
+ },
114
+ {
115
+ "artifactPath": "string",
116
+ "artifactUri": "string",
117
+ "checksum": {
118
+ "algorithm": "string",
119
+ "hash": "string"
120
+ },
121
+ "isEncrypted": false,
122
+ "metadata": {}
123
+ }
124
+ ],
125
+ "state": "CREATED",
126
+ "isCancelPending": true,
127
+ "failureDetails": {
128
+ "errorType": "CANCELLED",
129
+ "details": {
130
+ "type": "string",
131
+ "title": "string",
132
+ "status": 9,
133
+ "detail": "string",
134
+ "instance": "string"
135
+ }
136
+ },
137
+ "userDefinedData": {},
138
+ "_links": {
139
+ "self": {
140
+ "href": "string"
141
+ },
142
+ "packageContent": {
143
+ "href": "string"
144
+ }
145
+ }
146
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$id": "schema.json",
3
+ "type": "object",
4
+ "schema": "http://json-schema.org/draft-07/schema#",
5
+ "translate": false,
6
+ "dynamicfields": true,
7
+ "properties": {
8
+ "ph_request_type": {
9
+ "type": "string",
10
+ "description": "type of request (internal to adapter)",
11
+ "default": "",
12
+ "enum": [
13
+ "postVnfSnapshotPackages",
14
+ "getVnfSnapshotPackages",
15
+ "getVnfSnapshotPackagesVnfSnapshotPkgId",
16
+ "patchVnfSnapshotPackagesVnfSnapshotPkgId",
17
+ "deleteVnfSnapshotPackagesVnfSnapshotPkgId",
18
+ "getVnfSnapshotPackagesVnfSnapshotPkgIdPackageContent",
19
+ "putVnfSnapshotPackagesVnfSnapshotPkgIdPackageContent",
20
+ "postVnfSnapshotPackagesVnfSnapshotPkgIdPackageContentUploadFromUri",
21
+ "postVnfSnapshotPackagesVnfSnapshotPkgIdPackageContentBuild",
22
+ "postVnfSnapshotPackagesVnfSnapshotPkgIdPackageContentExtract",
23
+ "postVnfSnapshotPackagesVnfSnapshotPkgIdPackageContentCancel",
24
+ "getVnfSnapshotPackagesVnfSnapshotPkgIdExtArtifactsAccess",
25
+ "putVnfSnapshotPackagesVnfSnapshotPkgIdExtArtifactsAccess",
26
+ "getVnfSnapshotPackagesVnfSnapshotPkgIdArtifactsArtifactPath"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }