@itentialopensource/adapter-amazon_route53 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 (51) 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 +7594 -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/20130401/action.json +1318 -0
  20. package/entities/20130401/schema.json +247 -0
  21. package/error.json +184 -0
  22. package/package.json +86 -0
  23. package/pronghorn.json +3445 -0
  24. package/propertiesSchema.json +840 -0
  25. package/refs?service=git-upload-pack +0 -0
  26. package/report/creationReport.json +492 -0
  27. package/report/route53-openapi.json-OpenApi3Json.json +15721 -0
  28. package/report/updateReport1646598657887.json +95 -0
  29. package/sampleProperties.json +106 -0
  30. package/test/integration/adapterTestBasicGet.js +85 -0
  31. package/test/integration/adapterTestConnectivity.js +93 -0
  32. package/test/integration/adapterTestIntegration.js +2453 -0
  33. package/test/unit/adapterBaseTestUnit.js +944 -0
  34. package/test/unit/adapterTestUnit.js +3446 -0
  35. package/utils/addAuth.js +94 -0
  36. package/utils/artifactize.js +146 -0
  37. package/utils/basicGet.js +50 -0
  38. package/utils/checkMigrate.js +63 -0
  39. package/utils/entitiesToDB.js +224 -0
  40. package/utils/findPath.js +74 -0
  41. package/utils/modify.js +154 -0
  42. package/utils/packModificationScript.js +35 -0
  43. package/utils/patches2bundledDeps.js +90 -0
  44. package/utils/pre-commit.sh +27 -0
  45. package/utils/removeHooks.js +20 -0
  46. package/utils/setup.js +33 -0
  47. package/utils/tbScript.js +169 -0
  48. package/utils/tbUtils.js +451 -0
  49. package/utils/testRunner.js +298 -0
  50. package/utils/troubleshootingAdapter.js +190 -0
  51. package/workflows/README.md +3 -0
