@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.
- package/.eslintignore +1 -0
- package/.eslintrc.js +12 -12
- package/CHANGELOG.md +24 -0
- package/README.md +270 -68
- package/adapter.js +2607 -49
- package/adapterBase.js +544 -17
- package/entities/.generic/action.json +109 -0
- package/entities/.generic/schema.json +23 -0
- package/entities/.system/action.json +5 -5
- package/entities/APISettings/action.json +3 -3
- package/entities/AccessLayer/action.json +6 -6
- package/entities/AccessRole/action.json +6 -6
- package/entities/AccessRule/action.json +6 -6
- package/entities/AccessSection/action.json +5 -5
- package/entities/AddressRange/action.json +6 -6
- package/entities/Administrator/action.json +7 -7
- package/entities/Application/action.json +6 -6
- package/entities/ApplicationCategory/action.json +6 -6
- package/entities/ApplicationGroup/action.json +6 -6
- package/entities/DNSDomain/action.json +6 -6
- package/entities/DataCenter/action.json +4 -4
- package/entities/DataCenterObject/action.json +5 -5
- package/entities/Domain/action.json +6 -6
- package/entities/DynamicObject/action.json +6 -6
- package/entities/GlobalAssignment/action.json +7 -7
- package/entities/GlobalDomain/action.json +3 -3
- package/entities/Group/action.json +6 -6
- package/entities/GroupWithExclusion/action.json +6 -6
- package/entities/Host/action.json +6 -6
- package/entities/IPS/action.json +5 -5
- package/entities/IPSExtendedAttributes/action.json +3 -3
- package/entities/LoginMessage/action.json +3 -3
- package/entities/Misc/action.json +15 -15
- package/entities/MultiDomainServerMDS/action.json +3 -3
- package/entities/MulticastAddressRange/action.json +6 -6
- package/entities/NATRule/action.json +6 -6
- package/entities/NATSection/action.json +5 -5
- package/entities/Network/action.json +6 -6
- package/entities/OPSECApplication/action.json +6 -6
- package/entities/Placeholder/action.json +2 -2
- package/entities/Policy/action.json +3 -3
- package/entities/PolicyPackage/action.json +6 -6
- package/entities/SecurityZone/action.json +6 -6
- package/entities/ServiceDCERPC/action.json +6 -6
- package/entities/ServiceGroup/action.json +6 -6
- package/entities/ServiceICMP/action.json +6 -6
- package/entities/ServiceICMP6/action.json +6 -6
- package/entities/ServiceOther/action.json +6 -6
- package/entities/ServiceRPC/action.json +6 -6
- package/entities/ServiceSCTP/action.json +6 -6
- package/entities/ServiceTCP/action.json +6 -6
- package/entities/ServiceUDP/action.json +6 -6
- package/entities/Session/action.json +10 -10
- package/entities/SessionManagement/action.json +7 -7
- package/entities/SimpleGateway/action.json +6 -6
- package/entities/Tags/action.json +6 -6
- package/entities/ThreatEmulation/action.json +2 -2
- package/entities/ThreatException/action.json +6 -6
- package/entities/ThreatExceptionGroup/action.json +6 -6
- package/entities/ThreatIndicator/action.json +6 -6
- package/entities/ThreatLayer/action.json +6 -6
- package/entities/ThreatProfile/action.json +6 -6
- package/entities/ThreatProtection/action.json +6 -6
- package/entities/ThreatRule/action.json +6 -6
- package/entities/Time/action.json +6 -6
- package/entities/TimeGroup/action.json +6 -6
- package/entities/TrustedClient/action.json +6 -6
- package/entities/UpdatableObject/action.json +5 -5
- package/entities/UpdatableObjectsRepository/action.json +3 -3
- package/entities/VPNCommunityMeshed/action.json +6 -6
- package/entities/VPNCommunityStar/action.json +6 -6
- package/entities/Wildcard/action.json +6 -6
- package/error.json +6 -0
- package/package.json +46 -24
- package/pronghorn.json +570 -0
- package/propertiesSchema.json +84 -11
- package/refs?service=git-upload-pack +0 -0
- package/report/updateReport1594060676288.json +95 -0
- package/report/updateReport1614705421970.json +95 -0
- package/report/updateReport1646177180887.json +95 -0
- package/sampleProperties.json +31 -12
- package/test/integration/adapterTestBasicGet.js +85 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +30 -11
- package/test/unit/adapterBaseTestUnit.js +944 -0
- package/test/unit/adapterTestUnit.js +638 -12
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +9 -14
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +224 -0
- package/utils/findPath.js +74 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +1 -1
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +169 -0
- package/utils/tbUtils.js +451 -0
- package/utils/troubleshootingAdapter.js +190 -0
- 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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "This adapter integrates with system described as: checkpointManagementApi.",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"wizardVersion": "2.
|
|
7
|
-
"engineVersion": "1.
|
|
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
|
-
"
|
|
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.
|
|
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.
|
|
43
|
-
"ajv": "^6.
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
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.
|
|
51
|
-
"eslint": "^
|
|
52
|
-
"eslint-config-airbnb-base": "^
|
|
53
|
-
"eslint-plugin-import": "^2.
|
|
54
|
-
"eslint-plugin-json": "^
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
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
|
}
|