@itentialopensource/adapter-etsi_sol003 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 (113) 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 +8178 -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 +46 -0
  21. package/entities/Alarms/mockdatafiles/getAlarmsAlarmId-default.json +50 -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 +10 -0
  26. package/entities/ApiVersions/schema.json +19 -0
  27. package/entities/Grants/action.json +45 -0
  28. package/entities/Grants/mockdatafiles/getGrantsGrantId-default.json +1041 -0
  29. package/entities/Grants/mockdatafiles/postGrants-default.json +1290 -0
  30. package/entities/Grants/schema.json +20 -0
  31. package/entities/Indicators/action.json +108 -0
  32. package/entities/Indicators/mockdatafiles/getIndicators-default.json +58 -0
  33. package/entities/Indicators/mockdatafiles/getIndicatorsSubscriptionsSubscriptionId-default.json +2038 -0
  34. package/entities/Indicators/mockdatafiles/getIndicatorsVnfInstanceId-default.json +16 -0
  35. package/entities/Indicators/mockdatafiles/getIndicatorsVnfInstanceIdIndicatorId-default.json +14 -0
  36. package/entities/Indicators/schema.json +23 -0
  37. package/entities/OnboardedVnfPackages/action.json +151 -0
  38. package/entities/OnboardedVnfPackages/mockdatafiles/getOnboardedVnfPackages-default.json +161 -0
  39. package/entities/OnboardedVnfPackages/mockdatafiles/getOnboardedVnfPackagesVnfdId-default.json +235 -0
  40. package/entities/OnboardedVnfPackages/schema.json +25 -0
  41. package/entities/PmJobs/action.json +127 -0
  42. package/entities/PmJobs/mockdatafiles/getPmJobs-default.json +217 -0
  43. package/entities/PmJobs/mockdatafiles/getPmJobsPmJobId-default.json +77 -0
  44. package/entities/PmJobs/mockdatafiles/getPmJobsPmJobIdReportsReportId-default.json +212 -0
  45. package/entities/PmJobs/mockdatafiles/patchPmJobsPmJobId-default.json +26 -0
  46. package/entities/PmJobs/mockdatafiles/postPmJobs-default.json +77 -0
  47. package/entities/PmJobs/schema.json +24 -0
  48. package/entities/Subscriptions/action.json +86 -0
  49. package/entities/Subscriptions/mockdatafiles/getSubscriptions-default.json +147 -0
  50. package/entities/Subscriptions/mockdatafiles/getSubscriptionsSubscriptionId-default.json +41 -0
  51. package/entities/Subscriptions/mockdatafiles/postSubscriptions-default.json +44 -0
  52. package/entities/Subscriptions/schema.json +33 -0
  53. package/entities/Thresholds/action.json +106 -0
  54. package/entities/Thresholds/mockdatafiles/getThresholds-default.json +62 -0
  55. package/entities/Thresholds/mockdatafiles/getThresholdsThresholdId-default.json +30 -0
  56. package/entities/Thresholds/mockdatafiles/patchThresholdsThresholdId-default.json +18 -0
  57. package/entities/Thresholds/mockdatafiles/postThresholds-default.json +31 -0
  58. package/entities/Thresholds/schema.json +23 -0
  59. package/entities/VnfInstances/action.json +326 -0
  60. package/entities/VnfInstances/mockdatafiles/getVnfInstances-default.json +76043 -0
  61. package/entities/VnfInstances/mockdatafiles/getVnfInstancesVnfInstanceId-default.json +16746 -0
  62. package/entities/VnfInstances/mockdatafiles/patchVnfInstancesVnfInstanceId-default.json +14159 -0
  63. package/entities/VnfInstances/mockdatafiles/postVnfInstances-default.json +24811 -0
  64. package/entities/VnfInstances/schema.json +34 -0
  65. package/entities/VnfLcmOpOccs/action.json +126 -0
  66. package/entities/VnfLcmOpOccs/mockdatafiles/getVnfLcmOpOccs-default.json +1098 -0
  67. package/entities/VnfLcmOpOccs/mockdatafiles/getVnfLcmOpOccsVnfLcmOpOccId-default.json +755 -0
  68. package/entities/VnfLcmOpOccs/mockdatafiles/postVnfLcmOpOccsVnfLcmOpOccIdFail-default.json +988 -0
  69. package/entities/VnfLcmOpOccs/schema.json +24 -0
  70. package/entities/VnfPackages/action.json +130 -0
  71. package/entities/VnfPackages/mockdatafiles/getVnfPackagesVnfPkgId-default.json +166 -0
  72. package/entities/VnfPackages/schema.json +24 -0
  73. package/entities/VnfSnapshotPackages/action.json +88 -0
  74. package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackages-default.json +178 -0
  75. package/entities/VnfSnapshotPackages/mockdatafiles/getVnfSnapshotPackagesVnfSnapshotPkgId-default.json +44 -0
  76. package/entities/VnfSnapshotPackages/schema.json +22 -0
  77. package/entities/VnfSnapshots/action.json +127 -0
  78. package/entities/VnfSnapshots/mockdatafiles/getVnfSnapshots-default.json +3832 -0
  79. package/entities/VnfSnapshots/mockdatafiles/getVnfSnapshotsVnfSnapshotInfoId-default.json +97152 -0
  80. package/entities/VnfSnapshots/mockdatafiles/patchVnfSnapshotsVnfSnapshotInfoId-default.json +30772 -0
  81. package/entities/VnfSnapshots/mockdatafiles/postVnfSnapshots-default.json +13292 -0
  82. package/entities/VnfSnapshots/schema.json +24 -0
  83. package/error.json +184 -0
  84. package/package.json +85 -0
  85. package/pronghorn.json +27747 -0
  86. package/propertiesSchema.json +840 -0
  87. package/refs?service=git-upload-pack +0 -0
  88. package/report/creationReport.json +189 -0
  89. package/report/sol003_virtual_openapi.json +4328 -0
  90. package/report/updateReport1646242954642.json +95 -0
  91. package/sampleProperties.json +106 -0
  92. package/test/integration/adapterTestBasicGet.js +85 -0
  93. package/test/integration/adapterTestConnectivity.js +93 -0
  94. package/test/integration/adapterTestIntegration.js +3597 -0
  95. package/test/unit/adapterBaseTestUnit.js +944 -0
  96. package/test/unit/adapterTestUnit.js +3564 -0
  97. package/utils/addAuth.js +94 -0
  98. package/utils/artifactize.js +146 -0
  99. package/utils/basicGet.js +50 -0
  100. package/utils/checkMigrate.js +63 -0
  101. package/utils/entitiesToDB.js +224 -0
  102. package/utils/findPath.js +74 -0
  103. package/utils/modify.js +154 -0
  104. package/utils/packModificationScript.js +35 -0
  105. package/utils/patches2bundledDeps.js +90 -0
  106. package/utils/pre-commit.sh +27 -0
  107. package/utils/removeHooks.js +20 -0
  108. package/utils/setup.js +33 -0
  109. package/utils/tbScript.js +169 -0
  110. package/utils/tbUtils.js +451 -0
  111. package/utils/testRunner.js +298 -0
  112. package/utils/troubleshootingAdapter.js +190 -0
  113. package/workflows/README.md +3 -0
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "name": "string",
5
+ "value": {},
6
+ "vnfInstanceId": "string",
7
+ "_links": {
8
+ "self": {
9
+ "href": "string"
10
+ },
11
+ "vnfInstance": {
12
+ "href": "string"
13
+ }
14
+ }
15
+ }
16
+ ]
@@ -0,0 +1,14 @@
1
+ {
2
+ "id": "string",
3
+ "name": "string",
4
+ "value": {},
5
+ "vnfInstanceId": "string",
6
+ "_links": {
7
+ "self": {
8
+ "href": "string"
9
+ },
10
+ "vnfInstance": {
11
+ "href": "string"
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,23 @@
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
+ "getIndicators",
14
+ "getIndicatorsVnfInstanceId",
15
+ "getIndicatorsVnfInstanceIdIndicatorId",
16
+ "getIndicatorsSubscriptionsSubscriptionId",
17
+ "deleteIndicatorsSubscriptionsSubscriptionId"
18
+ ],
19
+ "external_name": "ph_request_type"
20
+ }
21
+ },
22
+ "definitions": {}
23
+ }
@@ -0,0 +1,151 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getOnboardedVnfPackages",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "sendGetBody": false,
13
+ "requestDatatype": "JSON",
14
+ "responseDatatype": "JSON",
15
+ "headers": {},
16
+ "responseObjects": [
17
+ {
18
+ "type": "default",
19
+ "key": "",
20
+ "mockFile": "mockdatafiles/getOnboardedVnfPackages-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getOnboardedVnfPackagesVnfdId",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/getOnboardedVnfPackagesVnfdId-default.json"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "getOnboardedVnfPackagesVnfdIdVnfd",
47
+ "protocol": "REST",
48
+ "method": "GET",
49
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}/vnfd?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "sendGetBody": false,
55
+ "requestDatatype": "JSON",
56
+ "responseDatatype": "JSON",
57
+ "headers": {},
58
+ "responseObjects": [
59
+ {
60
+ "type": "default",
61
+ "key": "",
62
+ "mockFile": ""
63
+ }
64
+ ]
65
+ },
66
+ {
67
+ "name": "getOnboardedVnfPackagesVnfdIdManifest",
68
+ "protocol": "REST",
69
+ "method": "GET",
70
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}/manifest?{query}",
71
+ "requestSchema": "schema.json",
72
+ "responseSchema": "schema.json",
73
+ "timeout": 0,
74
+ "sendEmpty": false,
75
+ "sendGetBody": false,
76
+ "requestDatatype": "JSON",
77
+ "responseDatatype": "JSON",
78
+ "headers": {},
79
+ "responseObjects": [
80
+ {
81
+ "type": "default",
82
+ "key": "",
83
+ "mockFile": ""
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "name": "getOnboardedVnfPackagesVnfdIdPackageContent",
89
+ "protocol": "REST",
90
+ "method": "GET",
91
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}/package_content?{query}",
92
+ "requestSchema": "schema.json",
93
+ "responseSchema": "schema.json",
94
+ "timeout": 0,
95
+ "sendEmpty": false,
96
+ "sendGetBody": false,
97
+ "requestDatatype": "JSON",
98
+ "responseDatatype": "JSON",
99
+ "headers": {},
100
+ "responseObjects": [
101
+ {
102
+ "type": "default",
103
+ "key": "",
104
+ "mockFile": ""
105
+ }
106
+ ]
107
+ },
108
+ {
109
+ "name": "getOnboardedVnfPackagesVnfdIdArtifacts",
110
+ "protocol": "REST",
111
+ "method": "GET",
112
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}/artifacts?{query}",
113
+ "requestSchema": "schema.json",
114
+ "responseSchema": "schema.json",
115
+ "timeout": 0,
116
+ "sendEmpty": false,
117
+ "sendGetBody": false,
118
+ "requestDatatype": "JSON",
119
+ "responseDatatype": "JSON",
120
+ "headers": {},
121
+ "responseObjects": [
122
+ {
123
+ "type": "default",
124
+ "key": "",
125
+ "mockFile": ""
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "name": "getOnboardedVnfPackagesVnfdIdArtifactsArtifactPath",
131
+ "protocol": "REST",
132
+ "method": "GET",
133
+ "entitypath": "{base_path}/{version}/vnfpkgm/v2/onboarded_vnf_packages/{pathv1}/artifacts/{pathv2}?{query}",
134
+ "requestSchema": "schema.json",
135
+ "responseSchema": "schema.json",
136
+ "timeout": 0,
137
+ "sendEmpty": false,
138
+ "sendGetBody": false,
139
+ "requestDatatype": "JSON",
140
+ "responseDatatype": "JSON",
141
+ "headers": {},
142
+ "responseObjects": [
143
+ {
144
+ "type": "default",
145
+ "key": "",
146
+ "mockFile": ""
147
+ }
148
+ ]
149
+ }
150
+ ]
151
+ }
@@ -0,0 +1,161 @@
1
+ [
2
+ {
3
+ "id": "string",
4
+ "vnfdId": "string",
5
+ "vnfProvider": "string",
6
+ "vnfProductName": "string",
7
+ "vnfSoftwareVersion": "string",
8
+ "vnfdVersion": "string",
9
+ "compatibleSpecificationVersions": [
10
+ "string",
11
+ "string",
12
+ "string",
13
+ "string",
14
+ "string",
15
+ "string",
16
+ "string",
17
+ "string",
18
+ "string"
19
+ ],
20
+ "checksum": "string",
21
+ "packageSecurityOption": "OPTION_2",
22
+ "signingCertificate": "string",
23
+ "softwareImages": [
24
+ {
25
+ "id": "string",
26
+ "name": "string",
27
+ "provider": "string",
28
+ "version": "string",
29
+ "checksum": "string",
30
+ "isEncrypted": true,
31
+ "containerFormat": "ARI",
32
+ "diskFormat": "VHD",
33
+ "createdAt": "string",
34
+ "minDisk": 10,
35
+ "minRam": 9,
36
+ "size": 1,
37
+ "userMetadata": {},
38
+ "imagePath": "string",
39
+ "imageUri": "string"
40
+ },
41
+ {
42
+ "id": "string",
43
+ "name": "string",
44
+ "provider": "string",
45
+ "version": "string",
46
+ "checksum": "string",
47
+ "isEncrypted": false,
48
+ "containerFormat": "OVF",
49
+ "diskFormat": "AMI",
50
+ "createdAt": "string",
51
+ "minDisk": 3,
52
+ "minRam": 6,
53
+ "size": 5,
54
+ "userMetadata": {},
55
+ "imagePath": "string",
56
+ "imageUri": "string"
57
+ }
58
+ ],
59
+ "additionalArtifacts": [
60
+ {
61
+ "artifactPath": "string",
62
+ "artifactURI": [
63
+ "string",
64
+ "string",
65
+ "string",
66
+ "string"
67
+ ],
68
+ "checksum": "string",
69
+ "isEncrypted": false,
70
+ "nonManoArtifactSetId": "string",
71
+ "artifactClassification": "LICENSE",
72
+ "metadata": {}
73
+ },
74
+ {
75
+ "artifactPath": "string",
76
+ "artifactURI": [
77
+ "string",
78
+ "string",
79
+ "string"
80
+ ],
81
+ "checksum": "string",
82
+ "isEncrypted": true,
83
+ "nonManoArtifactSetId": "string",
84
+ "artifactClassification": "HISTORY",
85
+ "metadata": {}
86
+ },
87
+ {
88
+ "artifactPath": "string",
89
+ "artifactURI": [
90
+ "string",
91
+ "string",
92
+ "string",
93
+ "string",
94
+ "string",
95
+ "string"
96
+ ],
97
+ "checksum": "string",
98
+ "isEncrypted": true,
99
+ "nonManoArtifactSetId": "string",
100
+ "artifactClassification": "LICENSE",
101
+ "metadata": {}
102
+ },
103
+ {
104
+ "artifactPath": "string",
105
+ "artifactURI": [
106
+ "string",
107
+ "string",
108
+ "string",
109
+ "string",
110
+ "string",
111
+ "string",
112
+ "string",
113
+ "string"
114
+ ],
115
+ "checksum": "string",
116
+ "isEncrypted": false,
117
+ "nonManoArtifactSetId": "string",
118
+ "artifactClassification": "HISTORY",
119
+ "metadata": {}
120
+ },
121
+ {
122
+ "artifactPath": "string",
123
+ "artifactURI": [
124
+ "string",
125
+ "string",
126
+ "string",
127
+ "string",
128
+ "string"
129
+ ],
130
+ "checksum": "string",
131
+ "isEncrypted": false,
132
+ "nonManoArtifactSetId": "string",
133
+ "artifactClassification": "TESTING",
134
+ "metadata": {}
135
+ }
136
+ ],
137
+ "onboardingState": "CREATED",
138
+ "operationalState": "ENABLED",
139
+ "usageState": "NOT_IN_USE",
140
+ "vnfmInfo": "string",
141
+ "userDefinedData": {},
142
+ "onboardingFailureDetails": {
143
+ "type": "string",
144
+ "title": "string",
145
+ "status": 5,
146
+ "detail": "string",
147
+ "instance": "string"
148
+ },
149
+ "_links": {
150
+ "self": {
151
+ "href": "string"
152
+ },
153
+ "vnfd": {
154
+ "href": "string"
155
+ },
156
+ "packageContent": {
157
+ "href": "string"
158
+ }
159
+ }
160
+ }
161
+ ]
@@ -0,0 +1,235 @@
1
+ {
2
+ "id": "string",
3
+ "vnfdId": "string",
4
+ "vnfProvider": "string",
5
+ "vnfProductName": "string",
6
+ "vnfSoftwareVersion": "string",
7
+ "vnfdVersion": "string",
8
+ "compatibleSpecificationVersions": [
9
+ "string",
10
+ "string",
11
+ "string"
12
+ ],
13
+ "checksum": "string",
14
+ "packageSecurityOption": "OPTION_1",
15
+ "signingCertificate": "string",
16
+ "softwareImages": [
17
+ {
18
+ "id": "string",
19
+ "name": "string",
20
+ "provider": "string",
21
+ "version": "string",
22
+ "checksum": "string",
23
+ "isEncrypted": true,
24
+ "containerFormat": "ARI",
25
+ "diskFormat": "ISO",
26
+ "createdAt": "string",
27
+ "minDisk": 9,
28
+ "minRam": 4,
29
+ "size": 3,
30
+ "userMetadata": {},
31
+ "imagePath": "string",
32
+ "imageUri": "string"
33
+ },
34
+ {
35
+ "id": "string",
36
+ "name": "string",
37
+ "provider": "string",
38
+ "version": "string",
39
+ "checksum": "string",
40
+ "isEncrypted": true,
41
+ "containerFormat": "AMI",
42
+ "diskFormat": "AMI",
43
+ "createdAt": "string",
44
+ "minDisk": 1,
45
+ "minRam": 8,
46
+ "size": 10,
47
+ "userMetadata": {},
48
+ "imagePath": "string",
49
+ "imageUri": "string"
50
+ },
51
+ {
52
+ "id": "string",
53
+ "name": "string",
54
+ "provider": "string",
55
+ "version": "string",
56
+ "checksum": "string",
57
+ "isEncrypted": false,
58
+ "containerFormat": "AMI",
59
+ "diskFormat": "QCOW2",
60
+ "createdAt": "string",
61
+ "minDisk": 4,
62
+ "minRam": 5,
63
+ "size": 9,
64
+ "userMetadata": {},
65
+ "imagePath": "string",
66
+ "imageUri": "string"
67
+ },
68
+ {
69
+ "id": "string",
70
+ "name": "string",
71
+ "provider": "string",
72
+ "version": "string",
73
+ "checksum": "string",
74
+ "isEncrypted": true,
75
+ "containerFormat": "ARI",
76
+ "diskFormat": "ISO",
77
+ "createdAt": "string",
78
+ "minDisk": 3,
79
+ "minRam": 4,
80
+ "size": 10,
81
+ "userMetadata": {},
82
+ "imagePath": "string",
83
+ "imageUri": "string"
84
+ },
85
+ {
86
+ "id": "string",
87
+ "name": "string",
88
+ "provider": "string",
89
+ "version": "string",
90
+ "checksum": "string",
91
+ "isEncrypted": false,
92
+ "containerFormat": "DOCKER",
93
+ "diskFormat": "AMI",
94
+ "createdAt": "string",
95
+ "minDisk": 4,
96
+ "minRam": 1,
97
+ "size": 8,
98
+ "userMetadata": {},
99
+ "imagePath": "string",
100
+ "imageUri": "string"
101
+ }
102
+ ],
103
+ "additionalArtifacts": [
104
+ {
105
+ "artifactPath": "string",
106
+ "artifactURI": [
107
+ "string",
108
+ "string",
109
+ "string",
110
+ "string",
111
+ "string",
112
+ "string"
113
+ ],
114
+ "checksum": "string",
115
+ "isEncrypted": false,
116
+ "nonManoArtifactSetId": "string",
117
+ "artifactClassification": "TESTING",
118
+ "metadata": {}
119
+ },
120
+ {
121
+ "artifactPath": "string",
122
+ "artifactURI": [
123
+ "string",
124
+ "string",
125
+ "string",
126
+ "string",
127
+ "string",
128
+ "string",
129
+ "string",
130
+ "string"
131
+ ],
132
+ "checksum": "string",
133
+ "isEncrypted": true,
134
+ "nonManoArtifactSetId": "string",
135
+ "artifactClassification": "LICENSE",
136
+ "metadata": {}
137
+ },
138
+ {
139
+ "artifactPath": "string",
140
+ "artifactURI": [
141
+ "string",
142
+ "string",
143
+ "string",
144
+ "string",
145
+ "string",
146
+ "string",
147
+ "string",
148
+ "string",
149
+ "string"
150
+ ],
151
+ "checksum": "string",
152
+ "isEncrypted": false,
153
+ "nonManoArtifactSetId": "string",
154
+ "artifactClassification": "HISTORY",
155
+ "metadata": {}
156
+ },
157
+ {
158
+ "artifactPath": "string",
159
+ "artifactURI": [
160
+ "string",
161
+ "string",
162
+ "string",
163
+ "string",
164
+ "string",
165
+ "string",
166
+ "string",
167
+ "string"
168
+ ],
169
+ "checksum": "string",
170
+ "isEncrypted": true,
171
+ "nonManoArtifactSetId": "string",
172
+ "artifactClassification": "LICENSE",
173
+ "metadata": {}
174
+ },
175
+ {
176
+ "artifactPath": "string",
177
+ "artifactURI": [
178
+ "string",
179
+ "string",
180
+ "string",
181
+ "string",
182
+ "string",
183
+ "string",
184
+ "string",
185
+ "string",
186
+ "string"
187
+ ],
188
+ "checksum": "string",
189
+ "isEncrypted": true,
190
+ "nonManoArtifactSetId": "string",
191
+ "artifactClassification": "TESTING",
192
+ "metadata": {}
193
+ },
194
+ {
195
+ "artifactPath": "string",
196
+ "artifactURI": [
197
+ "string",
198
+ "string",
199
+ "string",
200
+ "string",
201
+ "string",
202
+ "string",
203
+ "string"
204
+ ],
205
+ "checksum": "string",
206
+ "isEncrypted": true,
207
+ "nonManoArtifactSetId": "string",
208
+ "artifactClassification": "LICENSE",
209
+ "metadata": {}
210
+ }
211
+ ],
212
+ "onboardingState": "UPLOADING",
213
+ "operationalState": "DISABLED",
214
+ "usageState": "IN_USE",
215
+ "vnfmInfo": "string",
216
+ "userDefinedData": {},
217
+ "onboardingFailureDetails": {
218
+ "type": "string",
219
+ "title": "string",
220
+ "status": 9,
221
+ "detail": "string",
222
+ "instance": "string"
223
+ },
224
+ "_links": {
225
+ "self": {
226
+ "href": "string"
227
+ },
228
+ "vnfd": {
229
+ "href": "string"
230
+ },
231
+ "packageContent": {
232
+ "href": "string"
233
+ }
234
+ }
235
+ }
@@ -0,0 +1,25 @@
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
+ "getOnboardedVnfPackages",
14
+ "getOnboardedVnfPackagesVnfdId",
15
+ "getOnboardedVnfPackagesVnfdIdVnfd",
16
+ "getOnboardedVnfPackagesVnfdIdManifest",
17
+ "getOnboardedVnfPackagesVnfdIdPackageContent",
18
+ "getOnboardedVnfPackagesVnfdIdArtifacts",
19
+ "getOnboardedVnfPackagesVnfdIdArtifactsArtifactPath"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }