@itentialopensource/adapter-gogetssl 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 (100) 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 +5428 -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/Account/action.json +46 -0
  20. package/entities/Account/mockdatafiles/getAccountBalance-default.json +5 -0
  21. package/entities/Account/mockdatafiles/getAccountDetails-default.json +18 -0
  22. package/entities/Account/schema.json +31 -0
  23. package/entities/CSR/action.json +64 -0
  24. package/entities/CSR/mockdatafiles/decodeCSR-default.json +6 -0
  25. package/entities/CSR/mockdatafiles/generateCSR-default.json +5 -0
  26. package/entities/CSR/schema.json +98 -0
  27. package/entities/DCV/action.json +84 -0
  28. package/entities/DCV/mockdatafiles/domainGetFromWhois-default.json +5 -0
  29. package/entities/DCV/mockdatafiles/getDomainAlternative-default.json +24 -0
  30. package/entities/DCV/mockdatafiles/getDomainEmails-default.json +5 -0
  31. package/entities/DCV/mockdatafiles/getDomainEmailsForGeotrust-default.json +10 -0
  32. package/entities/DCV/schema.json +33 -0
  33. package/entities/Invoices/action.json +67 -0
  34. package/entities/Invoices/mockdatafiles/getAllInvoices-default.json +27 -0
  35. package/entities/Invoices/mockdatafiles/getOrderInvoice-default.json +13 -0
  36. package/entities/Invoices/mockdatafiles/getUnpaidInvoices-default.json +60 -0
  37. package/entities/Invoices/schema.json +43 -0
  38. package/entities/LEI/action.json +127 -0
  39. package/entities/LEI/mockdatafiles/createNewLEI-default.json +13 -0
  40. package/entities/LEI/mockdatafiles/getLeiStatus-default.json +5 -0
  41. package/entities/LEI/schema.json +46 -0
  42. package/entities/Orders/action.json +249 -0
  43. package/entities/Orders/mockdatafiles/addSSLOrder-default.json +59 -0
  44. package/entities/Orders/mockdatafiles/addSSLSANOrder-default.json +10 -0
  45. package/entities/Orders/mockdatafiles/cancelOrder-default.json +4 -0
  46. package/entities/Orders/mockdatafiles/comodoClaimFreeEV-default.json +5 -0
  47. package/entities/Orders/mockdatafiles/getAllSSLOrders-default.json +40 -0
  48. package/entities/Orders/mockdatafiles/getOrderStatus-default.json +105 -0
  49. package/entities/Orders/mockdatafiles/getOrdersStatuses-default.json +32 -0
  50. package/entities/Orders/mockdatafiles/getTotalOrders-default.json +4 -0
  51. package/entities/Orders/mockdatafiles/getUnpaidOrders-default.json +131 -0
  52. package/entities/Orders/mockdatafiles/recheckCAA-default.json +5 -0
  53. package/entities/Orders/schema.json +459 -0
  54. package/entities/Products/action.json +151 -0
  55. package/entities/Products/mockdatafiles/getAllProductPrices-default.json +10 -0
  56. package/entities/Products/mockdatafiles/getAllProducts-default.json +110 -0
  57. package/entities/Products/mockdatafiles/getProductAgreement-default.json +5 -0
  58. package/entities/Products/mockdatafiles/getProductPrice-default.json +50 -0
  59. package/entities/Products/mockdatafiles/getSslProduct-default.json +29 -0
  60. package/entities/Products/mockdatafiles/getSslProducts-default.json +325 -0
  61. package/entities/Products/schema.json +47 -0
  62. package/entities/Validation/action.json +145 -0
  63. package/entities/Validation/mockdatafiles/changeDcv-default.json +12 -0
  64. package/entities/Validation/mockdatafiles/changeDomainsValidationMethod-default.json +4 -0
  65. package/entities/Validation/mockdatafiles/resend-default.json +5 -0
  66. package/entities/Validation/mockdatafiles/resendValidationEmail-default.json +5 -0
  67. package/entities/Validation/mockdatafiles/revalidate-default.json +5 -0
  68. package/entities/Validation/schema.json +91 -0
  69. package/entities/Webservers/action.json +25 -0
  70. package/entities/Webservers/mockdatafiles/getWebServers-default.json +149 -0
  71. package/entities/Webservers/schema.json +41 -0
  72. package/error.json +184 -0
  73. package/package.json +83 -0
  74. package/pronghorn.json +8799 -0
  75. package/propertiesSchema.json +840 -0
  76. package/refs?service=git-upload-pack +0 -0
  77. package/report/creationReport.json +339 -0
  78. package/report/gogetssl_apimatic_openapi3.json +21135 -0
  79. package/sampleProperties.json +106 -0
  80. package/test/integration/adapterTestBasicGet.js +85 -0
  81. package/test/integration/adapterTestConnectivity.js +93 -0
  82. package/test/integration/adapterTestIntegration.js +1746 -0
  83. package/test/unit/adapterBaseTestUnit.js +944 -0
  84. package/test/unit/adapterTestUnit.js +4765 -0
  85. package/utils/addAuth.js +94 -0
  86. package/utils/artifactize.js +146 -0
  87. package/utils/basicGet.js +50 -0
  88. package/utils/checkMigrate.js +63 -0
  89. package/utils/entitiesToDB.js +224 -0
  90. package/utils/findPath.js +74 -0
  91. package/utils/modify.js +154 -0
  92. package/utils/packModificationScript.js +35 -0
  93. package/utils/pre-commit.sh +27 -0
  94. package/utils/removeHooks.js +20 -0
  95. package/utils/setup.js +33 -0
  96. package/utils/tbScript.js +169 -0
  97. package/utils/tbUtils.js +445 -0
  98. package/utils/testRunner.js +298 -0
  99. package/utils/troubleshootingAdapter.js +190 -0
  100. package/workflows/README.md +3 -0
