@itentialopensource/adapter-checkpoint_management 0.2.3 → 0.2.6

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 (101) hide show
  1. package/.eslintignore +1 -0
  2. package/.eslintrc.js +12 -12
  3. package/CHANGELOG.md +24 -0
  4. package/README.md +270 -68
  5. package/adapter.js +2607 -49
  6. package/adapterBase.js +544 -17
  7. package/entities/.generic/action.json +109 -0
  8. package/entities/.generic/schema.json +23 -0
  9. package/entities/.system/action.json +5 -5
  10. package/entities/APISettings/action.json +3 -3
  11. package/entities/AccessLayer/action.json +6 -6
  12. package/entities/AccessRole/action.json +6 -6
  13. package/entities/AccessRule/action.json +6 -6
  14. package/entities/AccessSection/action.json +5 -5
  15. package/entities/AddressRange/action.json +6 -6
  16. package/entities/Administrator/action.json +7 -7
  17. package/entities/Application/action.json +6 -6
  18. package/entities/ApplicationCategory/action.json +6 -6
  19. package/entities/ApplicationGroup/action.json +6 -6
  20. package/entities/DNSDomain/action.json +6 -6
  21. package/entities/DataCenter/action.json +4 -4
  22. package/entities/DataCenterObject/action.json +5 -5
  23. package/entities/Domain/action.json +6 -6
  24. package/entities/DynamicObject/action.json +6 -6
  25. package/entities/GlobalAssignment/action.json +7 -7
  26. package/entities/GlobalDomain/action.json +3 -3
  27. package/entities/Group/action.json +6 -6
  28. package/entities/GroupWithExclusion/action.json +6 -6
  29. package/entities/Host/action.json +6 -6
  30. package/entities/IPS/action.json +5 -5
  31. package/entities/IPSExtendedAttributes/action.json +3 -3
  32. package/entities/LoginMessage/action.json +3 -3
  33. package/entities/Misc/action.json +15 -15
  34. package/entities/MultiDomainServerMDS/action.json +3 -3
  35. package/entities/MulticastAddressRange/action.json +6 -6
  36. package/entities/NATRule/action.json +6 -6
  37. package/entities/NATSection/action.json +5 -5
  38. package/entities/Network/action.json +6 -6
  39. package/entities/OPSECApplication/action.json +6 -6
  40. package/entities/Placeholder/action.json +2 -2
  41. package/entities/Policy/action.json +3 -3
  42. package/entities/PolicyPackage/action.json +6 -6
  43. package/entities/SecurityZone/action.json +6 -6
  44. package/entities/ServiceDCERPC/action.json +6 -6
  45. package/entities/ServiceGroup/action.json +6 -6
  46. package/entities/ServiceICMP/action.json +6 -6
  47. package/entities/ServiceICMP6/action.json +6 -6
  48. package/entities/ServiceOther/action.json +6 -6
  49. package/entities/ServiceRPC/action.json +6 -6
  50. package/entities/ServiceSCTP/action.json +6 -6
  51. package/entities/ServiceTCP/action.json +6 -6
  52. package/entities/ServiceUDP/action.json +6 -6
  53. package/entities/Session/action.json +10 -10
  54. package/entities/SessionManagement/action.json +7 -7
  55. package/entities/SimpleGateway/action.json +6 -6
  56. package/entities/Tags/action.json +6 -6
  57. package/entities/ThreatEmulation/action.json +2 -2
  58. package/entities/ThreatException/action.json +6 -6
  59. package/entities/ThreatExceptionGroup/action.json +6 -6
  60. package/entities/ThreatIndicator/action.json +6 -6
  61. package/entities/ThreatLayer/action.json +6 -6
  62. package/entities/ThreatProfile/action.json +6 -6
  63. package/entities/ThreatProtection/action.json +6 -6
  64. package/entities/ThreatRule/action.json +6 -6
  65. package/entities/Time/action.json +6 -6
  66. package/entities/TimeGroup/action.json +6 -6
  67. package/entities/TrustedClient/action.json +6 -6
  68. package/entities/UpdatableObject/action.json +5 -5
  69. package/entities/UpdatableObjectsRepository/action.json +3 -3
  70. package/entities/VPNCommunityMeshed/action.json +6 -6
  71. package/entities/VPNCommunityStar/action.json +6 -6
  72. package/entities/Wildcard/action.json +6 -6
  73. package/error.json +6 -0
  74. package/package.json +46 -24
  75. package/pronghorn.json +570 -0
  76. package/propertiesSchema.json +84 -11
  77. package/refs?service=git-upload-pack +0 -0
  78. package/report/updateReport1594060676288.json +95 -0
  79. package/report/updateReport1614705421970.json +95 -0
  80. package/report/updateReport1646177180887.json +95 -0
  81. package/sampleProperties.json +31 -12
  82. package/test/integration/adapterTestBasicGet.js +85 -0
  83. package/test/integration/adapterTestConnectivity.js +93 -0
  84. package/test/integration/adapterTestIntegration.js +30 -11
  85. package/test/unit/adapterBaseTestUnit.js +944 -0
  86. package/test/unit/adapterTestUnit.js +638 -12
  87. package/utils/addAuth.js +94 -0
  88. package/utils/artifactize.js +9 -14
  89. package/utils/basicGet.js +50 -0
  90. package/utils/checkMigrate.js +63 -0
  91. package/utils/entitiesToDB.js +224 -0
  92. package/utils/findPath.js +74 -0
  93. package/utils/modify.js +154 -0
  94. package/utils/packModificationScript.js +1 -1
  95. package/utils/patches2bundledDeps.js +90 -0
  96. package/utils/pre-commit.sh +1 -1
  97. package/utils/removeHooks.js +20 -0
  98. package/utils/tbScript.js +169 -0
  99. package/utils/tbUtils.js +451 -0
  100. package/utils/troubleshootingAdapter.js +190 -0
  101. package/gl-code-quality-report.json +0 -1
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -85,4 +85,4 @@
85
85
  ]
