@itentialopensource/adapter-sectigo_certification_manager 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 (112) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +45 -0
  5. package/BROKER.md +211 -0
  6. package/CALLS.md +1323 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +13 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +646 -0
  13. package/README.md +343 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +18 -0
  16. package/TAB1.md +10 -0
  17. package/TAB2.md +325 -0
  18. package/TROUBLESHOOT.md +47 -0
  19. package/adapter.js +20171 -0
  20. package/adapterBase.js +1452 -0
  21. package/entities/.generic/action.json +214 -0
  22. package/entities/.generic/schema.json +28 -0
  23. package/entities/.system/action.json +50 -0
  24. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  25. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  26. package/entities/.system/schema.json +19 -0
  27. package/entities/.system/schemaTokenReq.json +53 -0
  28. package/entities/.system/schemaTokenResp.json +53 -0
  29. package/entities/ACMEEVDetailsValidation/action.json +24 -0
  30. package/entities/ACMEEVDetailsValidation/schema.json +19 -0
  31. package/entities/Administrators/action.json +230 -0
  32. package/entities/Administrators/schema.json +29 -0
  33. package/entities/AssignmentRules/action.json +127 -0
  34. package/entities/AssignmentRules/schema.json +24 -0
  35. package/entities/AzureAccounts/action.json +67 -0
  36. package/entities/AzureAccounts/schema.json +21 -0
  37. package/entities/CertificateBuckets/action.json +207 -0
  38. package/entities/CertificateBuckets/schema.json +28 -0
  39. package/entities/ClientCertificates/action.json +270 -0
  40. package/entities/ClientCertificates/schema.json +31 -0
  41. package/entities/CustomFields/action.json +106 -0
  42. package/entities/CustomFields/schema.json +23 -0
  43. package/entities/DeviceCertificates/action.json +289 -0
  44. package/entities/DeviceCertificates/schema.json +32 -0
  45. package/entities/DomainControlValidation/action.json +265 -0
  46. package/entities/DomainControlValidation/schema.json +31 -0
  47. package/entities/Domains/action.json +206 -0
  48. package/entities/Domains/schema.json +28 -0
  49. package/entities/MSADDiscoveryTasks/action.json +126 -0
  50. package/entities/MSADDiscoveryTasks/schema.json +24 -0
  51. package/entities/MSAgents/action.json +106 -0
  52. package/entities/MSAgents/schema.json +23 -0
  53. package/entities/NetworkAgents/action.json +250 -0
  54. package/entities/NetworkAgents/schema.json +30 -0
  55. package/entities/NetworkDiscoveryTasks/action.json +126 -0
  56. package/entities/NetworkDiscoveryTasks/schema.json +24 -0
  57. package/entities/Notifications/action.json +106 -0
  58. package/entities/Notifications/schema.json +23 -0
  59. package/entities/Operations/action.json +66 -0
  60. package/entities/Operations/schema.json +21 -0
  61. package/entities/Organizations/action.json +148 -0
  62. package/entities/Organizations/schema.json +36 -0
  63. package/entities/Persons/action.json +209 -0
  64. package/entities/Persons/schema.json +28 -0
  65. package/entities/Reports/action.json +104 -0
  66. package/entities/Reports/schema.json +34 -0
  67. package/entities/SSLCertificates/action.json +370 -0
  68. package/entities/SSLCertificates/schema.json +36 -0
  69. package/entities/SectigoPublicACMEAccounts/action.json +208 -0
  70. package/entities/SectigoPublicACMEAccounts/schema.json +28 -0
  71. package/entities/SectigoPublicACMEServers/action.json +25 -0
  72. package/entities/SectigoPublicACMEServers/schema.json +19 -0
  73. package/entities/TemplateAdministrators/action.json +106 -0
  74. package/entities/TemplateAdministrators/schema.json +23 -0
  75. package/entities/UniversalACMEAccounts/action.json +147 -0
  76. package/entities/UniversalACMEAccounts/schema.json +25 -0
  77. package/error.json +190 -0
  78. package/metadata.json +81 -0
  79. package/package.json +81 -0
  80. package/pronghorn.json +11368 -0
  81. package/propertiesDecorators.json +14 -0
  82. package/propertiesSchema.json +1574 -0
  83. package/refs?service=git-upload-pack +0 -0
  84. package/report/Sectigo-Certificate-Management-OpenAPI.json +20192 -0
  85. package/report/adapterInfo.json +10 -0
  86. package/report/auto-adapter-openapi.json +8898 -0
  87. package/report/creationReport.json +1485 -0
  88. package/sampleProperties.json +265 -0
  89. package/test/integration/adapterTestBasicGet.js +83 -0
  90. package/test/integration/adapterTestConnectivity.js +118 -0
  91. package/test/integration/adapterTestIntegration.js +5256 -0
  92. package/test/unit/adapterBaseTestUnit.js +1024 -0
  93. package/test/unit/adapterTestUnit.js +7204 -0
  94. package/utils/adapterInfo.js +206 -0
  95. package/utils/addAuth.js +94 -0
  96. package/utils/artifactize.js +146 -0
  97. package/utils/basicGet.js +50 -0
  98. package/utils/checkMigrate.js +63 -0
  99. package/utils/entitiesToDB.js +179 -0
  100. package/utils/findPath.js +74 -0
  101. package/utils/methodDocumentor.js +273 -0
  102. package/utils/modify.js +152 -0
  103. package/utils/packModificationScript.js +35 -0
  104. package/utils/patches2bundledDeps.js +90 -0
  105. package/utils/pre-commit.sh +32 -0
  106. package/utils/removeHooks.js +20 -0
  107. package/utils/setup.js +33 -0
  108. package/utils/taskMover.js +309 -0
  109. package/utils/tbScript.js +239 -0
  110. package/utils/tbUtils.js +489 -0
  111. package/utils/testRunner.js +298 -0
  112. package/utils/troubleshootingAdapter.js +193 -0
@@ -0,0 +1,289 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "collectDeviceCertificate",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/api/device/v1/collect/{pathv1}?{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": ""
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getDeviceCertificatesList",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/api/device/v1?{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": ""
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "name": "renewDeviceCertificateBySerialNumber",
47
+ "protocol": "REST",
48
+ "method": "POST",
49
+ "entitypath": "{base_path}/{version}/api/device/v1/renew/serial/{pathv1}?{query}",
50
+ "requestSchema": "schema.json",
51
+ "responseSchema": "schema.json",
52
+ "timeout": 0,
53
+ "sendEmpty": false,
54
+ "requestDatatype": "JSON",
55
+ "responseDatatype": "JSON",
56
+ "headers": {},
57
+ "responseObjects": [
58
+ {
59
+ "type": "default",
60
+ "key": "",
61
+ "mockFile": ""
62
+ }
63
+ ]
64
+ },
65
+ {
66
+ "name": "getDeviceCertificatesDetails",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/api/device/v1/{pathv1}?{query}",
70
+ "requestSchema": "schema.json",
71
+ "responseSchema": "schema.json",
72
+ "timeout": 0,
73
+ "sendEmpty": false,
74
+ "sendGetBody": false,
75
+ "requestDatatype": "JSON",
76
+ "responseDatatype": "JSON",
77
+ "headers": {},
78
+ "responseObjects": [
79
+ {
80
+ "type": "default",
81
+ "key": "",
82
+ "mockFile": ""
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "revokeDeviceCertificateById",
88
+ "protocol": "REST",
89
+ "method": "POST",
90
+ "entitypath": "{base_path}/{version}/api/device/v1/revoke/order/{pathv1}?{query}",
91
+ "requestSchema": "schema.json",
92
+ "responseSchema": "schema.json",
93
+ "timeout": 0,
94
+ "sendEmpty": false,
95
+ "requestDatatype": "JSON",
96
+ "responseDatatype": "JSON",
97
+ "headers": {},
98
+ "responseObjects": [
99
+ {
100
+ "type": "default",
101
+ "key": "",
102
+ "mockFile": ""
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "name": "deleteDeviceCertificateById",
108
+ "protocol": "REST",
109
+ "method": "DELETE",
110
+ "entitypath": "{base_path}/{version}/api/device/v1/{pathv1}?{query}",
111
+ "requestSchema": "schema.json",
112
+ "responseSchema": "schema.json",
113
+ "timeout": 0,
114
+ "sendEmpty": false,
115
+ "requestDatatype": "JSON",
116
+ "responseDatatype": "JSON",
117
+ "headers": {},
118
+ "responseObjects": [
119
+ {
120
+ "type": "default",
121
+ "key": "",
122
+ "mockFile": ""
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "name": "approveDeviceCertificate",
128
+ "protocol": "REST",
129
+ "method": "POST",
130
+ "entitypath": "{base_path}/{version}/api/device/v1/approve/{pathv1}?{query}",
131
+ "requestSchema": "schema.json",
132
+ "responseSchema": "schema.json",
133
+ "timeout": 0,
134
+ "sendEmpty": false,
135
+ "requestDatatype": "JSON",
136
+ "responseDatatype": "JSON",
137
+ "headers": {},
138
+ "responseObjects": [
139
+ {
140
+ "type": "default",
141
+ "key": "",
142
+ "mockFile": ""
143
+ }
144
+ ]
145
+ },
146
+ {
147
+ "name": "declineDeviceCertificate",
148
+ "protocol": "REST",
149
+ "method": "POST",
150
+ "entitypath": "{base_path}/{version}/api/device/v1/decline/{pathv1}?{query}",
151
+ "requestSchema": "schema.json",
152
+ "responseSchema": "schema.json",
153
+ "timeout": 0,
154
+ "sendEmpty": false,
155
+ "requestDatatype": "JSON",
156
+ "responseDatatype": "JSON",
157
+ "headers": {},
158
+ "responseObjects": [
159
+ {
160
+ "type": "default",
161
+ "key": "",
162
+ "mockFile": ""
163
+ }
164
+ ]
165
+ },
166
+ {
167
+ "name": "revokeDeviceCertificateBySerialNumber",
168
+ "protocol": "REST",
169
+ "method": "POST",
170
+ "entitypath": "{base_path}/{version}/api/device/v1/revoke/serial/{pathv1}?{query}",
171
+ "requestSchema": "schema.json",
172
+ "responseSchema": "schema.json",
173
+ "timeout": 0,
174
+ "sendEmpty": false,
175
+ "requestDatatype": "JSON",
176
+ "responseDatatype": "JSON",
177
+ "headers": {},
178
+ "responseObjects": [
179
+ {
180
+ "type": "default",
181
+ "key": "",
182
+ "mockFile": ""
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "name": "getDeviceProfiles",
188
+ "protocol": "REST",
189
+ "method": "GET",
190
+ "entitypath": "{base_path}/{version}/api/device/v1/types?{query}",
191
+ "requestSchema": "schema.json",
192
+ "responseSchema": "schema.json",
193
+ "timeout": 0,
194
+ "sendEmpty": false,
195
+ "sendGetBody": false,
196
+ "requestDatatype": "JSON",
197
+ "responseDatatype": "JSON",
198
+ "headers": {},
199
+ "responseObjects": [
200
+ {
201
+ "type": "default",
202
+ "key": "",
203
+ "mockFile": ""
204
+ }
205
+ ]
206
+ },
207
+ {
208
+ "name": "replaceDeviceCertificateById",
209
+ "protocol": "REST",
210
+ "method": "POST",
211
+ "entitypath": "{base_path}/{version}/api/device/v1/replace/order/{pathv1}?{query}",
212
+ "requestSchema": "schema.json",
213
+ "responseSchema": "schema.json",
214
+ "timeout": 0,
215
+ "sendEmpty": false,
216
+ "requestDatatype": "JSON",
217
+ "responseDatatype": "JSON",
218
+ "headers": {},
219
+ "responseObjects": [
220
+ {
221
+ "type": "default",
222
+ "key": "",
223
+ "mockFile": ""
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "getDeviceCustomFields",
229
+ "protocol": "REST",
230
+ "method": "GET",
231
+ "entitypath": "{base_path}/{version}/api/device/v1/customFields?{query}",
232
+ "requestSchema": "schema.json",
233
+ "responseSchema": "schema.json",
234
+ "timeout": 0,
235
+ "sendEmpty": false,
236
+ "sendGetBody": false,
237
+ "requestDatatype": "JSON",
238
+ "responseDatatype": "JSON",
239
+ "headers": {},
240
+ "responseObjects": [
241
+ {
242
+ "type": "default",
243
+ "key": "",
244
+ "mockFile": ""
245
+ }
246
+ ]
247
+ },
248
+ {
249
+ "name": "enrollDeviceCertificate",
250
+ "protocol": "REST",
251
+ "method": "POST",
252
+ "entitypath": "{base_path}/{version}/api/device/v1/enroll?{query}",
253
+ "requestSchema": "schema.json",
254
+ "responseSchema": "schema.json",
255
+ "timeout": 0,
256
+ "sendEmpty": false,
257
+ "requestDatatype": "JSON",
258
+ "responseDatatype": "JSON",
259
+ "headers": {},
260
+ "responseObjects": [
261
+ {
262
+ "type": "default",
263
+ "key": "",
264
+ "mockFile": ""
265
+ }
266
+ ]
267
+ },
268
+ {
269
+ "name": "renewDeviceCertificateById",
270
+ "protocol": "REST",
271
+ "method": "POST",
272
+ "entitypath": "{base_path}/{version}/api/device/v1/renew/order/{pathv1}?{query}",
273
+ "requestSchema": "schema.json",
274
+ "responseSchema": "schema.json",
275
+ "timeout": 0,
276
+ "sendEmpty": false,
277
+ "requestDatatype": "JSON",
278
+ "responseDatatype": "JSON",
279
+ "headers": {},
280
+ "responseObjects": [
281
+ {
282
+ "type": "default",
283
+ "key": "",
284
+ "mockFile": ""
285
+ }
286
+ ]
287
+ }
288
+ ]
289
+ }
@@ -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": "collectDeviceCertificate",
12
+ "enum": [
13
+ "collectDeviceCertificate",
14
+ "getDeviceCertificatesList",
15
+ "renewDeviceCertificateBySerialNumber",
16
+ "getDeviceCertificatesDetails",
17
+ "revokeDeviceCertificateById",
18
+ "deleteDeviceCertificateById",
19
+ "approveDeviceCertificate",
20
+ "declineDeviceCertificate",
21
+ "revokeDeviceCertificateBySerialNumber",
22
+ "getDeviceProfiles",
23
+ "replaceDeviceCertificateById",
24
+ "getDeviceCustomFields",
25
+ "enrollDeviceCertificate",
26
+ "renewDeviceCertificateById"
27
+ ],
28
+ "external_name": "ph_request_type"
29
+ }
30
+ },
31
+ "definitions": {}
32
+ }
@@ -0,0 +1,265 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "submitCnameDcv",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/submit/domain/cname?{query}",
8
+ "requestSchema": "schema.json",
9
+ "responseSchema": "schema.json",
10
+ "timeout": 0,
11
+ "sendEmpty": false,
12
+ "requestDatatype": "JSON",
13
+ "responseDatatype": "JSON",
14
+ "headers": {},
15
+ "responseObjects": [
16
+ {
17
+ "type": "default",
18
+ "key": "",
19
+ "mockFile": ""
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "deleteDcv",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/delete?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "JSON",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "name": "submitEmailDcv",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/submit/domain/email?{query}",
48
+ "requestSchema": "schema.json",
49
+ "responseSchema": "schema.json",
50
+ "timeout": 0,
51
+ "sendEmpty": false,
52
+ "requestDatatype": "JSON",
53
+ "responseDatatype": "JSON",
54
+ "headers": {},
55
+ "responseObjects": [
56
+ {
57
+ "type": "default",
58
+ "key": "",
59
+ "mockFile": ""
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "startCnameDcv",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/start/domain/cname?{query}",
68
+ "requestSchema": "schema.json",
69
+ "responseSchema": "schema.json",
70
+ "timeout": 0,
71
+ "sendEmpty": false,
72
+ "requestDatatype": "JSON",
73
+ "responseDatatype": "JSON",
74
+ "headers": {},
75
+ "responseObjects": [
76
+ {
77
+ "type": "default",
78
+ "key": "",
79
+ "mockFile": ""
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "name": "listAllDcv",
85
+ "protocol": "REST",
86
+ "method": "GET",
87
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation?{query}",
88
+ "requestSchema": "schema.json",
89
+ "responseSchema": "schema.json",
90
+ "timeout": 0,
91
+ "sendEmpty": false,
92
+ "sendGetBody": false,
93
+ "requestDatatype": "JSON",
94
+ "responseDatatype": "JSON",
95
+ "headers": {},
96
+ "responseObjects": [
97
+ {
98
+ "type": "default",
99
+ "key": "",
100
+ "mockFile": ""
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "getDcvStatus",
106
+ "protocol": "REST",
107
+ "method": "POST",
108
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/status?{query}",
109
+ "requestSchema": "schema.json",
110
+ "responseSchema": "schema.json",
111
+ "timeout": 0,
112
+ "sendEmpty": false,
113
+ "requestDatatype": "JSON",
114
+ "responseDatatype": "JSON",
115
+ "headers": {},
116
+ "responseObjects": [
117
+ {
118
+ "type": "default",
119
+ "key": "",
120
+ "mockFile": ""
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "name": "startEmailDcv",
126
+ "protocol": "REST",
127
+ "method": "POST",
128
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/start/domain/email?{query}",
129
+ "requestSchema": "schema.json",
130
+ "responseSchema": "schema.json",
131
+ "timeout": 0,
132
+ "sendEmpty": false,
133
+ "requestDatatype": "JSON",
134
+ "responseDatatype": "JSON",
135
+ "headers": {},
136
+ "responseObjects": [
137
+ {
138
+ "type": "default",
139
+ "key": "",
140
+ "mockFile": ""
141
+ }
142
+ ]
143
+ },
144
+ {
145
+ "name": "clearDomainDcv",
146
+ "protocol": "REST",
147
+ "method": "POST",
148
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/clear?{query}",
149
+ "requestSchema": "schema.json",
150
+ "responseSchema": "schema.json",
151
+ "timeout": 0,
152
+ "sendEmpty": false,
153
+ "requestDatatype": "JSON",
154
+ "responseDatatype": "JSON",
155
+ "headers": {},
156
+ "responseObjects": [
157
+ {
158
+ "type": "default",
159
+ "key": "",
160
+ "mockFile": ""
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "syncDcv",
166
+ "protocol": "REST",
167
+ "method": "POST",
168
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/sync?{query}",
169
+ "requestSchema": "schema.json",
170
+ "responseSchema": "schema.json",
171
+ "timeout": 0,
172
+ "sendEmpty": false,
173
+ "requestDatatype": "JSON",
174
+ "responseDatatype": "JSON",
175
+ "headers": {},
176
+ "responseObjects": [
177
+ {
178
+ "type": "default",
179
+ "key": "",
180
+ "mockFile": ""
181
+ }
182
+ ]
183
+ },
184
+ {
185
+ "name": "submitHttpDcv",
186
+ "protocol": "REST",
187
+ "method": "POST",
188
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/submit/domain/http?{query}",
189
+ "requestSchema": "schema.json",
190
+ "responseSchema": "schema.json",
191
+ "timeout": 0,
192
+ "sendEmpty": false,
193
+ "requestDatatype": "JSON",
194
+ "responseDatatype": "JSON",
195
+ "headers": {},
196
+ "responseObjects": [
197
+ {
198
+ "type": "default",
199
+ "key": "",
200
+ "mockFile": ""
201
+ }
202
+ ]
203
+ },
204
+ {
205
+ "name": "startHttpsDcv",
206
+ "protocol": "REST",
207
+ "method": "POST",
208
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/start/domain/https?{query}",
209
+ "requestSchema": "schema.json",
210
+ "responseSchema": "schema.json",
211
+ "timeout": 0,
212
+ "sendEmpty": false,
213
+ "requestDatatype": "JSON",
214
+ "responseDatatype": "JSON",
215
+ "headers": {},
216
+ "responseObjects": [
217
+ {
218
+ "type": "default",
219
+ "key": "",
220
+ "mockFile": ""
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "name": "submitHttpsDcv",
226
+ "protocol": "REST",
227
+ "method": "POST",
228
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/submit/domain/https?{query}",
229
+ "requestSchema": "schema.json",
230
+ "responseSchema": "schema.json",
231
+ "timeout": 0,
232
+ "sendEmpty": false,
233
+ "requestDatatype": "JSON",
234
+ "responseDatatype": "JSON",
235
+ "headers": {},
236
+ "responseObjects": [
237
+ {
238
+ "type": "default",
239
+ "key": "",
240
+ "mockFile": ""
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "name": "startHttpDcv",
246
+ "protocol": "REST",
247
+ "method": "POST",
248
+ "entitypath": "{base_path}/{version}/api/dcv/v2/validation/start/domain/http?{query}",
249
+ "requestSchema": "schema.json",
250
+ "responseSchema": "schema.json",
251
+ "timeout": 0,
252
+ "sendEmpty": false,
253
+ "requestDatatype": "JSON",
254
+ "responseDatatype": "JSON",
255
+ "headers": {},
256
+ "responseObjects": [
257
+ {
258
+ "type": "default",
259
+ "key": "",
260
+ "mockFile": ""
261
+ }
262
+ ]
263
+ }
264
+ ]
265
+ }
@@ -0,0 +1,31 @@
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": "submitCnameDcv",
12
+ "enum": [
13
+ "submitCnameDcv",
14
+ "deleteDcv",
15
+ "submitEmailDcv",
16
+ "startCnameDcv",
17
+ "listAllDcv",
18
+ "getDcvStatus",
19
+ "startEmailDcv",
20
+ "clearDomainDcv",
21
+ "syncDcv",
22
+ "submitHttpDcv",
23
+ "startHttpsDcv",
24
+ "submitHttpsDcv",
25
+ "startHttpDcv"
26
+ ],
27
+ "external_name": "ph_request_type"
28
+ }
29
+ },
30
+ "definitions": {}
31
+ }