@itentialopensource/adapter-algosec_firewall 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 (179) hide show
  1. package/.eslintignore +5 -0
  2. package/.eslintrc.js +18 -0
  3. package/.jshintrc +3 -0
  4. package/AUTH.md +39 -0
  5. package/BROKER.md +199 -0
  6. package/CALLS.md +170 -0
  7. package/CHANGELOG.md +9 -0
  8. package/CODE_OF_CONDUCT.md +43 -0
  9. package/CONTRIBUTING.md +172 -0
  10. package/ENHANCE.md +69 -0
  11. package/LICENSE +201 -0
  12. package/PROPERTIES.md +641 -0
  13. package/README.md +337 -0
  14. package/SUMMARY.md +9 -0
  15. package/SYSTEMINFO.md +11 -0
  16. package/TROUBLESHOOT.md +47 -0
  17. package/adapter.js +15343 -0
  18. package/adapterBase.js +1787 -0
  19. package/entities/.generic/action.json +214 -0
  20. package/entities/.generic/schema.json +28 -0
  21. package/entities/.system/action.json +50 -0
  22. package/entities/.system/mockdatafiles/getToken-default.json +4 -0
  23. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  24. package/entities/.system/schema.json +19 -0
  25. package/entities/.system/schemaTokenReq.json +53 -0
  26. package/entities/.system/schemaTokenResp.json +53 -0
  27. package/entities/AnalyzeTaskExternalController/action.json +46 -0
  28. package/entities/AnalyzeTaskExternalController/mockdatafiles/getCurrentAnalyzeTaskStatusesUsingGET-default.json +10 -0
  29. package/entities/AnalyzeTaskExternalController/schema.json +20 -0
  30. package/entities/AnalyzeTaskExternalControllerCompatible/action.json +45 -0
  31. package/entities/AnalyzeTaskExternalControllerCompatible/schema.json +20 -0
  32. package/entities/ApplicationsExternalController/action.json +145 -0
  33. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDeviceGroupObjectsUsingPOST-default.json +86 -0
  34. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameAndDevicesUsingPOST-default.json +23 -0
  35. package/entities/ApplicationsExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST-default.json +86 -0
  36. package/entities/ApplicationsExternalController/mockdatafiles/getGroupMembersUsingPOST-default.json +23 -0
  37. package/entities/ApplicationsExternalController/schema.json +25 -0
  38. package/entities/BaselineComplianceExternalController/action.json +25 -0
  39. package/entities/BaselineComplianceExternalController/schema.json +19 -0
  40. package/entities/BrandConfigExternalController/action.json +25 -0
  41. package/entities/BrandConfigExternalController/schema.json +19 -0
  42. package/entities/CloudDbExternalController/action.json +214 -0
  43. package/entities/CloudDbExternalController/mockdatafiles/getContainerInstancesUsingGET-default.json +54 -0
  44. package/entities/CloudDbExternalController/mockdatafiles/getContainerSecurityGroupUsingGET-default.json +28 -0
  45. package/entities/CloudDbExternalController/mockdatafiles/getDevicesBySecuritySegmentUsingGET-default.json +454 -0
  46. package/entities/CloudDbExternalController/mockdatafiles/getInstancesBySecurityGroupUsingGET-default.json +41 -0
  47. package/entities/CloudDbExternalController/schema.json +28 -0
  48. package/entities/ConfigExternalController/action.json +107 -0
  49. package/entities/ConfigExternalController/schema.json +23 -0
  50. package/entities/DeviceExternalController/action.json +290 -0
  51. package/entities/DeviceExternalController/mockdatafiles/getSectionHeadersUsingGET-default.json +10 -0
  52. package/entities/DeviceExternalController/mockdatafiles/getSecurityProfileGroupsUsingGET-default.json +3 -0
  53. package/entities/DeviceExternalController/mockdatafiles/searchChildrenDevicesByParentsUsingPOST-default.json +101 -0
  54. package/entities/DeviceExternalController/mockdatafiles/searchDeviceGroupHierarchyTreeUsingPOST-default.json +486 -0
  55. package/entities/DeviceExternalController/mockdatafiles/searchLeafChildrenDevicesByParentsUsingPOST-default.json +89 -0
  56. package/entities/DeviceExternalController/mockdatafiles/searchParentsDevicesByChildrenUsingPOST-default.json +146 -0
  57. package/entities/DeviceExternalController/schema.json +32 -0
  58. package/entities/DeviceExternalControllerCompatible/action.json +86 -0
  59. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesByPolicyUsingPOST-default.json +306 -0
  60. package/entities/DeviceExternalControllerCompatible/mockdatafiles/getDevicesUsingGET1-default.json +935 -0
  61. package/entities/DeviceExternalControllerCompatible/schema.json +22 -0
  62. package/entities/DeviceRelocationController/action.json +126 -0
  63. package/entities/DeviceRelocationController/schema.json +24 -0
  64. package/entities/DeviceSetupController/action.json +267 -0
  65. package/entities/DeviceSetupController/mockdatafiles/getAllDevicesDetailsUsingGET-default.json +371 -0
  66. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesInPv1ModeUsingPOST-default.json +11 -0
  67. package/entities/DeviceSetupController/mockdatafiles/getCmaManagedDevicesUsingPOST-default.json +11 -0
  68. package/entities/DeviceSetupController/mockdatafiles/getFortimangerManagedDevicesUsingPOST-default.json +8 -0
  69. package/entities/DeviceSetupController/mockdatafiles/getPv1ManagedDevicesUsingPOST-default.json +5 -0
  70. package/entities/DeviceSetupController/schema.json +31 -0
  71. package/entities/DeviceZonesController/action.json +25 -0
  72. package/entities/DeviceZonesController/schema.json +19 -0
  73. package/entities/DnsLookupExternalController/action.json +25 -0
  74. package/entities/DnsLookupExternalController/schema.json +19 -0
  75. package/entities/ExternalApi/action.json +380 -0
  76. package/entities/ExternalApi/mockdatafiles/getNetworkObjectsUsingGET-default.json +52 -0
  77. package/entities/ExternalApi/mockdatafiles/getReportRisksUsingGET-default.json +47 -0
  78. package/entities/ExternalApi/mockdatafiles/getRulesColumnsUsingGET-default.json +22 -0
  79. package/entities/ExternalApi/mockdatafiles/getServiceObjectsUsingGET-default.json +18 -0
  80. package/entities/ExternalApi/schema.json +36 -0
  81. package/entities/ExternalRiskyRuleController/action.json +46 -0
  82. package/entities/ExternalRiskyRuleController/schema.json +20 -0
  83. package/entities/ExternalRiskyRuleControllerCompatible/action.json +25 -0
  84. package/entities/ExternalRiskyRuleControllerCompatible/schema.json +19 -0
  85. package/entities/FirewallDataExternalController/action.json +127 -0
  86. package/entities/FirewallDataExternalController/mockdatafiles/getAllBrothersDevicesUsingGET-default.json +4 -0
  87. package/entities/FirewallDataExternalController/mockdatafiles/getOriginalNamesUsingPOST-default.json +18 -0
  88. package/entities/FirewallDataExternalController/mockdatafiles/getTreeAndDisplayOfContainingGroupsUsingGET-default.json +6 -0
  89. package/entities/FirewallDataExternalController/schema.json +24 -0
  90. package/entities/IssuesCenterExternalController/action.json +25 -0
  91. package/entities/IssuesCenterExternalController/schema.json +19 -0
  92. package/entities/LicenseController/action.json +129 -0
  93. package/entities/LicenseController/schema.json +24 -0
  94. package/entities/LicensingExternalController/action.json +46 -0
  95. package/entities/LicensingExternalController/schema.json +20 -0
  96. package/entities/NetworkInterfacesExternalController/action.json +45 -0
  97. package/entities/NetworkInterfacesExternalController/mockdatafiles/getInterfacesUsingGET-default.json +4 -0
  98. package/entities/NetworkInterfacesExternalController/schema.json +20 -0
  99. package/entities/NetworkObjectExternalController/action.json +353 -0
  100. package/entities/NetworkObjectExternalController/mockdatafiles/findByContainerNameAndNameUsingGET-default.json +5 -0
  101. package/entities/NetworkObjectExternalController/mockdatafiles/findByNameAndContainerNameUsingGET-default.json +61 -0
  102. package/entities/NetworkObjectExternalController/mockdatafiles/findByOriginalOrCanonizedNameUsingPOST1-default.json +199 -0
  103. package/entities/NetworkObjectExternalController/mockdatafiles/findNetworkObjectsForQueryUsingPOST-default.json +208 -0
  104. package/entities/NetworkObjectExternalController/mockdatafiles/getApplicationProfilesUsingGET-default.json +4 -0
  105. package/entities/NetworkObjectExternalController/mockdatafiles/getObjectsUsingGET-default.json +101 -0
  106. package/entities/NetworkObjectExternalController/schema.json +35 -0
  107. package/entities/NetworkServicesExternalController/action.json +25 -0
  108. package/entities/NetworkServicesExternalController/schema.json +19 -0
  109. package/entities/PolicyOptimizationController/action.json +67 -0
  110. package/entities/PolicyOptimizationController/mockdatafiles/getDisabledRulesUsingGET-default.json +6041 -0
  111. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutCommentsUsingGET-default.json +17588 -0
  112. package/entities/PolicyOptimizationController/mockdatafiles/getRulesWithoutLoggingUsingGET-default.json +9295 -0
  113. package/entities/PolicyOptimizationController/schema.json +21 -0
  114. package/entities/ReportExternalController/action.json +87 -0
  115. package/entities/ReportExternalController/mockdatafiles/getReportIdsUsingGET-default.json +4 -0
  116. package/entities/ReportExternalController/schema.json +22 -0
  117. package/entities/RiskCheckExternalController/action.json +44 -0
  118. package/entities/RiskCheckExternalController/schema.json +20 -0
  119. package/entities/RuleExternalController/action.json +247 -0
  120. package/entities/RuleExternalController/mockdatafiles/findRuleIdByRuleNumberUsingPOST-default.json +5 -0
  121. package/entities/RuleExternalController/mockdatafiles/getAllRulesUsingGET-default.json +2482 -0
  122. package/entities/RuleExternalController/mockdatafiles/getRulesUsingPOST-default.json +2446 -0
  123. package/entities/RuleExternalController/schema.json +30 -0
  124. package/entities/RuleExternalControllerCompatible/action.json +25 -0
  125. package/entities/RuleExternalControllerCompatible/mockdatafiles/getRulesUsingGET-default.json +3 -0
  126. package/entities/RuleExternalControllerCompatible/schema.json +19 -0
  127. package/entities/RuleIdentifierExternalController/action.json +24 -0
  128. package/entities/RuleIdentifierExternalController/schema.json +19 -0
  129. package/entities/SecurityZonesExternalController/action.json +67 -0
  130. package/entities/SecurityZonesExternalController/schema.json +32 -0
  131. package/entities/SupportZipController/action.json +24 -0
  132. package/entities/SupportZipController/schema.json +19 -0
  133. package/entities/TrafficSimulationQueryExternalController/action.json +24 -0
  134. package/entities/TrafficSimulationQueryExternalController/schema.json +19 -0
  135. package/entities/TrustedTrafficDataExternalController/action.json +146 -0
  136. package/entities/TrustedTrafficDataExternalController/mockdatafiles/addTrustedTrafficDataUsingPOST-default.json +3 -0
  137. package/entities/TrustedTrafficDataExternalController/mockdatafiles/editTrustedTrafficDataUsingPUT-default.json +4 -0
  138. package/entities/TrustedTrafficDataExternalController/mockdatafiles/exportTrustedTrafficUsingGET-default.json +6 -0
  139. package/entities/TrustedTrafficDataExternalController/mockdatafiles/importTrustedTrafficFromFileUsingPOST-default.json +6 -0
  140. package/entities/TrustedTrafficDataExternalController/mockdatafiles/trustRiskRuleUsingPOST-default.json +4 -0
  141. package/entities/TrustedTrafficDataExternalController/schema.json +25 -0
  142. package/entities/UrlCategoriesController/action.json +227 -0
  143. package/entities/UrlCategoriesController/mockdatafiles/getUrlIpsUsingGET-default.json +6 -0
  144. package/entities/UrlCategoriesController/schema.json +40 -0
  145. package/entities/UsersExternalController/action.json +46 -0
  146. package/entities/UsersExternalController/schema.json +20 -0
  147. package/error.json +190 -0
  148. package/package.json +86 -0
  149. package/pronghorn.json +16879 -0
  150. package/propertiesDecorators.json +14 -0
  151. package/propertiesSchema.json +1248 -0
  152. package/refs?service=git-upload-pack +0 -0
  153. package/report/algosec_firewall_swagger.json +14731 -0
  154. package/report/creationReport.json +1325 -0
  155. package/sampleProperties.json +195 -0
  156. package/test/integration/adapterTestBasicGet.js +83 -0
  157. package/test/integration/adapterTestConnectivity.js +93 -0
  158. package/test/integration/adapterTestIntegration.js +5196 -0
  159. package/test/unit/adapterBaseTestUnit.js +949 -0
  160. package/test/unit/adapterTestUnit.js +6610 -0
  161. package/utils/adapterInfo.js +206 -0
  162. package/utils/addAuth.js +94 -0
  163. package/utils/artifactize.js +146 -0
  164. package/utils/basicGet.js +50 -0
  165. package/utils/checkMigrate.js +63 -0
  166. package/utils/entitiesToDB.js +178 -0
  167. package/utils/findPath.js +74 -0
  168. package/utils/methodDocumentor.js +225 -0
  169. package/utils/modify.js +154 -0
  170. package/utils/packModificationScript.js +35 -0
  171. package/utils/patches2bundledDeps.js +90 -0
  172. package/utils/pre-commit.sh +32 -0
  173. package/utils/removeHooks.js +20 -0
  174. package/utils/setup.js +33 -0
  175. package/utils/tbScript.js +246 -0
  176. package/utils/tbUtils.js +490 -0
  177. package/utils/testRunner.js +298 -0
  178. package/utils/troubleshootingAdapter.js +195 -0
  179. package/workflows/README.md +3 -0