86
86
  }
87
87
  ]
88
- }
88
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -43,4 +43,4 @@
43
43
  ]
44
44
  }
45
45
  ]
46
- }
46
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
@@ -8,7 +8,7 @@
8
8
  "requestSchema": "schema.json",
9
9
  "responseSchema": "schema.json",
10
10
  "timeout": 0,
11
- "sendEmpty": false,
11
+ "sendEmpty": true,
12
12
  "sendGetBody": false,
13
13
  "requestDatatype": "JSON",
14
14
  "responseDatatype": "JSON",
@@ -29,7 +29,7 @@
29
29
  "requestSchema": "schema.json",
30
30
  "responseSchema": "schema.json",
31
31
  "timeout": 0,
32
- "sendEmpty": false,
32
+ "sendEmpty": true,
33
33
  "sendGetBody": false,
34
34
  "requestDatatype": "JSON",
35
35
  "responseDatatype": "JSON",
@@ -50,7 +50,7 @@
50
50
  "requestSchema": "schema.json",
51
51
  "responseSchema": "schema.json",
52
52
  "timeout": 0,
53
- "sendEmpty": false,
53
+ "sendEmpty": true,
54
54
  "sendGetBody": false,
55
55
  "requestDatatype": "JSON",
56
56
  "responseDatatype": "JSON",
@@ -71,7 +71,7 @@
71
71
  "requestSchema": "schema.json",
72
72
  "responseSchema": "schema.json",
73
73
  "timeout": 0,
74
- "sendEmpty": false,
74
+ "sendEmpty": true,
75
75
  "sendGetBody": false,
76
76
  "requestDatatype": "JSON",
77
77
  "responseDatatype": "JSON",
@@ -92,7 +92,7 @@
92
92
  "requestSchema": "schema.json",
93
93
  "responseSchema": "schema.json",
94
94
  "timeout": 0,
95
- "sendEmpty": false,
95
+ "sendEmpty": true,
96
96
  "sendGetBody": false,
97
97
  "requestDatatype": "JSON",
98
98
  "responseDatatype": "JSON",
@@ -106,4 +106,4 @@
106
106
  ]
107
107
  }
108
108
  ]
109
- }
109
+ }
package/error.json CHANGED
@@ -168,6 +168,12 @@
168
168
  "displayString": "Failure response received for $VARIABLE$",
169
169
  "recommendation": "Check the reason for failure in the stack trace"
170
170
  },
