@itentialopensource/adapter-alkira 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 (415) hide show
  1. package/.eslintignore +6 -0
  2. package/.eslintrc.js +18 -0
  3. package/.gitlab/.gitkeep +0 -0
  4. package/.gitlab/issue_templates/.gitkeep +0 -0
  5. package/.gitlab/issue_templates/Default.md +17 -0
  6. package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
  7. package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
  8. package/.jshintrc +0 -0
  9. package/AUTH.md +39 -0
  10. package/BROKER.md +199 -0
  11. package/CALLS.md +2818 -0
  12. package/CHANGELOG.md +9 -0
  13. package/CODE_OF_CONDUCT.md +43 -0
  14. package/CONTRIBUTING.md +172 -0
  15. package/ENHANCE.md +69 -0
  16. package/LICENSE +201 -0
  17. package/PROPERTIES.md +641 -0
  18. package/README.md +337 -0
  19. package/SUMMARY.md +9 -0
  20. package/SYSTEMINFO.md +11 -0
  21. package/TROUBLESHOOT.md +47 -0
  22. package/adapter.js +39117 -0
  23. package/adapterBase.js +1787 -0
  24. package/entities/.generic/action.json +214 -0
  25. package/entities/.generic/schema.json +28 -0
  26. package/entities/.system/action.json +50 -0
  27. package/entities/.system/mockdatafiles/getToken-default.json +3 -0
  28. package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
  29. package/entities/.system/schema.json +19 -0
  30. package/entities/.system/schemaTokenReq.json +53 -0
  31. package/entities/.system/schemaTokenResp.json +53 -0
  32. package/entities/ASPathLists/action.json +126 -0
  33. package/entities/ASPathLists/mockdatafiles/getAllAsPathLists-default.json +13 -0
  34. package/entities/ASPathLists/schema.json +24 -0
  35. package/entities/AWSVPCConnectors/action.json +106 -0
  36. package/entities/AWSVPCConnectors/mockdatafiles/getAWSVPCConnector-default.json +91 -0
  37. package/entities/AWSVPCConnectors/mockdatafiles/getawsvpcconnectors-default.json +312 -0
  38. package/entities/AWSVPCConnectors/schema.json +23 -0
  39. package/entities/AWSVPCCredentials/action.json +64 -0
  40. package/entities/AWSVPCCredentials/schema.json +21 -0
  41. package/entities/ActiveNATTranslation/action.json +44 -0
  42. package/entities/ActiveNATTranslation/schema.json +20 -0
  43. package/entities/AkamaiProlexicConnectors/action.json +106 -0
  44. package/entities/AkamaiProlexicConnectors/mockdatafiles/getAkamaiProlexicConnector-default.json +167 -0
  45. package/entities/AkamaiProlexicConnectors/mockdatafiles/getAkamaiProlexicconnectors-default.json +863 -0
  46. package/entities/AkamaiProlexicConnectors/schema.json +23 -0
  47. package/entities/AkamaiProlexicCredentials/action.json +44 -0
  48. package/entities/AkamaiProlexicCredentials/schema.json +20 -0
  49. package/entities/Alerts/action.json +67 -0
  50. package/entities/Alerts/schema.json +21 -0
  51. package/entities/ArubaEdgeConnectConnectors/action.json +127 -0
  52. package/entities/ArubaEdgeConnectConnectors/mockdatafiles/getArubaEdgeConnectConnector-default.json +98 -0
  53. package/entities/ArubaEdgeConnectConnectors/mockdatafiles/getArubaEdgeconnectconnectors-default.json +89 -0
  54. package/entities/ArubaEdgeConnectConnectors/schema.json +24 -0
  55. package/entities/ArubaEdgeConnectCredentials/action.json +44 -0
  56. package/entities/ArubaEdgeConnectCredentials/schema.json +20 -0
  57. package/entities/AuditLogs/action.json +46 -0
  58. package/entities/AuditLogs/schema.json +20 -0
  59. package/entities/Authentication/action.json +165 -0
  60. package/entities/Authentication/schema.json +26 -0
  61. package/entities/AzureCredentials/action.json +64 -0
  62. package/entities/AzureCredentials/schema.json +21 -0
  63. package/entities/AzureErConnectors/action.json +127 -0
  64. package/entities/AzureErConnectors/mockdatafiles/getAzureErConnector-default.json +154 -0
  65. package/entities/AzureErConnectors/mockdatafiles/getAzureErConnectors-default.json +88 -0
  66. package/entities/AzureErConnectors/schema.json +24 -0
  67. package/entities/AzureVNETConnectors/action.json +106 -0
  68. package/entities/AzureVNETConnectors/mockdatafiles/getazurevnetconnectors-default.json +308 -0
  69. package/entities/AzureVNETConnectors/schema.json +23 -0
  70. package/entities/BYOIP/action.json +147 -0
  71. package/entities/BYOIP/mockdatafiles/createBYOIP-default.json +14 -0
  72. package/entities/BYOIP/mockdatafiles/getAllBYOIP-default.json +16 -0
  73. package/entities/BYOIP/mockdatafiles/getBYOIP-default.json +58 -0
  74. package/entities/BYOIP/mockdatafiles/getBYOIPReferences-default.json +110 -0
  75. package/entities/BYOIP/schema.json +25 -0
  76. package/entities/BaseConnectors/action.json +46 -0
  77. package/entities/BaseConnectors/mockdatafiles/getConnector-default.json +78 -0
  78. package/entities/BaseConnectors/mockdatafiles/getconnectors-default.json +350 -0
  79. package/entities/BaseConnectors/schema.json +20 -0
  80. package/entities/BaseServices/action.json +46 -0
  81. package/entities/BaseServices/mockdatafiles/getservices-default.json +296 -0
  82. package/entities/BaseServices/schema.json +20 -0
  83. package/entities/BillingInfo/action.json +25 -0
  84. package/entities/BillingInfo/schema.json +19 -0
  85. package/entities/BillingTags/action.json +106 -0
  86. package/entities/BillingTags/mockdatafiles/getbillingtags-default.json +46 -0
  87. package/entities/BillingTags/schema.json +23 -0
  88. package/entities/CXPs/action.json +25 -0
  89. package/entities/CXPs/mockdatafiles/getCXPs-default.json +44 -0
  90. package/entities/CXPs/schema.json +19 -0
  91. package/entities/CheckPointFWManagementServerCredentials/action.json +64 -0
  92. package/entities/CheckPointFWManagementServerCredentials/schema.json +21 -0
  93. package/entities/CheckPointFWServiceCredentials/action.json +64 -0
  94. package/entities/CheckPointFWServiceCredentials/schema.json +21 -0
  95. package/entities/CheckPointFWServiceInstanceCredentials/action.json +64 -0
  96. package/entities/CheckPointFWServiceInstanceCredentials/schema.json +21 -0
  97. package/entities/CheckPointFWServices/action.json +127 -0
  98. package/entities/CheckPointFWServices/mockdatafiles/getCheckPointFWServices-default.json +94 -0
  99. package/entities/CheckPointFWServices/schema.json +24 -0
  100. package/entities/CiscoFTDvFWCredentials/action.json +64 -0
  101. package/entities/CiscoFTDvFWCredentials/schema.json +21 -0
  102. package/entities/CiscoFTDvFWInstanceCredentials/action.json +64 -0
  103. package/entities/CiscoFTDvFWInstanceCredentials/schema.json +21 -0
  104. package/entities/CiscoFTDvFWServices/action.json +127 -0
  105. package/entities/CiscoFTDvFWServices/mockdatafiles/createCiscoFTDvFWService-default.json +78 -0
  106. package/entities/CiscoFTDvFWServices/mockdatafiles/deleteCiscoFTDvFWService-default.json +87 -0
  107. package/entities/CiscoFTDvFWServices/mockdatafiles/getCiscoFTDvFWService-default.json +51 -0
  108. package/entities/CiscoFTDvFWServices/mockdatafiles/getCiscoFTDvFWServices-default.json +245 -0
  109. package/entities/CiscoFTDvFWServices/mockdatafiles/updateCiscoFTDvFWService-default.json +114 -0
  110. package/entities/CiscoFTDvFWServices/schema.json +24 -0
  111. package/entities/CiscoSDWANConnectors/action.json +127 -0
  112. package/entities/CiscoSDWANConnectors/mockdatafiles/getciscosdwaningresses-default.json +559 -0
  113. package/entities/CiscoSDWANConnectors/schema.json +24 -0
  114. package/entities/CiscoSDWANInstanceCredentials/action.json +64 -0
  115. package/entities/CiscoSDWANInstanceCredentials/schema.json +21 -0
  116. package/entities/CloudInsight/action.json +107 -0
  117. package/entities/CloudInsight/mockdatafiles/getCloudInsight-default.json +93 -0
  118. package/entities/CloudInsight/mockdatafiles/getCloudInsightCategorySummaries-default.json +348 -0
  119. package/entities/CloudInsight/schema.json +23 -0
  120. package/entities/CloudInsightDefinition/action.json +87 -0
  121. package/entities/CloudInsightDefinition/schema.json +22 -0
  122. package/entities/CloudInsightRefreshRequest/action.json +86 -0
  123. package/entities/CloudInsightRefreshRequest/mockdatafiles/getCloudInsightRefreshRequest-default.json +6 -0
  124. package/entities/CloudInsightRefreshRequest/schema.json +22 -0
  125. package/entities/CloudInsightReport/action.json +86 -0
  126. package/entities/CloudInsightReport/mockdatafiles/getCloudInsightReport-default.json +617 -0
  127. package/entities/CloudInsightReport/schema.json +22 -0
  128. package/entities/CloudInsightReportConfiguration/action.json +86 -0
  129. package/entities/CloudInsightReportConfiguration/mockdatafiles/getCloudInsightReportConfiguration-default.json +34 -0
  130. package/entities/CloudInsightReportConfiguration/schema.json +22 -0
  131. package/entities/CloudNativeServices/action.json +25 -0
  132. package/entities/CloudNativeServices/mockdatafiles/getCloudNativeServices-default.json +83 -0
  133. package/entities/CloudNativeServices/schema.json +19 -0
  134. package/entities/CloudProviderAccount/action.json +126 -0
  135. package/entities/CloudProviderAccount/mockdatafiles/getCloudProviderAccount-default.json +10 -0
  136. package/entities/CloudProviderAccount/mockdatafiles/getCloudProviderAccounts-default.json +32 -0
  137. package/entities/CloudProviderAccount/schema.json +24 -0
  138. package/entities/CloudProviderObject/action.json +109 -0
  139. package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObject-default.json +52 -0
  140. package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectCountByTimes-default.json +27 -0
  141. package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectCounts-default.json +22 -0
  142. package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectTags-default.json +23 -0
  143. package/entities/CloudProviderObject/schema.json +23 -0
  144. package/entities/CloudProviderObjectSyncRequest/action.json +86 -0
  145. package/entities/CloudProviderObjectSyncRequest/mockdatafiles/getCloudProviderObjectSyncRequest-default.json +10 -0
  146. package/entities/CloudProviderObjectSyncRequest/schema.json +22 -0
  147. package/entities/CommunityLists/action.json +126 -0
  148. package/entities/CommunityLists/mockdatafiles/getAllCommunityLists-default.json +42 -0
  149. package/entities/CommunityLists/schema.json +24 -0
  150. package/entities/Credentials/action.json +25 -0
  151. package/entities/Credentials/mockdatafiles/getallcredentials-default.json +14 -0
  152. package/entities/Credentials/schema.json +19 -0
  153. package/entities/DirectConnectConnectors/action.json +127 -0
  154. package/entities/DirectConnectConnectors/mockdatafiles/getdirectconnectconnectors-default.json +862 -0
  155. package/entities/DirectConnectConnectors/schema.json +24 -0
  156. package/entities/ExtendedCommunityLists/action.json +126 -0
  157. package/entities/ExtendedCommunityLists/mockdatafiles/getAllExtendedCommunityLists-default.json +50 -0
  158. package/entities/ExtendedCommunityLists/schema.json +24 -0
  159. package/entities/FeatureFlags/action.json +46 -0
  160. package/entities/FeatureFlags/mockdatafiles/getTenantEnabledFeatures-default.json +3 -0
  161. package/entities/FeatureFlags/schema.json +20 -0
  162. package/entities/FirewallZones/action.json +46 -0
  163. package/entities/FirewallZones/mockdatafiles/getfirewallzones-default.json +91 -0
  164. package/entities/FirewallZones/schema.json +20 -0
  165. package/entities/FlowCapture/action.json +44 -0
  166. package/entities/FlowCapture/schema.json +20 -0
  167. package/entities/Flows/action.json +151 -0
  168. package/entities/Flows/schema.json +25 -0
  169. package/entities/FortinetFWServiceCredentials/action.json +64 -0
  170. package/entities/FortinetFWServiceCredentials/schema.json +21 -0
  171. package/entities/FortinetFWServiceInstanceCredentials/action.json +64 -0
  172. package/entities/FortinetFWServiceInstanceCredentials/schema.json +21 -0
  173. package/entities/FortinetFWServices/action.json +127 -0
  174. package/entities/FortinetFWServices/mockdatafiles/createFortinetFWService-default.json +64 -0
  175. package/entities/FortinetFWServices/mockdatafiles/getFortinetFWService-default.json +64 -0
  176. package/entities/FortinetFWServices/mockdatafiles/getFortinetFWServices-default.json +155 -0
  177. package/entities/FortinetFWServices/mockdatafiles/updateFortinetFWService-default.json +93 -0
  178. package/entities/FortinetFWServices/schema.json +24 -0
  179. package/entities/GCPConnectors/action.json +106 -0
  180. package/entities/GCPConnectors/mockdatafiles/getgcpconnectors-default.json +71 -0
  181. package/entities/GCPConnectors/schema.json +23 -0
  182. package/entities/GCPCredentials/action.json +64 -0
  183. package/entities/GCPCredentials/schema.json +21 -0
  184. package/entities/GetMessages/action.json +25 -0
  185. package/entities/GetMessages/mockdatafiles/getMessages-default.json +46 -0
  186. package/entities/GetMessages/schema.json +19 -0
  187. package/entities/GlobalCidrLists/action.json +106 -0
  188. package/entities/GlobalCidrLists/mockdatafiles/createGlobalCidrList-default.json +12 -0
  189. package/entities/GlobalCidrLists/mockdatafiles/getGlobalCidrList-default.json +12 -0
  190. package/entities/GlobalCidrLists/mockdatafiles/getGlobalCidrLists-default.json +50 -0
  191. package/entities/GlobalCidrLists/mockdatafiles/updateGlobalCidrList-default.json +12 -0
  192. package/entities/GlobalCidrLists/schema.json +34 -0
  193. package/entities/Groups/action.json +106 -0
  194. package/entities/Groups/mockdatafiles/getgroups-default.json +107 -0
  195. package/entities/Groups/schema.json +23 -0
  196. package/entities/Health/action.json +151 -0
  197. package/entities/Health/mockdatafiles/retrieveshealthforallconnectorsandservicesinthistenant-default.json +399 -0
  198. package/entities/Health/mockdatafiles/retrieveshealthforallinternetapplicationsinthistenant-default.json +1254 -0
  199. package/entities/Health/mockdatafiles/retrieveshealthforaspecificconnectorinthistenant-default.json +751 -0
  200. package/entities/Health/mockdatafiles/retrieveshealthforaspecificfirewalzoneinthistenant-default.json +1086 -0
  201. package/entities/Health/mockdatafiles/retrieveshealthforaspecificinstanceofaconnectorinthistenant-default.json +1352 -0
  202. package/entities/Health/mockdatafiles/retrieveshealthforaspecificinstanceofaserviceinthistenant-default.json +803 -0
  203. package/entities/Health/mockdatafiles/retrieveshealthforaspecificserviceinthistenant-default.json +730 -0
  204. package/entities/Health/schema.json +25 -0
  205. package/entities/Healthv3/action.json +25 -0
  206. package/entities/Healthv3/schema.json +19 -0
  207. package/entities/IPSecConnectors/action.json +127 -0
  208. package/entities/IPSecConnectors/mockdatafiles/getipsecconnectors-default.json +826 -0
  209. package/entities/IPSecConnectors/schema.json +24 -0
  210. package/entities/IdentityProviders/action.json +106 -0
  211. package/entities/IdentityProviders/mockdatafiles/getIdentityProvidersUsingGET-default.json +37 -0
  212. package/entities/IdentityProviders/schema.json +23 -0
  213. package/entities/InfoBloxCredentials/action.json +24 -0
  214. package/entities/InfoBloxCredentials/schema.json +19 -0
  215. package/entities/InfoBloxGridMasterCredentials/action.json +24 -0
  216. package/entities/InfoBloxGridMasterCredentials/schema.json +19 -0
  217. package/entities/InfoBloxInstanceCredentials/action.json +24 -0
  218. package/entities/InfoBloxInstanceCredentials/schema.json +19 -0
  219. package/entities/InfoBloxServices/action.json +106 -0
  220. package/entities/InfoBloxServices/mockdatafiles/getInfoBloxServices-default.json +220 -0
  221. package/entities/InfoBloxServices/schema.json +23 -0
  222. package/entities/Integration/action.json +126 -0
  223. package/entities/Integration/mockdatafiles/createIntegration-default.json +6 -0
  224. package/entities/Integration/mockdatafiles/deleteIntegration-default.json +6 -0
  225. package/entities/Integration/mockdatafiles/deleteIntegrations-default.json +8 -0
  226. package/entities/Integration/mockdatafiles/getIntegrations-default.json +26 -0
  227. package/entities/Integration/mockdatafiles/getIntegrationsByTypeAndSubType-default.json +20 -0
  228. package/entities/Integration/mockdatafiles/updateIntegration-default.json +6 -0
  229. package/entities/Integration/schema.json +24 -0
  230. package/entities/InternetApplications/action.json +106 -0
  231. package/entities/InternetApplications/mockdatafiles/getinternetapplications-default.json +383 -0
  232. package/entities/InternetApplications/schema.json +23 -0
  233. package/entities/InternetConnectors/action.json +127 -0
  234. package/entities/InternetConnectors/mockdatafiles/getInternetConnectorConfiguration-default.json +35 -0
  235. package/entities/InternetConnectors/mockdatafiles/getinternetconnectors-default.json +30 -0
  236. package/entities/InternetConnectors/schema.json +24 -0
  237. package/entities/InvoiceSummaries/action.json +46 -0
  238. package/entities/InvoiceSummaries/schema.json +20 -0
  239. package/entities/Invoices/action.json +46 -0
  240. package/entities/Invoices/schema.json +20 -0
  241. package/entities/Jobs/action.json +46 -0
  242. package/entities/Jobs/schema.json +20 -0
  243. package/entities/KeyPairCredentials/action.json +44 -0
  244. package/entities/KeyPairCredentials/schema.json +20 -0
  245. package/entities/LDAPCredentials/action.json +64 -0
  246. package/entities/LDAPCredentials/schema.json +21 -0
  247. package/entities/LoginSpecification/action.json +65 -0
  248. package/entities/LoginSpecification/mockdatafiles/createOrUpdateLoginSpecification-default.json +6 -0
  249. package/entities/LoginSpecification/mockdatafiles/getLoginSpecification-default.json +6 -0
  250. package/entities/LoginSpecification/schema.json +21 -0
  251. package/entities/Logs/action.json +44 -0
  252. package/entities/Logs/schema.json +20 -0
  253. package/entities/Meters/action.json +46 -0
  254. package/entities/Meters/schema.json +20 -0
  255. package/entities/NATPolicies/action.json +106 -0
  256. package/entities/NATPolicies/mockdatafiles/getNATPolicies-default.json +46 -0
  257. package/entities/NATPolicies/schema.json +34 -0
  258. package/entities/NATRules/action.json +106 -0
  259. package/entities/NATRules/mockdatafiles/getNATRules-default.json +312 -0
  260. package/entities/NATRules/schema.json +34 -0
  261. package/entities/OCIVCNConnectors/action.json +106 -0
  262. package/entities/OCIVCNConnectors/mockdatafiles/getOCIVCNConnectors-default.json +148 -0
  263. package/entities/OCIVCNConnectors/schema.json +34 -0
  264. package/entities/OCIVCNCredentials/action.json +64 -0
  265. package/entities/OCIVCNCredentials/schema.json +21 -0
  266. package/entities/OneTimePassword/action.json +85 -0
  267. package/entities/OneTimePassword/mockdatafiles/createOneTimePassword-default.json +10 -0
  268. package/entities/OneTimePassword/mockdatafiles/getAllUnexpiredOTP-default.json +42 -0
  269. package/entities/OneTimePassword/schema.json +22 -0
  270. package/entities/PANCredentials/action.json +64 -0
  271. package/entities/PANCredentials/schema.json +21 -0
  272. package/entities/PANFWServices/action.json +188 -0
  273. package/entities/PANFWServices/mockdatafiles/getpanfwservices-default.json +455 -0
  274. package/entities/PANFWServices/schema.json +27 -0
  275. package/entities/PANInstanceCredentials/action.json +64 -0
  276. package/entities/PANInstanceCredentials/schema.json +21 -0
  277. package/entities/PANMasterKeyCredentials/action.json +64 -0
  278. package/entities/PANMasterKeyCredentials/schema.json +21 -0
  279. package/entities/PANRegistrationCredentials/action.json +64 -0
  280. package/entities/PANRegistrationCredentials/schema.json +21 -0
  281. package/entities/PacketCapture/action.json +66 -0
  282. package/entities/PacketCapture/mockdatafiles/getPacketCaptureResponses-default.json +35 -0
  283. package/entities/PacketCapture/schema.json +32 -0
  284. package/entities/PasswordSpecification/action.json +65 -0
  285. package/entities/PasswordSpecification/mockdatafiles/createOrUpdatePasswordSpecification-default.json +9 -0
  286. package/entities/PasswordSpecification/mockdatafiles/getPasswordSpecification-default.json +9 -0
  287. package/entities/PasswordSpecification/schema.json +21 -0
  288. package/entities/Permissions/action.json +25 -0
  289. package/entities/Permissions/mockdatafiles/getPermissionsUsingGET-default.json +5 -0
  290. package/entities/Permissions/schema.json +19 -0
  291. package/entities/Ping/action.json +44 -0
  292. package/entities/Ping/schema.json +20 -0
  293. package/entities/Policies/action.json +106 -0
  294. package/entities/Policies/mockdatafiles/getPolicies-default.json +42 -0
  295. package/entities/Policies/schema.json +23 -0
  296. package/entities/Prefixlists/action.json +106 -0
  297. package/entities/Prefixlists/mockdatafiles/getPrefixlists-default.json +75 -0
  298. package/entities/Prefixlists/schema.json +23 -0
  299. package/entities/Products/action.json +25 -0
  300. package/entities/Products/mockdatafiles/listofallproducts-default.json +136 -0
  301. package/entities/Products/schema.json +19 -0
  302. package/entities/RemoteAccess/action.json +172 -0
  303. package/entities/RemoteAccess/schema.json +26 -0
  304. package/entities/RemoteAccessConnectorTemplates/action.json +106 -0
  305. package/entities/RemoteAccessConnectorTemplates/mockdatafiles/createConnectorTemplate-default.json +683 -0
  306. package/entities/RemoteAccessConnectorTemplates/mockdatafiles/deleteConnectorTemplate-default.json +146 -0
  307. package/entities/RemoteAccessConnectorTemplates/mockdatafiles/getConnectorTemplate-default.json +89 -0
  308. package/entities/RemoteAccessConnectorTemplates/mockdatafiles/getConnectorTemplates-default.json +2408 -0
  309. package/entities/RemoteAccessConnectorTemplates/mockdatafiles/updateConnectorTemplate-default.json +632 -0
  310. package/entities/RemoteAccessConnectorTemplates/schema.json +23 -0
  311. package/entities/RemoteAccessConnectors/action.json +107 -0
  312. package/entities/RemoteAccessConnectors/mockdatafiles/getRemoteAccessConnectors-default.json +629 -0
  313. package/entities/RemoteAccessConnectors/mockdatafiles/getRemoteAccesssConnector-default.json +662 -0
  314. package/entities/RemoteAccessConnectors/schema.json +23 -0
  315. package/entities/ResourceLimits/action.json +25 -0
  316. package/entities/ResourceLimits/mockdatafiles/getTenantResourceLimits-default.json +10 -0
  317. package/entities/ResourceLimits/schema.json +19 -0
  318. package/entities/ResourceUsage/action.json +25 -0
  319. package/entities/ResourceUsage/mockdatafiles/getResourceUsage-default.json +183 -0
  320. package/entities/ResourceUsage/schema.json +19 -0
  321. package/entities/Roles/action.json +106 -0
  322. package/entities/Roles/mockdatafiles/getRolesUsingGET-default.json +22 -0
  323. package/entities/Roles/schema.json +23 -0
  324. package/entities/RoutePolicies/action.json +126 -0
  325. package/entities/RoutePolicies/mockdatafiles/getAllRoutePolicies-default.json +388 -0
  326. package/entities/RoutePolicies/schema.json +24 -0
  327. package/entities/Routes/action.json +25 -0
  328. package/entities/Routes/schema.json +19 -0
  329. package/entities/Rulelists/action.json +106 -0
  330. package/entities/Rulelists/mockdatafiles/getRulelists-default.json +18 -0
  331. package/entities/Rulelists/schema.json +23 -0
  332. package/entities/Rules/action.json +106 -0
  333. package/entities/Rules/mockdatafiles/getRules-default.json +76 -0
  334. package/entities/Rules/schema.json +23 -0
  335. package/entities/SegmentResourceShares/action.json +106 -0
  336. package/entities/SegmentResourceShares/mockdatafiles/getSegmentResourceShares-default.json +64 -0
  337. package/entities/SegmentResourceShares/schema.json +34 -0
  338. package/entities/SegmentResources/action.json +106 -0
  339. package/entities/SegmentResources/mockdatafiles/getsegmentResources-default.json +108 -0
  340. package/entities/SegmentResources/schema.json +23 -0
  341. package/entities/Segments/action.json +106 -0
  342. package/entities/Segments/mockdatafiles/getsegments-default.json +196 -0
  343. package/entities/Segments/schema.json +23 -0
  344. package/entities/SplunkHECTokenCredentials/action.json +64 -0
  345. package/entities/SplunkHECTokenCredentials/schema.json +21 -0
  346. package/entities/Tenant/action.json +45 -0
  347. package/entities/Tenant/mockdatafiles/getTenant-default.json +14 -0
  348. package/entities/Tenant/mockdatafiles/updateTenant-default.json +14 -0
  349. package/entities/Tenant/schema.json +20 -0
  350. package/entities/TenantNetworks/action.json +126 -0
  351. package/entities/TenantNetworks/mockdatafiles/getTenantNetworks-default.json +5816 -0
  352. package/entities/TenantNetworks/schema.json +24 -0
  353. package/entities/TenantPreferences/action.json +45 -0
  354. package/entities/TenantPreferences/mockdatafiles/getTenantPreferences-default.json +10 -0
  355. package/entities/TenantPreferences/schema.json +20 -0
  356. package/entities/TraceRoute/action.json +44 -0
  357. package/entities/TraceRoute/schema.json +20 -0
  358. package/entities/Traffic/action.json +130 -0
  359. package/entities/Traffic/mockdatafiles/retrievesactivesessionscountforservicesinthistenant-default.json +18 -0
  360. package/entities/Traffic/mockdatafiles/retrievesinstancecountforservicesinthistenant-default.json +18 -0
  361. package/entities/Traffic/mockdatafiles/retrievestheInterCXPtraffic-default.json +53 -0
  362. package/entities/Traffic/mockdatafiles/retrievestheoveralltrafficgoingtointernetfromCXP-default.json +140 -0
  363. package/entities/Traffic/mockdatafiles/retrievestrafficstatsforconnectorsinthistenant-default.json +126 -0
  364. package/entities/Traffic/mockdatafiles/retrievestrafficstatsforservicesinthistenant-default.json +126 -0
  365. package/entities/Traffic/schema.json +24 -0
  366. package/entities/UserGroups/action.json +208 -0
  367. package/entities/UserGroups/mockdatafiles/getUserFromUserGroup-default.json +17 -0
  368. package/entities/UserGroups/mockdatafiles/getUsersInUserGroup-default.json +19 -0
  369. package/entities/UserGroups/mockdatafiles/getusergroups-default.json +23 -0
  370. package/entities/UserGroups/schema.json +28 -0
  371. package/entities/UsernamePasswordCredentials/action.json +64 -0
  372. package/entities/UsernamePasswordCredentials/schema.json +21 -0
  373. package/entities/Users/action.json +147 -0
  374. package/entities/Users/mockdatafiles/createUsersUsingPOST-default.json +17 -0
  375. package/entities/Users/mockdatafiles/getAllUsersUsingGET-default.json +70 -0
  376. package/entities/Users/mockdatafiles/getUsersByIdUsingGET-default.json +17 -0
  377. package/entities/Users/mockdatafiles/updateUsersByIdUsingPUT-default.json +17 -0
  378. package/entities/Users/schema.json +25 -0
  379. package/entities/ZscalerInternetAccessServices/action.json +106 -0
  380. package/entities/ZscalerInternetAccessServices/mockdatafiles/getZscalerInternetAccessServices-default.json +84 -0
  381. package/entities/ZscalerInternetAccessServices/schema.json +23 -0
  382. package/error.json +190 -0
  383. package/package.json +86 -0
  384. package/pronghorn.json +44773 -0
  385. package/propertiesDecorators.json +14 -0
  386. package/propertiesSchema.json +1248 -0
  387. package/refs?service=git-upload-pack +0 -0
  388. package/report/adapterInfo.json +10 -0
  389. package/report/alkira_swagger.json-OpenApi3Json.json +50699 -0
  390. package/report/creationReport.json +3472 -0
  391. package/sampleProperties.json +195 -0
  392. package/test/integration/adapterTestBasicGet.js +83 -0
  393. package/test/integration/adapterTestConnectivity.js +93 -0
  394. package/test/integration/adapterTestIntegration.js +12410 -0
  395. package/test/unit/adapterBaseTestUnit.js +949 -0
  396. package/test/unit/adapterTestUnit.js +19120 -0
  397. package/utils/adapterInfo.js +206 -0
  398. package/utils/addAuth.js +94 -0
  399. package/utils/artifactize.js +146 -0
  400. package/utils/basicGet.js +50 -0
  401. package/utils/checkMigrate.js +63 -0
  402. package/utils/entitiesToDB.js +178 -0
  403. package/utils/findPath.js +74 -0
  404. package/utils/methodDocumentor.js +225 -0
  405. package/utils/modify.js +154 -0
  406. package/utils/packModificationScript.js +35 -0
  407. package/utils/patches2bundledDeps.js +90 -0
  408. package/utils/pre-commit.sh +32 -0
  409. package/utils/removeHooks.js +20 -0
  410. package/utils/setup.js +33 -0
  411. package/utils/tbScript.js +246 -0
  412. package/utils/tbUtils.js +490 -0
  413. package/utils/testRunner.js +298 -0
  414. package/utils/troubleshootingAdapter.js +195 -0
  415. package/workflows/README.md +3 -0