Binary file
@@ -0,0 +1,339 @@
1
+ {
2
+ "errors": [],
3
+ "statistics": [
4
+ {
5
+ "owner": "errorJson",
6
+ "description": "Standard adapter errors available for use",
7
+ "value": 30
8
+ },
9
+ {
10
+ "owner": "packageJson",
11
+ "description": "Number of production dependencies",
12
+ "value": 13
13
+ },
14
+ {
15
+ "owner": "packageJson",
16
+ "description": "Number of development dependencies",
17
+ "value": 7
18
+ },
19
+ {
20
+ "owner": "packageJson",
21
+ "description": "Number of npm scripts",
22
+ "value": 22
23
+ },
24
+ {
25
+ "owner": "packageJson",
26
+ "description": "Runtime Library dependency",
27
+ "value": "^4.44.11"
28
+ },
29
+ {
30
+ "owner": "propertiesSchemaJson",
31
+ "description": "Adapter properties defined in the propertiesSchema file",
32
+ "value": 64
33
+ },
34
+ {
35
+ "owner": "adapterJS",
36
+ "description": "Lines of code generated in adapter.js",
37
+ "value": 5429
38
+ },
39
+ {
40
+ "owner": "adapterJS",
41
+ "description": "Number of Functions added to adapter.js",
42
+ "value": 45
43
+ },
44
+ {
45
+ "owner": "pronghornJson",
46
+ "description": "Number of Methods added to pronghorn.json",
47
+ "value": 45
48
+ },
49
+ {
50
+ "owner": "readmeMd",
51
+ "description": "Number of lines in the README.md",
52
+ "value": 688
53
+ },
54
+ {
55
+ "owner": "unitTestJS",
56
+ "description": "Number of lines of code in unit tests",
57
+ "value": 4766
58
+ },
59
+ {
60
+ "owner": "unitTestJS",
61
+ "description": "Number of unit tests",
62
+ "value": 266
63
+ },
64
+ {
65
+ "owner": "integrationTestJS",
66
+ "description": "Number of lines of code in integration tests",
67
+ "value": 1808
68
+ },
69
+ {
70
+ "owner": "integrationTestJS",
71
+ "description": "Number of integration tests",
72
+ "value": 50
73
+ },
74
+ {
75
+ "owner": "actionJson",
76
+ "description": "Number of actions for Products entity",
77
+ "value": 7
78
+ },
79
+ {
80
+ "owner": "actionJson",
81
+ "description": "Number of actions for CSR entity",
82
+ "value": 3
83
+ },
84
+ {
85
+ "owner": "actionJson",
86
+ "description": "Number of actions for DCV entity",
87
+ "value": 4
88
+ },
89
+ {
90
+ "owner": "actionJson",
91
+ "description": "Number of actions for Webservers entity",
92
+ "value": 1
93
+ },
94
+ {
95
+ "owner": "actionJson",
96
+ "description": "Number of actions for Account entity",
97
+ "value": 2
98
+ },
99
+ {
100
+ "owner": "actionJson",
101
+ "description": "Number of actions for LEI entity",
102
+ "value": 6
103
+ },
104
+ {
105
+ "owner": "actionJson",
106
+ "description": "Number of actions for Orders entity",
107
+ "value": 12
108
+ },
109
+ {
110
+ "owner": "actionJson",
111
+ "description": "Number of actions for Validation entity",
112
+ "value": 7
113
+ },
114
+ {
115
+ "owner": "actionJson",
116
+ "description": "Number of actions for Invoices entity",
117
+ "value": 3
118
+ },
119
+ {
120
+ "owner": "actionJson",
121
+ "description": "Total number of actions",
122
+ "value": 45
123
+ },
124
+ {
125
+ "owner": "actionJson",
126
+ "description": "Total number of entities",
127
+ "value": 9
128
+ },
129
+ {
130
+ "owner": "schemaJson",
131
+ "description": "Number of schemas for Products entity",
132
+ "value": 1
133
+ },
134
+ {
135
+ "owner": "schemaJson",
136
+ "description": "Number of schemas for CSR entity",
137
+ "value": 1
138
+ },
139
+ {
140
+ "owner": "schemaJson",
141
+ "description": "Number of schemas for DCV entity",
142
+ "value": 1
143
+ },
144
+ {
145
+ "owner": "schemaJson",
146
+ "description": "Number of schemas for Webservers entity",
147
+ "value": 1
148
+ },
149
+ {
150
+ "owner": "schemaJson",
151
+ "description": "Number of schemas for Account entity",
152
+ "value": 1
153
+ },
154
+ {
155
+ "owner": "schemaJson",
156
+ "description": "Number of schemas for LEI entity",
157
+ "value": 1
158
+ },
159
+ {
160
+ "owner": "schemaJson",
161
+ "description": "Number of schemas for Orders entity",
162
+ "value": 1
163
+ },
164
+ {
165
+ "owner": "schemaJson",
166
+ "description": "Number of schemas for Validation entity",
167
+ "value": 1
168
+ },
169
+ {
170
+ "owner": "schemaJson",
171
+ "description": "Number of schemas for Invoices entity",
172
+ "value": 1
173
+ },
174
+ {
175
+ "owner": "schemaJson",
176
+ "description": "Total number of schemas",
177
+ "value": 9
178
+ },
179
+ {
180
+ "owner": "mockdata",
181
+ "description": "Number of mock data files for Products entity",
182
+ "value": 6
183
+ },
184
+ {
185
+ "owner": "mockdata",
186
+ "description": "Number of mock data files for CSR entity",
187
+ "value": 2
188
+ },
189
+ {
190
+ "owner": "mockdata",
191
+ "description": "Number of mock data files for DCV entity",
192
+ "value": 4
193
+ },
194
+ {
195
+ "owner": "mockdata",
196
+ "description": "Number of mock data files for Webservers entity",
197
+ "value": 1
198
+ },
199
+ {
200
+ "owner": "mockdata",
201
+ "description": "Number of mock data files for Account entity",
202
+ "value": 2
203
+ },
204
+ {
205
+ "owner": "mockdata",
206
+ "description": "Number of mock data files for LEI entity",
207
+ "value": 2
208
+ },
209
+ {
210
+ "owner": "mockdata",
211
+ "description": "Number of mock data files for Orders entity",
212
+ "value": 10
213
+ },
214
+ {
215
+ "owner": "mockdata",
216
+ "description": "Number of mock data files for Validation entity",
217
+ "value": 5
218
+ },
219
+ {
220
+ "owner": "mockdata",
221
+ "description": "Number of mock data files for Invoices entity",
222
+ "value": 3
223
+ },
224
+ {
225
+ "owner": "mockdata",
226
+ "description": "Total number of mock data files",
227
+ "value": 35
228
+ },
229
+ {
230
+ "owner": "actionJson",
231
+ "description": "Number of actions for .system entity",
232
+ "value": 2
233
+ },
234
+ {
235
+ "owner": "schemaJson",
236
+ "description": "Number of schemas for .system entity",
237
+ "value": 3
238
+ },
239
+ {
240
+ "owner": "mockdata",
241
+ "description": "Number of mock data files for .system entity",
242
+ "value": 2
243
+ },
244
+ {
245
+ "owner": "System",
246
+ "description": "System entity files",
247
+ "value": 6
248
+ },
249
+ {
250
+ "owner": "usecases",
251
+ "description": "Number of workflows",
252
+ "value": 0
253
+ },
254
+ {
255
+ "owner": "staticFile",
256
+ "description": "Number of lines of code in adapterBase.js",
257
+ "value": 1029
258
+ },
259
+ {
260
+ "owner": "staticFile",
261
+ "description": "Number of static files added",
262
+ "value": 34
263
+ },
264
+ {
265
+ "owner": "Overall",
266
+ "description": "Total lines of Code",
267
+ "value": 13032
268
+ },
269
+ {
270
+ "owner": "Overall",
271
+ "description": "Total Tests",
272
+ "value": 316
273
+ },
274
+ {
275
+ "owner": "Overall",
276
+ "description": "Total Files",
277
+ "value": 101
278
+ }
279
+ ],
280
+ "apiParsingReport": {
281
+ "no_mockdata": [
282
+ {
283
+ "fnName": "getProductDetails",
284
+ "method": "get",
285
+ "path": "/products/details/{product_id}"
286
+ },
287
+ {
288
+ "fnName": "validateCSR",
289
+ "method": "post",
290
+ "path": "/tools/csr/validate"
291
+ },
292
+ {
293
+ "fnName": "getLEIJurisdictions",
294
+ "method": "get",
295
+ "path": "/lei/jurisdictions"
296
+ },
297
+ {
298
+ "fnName": "confirmLEIDataQuality",
299
+ "method": "post",
300
+ "path": "/lei/confirm/{order_id}"
301
+ },
302
+ {
303
+ "fnName": "renewLEI",
304
+ "method": "post",
305
+ "path": "/orders/lei/renew/{order_id}"
306
+ },
307
+ {
308
+ "fnName": "leiLoolup",
309
+ "method": "get",
310
+ "path": "/lei/lookup"
311
+ },
312
+ {
313
+ "fnName": "reissueSSLOrder",
314
+ "method": "post",
315
+ "path": "/orders/ssl/reissue/{order_id}"
316
+ },
317
+ {
318
+ "fnName": "addSSLRenewOrder",
319
+ "method": "post",
320
+ "path": "/orders/add_ssl_renew_order"
321
+ },
322
+ {
323
+ "fnName": "changeValidationMethod",
324
+ "method": "post",
325
+ "path": "/orders/ssl/change_validation_method/{order_id}"
326
+ },
327
+ {
328
+ "fnName": "changeValidationEmail",
329
+ "method": "post",
330
+ "path": "/orders/ssl/change_validation_email/{order_id}"
331
+ }
332
+ ],
333
+ "errors": [],
334
+ "warnings": [],
335
+ "callsTotal": 45,
336
+ "callsConverted": 45,
337
+ "no_mockdata_num": 10
338
+ }
339
+ }