171
+ {
172
+ "key": "Suspended Adapter",
173
+ "icode": "AD.600",
174
+ "displayString": "Adapter is suspended",
175
+ "recommendation": "Check if external system is functional and unsuspend if appropriate"
176
+ },
171
177
  {
172
178
  "key": "Caught Exception",
173
179
  "icode": "AD.900",
package/package.json CHANGED
@@ -1,19 +1,31 @@
1
1
  {
2
2
  "name": "@itentialopensource/adapter-checkpoint_management",
3
- "version": "0.2.3",
3
+ "version": "0.2.6",
4
4
  "description": "This adapter integrates with system described as: checkpointManagementApi.",
5
5
  "main": "adapter.js",
6
- "wizardVersion": "2.41.8",
7
- "engineVersion": "1.46.3",
6
+ "wizardVersion": "2.44.7",
7
+ "engineVersion": "1.59.55",
8
8
  "scripts": {
9
9
  "artifactize": "npm i && node utils/packModificationScript.js",
10
- "preinstall": "node utils/setup.js",
11
- "lint": "eslint . --ext .json --ext .js",
10
+ "preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
11
+ "lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
12
+ "lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
13
+ "test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
12
14
  "test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
13
15
  "test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
14
16
  "test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
15
- "test": "npm run test:unit && npm run test:integration",
16
- "deploy": "npm publish --registry=http://registry.npmjs.org --access=public",
17
+ "test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
18
+ "adapter:install": "npm i && node utils/tbScript.js install",
19
+ "adapter:checkMigrate": "node utils/checkMigrate.js",
20
+ "adapter:findPath": "node utils/findPath.js",
21
+ "adapter:migrate": "node utils/modify.js -m",
22
+ "adapter:update": "node utils/modify.js -u",
23
+ "adapter:revert": "node utils/modify.js -r",
24
+ "troubleshoot": "node utils/tbScript.js",
25
+ "healthcheck": "node utils/tbScript.js healthcheck",
26
+ "basicget": "node utils/tbScript.js basicget",
27
+ "connectivity": "node utils/tbScript.js connectivity",
28
+ "deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
17
29
  "build": "npm run deploy"
18
30
  },
19
31
  "keywords": [
@@ -30,7 +42,8 @@
30
42
  ],
31
43
  "license": "Apache-2.0",
32
44
  "engines": {
33
- "node": ">= 0.12.7"
45
+ "node": ">= 8.0.0",
46
+ "npm": ">= 6.0.0"
34
47
  },
35
48
  "repository": {
36
49
  "type": "git",
@@ -39,23 +52,32 @@
39
52
  "author": "Itential",
40
53
  "homepage": "https://gitlab.com/itentialopensource/adapters/security/adapter-checkpoint_management#readme",
41
54
  "dependencies": {
42
- "@itentialopensource/adapter-utils": "^4.27.3",
43
- "ajv": "^6.10.0",
44
- "fs-extra": "^7.0.0",
45
- "package-json-validator": "^0.6.3",
46
- "readline-sync": "^1.4.9",
47
- "xmldom": "^0.1.27"
55
+ "@itentialopensource/adapter-utils": "^4.44.11",
56
+ "ajv": "^6.12.0",
57
+ "axios": "^0.21.0",
58
+ "commander": "^2.20.0",
59
+ "fs-extra": "^8.1.0",
60
+ "mocha": "^9.0.1",
61
+ "mocha-param": "^2.0.1",
62
+ "mongodb": "^4.1.0",
63
+ "network-diagnostics": "^0.5.3",
64
+ "nyc": "^15.1.0",
65
+ "readline-sync": "^1.4.10",
66
+ "semver": "^7.3.2",
67
+ "winston": "^3.3.3"
48
68
  },
49
69
  "devDependencies": {
50
- "chai": "^4.1.2",
51
- "eslint": "^5.14.1",
52
- "eslint-config-airbnb-base": "^13.1.0",
53
- "eslint-plugin-import": "^2.16.0",
54
- "eslint-plugin-json": "^1.4.0",
55
- "mocha": "^5.2.0",
56
- "nyc": "^14.1.1",
57
- "testdouble": "^3.8.1",
58
- "winston": "^2.4.0"
70
+ "chai": "^4.3.4",
71
+ "eslint": "^7.29.0",
72
+ "eslint-config-airbnb-base": "^14.2.1",
73
+ "eslint-plugin-import": "^2.23.4",
74
+ "eslint-plugin-json": "^3.0.0",
75
+ "package-json-validator": "^0.6.3",
76
+ "testdouble": "^3.16.1"
77
+ },
78
+ "resolutions": {
79
+ "minimist": "^1.2.5"
59
80
  },
60
- "private": false
81
+ "private": false,
82
+ "adapterType": "http"
61
83
  }