@@ -0,0 +1,110 @@
1
+ [
2
+ {
3
+ "pagination": {
4
+ "offset": 250,
5
+ "limit": 50,
6
+ "hits": 1025
7
+ },
8
+ "data": [
9
+ {
10
+ "referrer": "string",
11
+ "ip": "string",
12
+ "createdAt": 6
13
+ },
14
+ {
15
+ "referrer": "string",
16
+ "ip": "string",
17
+ "createdAt": 10
18
+ },
19
+ {
20
+ "referrer": "string",
21
+ "ip": "string",
22
+ "createdAt": 5
23
+ },
24
+ {
25
+ "referrer": "string",
26
+ "ip": "string",
27
+ "createdAt": 8
28
+ },
29
+ {
30
+ "referrer": "string",
31
+ "ip": "string",
32
+ "createdAt": 2
33
+ },
34
+ {
35
+ "referrer": "string",
36
+ "ip": "string",
37
+ "createdAt": 1
38
+ },
39
+ {
40
+ "referrer": "string",
41
+ "ip": "string",
42
+ "createdAt": 4
43
+ },
44
+ {
45
+ "referrer": "string",
46
+ "ip": "string",
47
+ "createdAt": 6
48
+ },
49
+ {
50
+ "referrer": "string",
51
+ "ip": "string",
52
+ "createdAt": 8
53
+ },
54
+ {
55
+ "referrer": "string",
56
+ "ip": "string",
57
+ "createdAt": 5
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "pagination": {
63
+ "offset": 250,
64
+ "limit": 50,
65
+ "hits": 1025
66
+ },
67
+ "data": [
68
+ {
69
+ "referrer": "string",
70
+ "ip": "string",
71
+ "createdAt": 10
72
+ },
73
+ {
74
+ "referrer": "string",
75
+ "ip": "string",
76
+ "createdAt": 4
77
+ },
78
+ {
79
+ "referrer": "string",
80
+ "ip": "string",
81
+ "createdAt": 5
82
+ },
83
+ {
84
+ "referrer": "string",
85
+ "ip": "string",
86
+ "createdAt": 3
87
+ },
88
+ {
89
+ "referrer": "string",
90
+ "ip": "string",
91
+ "createdAt": 8
92
+ },
93
+ {
94
+ "referrer": "string",
95
+ "ip": "string",
96
+ "createdAt": 6
97
+ },
98
+ {
99
+ "referrer": "string",
100
+ "ip": "string",
101
+ "createdAt": 7
102
+ },
103
+ {
104
+ "referrer": "string",
105
+ "ip": "string",
106
+ "createdAt": 6
107
+ }
108
+ ]
109
+ }
110
+ ]
@@ -0,0 +1,25 @@
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": "getAllBYOIP",
12
+ "enum": [
13
+ "getAllBYOIP",
14
+ "createBYOIP",
15
+ "deleteAllBYOIP",
16
+ "getBYOIP",
17
+ "updateBYOIP",
18
+ "deleteBYOIP",
19
+ "getBYOIPReferences"
20
+ ],
21
+ "external_name": "ph_request_type"
22
+ }
23
+ },
24
+ "definitions": {}
25
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getconnectors",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/connectors?{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/getconnectors-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getConnector",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/connectors/{pathv2}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": "mockdatafiles/getConnector-default.json"
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "id": 1,
3
+ "tenantId": 1234,
4
+ "tenantNetworkId": 1234,
5
+ "name": "connector1",
6
+ "internalName": "string",
7
+ "description": "hadoop clusters",
8
+ "cxp": null,
9
+ "cxpId": "5c003a92-77df-11ec-90d6-0242ac120003",
10
+ "type": null,
11
+ "productId": "47709960-77e3-11ec-90d6-0242ac120003",
12
+ "group": "INTERNAL",
13
+ "groupId": 76,
14
+ "tagId": 47,
15
+ "implicitGroupId": 32,
16
+ "segments": [
17
+ "ENGG"
18
+ ],
19
+ "segmentIds": [
20
+ 55
21
+ ],
22
+ "segmentOptions": {},
23
+ "extraAttributes": {},
24
+ "instances": [
25
+ {
26
+ "id": 44,
27
+ "name": "test",
28
+ "tenantId": 1234,
29
+ "tenantNetworkId": 1234,
30
+ "connectorId": 1,
31
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
32
+ "state": {},
33
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
34
+ "docState": {},
35
+ "deletedAt": 1642458243000,
36
+ "configAvailable": true,
37
+ "enableTunnelRedundancy": false,
38
+ "billingTags": [
39
+ 1,
40
+ 2
41
+ ],
42
+ "extraAttributes": {}
43
+ },
44
+ {
45
+ "id": 44,
46
+ "name": "test",
47
+ "tenantId": 1234,
48
+ "tenantNetworkId": 1234,
49
+ "connectorId": 1,
50
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
51
+ "state": {},
52
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
53
+ "docState": {},
54
+ "deletedAt": 1642458243000,
55
+ "configAvailable": true,
56
+ "enableTunnelRedundancy": false,
57
+ "billingTags": [
58
+ 1,
59
+ 2
60
+ ],
61
+ "extraAttributes": {}
62
+ }
63
+ ],
64
+ "state": {},
65
+ "size": null,
66
+ "asn": 65512,
67
+ "docState": {},
68
+ "deletedAt": -1,
69
+ "lastProvisionedAt": 1657063116,
70
+ "lastEnabled": 1657063116,
71
+ "lastConfigUpdatedAt": 1657061851242,
72
+ "configDownloadedAt": 1657070000,
73
+ "configAvailable": true,
74
+ "billingTags": [
75
+ 1,
76
+ 2
77
+ ]
78
+ }
@@ -0,0 +1,350 @@
1
+ [
2
+ {
3
+ "id": 1,
4
+ "tenantId": 1234,
5
+ "tenantNetworkId": 1234,
6
+ "name": "connector1",
7
+ "internalName": "string",
8
+ "description": "hadoop clusters",
9
+ "cxp": null,
10
+ "cxpId": "5c003a92-77df-11ec-90d6-0242ac120003",
11
+ "type": null,
12
+ "productId": "47709960-77e3-11ec-90d6-0242ac120003",
13
+ "group": "INTERNAL",
14
+ "groupId": 76,
15
+ "tagId": 47,
16
+ "implicitGroupId": 32,
17
+ "segments": [
18
+ "ENGG"
19
+ ],
20
+ "segmentIds": [
21
+ 55
22
+ ],
23
+ "segmentOptions": {},
24
+ "extraAttributes": {},
25
+ "instances": [
26
+ {
27
+ "id": 44,
28
+ "name": "test",
29
+ "tenantId": 1234,
30
+ "tenantNetworkId": 1234,
31
+ "connectorId": 1,
32
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
33
+ "state": {},
34
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
35
+ "docState": {},
36
+ "deletedAt": 1642458243000,
37
+ "configAvailable": true,
38
+ "enableTunnelRedundancy": true,
39
+ "billingTags": [
40
+ 1,
41
+ 2
42
+ ],
43
+ "extraAttributes": {}
44
+ }
45
+ ],
46
+ "state": {},
47
+ "size": null,
48
+ "asn": 65512,
49
+ "docState": {},
50
+ "deletedAt": -1,
51
+ "lastProvisionedAt": 1657063116,
52
+ "lastEnabled": 1657063116,
53
+ "lastConfigUpdatedAt": 1657061851242,
54
+ "configDownloadedAt": 1657070000,
55
+ "configAvailable": true,
56
+ "billingTags": [
57
+ 1,
58
+ 2
59
+ ]
60
+ },
61
+ {
62
+ "id": 1,
63
+ "tenantId": 1234,
64
+ "tenantNetworkId": 1234,
65
+ "name": "connector1",
66
+ "internalName": "string",
67
+ "description": "hadoop clusters",
68
+ "cxp": null,
69
+ "cxpId": "5c003a92-77df-11ec-90d6-0242ac120003",
70
+ "type": null,
71
+ "productId": "47709960-77e3-11ec-90d6-0242ac120003",
72
+ "group": "INTERNAL",
73
+ "groupId": 76,
74
+ "tagId": 47,
75
+ "implicitGroupId": 32,
76
+ "segments": [
77
+ "ENGG"
78
+ ],
79
+ "segmentIds": [
80
+ 55
81
+ ],
82
+ "segmentOptions": {},
83
+ "extraAttributes": {},
84
+ "instances": [
85
+ {
86
+ "id": 44,
87
+ "name": "test",
88
+ "tenantId": 1234,
89
+ "tenantNetworkId": 1234,
90
+ "connectorId": 1,
91
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
92
+ "state": {},
93
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
94
+ "docState": {},
95
+ "deletedAt": 1642458243000,
96
+ "configAvailable": true,
97
+ "enableTunnelRedundancy": false,
98
+ "billingTags": [
99
+ 1,
100
+ 2
101
+ ],
102
+ "extraAttributes": {}
103
+ },
104
+ {
105
+ "id": 44,
106
+ "name": "test",
107
+ "tenantId": 1234,
108
+ "tenantNetworkId": 1234,
109
+ "connectorId": 1,
110
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
111
+ "state": {},
112
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
113
+ "docState": {},
114
+ "deletedAt": 1642458243000,
115
+ "configAvailable": true,
116
+ "enableTunnelRedundancy": false,
117
+ "billingTags": [
118
+ 1,
119
+ 2
120
+ ],
121
+ "extraAttributes": {}
122
+ },
123
+ {
124
+ "id": 44,
125
+ "name": "test",
126
+ "tenantId": 1234,
127
+ "tenantNetworkId": 1234,
128
+ "connectorId": 1,
129
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
130
+ "state": {},
131
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
132
+ "docState": {},
133
+ "deletedAt": 1642458243000,
134
+ "configAvailable": true,
135
+ "enableTunnelRedundancy": true,
136
+ "billingTags": [
137
+ 1,
138
+ 2
139
+ ],
140
+ "extraAttributes": {}
141
+ },
142
+ {
143
+ "id": 44,
144
+ "name": "test",
145
+ "tenantId": 1234,
146
+ "tenantNetworkId": 1234,
147
+ "connectorId": 1,
148
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
149
+ "state": {},
150
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
151
+ "docState": {},
152
+ "deletedAt": 1642458243000,
153
+ "configAvailable": true,
154
+ "enableTunnelRedundancy": false,
155
+ "billingTags": [
156
+ 1,
157
+ 2
158
+ ],
159
+ "extraAttributes": {}
160
+ },
161
+ {
162
+ "id": 44,
163
+ "name": "test",
164
+ "tenantId": 1234,
165
+ "tenantNetworkId": 1234,
166
+ "connectorId": 1,
167
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
168
+ "state": {},
169
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
170
+ "docState": {},
171
+ "deletedAt": 1642458243000,
172
+ "configAvailable": true,
173
+ "enableTunnelRedundancy": false,
174
+ "billingTags": [
175
+ 1,
176
+ 2
177
+ ],
178
+ "extraAttributes": {}
179
+ },
180
+ {
181
+ "id": 44,
182
+ "name": "test",
183
+ "tenantId": 1234,
184
+ "tenantNetworkId": 1234,
185
+ "connectorId": 1,
186
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
187
+ "state": {},
188
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
189
+ "docState": {},
190
+ "deletedAt": 1642458243000,
191
+ "configAvailable": true,
192
+ "enableTunnelRedundancy": true,
193
+ "billingTags": [
194
+ 1,
195
+ 2
196
+ ],
197
+ "extraAttributes": {}
198
+ }
199
+ ],
200
+ "state": {},
201
+ "size": null,
202
+ "asn": 65512,
203
+ "docState": {},
204
+ "deletedAt": -1,
205
+ "lastProvisionedAt": 1657063116,
206
+ "lastEnabled": 1657063116,
207
+ "lastConfigUpdatedAt": 1657061851242,
208
+ "configDownloadedAt": 1657070000,
209
+ "configAvailable": true,
210
+ "billingTags": [
211
+ 1,
212
+ 2
213
+ ]
214
+ },
215
+ {
216
+ "id": 1,
217
+ "tenantId": 1234,
218
+ "tenantNetworkId": 1234,
219
+ "name": "connector1",
220
+ "internalName": "string",
221
+ "description": "hadoop clusters",
222
+ "cxp": null,
223
+ "cxpId": "5c003a92-77df-11ec-90d6-0242ac120003",
224
+ "type": null,
225
+ "productId": "47709960-77e3-11ec-90d6-0242ac120003",
226
+ "group": "INTERNAL",
227
+ "groupId": 76,
228
+ "tagId": 47,
229
+ "implicitGroupId": 32,
230
+ "segments": [
231
+ "ENGG"
232
+ ],
233
+ "segmentIds": [
234
+ 55
235
+ ],
236
+ "segmentOptions": {},
237
+ "extraAttributes": {},
238
+ "instances": [
239
+ {
240
+ "id": 44,
241
+ "name": "test",
242
+ "tenantId": 1234,
243
+ "tenantNetworkId": 1234,
244
+ "connectorId": 1,
245
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
246
+ "state": {},
247
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
248
+ "docState": {},
249
+ "deletedAt": 1642458243000,
250
+ "configAvailable": true,
251
+ "enableTunnelRedundancy": false,
252
+ "billingTags": [
253
+ 1,
254
+ 2
255
+ ],
256
+ "extraAttributes": {}
257
+ },
258
+ {
259
+ "id": 44,
260
+ "name": "test",
261
+ "tenantId": 1234,
262
+ "tenantNetworkId": 1234,
263
+ "connectorId": 1,
264
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
265
+ "state": {},
266
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
267
+ "docState": {},
268
+ "deletedAt": 1642458243000,
269
+ "configAvailable": true,
270
+ "enableTunnelRedundancy": true,
271
+ "billingTags": [
272
+ 1,
273
+ 2
274
+ ],
275
+ "extraAttributes": {}
276
+ },
277
+ {
278
+ "id": 44,
279
+ "name": "test",
280
+ "tenantId": 1234,
281
+ "tenantNetworkId": 1234,
282
+ "connectorId": 1,
283
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
284
+ "state": {},
285
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
286
+ "docState": {},
287
+ "deletedAt": 1642458243000,
288
+ "configAvailable": true,
289
+ "enableTunnelRedundancy": false,
290
+ "billingTags": [
291
+ 1,
292
+ 2
293
+ ],
294
+ "extraAttributes": {}
295
+ },
296
+ {
297
+ "id": 44,
298
+ "name": "test",
299
+ "tenantId": 1234,
300
+ "tenantNetworkId": 1234,
301
+ "connectorId": 1,
302
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
303
+ "state": {},
304
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
305
+ "docState": {},
306
+ "deletedAt": 1642458243000,
307
+ "configAvailable": true,
308
+ "enableTunnelRedundancy": true,
309
+ "billingTags": [
310
+ 1,
311
+ 2
312
+ ],
313
+ "extraAttributes": {}
314
+ },
315
+ {
316
+ "id": 44,
317
+ "name": "test",
318
+ "tenantId": 1234,
319
+ "tenantNetworkId": 1234,
320
+ "connectorId": 1,
321
+ "productId": "e504d25e-77e3-11ec-90d6-0242ac120003",
322
+ "state": {},
323
+ "internalName": "coni-sd_wan-0cfa42bc-04ed-4da2-afae-43327c3d",
324
+ "docState": {},
325
+ "deletedAt": 1642458243000,
326
+ "configAvailable": true,
327
+ "enableTunnelRedundancy": true,
328
+ "billingTags": [
329
+ 1,
330
+ 2
331
+ ],
332
+ "extraAttributes": {}
333
+ }
334
+ ],
335
+ "state": {},
336
+ "size": null,
337
+ "asn": 65512,
338
+ "docState": {},
339
+ "deletedAt": -1,
340
+ "lastProvisionedAt": 1657063116,
341
+ "lastEnabled": 1657063116,
342
+ "lastConfigUpdatedAt": 1657061851242,
343
+ "configDownloadedAt": 1657070000,
344
+ "configAvailable": true,
345
+ "billingTags": [
346
+ 1,
347
+ 2
348
+ ]
349
+ }
350
+ ]
@@ -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": "getconnectors",
12
+ "enum": [
13
+ "getconnectors",
14
+ "getConnector"
15
+ ],
16
+ "external_name": "ph_request_type"
17
+ }
18
+ },
19
+ "definitions": {}
20
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "actions": [
3
+ {
4
+ "name": "getservices",
5
+ "protocol": "REST",
6
+ "method": "GET",
7
+ "entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/services?{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/getservices-default.json"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "name": "getService",
26
+ "protocol": "REST",
27
+ "method": "GET",
28
+ "entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/services/{pathv2}?{query}",
29
+ "requestSchema": "schema.json",
30
+ "responseSchema": "schema.json",
31
+ "timeout": 0,
32
+ "sendEmpty": false,
33
+ "sendGetBody": false,
34
+ "requestDatatype": "JSON",
35
+ "responseDatatype": "JSON",
36
+ "headers": {},
37
+ "responseObjects": [
38
+ {
39
+ "type": "default",
40
+ "key": "",
41
+ "mockFile": ""
42
+ }
43
+ ]
44
+ }
45
+ ]
46
+ }