@@ -0,0 +1,21 @@
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": "getDisabledRulesUsingGET",
12
+ "enum": [
13
+ "getDisabledRulesUsingGET",
14
+ "getRulesWithoutCommentsUsingGET",
15
+ "getRulesWithoutLoggingUsingGET"
16
+ ],
17
+ "external_name": "ph_request_type"
18
+ }
19
+ },
20
+ "definitions": {}
21
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getReportIdsUsingGET",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/report/findAllReports?{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": "mockdatafiles/getReportIdsUsingGET-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "findLastCompletedReportUsingPOST",
26
+ "protocol": "REST",
27
+ "method": "POST",
28
+ "entitypath": "{base_path}/{version}/report/findLastCompletedReport?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "requestDatatype": "JSON",
34
+ "responseDatatype": "JSON",
35
+ "headers": {},
36
+ "responseObjects": [
37
+ {
38
+ "type": "default",
39
+ "key": "",
40
+ "mockFile": ""
41
+ }
42
+ ]
43
+ },
44
+ {
45
+ "name": "findLastReportUsingGET",
46
+ "protocol": "REST",
47
+ "method": "GET",
48
+ "entitypath": "{base_path}/{version}/report/findLastReport?{query}",
49
+ "requestSchema": "schema.json",
50
+ "responseSchema": "schema.json",
51
+ "timeout": 0,
52
+ "sendEmpty": false,
53
+ "sendGetBody": 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": "isReportHasChangesUsingGET",
67
+ "protocol": "REST",
68
+ "method": "GET",
69
+ "entitypath": "{base_path}/{version}/report/isReportHasChanges/{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
+ }
@@ -0,0 +1,22 @@
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": "getReportIdsUsingGET",
12
+ "enum": [
13
+ "getReportIdsUsingGET",
14
+ "findLastCompletedReportUsingPOST",
15
+ "findLastReportUsingGET",
16
+ "isReportHasChangesUsingGET"
17
+ ],
18
+ "external_name": "ph_request_type"
19
+ }
20
+ },
21
+ "definitions": {}
22
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "calculateRisksUsingPOST",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/riskcheck/calculate?{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": "importRisksUsingPOST",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/riskcheck/import/{pathv1}?{query}",
28
+ "requestSchema": "schema.json",
29
+ "responseSchema": "schema.json",
30
+ "timeout": 0,
31
+ "sendEmpty": false,
32
+ "requestDatatype": "FORM",
33
+ "responseDatatype": "JSON",
34
+ "headers": {},
35
+ "responseObjects": [
36
+ {
37
+ "type": "default",
38
+ "key": "",
39
+ "mockFile": ""
40
+ }
41
+ ]
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,20 @@
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": "calculateRisksUsingPOST",
12
+ "enum": [
13
+ "calculateRisksUsingPOST",
14
+ "importRisksUsingPOST"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,247 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getRulesUsingPOST",
5
+ "protocol": "REST",
6
+ "method": "POST",
7
+ "entitypath": "{base_path}/{version}/rule?{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": "mockdatafiles/getRulesUsingPOST-default.json"
20
+ }
21
+ ]
22
+ },
23
+ {
24
+ "name": "runAdvancedRuleSearchWithSlimResponseUsingPOST",
25
+ "protocol": "REST",
26
+ "method": "POST",
27
+ "entitypath": "{base_path}/{version}/rule/advancedsearch/basic/{pathv1}?{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": "runAdvancedRuleSearchUsingPOST",
45
+ "protocol": "REST",
46
+ "method": "POST",
47
+ "entitypath": "{base_path}/{version}/rule/advancedsearch/full/{pathv1}?{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": "saveRuleDocUsingPOST",
65
+ "protocol": "REST",
66
+ "method": "POST",
67
+ "entitypath": "{base_path}/{version}/rule/createDocumentation?{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": "findByRuleIdAndDeviceUsingGET",
85
+ "protocol": "REST",
86
+ "method": "GET",
87
+ "entitypath": "{base_path}/{version}/rule/findByRuleIdAndDevice?{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": "findRuleIdByRuleNumberUsingPOST",
106
+ "protocol": "REST",
107
+ "method": "POST",
108
+ "entitypath": "{base_path}/{version}/rule/findRuleIdByRuleNumber?{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": "mockdatafiles/findRuleIdByRuleNumberUsingPOST-default.json"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "name": "firstOfGlobalSectionUsingPOST",
126
+ "protocol": "REST",
127
+ "method": "POST",
128
+ "entitypath": "{base_path}/{version}/rule/firstOfGlobalSection?{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": "firstOfSectionUsingPOST",
146
+ "protocol": "REST",
147
+ "method": "POST",
148
+ "entitypath": "{base_path}/{version}/rule/firstOfSection?{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": "getIntersectingRulesUsingPOST",
166
+ "protocol": "REST",
167
+ "method": "POST",
168
+ "entitypath": "{base_path}/{version}/rule/intersecting?{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": "isGlobalRuleExistUsingPOST",
186
+ "protocol": "REST",
187
+ "method": "POST",
188
+ "entitypath": "{base_path}/{version}/rule/isGlobalRuleExist?{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": "getRuleDocUsingGET",
206
+ "protocol": "REST",
207
+ "method": "GET",
208
+ "entitypath": "{base_path}/{version}/rule/ruleDocumentation?{query}",
209
+ "requestSchema": "schema.json",
210
+ "responseSchema": "schema.json",
211
+ "timeout": 0,
212
+ "sendEmpty": false,
213
+ "sendGetBody": false,
214
+ "requestDatatype": "JSON",
215
+ "responseDatatype": "JSON",
216
+ "headers": {},
217
+ "responseObjects": [
218
+ {
219
+ "type": "default",
220
+ "key": "",
221
+ "mockFile": ""
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "name": "getAllRulesUsingGET",
227
+ "protocol": "REST",
228
+ "method": "GET",
229
+ "entitypath": "{base_path}/{version}/rule/{pathv1}?{query}",
230
+ "requestSchema": "schema.json",
231
+ "responseSchema": "schema.json",
232
+ "timeout": 0,
233
+ "sendEmpty": false,
234
+ "sendGetBody": false,
235
+ "requestDatatype": "JSON",
236
+ "responseDatatype": "JSON",
237
+ "headers": {},
238
+ "responseObjects": [
239
+ {
240
+ "type": "default",
241
+ "key": "",
242
+ "mockFile": "mockdatafiles/getAllRulesUsingGET-default.json"
243
+ }
244
+ ]
245
+ }
246
+ ]
247
+ }