Binary file
@@ -0,0 +1,492 @@
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": 23
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": 7044
38
+ },
39
+ {
40
+ "owner": "adapterJS",
41
+ "description": "Number of Functions added to adapter.js",
42
+ "value": 64
43
+ },
44
+ {
45
+ "owner": "pronghornJson",
46
+ "description": "Number of Methods added to pronghorn.json",
47
+ "value": 64
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": 3345
58
+ },
59
+ {
60
+ "owner": "unitTestJS",
61
+ "description": "Number of unit tests",
62
+ "value": 188
63
+ },
64
+ {
65
+ "owner": "integrationTestJS",
66
+ "description": "Number of lines of code in integration tests",
67
+ "value": 2540
68
+ },
69
+ {
70
+ "owner": "integrationTestJS",
71
+ "description": "Number of integration tests",
72
+ "value": 70
73
+ },
74
+ {
75
+ "owner": "actionJson",
76
+ "description": "Number of actions for 20130401 entity",
77
+ "value": 64
78
+ },
79
+ {
80
+ "owner": "actionJson",
81
+ "description": "Total number of actions",
82
+ "value": 64
83
+ },
84
+ {
85
+ "owner": "actionJson",
86
+ "description": "Total number of entities",
87
+ "value": 1
88
+ },
89
+ {
90
+ "owner": "schemaJson",
91
+ "description": "Number of schemas for 20130401 entity",
92
+ "value": 1
93
+ },
94
+ {
95
+ "owner": "schemaJson",
96
+ "description": "Total number of schemas",
97
+ "value": 1
98
+ },
99
+ {
100
+ "owner": "mockdata",
101
+ "description": "Number of mock data files for 20130401 entity",
102
+ "value": 0
103
+ },
104
+ {
105
+ "owner": "mockdata",
106
+ "description": "Total number of mock data files",
107
+ "value": 0
108
+ },
109
+ {
110
+ "owner": "actionJson",
111
+ "description": "Number of actions for .system entity",
112
+ "value": 2
113
+ },
114
+ {
115
+ "owner": "schemaJson",
116
+ "description": "Number of schemas for .system entity",
117
+ "value": 3
118
+ },
119
+ {
120
+ "owner": "mockdata",
121
+ "description": "Number of mock data files for .system entity",
122
+ "value": 2
123
+ },
124
+ {
125
+ "owner": "System",
126
+ "description": "System entity files",
127
+ "value": 6
128
+ },
129
+ {
130
+ "owner": "usecases",
131
+ "description": "Number of workflows",
132
+ "value": 0
133
+ },
134
+ {
135
+ "owner": "staticFile",
136
+ "description": "Number of lines of code in adapterBase.js",
137
+ "value": 1029
138
+ },
139
+ {
140
+ "owner": "staticFile",
141
+ "description": "Number of static files added",
142
+ "value": 35
143
+ },
144
+ {
145
+ "owner": "Overall",
146
+ "description": "Total lines of Code",
147
+ "value": 13958
148
+ },
149
+ {
150
+ "owner": "Overall",
151
+ "description": "Total Tests",
152
+ "value": 258
153
+ },
154
+ {
155
+ "owner": "Overall",
156
+ "description": "Total Files",
157
+ "value": 51
158
+ }
159
+ ],
160
+ "apiParsingReport": {
161
+ "no_mockdata": [
162
+ {
163
+ "fnName": "activateKeySigningKey",
164
+ "method": "post",
165
+ "path": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/activate"
166
+ },
167
+ {
168
+ "fnName": "associateVPCWithHostedZone",
169
+ "method": "post",
170
+ "path": "/2013-04-01/hostedzone/{Id}/associatevpc"
171
+ },
172
+ {
173
+ "fnName": "changeResourceRecordSets",
174
+ "method": "post",
175
+ "path": "/2013-04-01/hostedzone/{Id}/rrset/"
176
+ },
177
+ {
178
+ "fnName": "changeTagsForResource",
179
+ "method": "post",
180
+ "path": "/2013-04-01/tags/{ResourceType}/{ResourceId}"
181
+ },
182
+ {
183
+ "fnName": "listTagsForResource",
184
+ "method": "get",
185
+ "path": "/2013-04-01/tags/{ResourceType}/{ResourceId}"
186
+ },
187
+ {
188
+ "fnName": "createHealthCheck",
189
+ "method": "post",
190
+ "path": "/2013-04-01/healthcheck"
191
+ },
192
+ {
193
+ "fnName": "listHealthChecks",
194
+ "method": "get",
195
+ "path": "/2013-04-01/healthcheck"
196
+ },
197
+ {
198
+ "fnName": "createHostedZone",
199
+ "method": "post",
200
+ "path": "/2013-04-01/hostedzone"
201
+ },
202
+ {
203
+ "fnName": "listHostedZones",
204
+ "method": "get",
205
+ "path": "/2013-04-01/hostedzone"
206
+ },
207
+ {
208
+ "fnName": "createKeySigningKey",
209
+ "method": "post",
210
+ "path": "/2013-04-01/keysigningkey"
211
+ },
212
+ {
213
+ "fnName": "createQueryLoggingConfig",
214
+ "method": "post",
215
+ "path": "/2013-04-01/queryloggingconfig"
216
+ },
217
+ {
218
+ "fnName": "listQueryLoggingConfigs",
219
+ "method": "get",
220
+ "path": "/2013-04-01/queryloggingconfig"
221
+ },
222
+ {
223
+ "fnName": "createReusableDelegationSet",
224
+ "method": "post",
225
+ "path": "/2013-04-01/delegationset"
226
+ },
227
+ {
228
+ "fnName": "listReusableDelegationSets",
229
+ "method": "get",
230
+ "path": "/2013-04-01/delegationset"
231
+ },
232
+ {
233
+ "fnName": "createTrafficPolicy",
234
+ "method": "post",
235
+ "path": "/2013-04-01/trafficpolicy"
236
+ },
237
+ {
238
+ "fnName": "createTrafficPolicyInstance",
239
+ "method": "post",
240
+ "path": "/2013-04-01/trafficpolicyinstance"
241
+ },
242
+ {
243
+ "fnName": "createTrafficPolicyVersion",
244
+ "method": "post",
245
+ "path": "/2013-04-01/trafficpolicy/{Id}"
246
+ },
247
+ {
248
+ "fnName": "createVPCAssociationAuthorization",
249
+ "method": "post",
250
+ "path": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation"
251
+ },
252
+ {
253
+ "fnName": "listVPCAssociationAuthorizations",
254
+ "method": "get",
255
+ "path": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation"
256
+ },
257
+ {
258
+ "fnName": "deactivateKeySigningKey",
259
+ "method": "post",
260
+ "path": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}/deactivate"
261
+ },
262
+ {
263
+ "fnName": "deleteHealthCheck",
264
+ "method": "delete",
265
+ "path": "/2013-04-01/healthcheck/{HealthCheckId}"
266
+ },
267
+ {
268
+ "fnName": "getHealthCheck",
269
+ "method": "get",
270
+ "path": "/2013-04-01/healthcheck/{HealthCheckId}"
271
+ },
272
+ {
273
+ "fnName": "updateHealthCheck",
274
+ "method": "post",
275
+ "path": "/2013-04-01/healthcheck/{HealthCheckId}"
276
+ },
277
+ {
278
+ "fnName": "deleteHostedZone",
279
+ "method": "delete",
280
+ "path": "/2013-04-01/hostedzone/{Id}"
281
+ },
282
+ {
283
+ "fnName": "getHostedZone",
284
+ "method": "get",
285
+ "path": "/2013-04-01/hostedzone/{Id}"
286
+ },
287
+ {
288
+ "fnName": "updateHostedZoneComment",
289
+ "method": "post",
290
+ "path": "/2013-04-01/hostedzone/{Id}"
291
+ },
292
+ {
293
+ "fnName": "deleteKeySigningKey",
294
+ "method": "delete",
295
+ "path": "/2013-04-01/keysigningkey/{HostedZoneId}/{Name}"
296
+ },
297
+ {
298
+ "fnName": "deleteQueryLoggingConfig",
299
+ "method": "delete",
300
+ "path": "/2013-04-01/queryloggingconfig/{Id}"
301
+ },
302
+ {
303
+ "fnName": "getQueryLoggingConfig",
304
+ "method": "get",
305
+ "path": "/2013-04-01/queryloggingconfig/{Id}"
306
+ },
307
+ {
308
+ "fnName": "deleteReusableDelegationSet",
309
+ "method": "delete",
310
+ "path": "/2013-04-01/delegationset/{Id}"
311
+ },
312
+ {
313
+ "fnName": "getReusableDelegationSet",
314
+ "method": "get",
315
+ "path": "/2013-04-01/delegationset/{Id}"
316
+ },
317
+ {
318
+ "fnName": "deleteTrafficPolicy",
319
+ "method": "delete",
320
+ "path": "/2013-04-01/trafficpolicy/{Id}/{Version}"
321
+ },
322
+ {
323
+ "fnName": "getTrafficPolicy",
324
+ "method": "get",
325
+ "path": "/2013-04-01/trafficpolicy/{Id}/{Version}"
326
+ },
327
+ {
328
+ "fnName": "updateTrafficPolicyComment",
329
+ "method": "post",
330
+ "path": "/2013-04-01/trafficpolicy/{Id}/{Version}"
331
+ },
332
+ {
333
+ "fnName": "deleteTrafficPolicyInstance",
334
+ "method": "delete",
335
+ "path": "/2013-04-01/trafficpolicyinstance/{Id}"
336
+ },
337
+ {
338
+ "fnName": "getTrafficPolicyInstance",
339
+ "method": "get",
340
+ "path": "/2013-04-01/trafficpolicyinstance/{Id}"
341
+ },
342
+ {
343
+ "fnName": "updateTrafficPolicyInstance",
344
+ "method": "post",
345
+ "path": "/2013-04-01/trafficpolicyinstance/{Id}"
346
+ },
347
+ {
348
+ "fnName": "deleteVPCAssociationAuthorization",
349
+ "method": "post",
350
+ "path": "/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation"
351
+ },
352
+ {
353
+ "fnName": "disableHostedZoneDNSSEC",
354
+ "method": "post",
355
+ "path": "/2013-04-01/hostedzone/{Id}/disable-dnssec"
356
+ },
357
+ {
358
+ "fnName": "disassociateVPCFromHostedZone",
359
+ "method": "post",
360
+ "path": "/2013-04-01/hostedzone/{Id}/disassociatevpc"
361
+ },
362
+ {
363
+ "fnName": "enableHostedZoneDNSSEC",
364
+ "method": "post",
365
+ "path": "/2013-04-01/hostedzone/{Id}/enable-dnssec"
366
+ },
367
+ {
368
+ "fnName": "getAccountLimit",
369
+ "method": "get",
370
+ "path": "/2013-04-01/accountlimit/{Type}"
371
+ },
372
+ {
373
+ "fnName": "getChange",
374
+ "method": "get",
375
+ "path": "/2013-04-01/change/{Id}"
376
+ },
377
+ {
378
+ "fnName": "getCheckerIpRanges",
379
+ "method": "get",
380
+ "path": "/2013-04-01/checkeripranges"
381
+ },
382
+ {
383
+ "fnName": "getDNSSEC",
384
+ "method": "get",
385
+ "path": "/2013-04-01/hostedzone/{Id}/dnssec"
386
+ },
387
+ {
388
+ "fnName": "getGeoLocation",
389
+ "method": "get",
390
+ "path": "/2013-04-01/geolocation"
391
+ },
392
+ {
393
+ "fnName": "getHealthCheckCount",
394
+ "method": "get",
395
+ "path": "/2013-04-01/healthcheckcount"
396
+ },
397
+ {
398
+ "fnName": "getHealthCheckLastFailureReason",
399
+ "method": "get",
400
+ "path": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"
401
+ },
402
+ {
403
+ "fnName": "getHealthCheckStatus",
404
+ "method": "get",
405
+ "path": "/2013-04-01/healthcheck/{HealthCheckId}/status"
406
+ },
407
+ {
408
+ "fnName": "getHostedZoneCount",
409
+ "method": "get",
410
+ "path": "/2013-04-01/hostedzonecount"
411
+ },
412
+ {
413
+ "fnName": "getHostedZoneLimit",
414
+ "method": "get",
415
+ "path": "/2013-04-01/hostedzonelimit/{Id}/{Type}"
416
+ },
417
+ {
418
+ "fnName": "getReusableDelegationSetLimit",
419
+ "method": "get",
420
+ "path": "/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}"
421
+ },
422
+ {
423
+ "fnName": "getTrafficPolicyInstanceCount",
424
+ "method": "get",
425
+ "path": "/2013-04-01/trafficpolicyinstancecount"
426
+ },
427
+ {
428
+ "fnName": "listGeoLocations",
429
+ "method": "get",
430
+ "path": "/2013-04-01/geolocations"
431
+ },
432
+ {
433
+ "fnName": "listHostedZonesByName",
434
+ "method": "get",
435
+ "path": "/2013-04-01/hostedzonesbyname"
436
+ },
437
+ {
438
+ "fnName": "listHostedZonesByVPC",
439
+ "method": "get",
440
+ "path": "/2013-04-01/hostedzonesbyvpc#vpcid&vpcregion"
441
+ },
442
+ {
443
+ "fnName": "listResourceRecordSets",
444
+ "method": "get",
445
+ "path": "/2013-04-01/hostedzone/{Id}/rrset"
446
+ },
447
+ {
448
+ "fnName": "listTagsForResources",
449
+ "method": "post",
450
+ "path": "/2013-04-01/tags/{ResourceType}"
451
+ },
452
+ {
453
+ "fnName": "listTrafficPolicies",
454
+ "method": "get",
455
+ "path": "/2013-04-01/trafficpolicies"
456
+ },
457
+ {
458
+ "fnName": "listTrafficPolicyInstances",
459
+ "method": "get",
460
+ "path": "/2013-04-01/trafficpolicyinstances"
461
+ },
462
+ {
463
+ "fnName": "listTrafficPolicyInstancesByHostedZone",
464
+ "method": "get",
465
+ "path": "/2013-04-01/trafficpolicyinstances/hostedzone#id"
466
+ },
467
+ {
468
+ "fnName": "listTrafficPolicyInstancesByPolicy",
469
+ "method": "get",
470
+ "path": "/2013-04-01/trafficpolicyinstances/trafficpolicy#id&version"
471
+ },
472
+ {
473
+ "fnName": "listTrafficPolicyVersions",
474
+ "method": "get",
475
+ "path": "/2013-04-01/trafficpolicies/{Id}/versions"
476
+ },
477
+ {
478
+ "fnName": "testDNSAnswer",
479
+ "method": "get",
480
+ "path": "/2013-04-01/testdnsanswer#hostedzoneid&recordname&recordtype"
481
+ }
482
+ ],
483
+ "errors": [],
484
+ "warnings": [
485
+ "Method get in path /2013-04-01/healthcheck has 2 parameters with the same name. Parameter name changed to markerQuery to avoid errors.",
486
+ "Method get in path /2013-04-01/hostedzone has 2 parameters with the same name. Parameter name changed to markerQuery to avoid errors."
487
+ ],
488
+ "callsTotal": 64,
489
+ "callsConverted": 64,
490
+ "no_mockdata_num": 64
491
+ }
492
+ }