@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.
- package/.eslintignore +6 -0
- package/.eslintrc.js +18 -0
- package/.gitlab/.gitkeep +0 -0
- package/.gitlab/issue_templates/.gitkeep +0 -0
- package/.gitlab/issue_templates/Default.md +17 -0
- package/.gitlab/issue_templates/bugReportTemplate.md +76 -0
- package/.gitlab/issue_templates/featureRequestTemplate.md +14 -0
- package/.jshintrc +0 -0
- package/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +2818 -0
- package/CHANGELOG.md +9 -0
- package/CODE_OF_CONDUCT.md +43 -0
- package/CONTRIBUTING.md +172 -0
- package/ENHANCE.md +69 -0
- package/LICENSE +201 -0
- package/PROPERTIES.md +641 -0
- package/README.md +337 -0
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +39117 -0
- package/adapterBase.js +1787 -0
- package/entities/.generic/action.json +214 -0
- package/entities/.generic/schema.json +28 -0
- package/entities/.system/action.json +50 -0
- package/entities/.system/mockdatafiles/getToken-default.json +3 -0
- package/entities/.system/mockdatafiles/healthcheck-default.json +3 -0
- package/entities/.system/schema.json +19 -0
- package/entities/.system/schemaTokenReq.json +53 -0
- package/entities/.system/schemaTokenResp.json +53 -0
- package/entities/ASPathLists/action.json +126 -0
- package/entities/ASPathLists/mockdatafiles/getAllAsPathLists-default.json +13 -0
- package/entities/ASPathLists/schema.json +24 -0
- package/entities/AWSVPCConnectors/action.json +106 -0
- package/entities/AWSVPCConnectors/mockdatafiles/getAWSVPCConnector-default.json +91 -0
- package/entities/AWSVPCConnectors/mockdatafiles/getawsvpcconnectors-default.json +312 -0
- package/entities/AWSVPCConnectors/schema.json +23 -0
- package/entities/AWSVPCCredentials/action.json +64 -0
- package/entities/AWSVPCCredentials/schema.json +21 -0
- package/entities/ActiveNATTranslation/action.json +44 -0
- package/entities/ActiveNATTranslation/schema.json +20 -0
- package/entities/AkamaiProlexicConnectors/action.json +106 -0
- package/entities/AkamaiProlexicConnectors/mockdatafiles/getAkamaiProlexicConnector-default.json +167 -0
- package/entities/AkamaiProlexicConnectors/mockdatafiles/getAkamaiProlexicconnectors-default.json +863 -0
- package/entities/AkamaiProlexicConnectors/schema.json +23 -0
- package/entities/AkamaiProlexicCredentials/action.json +44 -0
- package/entities/AkamaiProlexicCredentials/schema.json +20 -0
- package/entities/Alerts/action.json +67 -0
- package/entities/Alerts/schema.json +21 -0
- package/entities/ArubaEdgeConnectConnectors/action.json +127 -0
- package/entities/ArubaEdgeConnectConnectors/mockdatafiles/getArubaEdgeConnectConnector-default.json +98 -0
- package/entities/ArubaEdgeConnectConnectors/mockdatafiles/getArubaEdgeconnectconnectors-default.json +89 -0
- package/entities/ArubaEdgeConnectConnectors/schema.json +24 -0
- package/entities/ArubaEdgeConnectCredentials/action.json +44 -0
- package/entities/ArubaEdgeConnectCredentials/schema.json +20 -0
- package/entities/AuditLogs/action.json +46 -0
- package/entities/AuditLogs/schema.json +20 -0
- package/entities/Authentication/action.json +165 -0
- package/entities/Authentication/schema.json +26 -0
- package/entities/AzureCredentials/action.json +64 -0
- package/entities/AzureCredentials/schema.json +21 -0
- package/entities/AzureErConnectors/action.json +127 -0
- package/entities/AzureErConnectors/mockdatafiles/getAzureErConnector-default.json +154 -0
- package/entities/AzureErConnectors/mockdatafiles/getAzureErConnectors-default.json +88 -0
- package/entities/AzureErConnectors/schema.json +24 -0
- package/entities/AzureVNETConnectors/action.json +106 -0
- package/entities/AzureVNETConnectors/mockdatafiles/getazurevnetconnectors-default.json +308 -0
- package/entities/AzureVNETConnectors/schema.json +23 -0
- package/entities/BYOIP/action.json +147 -0
- package/entities/BYOIP/mockdatafiles/createBYOIP-default.json +14 -0
- package/entities/BYOIP/mockdatafiles/getAllBYOIP-default.json +16 -0
- package/entities/BYOIP/mockdatafiles/getBYOIP-default.json +58 -0
- package/entities/BYOIP/mockdatafiles/getBYOIPReferences-default.json +110 -0
- package/entities/BYOIP/schema.json +25 -0
- package/entities/BaseConnectors/action.json +46 -0
- package/entities/BaseConnectors/mockdatafiles/getConnector-default.json +78 -0
- package/entities/BaseConnectors/mockdatafiles/getconnectors-default.json +350 -0
- package/entities/BaseConnectors/schema.json +20 -0
- package/entities/BaseServices/action.json +46 -0
- package/entities/BaseServices/mockdatafiles/getservices-default.json +296 -0
- package/entities/BaseServices/schema.json +20 -0
- package/entities/BillingInfo/action.json +25 -0
- package/entities/BillingInfo/schema.json +19 -0
- package/entities/BillingTags/action.json +106 -0
- package/entities/BillingTags/mockdatafiles/getbillingtags-default.json +46 -0
- package/entities/BillingTags/schema.json +23 -0
- package/entities/CXPs/action.json +25 -0
- package/entities/CXPs/mockdatafiles/getCXPs-default.json +44 -0
- package/entities/CXPs/schema.json +19 -0
- package/entities/CheckPointFWManagementServerCredentials/action.json +64 -0
- package/entities/CheckPointFWManagementServerCredentials/schema.json +21 -0
- package/entities/CheckPointFWServiceCredentials/action.json +64 -0
- package/entities/CheckPointFWServiceCredentials/schema.json +21 -0
- package/entities/CheckPointFWServiceInstanceCredentials/action.json +64 -0
- package/entities/CheckPointFWServiceInstanceCredentials/schema.json +21 -0
- package/entities/CheckPointFWServices/action.json +127 -0
- package/entities/CheckPointFWServices/mockdatafiles/getCheckPointFWServices-default.json +94 -0
- package/entities/CheckPointFWServices/schema.json +24 -0
- package/entities/CiscoFTDvFWCredentials/action.json +64 -0
- package/entities/CiscoFTDvFWCredentials/schema.json +21 -0
- package/entities/CiscoFTDvFWInstanceCredentials/action.json +64 -0
- package/entities/CiscoFTDvFWInstanceCredentials/schema.json +21 -0
- package/entities/CiscoFTDvFWServices/action.json +127 -0
- package/entities/CiscoFTDvFWServices/mockdatafiles/createCiscoFTDvFWService-default.json +78 -0
- package/entities/CiscoFTDvFWServices/mockdatafiles/deleteCiscoFTDvFWService-default.json +87 -0
- package/entities/CiscoFTDvFWServices/mockdatafiles/getCiscoFTDvFWService-default.json +51 -0
- package/entities/CiscoFTDvFWServices/mockdatafiles/getCiscoFTDvFWServices-default.json +245 -0
- package/entities/CiscoFTDvFWServices/mockdatafiles/updateCiscoFTDvFWService-default.json +114 -0
- package/entities/CiscoFTDvFWServices/schema.json +24 -0
- package/entities/CiscoSDWANConnectors/action.json +127 -0
- package/entities/CiscoSDWANConnectors/mockdatafiles/getciscosdwaningresses-default.json +559 -0
- package/entities/CiscoSDWANConnectors/schema.json +24 -0
- package/entities/CiscoSDWANInstanceCredentials/action.json +64 -0
- package/entities/CiscoSDWANInstanceCredentials/schema.json +21 -0
- package/entities/CloudInsight/action.json +107 -0
- package/entities/CloudInsight/mockdatafiles/getCloudInsight-default.json +93 -0
- package/entities/CloudInsight/mockdatafiles/getCloudInsightCategorySummaries-default.json +348 -0
- package/entities/CloudInsight/schema.json +23 -0
- package/entities/CloudInsightDefinition/action.json +87 -0
- package/entities/CloudInsightDefinition/schema.json +22 -0
- package/entities/CloudInsightRefreshRequest/action.json +86 -0
- package/entities/CloudInsightRefreshRequest/mockdatafiles/getCloudInsightRefreshRequest-default.json +6 -0
- package/entities/CloudInsightRefreshRequest/schema.json +22 -0
- package/entities/CloudInsightReport/action.json +86 -0
- package/entities/CloudInsightReport/mockdatafiles/getCloudInsightReport-default.json +617 -0
- package/entities/CloudInsightReport/schema.json +22 -0
- package/entities/CloudInsightReportConfiguration/action.json +86 -0
- package/entities/CloudInsightReportConfiguration/mockdatafiles/getCloudInsightReportConfiguration-default.json +34 -0
- package/entities/CloudInsightReportConfiguration/schema.json +22 -0
- package/entities/CloudNativeServices/action.json +25 -0
- package/entities/CloudNativeServices/mockdatafiles/getCloudNativeServices-default.json +83 -0
- package/entities/CloudNativeServices/schema.json +19 -0
- package/entities/CloudProviderAccount/action.json +126 -0
- package/entities/CloudProviderAccount/mockdatafiles/getCloudProviderAccount-default.json +10 -0
- package/entities/CloudProviderAccount/mockdatafiles/getCloudProviderAccounts-default.json +32 -0
- package/entities/CloudProviderAccount/schema.json +24 -0
- package/entities/CloudProviderObject/action.json +109 -0
- package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObject-default.json +52 -0
- package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectCountByTimes-default.json +27 -0
- package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectCounts-default.json +22 -0
- package/entities/CloudProviderObject/mockdatafiles/getCloudProviderObjectTags-default.json +23 -0
- package/entities/CloudProviderObject/schema.json +23 -0
- package/entities/CloudProviderObjectSyncRequest/action.json +86 -0
- package/entities/CloudProviderObjectSyncRequest/mockdatafiles/getCloudProviderObjectSyncRequest-default.json +10 -0
- package/entities/CloudProviderObjectSyncRequest/schema.json +22 -0
- package/entities/CommunityLists/action.json +126 -0
- package/entities/CommunityLists/mockdatafiles/getAllCommunityLists-default.json +42 -0
- package/entities/CommunityLists/schema.json +24 -0
- package/entities/Credentials/action.json +25 -0
- package/entities/Credentials/mockdatafiles/getallcredentials-default.json +14 -0
- package/entities/Credentials/schema.json +19 -0
- package/entities/DirectConnectConnectors/action.json +127 -0
- package/entities/DirectConnectConnectors/mockdatafiles/getdirectconnectconnectors-default.json +862 -0
- package/entities/DirectConnectConnectors/schema.json +24 -0
- package/entities/ExtendedCommunityLists/action.json +126 -0
- package/entities/ExtendedCommunityLists/mockdatafiles/getAllExtendedCommunityLists-default.json +50 -0
- package/entities/ExtendedCommunityLists/schema.json +24 -0
- package/entities/FeatureFlags/action.json +46 -0
- package/entities/FeatureFlags/mockdatafiles/getTenantEnabledFeatures-default.json +3 -0
- package/entities/FeatureFlags/schema.json +20 -0
- package/entities/FirewallZones/action.json +46 -0
- package/entities/FirewallZones/mockdatafiles/getfirewallzones-default.json +91 -0
- package/entities/FirewallZones/schema.json +20 -0
- package/entities/FlowCapture/action.json +44 -0
- package/entities/FlowCapture/schema.json +20 -0
- package/entities/Flows/action.json +151 -0
- package/entities/Flows/schema.json +25 -0
- package/entities/FortinetFWServiceCredentials/action.json +64 -0
- package/entities/FortinetFWServiceCredentials/schema.json +21 -0
- package/entities/FortinetFWServiceInstanceCredentials/action.json +64 -0
- package/entities/FortinetFWServiceInstanceCredentials/schema.json +21 -0
- package/entities/FortinetFWServices/action.json +127 -0
- package/entities/FortinetFWServices/mockdatafiles/createFortinetFWService-default.json +64 -0
- package/entities/FortinetFWServices/mockdatafiles/getFortinetFWService-default.json +64 -0
- package/entities/FortinetFWServices/mockdatafiles/getFortinetFWServices-default.json +155 -0
- package/entities/FortinetFWServices/mockdatafiles/updateFortinetFWService-default.json +93 -0
- package/entities/FortinetFWServices/schema.json +24 -0
- package/entities/GCPConnectors/action.json +106 -0
- package/entities/GCPConnectors/mockdatafiles/getgcpconnectors-default.json +71 -0
- package/entities/GCPConnectors/schema.json +23 -0
- package/entities/GCPCredentials/action.json +64 -0
- package/entities/GCPCredentials/schema.json +21 -0
- package/entities/GetMessages/action.json +25 -0
- package/entities/GetMessages/mockdatafiles/getMessages-default.json +46 -0
- package/entities/GetMessages/schema.json +19 -0
- package/entities/GlobalCidrLists/action.json +106 -0
- package/entities/GlobalCidrLists/mockdatafiles/createGlobalCidrList-default.json +12 -0
- package/entities/GlobalCidrLists/mockdatafiles/getGlobalCidrList-default.json +12 -0
- package/entities/GlobalCidrLists/mockdatafiles/getGlobalCidrLists-default.json +50 -0
- package/entities/GlobalCidrLists/mockdatafiles/updateGlobalCidrList-default.json +12 -0
- package/entities/GlobalCidrLists/schema.json +34 -0
- package/entities/Groups/action.json +106 -0
- package/entities/Groups/mockdatafiles/getgroups-default.json +107 -0
- package/entities/Groups/schema.json +23 -0
- package/entities/Health/action.json +151 -0
- package/entities/Health/mockdatafiles/retrieveshealthforallconnectorsandservicesinthistenant-default.json +399 -0
- package/entities/Health/mockdatafiles/retrieveshealthforallinternetapplicationsinthistenant-default.json +1254 -0
- package/entities/Health/mockdatafiles/retrieveshealthforaspecificconnectorinthistenant-default.json +751 -0
- package/entities/Health/mockdatafiles/retrieveshealthforaspecificfirewalzoneinthistenant-default.json +1086 -0
- package/entities/Health/mockdatafiles/retrieveshealthforaspecificinstanceofaconnectorinthistenant-default.json +1352 -0
- package/entities/Health/mockdatafiles/retrieveshealthforaspecificinstanceofaserviceinthistenant-default.json +803 -0
- package/entities/Health/mockdatafiles/retrieveshealthforaspecificserviceinthistenant-default.json +730 -0
- package/entities/Health/schema.json +25 -0
- package/entities/Healthv3/action.json +25 -0
- package/entities/Healthv3/schema.json +19 -0
- package/entities/IPSecConnectors/action.json +127 -0
- package/entities/IPSecConnectors/mockdatafiles/getipsecconnectors-default.json +826 -0
- package/entities/IPSecConnectors/schema.json +24 -0
- package/entities/IdentityProviders/action.json +106 -0
- package/entities/IdentityProviders/mockdatafiles/getIdentityProvidersUsingGET-default.json +37 -0
- package/entities/IdentityProviders/schema.json +23 -0
- package/entities/InfoBloxCredentials/action.json +24 -0
- package/entities/InfoBloxCredentials/schema.json +19 -0
- package/entities/InfoBloxGridMasterCredentials/action.json +24 -0
- package/entities/InfoBloxGridMasterCredentials/schema.json +19 -0
- package/entities/InfoBloxInstanceCredentials/action.json +24 -0
- package/entities/InfoBloxInstanceCredentials/schema.json +19 -0
- package/entities/InfoBloxServices/action.json +106 -0
- package/entities/InfoBloxServices/mockdatafiles/getInfoBloxServices-default.json +220 -0
- package/entities/InfoBloxServices/schema.json +23 -0
- package/entities/Integration/action.json +126 -0
- package/entities/Integration/mockdatafiles/createIntegration-default.json +6 -0
- package/entities/Integration/mockdatafiles/deleteIntegration-default.json +6 -0
- package/entities/Integration/mockdatafiles/deleteIntegrations-default.json +8 -0
- package/entities/Integration/mockdatafiles/getIntegrations-default.json +26 -0
- package/entities/Integration/mockdatafiles/getIntegrationsByTypeAndSubType-default.json +20 -0
- package/entities/Integration/mockdatafiles/updateIntegration-default.json +6 -0
- package/entities/Integration/schema.json +24 -0
- package/entities/InternetApplications/action.json +106 -0
- package/entities/InternetApplications/mockdatafiles/getinternetapplications-default.json +383 -0
- package/entities/InternetApplications/schema.json +23 -0
- package/entities/InternetConnectors/action.json +127 -0
- package/entities/InternetConnectors/mockdatafiles/getInternetConnectorConfiguration-default.json +35 -0
- package/entities/InternetConnectors/mockdatafiles/getinternetconnectors-default.json +30 -0
- package/entities/InternetConnectors/schema.json +24 -0
- package/entities/InvoiceSummaries/action.json +46 -0
- package/entities/InvoiceSummaries/schema.json +20 -0
- package/entities/Invoices/action.json +46 -0
- package/entities/Invoices/schema.json +20 -0
- package/entities/Jobs/action.json +46 -0
- package/entities/Jobs/schema.json +20 -0
- package/entities/KeyPairCredentials/action.json +44 -0
- package/entities/KeyPairCredentials/schema.json +20 -0
- package/entities/LDAPCredentials/action.json +64 -0
- package/entities/LDAPCredentials/schema.json +21 -0
- package/entities/LoginSpecification/action.json +65 -0
- package/entities/LoginSpecification/mockdatafiles/createOrUpdateLoginSpecification-default.json +6 -0
- package/entities/LoginSpecification/mockdatafiles/getLoginSpecification-default.json +6 -0
- package/entities/LoginSpecification/schema.json +21 -0
- package/entities/Logs/action.json +44 -0
- package/entities/Logs/schema.json +20 -0
- package/entities/Meters/action.json +46 -0
- package/entities/Meters/schema.json +20 -0
- package/entities/NATPolicies/action.json +106 -0
- package/entities/NATPolicies/mockdatafiles/getNATPolicies-default.json +46 -0
- package/entities/NATPolicies/schema.json +34 -0
- package/entities/NATRules/action.json +106 -0
- package/entities/NATRules/mockdatafiles/getNATRules-default.json +312 -0
- package/entities/NATRules/schema.json +34 -0
- package/entities/OCIVCNConnectors/action.json +106 -0
- package/entities/OCIVCNConnectors/mockdatafiles/getOCIVCNConnectors-default.json +148 -0
- package/entities/OCIVCNConnectors/schema.json +34 -0
- package/entities/OCIVCNCredentials/action.json +64 -0
- package/entities/OCIVCNCredentials/schema.json +21 -0
- package/entities/OneTimePassword/action.json +85 -0
- package/entities/OneTimePassword/mockdatafiles/createOneTimePassword-default.json +10 -0
- package/entities/OneTimePassword/mockdatafiles/getAllUnexpiredOTP-default.json +42 -0
- package/entities/OneTimePassword/schema.json +22 -0
- package/entities/PANCredentials/action.json +64 -0
- package/entities/PANCredentials/schema.json +21 -0
- package/entities/PANFWServices/action.json +188 -0
- package/entities/PANFWServices/mockdatafiles/getpanfwservices-default.json +455 -0
- package/entities/PANFWServices/schema.json +27 -0
- package/entities/PANInstanceCredentials/action.json +64 -0
- package/entities/PANInstanceCredentials/schema.json +21 -0
- package/entities/PANMasterKeyCredentials/action.json +64 -0
- package/entities/PANMasterKeyCredentials/schema.json +21 -0
- package/entities/PANRegistrationCredentials/action.json +64 -0
- package/entities/PANRegistrationCredentials/schema.json +21 -0
- package/entities/PacketCapture/action.json +66 -0
- package/entities/PacketCapture/mockdatafiles/getPacketCaptureResponses-default.json +35 -0
- package/entities/PacketCapture/schema.json +32 -0
- package/entities/PasswordSpecification/action.json +65 -0
- package/entities/PasswordSpecification/mockdatafiles/createOrUpdatePasswordSpecification-default.json +9 -0
- package/entities/PasswordSpecification/mockdatafiles/getPasswordSpecification-default.json +9 -0
- package/entities/PasswordSpecification/schema.json +21 -0
- package/entities/Permissions/action.json +25 -0
- package/entities/Permissions/mockdatafiles/getPermissionsUsingGET-default.json +5 -0
- package/entities/Permissions/schema.json +19 -0
- package/entities/Ping/action.json +44 -0
- package/entities/Ping/schema.json +20 -0
- package/entities/Policies/action.json +106 -0
- package/entities/Policies/mockdatafiles/getPolicies-default.json +42 -0
- package/entities/Policies/schema.json +23 -0
- package/entities/Prefixlists/action.json +106 -0
- package/entities/Prefixlists/mockdatafiles/getPrefixlists-default.json +75 -0
- package/entities/Prefixlists/schema.json +23 -0
- package/entities/Products/action.json +25 -0
- package/entities/Products/mockdatafiles/listofallproducts-default.json +136 -0
- package/entities/Products/schema.json +19 -0
- package/entities/RemoteAccess/action.json +172 -0
- package/entities/RemoteAccess/schema.json +26 -0
- package/entities/RemoteAccessConnectorTemplates/action.json +106 -0
- package/entities/RemoteAccessConnectorTemplates/mockdatafiles/createConnectorTemplate-default.json +683 -0
- package/entities/RemoteAccessConnectorTemplates/mockdatafiles/deleteConnectorTemplate-default.json +146 -0
- package/entities/RemoteAccessConnectorTemplates/mockdatafiles/getConnectorTemplate-default.json +89 -0
- package/entities/RemoteAccessConnectorTemplates/mockdatafiles/getConnectorTemplates-default.json +2408 -0
- package/entities/RemoteAccessConnectorTemplates/mockdatafiles/updateConnectorTemplate-default.json +632 -0
- package/entities/RemoteAccessConnectorTemplates/schema.json +23 -0
- package/entities/RemoteAccessConnectors/action.json +107 -0
- package/entities/RemoteAccessConnectors/mockdatafiles/getRemoteAccessConnectors-default.json +629 -0
- package/entities/RemoteAccessConnectors/mockdatafiles/getRemoteAccesssConnector-default.json +662 -0
- package/entities/RemoteAccessConnectors/schema.json +23 -0
- package/entities/ResourceLimits/action.json +25 -0
- package/entities/ResourceLimits/mockdatafiles/getTenantResourceLimits-default.json +10 -0
- package/entities/ResourceLimits/schema.json +19 -0
- package/entities/ResourceUsage/action.json +25 -0
- package/entities/ResourceUsage/mockdatafiles/getResourceUsage-default.json +183 -0
- package/entities/ResourceUsage/schema.json +19 -0
- package/entities/Roles/action.json +106 -0
- package/entities/Roles/mockdatafiles/getRolesUsingGET-default.json +22 -0
- package/entities/Roles/schema.json +23 -0
- package/entities/RoutePolicies/action.json +126 -0
- package/entities/RoutePolicies/mockdatafiles/getAllRoutePolicies-default.json +388 -0
- package/entities/RoutePolicies/schema.json +24 -0
- package/entities/Routes/action.json +25 -0
- package/entities/Routes/schema.json +19 -0
- package/entities/Rulelists/action.json +106 -0
- package/entities/Rulelists/mockdatafiles/getRulelists-default.json +18 -0
- package/entities/Rulelists/schema.json +23 -0
- package/entities/Rules/action.json +106 -0
- package/entities/Rules/mockdatafiles/getRules-default.json +76 -0
- package/entities/Rules/schema.json +23 -0
- package/entities/SegmentResourceShares/action.json +106 -0
- package/entities/SegmentResourceShares/mockdatafiles/getSegmentResourceShares-default.json +64 -0
- package/entities/SegmentResourceShares/schema.json +34 -0
- package/entities/SegmentResources/action.json +106 -0
- package/entities/SegmentResources/mockdatafiles/getsegmentResources-default.json +108 -0
- package/entities/SegmentResources/schema.json +23 -0
- package/entities/Segments/action.json +106 -0
- package/entities/Segments/mockdatafiles/getsegments-default.json +196 -0
- package/entities/Segments/schema.json +23 -0
- package/entities/SplunkHECTokenCredentials/action.json +64 -0
- package/entities/SplunkHECTokenCredentials/schema.json +21 -0
- package/entities/Tenant/action.json +45 -0
- package/entities/Tenant/mockdatafiles/getTenant-default.json +14 -0
- package/entities/Tenant/mockdatafiles/updateTenant-default.json +14 -0
- package/entities/Tenant/schema.json +20 -0
- package/entities/TenantNetworks/action.json +126 -0
- package/entities/TenantNetworks/mockdatafiles/getTenantNetworks-default.json +5816 -0
- package/entities/TenantNetworks/schema.json +24 -0
- package/entities/TenantPreferences/action.json +45 -0
- package/entities/TenantPreferences/mockdatafiles/getTenantPreferences-default.json +10 -0
- package/entities/TenantPreferences/schema.json +20 -0
- package/entities/TraceRoute/action.json +44 -0
- package/entities/TraceRoute/schema.json +20 -0
- package/entities/Traffic/action.json +130 -0
- package/entities/Traffic/mockdatafiles/retrievesactivesessionscountforservicesinthistenant-default.json +18 -0
- package/entities/Traffic/mockdatafiles/retrievesinstancecountforservicesinthistenant-default.json +18 -0
- package/entities/Traffic/mockdatafiles/retrievestheInterCXPtraffic-default.json +53 -0
- package/entities/Traffic/mockdatafiles/retrievestheoveralltrafficgoingtointernetfromCXP-default.json +140 -0
- package/entities/Traffic/mockdatafiles/retrievestrafficstatsforconnectorsinthistenant-default.json +126 -0
- package/entities/Traffic/mockdatafiles/retrievestrafficstatsforservicesinthistenant-default.json +126 -0
- package/entities/Traffic/schema.json +24 -0
- package/entities/UserGroups/action.json +208 -0
- package/entities/UserGroups/mockdatafiles/getUserFromUserGroup-default.json +17 -0
- package/entities/UserGroups/mockdatafiles/getUsersInUserGroup-default.json +19 -0
- package/entities/UserGroups/mockdatafiles/getusergroups-default.json +23 -0
- package/entities/UserGroups/schema.json +28 -0
- package/entities/UsernamePasswordCredentials/action.json +64 -0
- package/entities/UsernamePasswordCredentials/schema.json +21 -0
- package/entities/Users/action.json +147 -0
- package/entities/Users/mockdatafiles/createUsersUsingPOST-default.json +17 -0
- package/entities/Users/mockdatafiles/getAllUsersUsingGET-default.json +70 -0
- package/entities/Users/mockdatafiles/getUsersByIdUsingGET-default.json +17 -0
- package/entities/Users/mockdatafiles/updateUsersByIdUsingPUT-default.json +17 -0
- package/entities/Users/schema.json +25 -0
- package/entities/ZscalerInternetAccessServices/action.json +106 -0
- package/entities/ZscalerInternetAccessServices/mockdatafiles/getZscalerInternetAccessServices-default.json +84 -0
- package/entities/ZscalerInternetAccessServices/schema.json +23 -0
- package/error.json +190 -0
- package/package.json +86 -0
- package/pronghorn.json +44773 -0
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +1248 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/alkira_swagger.json-OpenApi3Json.json +50699 -0
- package/report/creationReport.json +3472 -0
- package/sampleProperties.json +195 -0
- package/test/integration/adapterTestBasicGet.js +83 -0
- package/test/integration/adapterTestConnectivity.js +93 -0
- package/test/integration/adapterTestIntegration.js +12410 -0
- package/test/unit/adapterBaseTestUnit.js +949 -0
- package/test/unit/adapterTestUnit.js +19120 -0
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/artifactize.js +146 -0
- package/utils/basicGet.js +50 -0
- package/utils/checkMigrate.js +63 -0
- package/utils/entitiesToDB.js +178 -0
- package/utils/findPath.js +74 -0
- package/utils/methodDocumentor.js +225 -0
- package/utils/modify.js +154 -0
- package/utils/packModificationScript.js +35 -0
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +32 -0
- package/utils/removeHooks.js +20 -0
- package/utils/setup.js +33 -0
- package/utils/tbScript.js +246 -0
- package/utils/tbUtils.js +490 -0
- package/utils/testRunner.js +298 -0
- package/utils/troubleshootingAdapter.js +195 -0
- package/workflows/README.md +3 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"email": "john@abc.com",
|
|
3
|
+
"firstName": "John",
|
|
4
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
5
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
6
|
+
"lastLoggedIn": 8,
|
|
7
|
+
"lastName": "Doe",
|
|
8
|
+
"password": "string",
|
|
9
|
+
"roles": [
|
|
10
|
+
"netadmin"
|
|
11
|
+
],
|
|
12
|
+
"tenantId": "1",
|
|
13
|
+
"userName": "john",
|
|
14
|
+
"userType": null,
|
|
15
|
+
"jwksUri": "https://www.alkira.com",
|
|
16
|
+
"serviceProvider": null
|
|
17
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"email": "john@abc.com",
|
|
4
|
+
"firstName": "John",
|
|
5
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
6
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
7
|
+
"lastLoggedIn": 8,
|
|
8
|
+
"lastName": "Doe",
|
|
9
|
+
"password": "string",
|
|
10
|
+
"roles": [
|
|
11
|
+
"netadmin"
|
|
12
|
+
],
|
|
13
|
+
"tenantId": "1",
|
|
14
|
+
"userName": "john",
|
|
15
|
+
"userType": null,
|
|
16
|
+
"jwksUri": "https://www.alkira.com",
|
|
17
|
+
"serviceProvider": null
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"email": "john@abc.com",
|
|
21
|
+
"firstName": "John",
|
|
22
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
23
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
24
|
+
"lastLoggedIn": 1,
|
|
25
|
+
"lastName": "Doe",
|
|
26
|
+
"password": "string",
|
|
27
|
+
"roles": [
|
|
28
|
+
"netadmin"
|
|
29
|
+
],
|
|
30
|
+
"tenantId": "1",
|
|
31
|
+
"userName": "john",
|
|
32
|
+
"userType": null,
|
|
33
|
+
"jwksUri": "https://www.alkira.com",
|
|
34
|
+
"serviceProvider": null
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"email": "john@abc.com",
|
|
38
|
+
"firstName": "John",
|
|
39
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
40
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
41
|
+
"lastLoggedIn": 5,
|
|
42
|
+
"lastName": "Doe",
|
|
43
|
+
"password": "string",
|
|
44
|
+
"roles": [
|
|
45
|
+
"netadmin"
|
|
46
|
+
],
|
|
47
|
+
"tenantId": "1",
|
|
48
|
+
"userName": "john",
|
|
49
|
+
"userType": null,
|
|
50
|
+
"jwksUri": "https://www.alkira.com",
|
|
51
|
+
"serviceProvider": null
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"email": "john@abc.com",
|
|
55
|
+
"firstName": "John",
|
|
56
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
57
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
58
|
+
"lastLoggedIn": 1,
|
|
59
|
+
"lastName": "Doe",
|
|
60
|
+
"password": "string",
|
|
61
|
+
"roles": [
|
|
62
|
+
"netadmin"
|
|
63
|
+
],
|
|
64
|
+
"tenantId": "1",
|
|
65
|
+
"userName": "john",
|
|
66
|
+
"userType": null,
|
|
67
|
+
"jwksUri": "https://www.alkira.com",
|
|
68
|
+
"serviceProvider": null
|
|
69
|
+
}
|
|
70
|
+
]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"email": "john@abc.com",
|
|
3
|
+
"firstName": "John",
|
|
4
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
5
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
6
|
+
"lastLoggedIn": 10,
|
|
7
|
+
"lastName": "Doe",
|
|
8
|
+
"password": "string",
|
|
9
|
+
"roles": [
|
|
10
|
+
"netadmin"
|
|
11
|
+
],
|
|
12
|
+
"tenantId": "1",
|
|
13
|
+
"userName": "john",
|
|
14
|
+
"userType": null,
|
|
15
|
+
"jwksUri": "https://www.alkira.com",
|
|
16
|
+
"serviceProvider": null
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"email": "john@abc.com",
|
|
3
|
+
"firstName": "John",
|
|
4
|
+
"id": "78772b5e-ed20-11ea-adc1-0242ac120777",
|
|
5
|
+
"idpId": "78772b5e-ed20-11ea-adc1-0242ac120002",
|
|
6
|
+
"lastLoggedIn": 6,
|
|
7
|
+
"lastName": "Doe",
|
|
8
|
+
"password": "string",
|
|
9
|
+
"roles": [
|
|
10
|
+
"netadmin"
|
|
11
|
+
],
|
|
12
|
+
"tenantId": "1",
|
|
13
|
+
"userName": "john",
|
|
14
|
+
"userType": null,
|
|
15
|
+
"jwksUri": "https://www.alkira.com",
|
|
16
|
+
"serviceProvider": null
|
|
17
|
+
}
|
|
@@ -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": "getAllUsersUsingGET",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getAllUsersUsingGET",
|
|
14
|
+
"createUsersUsingPOST",
|
|
15
|
+
"getUsersByIdUsingGET",
|
|
16
|
+
"updateUsersByIdUsingPUT",
|
|
17
|
+
"deleteUsersByIdUsingDELETE",
|
|
18
|
+
"getUserProfileUsingGET",
|
|
19
|
+
"updateUserProfileUsingPUT"
|
|
20
|
+
],
|
|
21
|
+
"external_name": "ph_request_type"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"definitions": {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actions": [
|
|
3
|
+
{
|
|
4
|
+
"name": "getZscalerInternetAccessServices",
|
|
5
|
+
"protocol": "REST",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/zscaler-internet-access-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/getZscalerInternetAccessServices-default.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "createZscalerInternetAccessService",
|
|
26
|
+
"protocol": "REST",
|
|
27
|
+
"method": "POST",
|
|
28
|
+
"entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/zscaler-internet-access-services?{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": "getZscalerInternetAccessService",
|
|
46
|
+
"protocol": "REST",
|
|
47
|
+
"method": "GET",
|
|
48
|
+
"entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/zscaler-internet-access-services/{pathv2}?{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": "updateZscalerInternetAccessService",
|
|
67
|
+
"protocol": "REST",
|
|
68
|
+
"method": "PUT",
|
|
69
|
+
"entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/zscaler-internet-access-services/{pathv2}?{query}",
|
|
70
|
+
"requestSchema": "schema.json",
|
|
71
|
+
"responseSchema": "schema.json",
|
|
72
|
+
"timeout": 0,
|
|
73
|
+
"sendEmpty": false,
|
|
74
|
+
"requestDatatype": "JSON",
|
|
75
|
+
"responseDatatype": "JSON",
|
|
76
|
+
"headers": {},
|
|
77
|
+
"responseObjects": [
|
|
78
|
+
{
|
|
79
|
+
"type": "default",
|
|
80
|
+
"key": "",
|
|
81
|
+
"mockFile": ""
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "deleteZscalerInternetAccessService",
|
|
87
|
+
"protocol": "REST",
|
|
88
|
+
"method": "DELETE",
|
|
89
|
+
"entitypath": "{base_path}/{version}/tenantnetworks/{pathv1}/zscaler-internet-access-services/{pathv2}?{query}",
|
|
90
|
+
"requestSchema": "schema.json",
|
|
91
|
+
"responseSchema": "schema.json",
|
|
92
|
+
"timeout": 0,
|
|
93
|
+
"sendEmpty": false,
|
|
94
|
+
"requestDatatype": "JSON",
|
|
95
|
+
"responseDatatype": "JSON",
|
|
96
|
+
"headers": {},
|
|
97
|
+
"responseObjects": [
|
|
98
|
+
{
|
|
99
|
+
"type": "default",
|
|
100
|
+
"key": "",
|
|
101
|
+
"mockFile": ""
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"billingTags": [
|
|
4
|
+
9,
|
|
5
|
+
4,
|
|
6
|
+
4,
|
|
7
|
+
3
|
|
8
|
+
],
|
|
9
|
+
"cxp": "US-WEST",
|
|
10
|
+
"description": "Service connecting to US west PoP.",
|
|
11
|
+
"id": 12345,
|
|
12
|
+
"internalName": "svc-zia-9ec0a944-f7ae-4140-ae36-e789e5ad",
|
|
13
|
+
"ipsecConfiguration": {
|
|
14
|
+
"espDhGroupNumber": null,
|
|
15
|
+
"espEncryptionAlgorithm": null,
|
|
16
|
+
"espIntegrityAlgorithm": null,
|
|
17
|
+
"ikeDhGroupNumber": null,
|
|
18
|
+
"ikeEncryptionAlgorithm": null,
|
|
19
|
+
"ikeIntegrityAlgorithm": null,
|
|
20
|
+
"localFqdnId": "example-site@example.com",
|
|
21
|
+
"preSharedKey": "98791ddd-d77c-4193-a275-8a49c61a2522",
|
|
22
|
+
"healthCheckType": "HTTP_PROBE",
|
|
23
|
+
"pingProbeIp": "185.46.212.88",
|
|
24
|
+
"httpProbeUrl": "gateway.zscloud.net/vpntest"
|
|
25
|
+
},
|
|
26
|
+
"name": "Zia-US-West-PoP",
|
|
27
|
+
"primaryPublicEdgeIp": "100.0.0.1",
|
|
28
|
+
"secondaryPublicEdgeIp": "200.0.0.1",
|
|
29
|
+
"segmentIds": [
|
|
30
|
+
10,
|
|
31
|
+
5
|
|
32
|
+
],
|
|
33
|
+
"segments": [
|
|
34
|
+
"string",
|
|
35
|
+
"string"
|
|
36
|
+
],
|
|
37
|
+
"size": null,
|
|
38
|
+
"tunnelType": null
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"billingTags": [
|
|
42
|
+
1,
|
|
43
|
+
2,
|
|
44
|
+
10,
|
|
45
|
+
2
|
|
46
|
+
],
|
|
47
|
+
"cxp": "US-WEST",
|
|
48
|
+
"description": "Service connecting to US west PoP.",
|
|
49
|
+
"id": 12345,
|
|
50
|
+
"internalName": "svc-zia-9ec0a944-f7ae-4140-ae36-e789e5ad",
|
|
51
|
+
"ipsecConfiguration": {
|
|
52
|
+
"espDhGroupNumber": null,
|
|
53
|
+
"espEncryptionAlgorithm": null,
|
|
54
|
+
"espIntegrityAlgorithm": null,
|
|
55
|
+
"ikeDhGroupNumber": null,
|
|
56
|
+
"ikeEncryptionAlgorithm": null,
|
|
57
|
+
"ikeIntegrityAlgorithm": null,
|
|
58
|
+
"localFqdnId": "example-site@example.com",
|
|
59
|
+
"preSharedKey": "98791ddd-d77c-4193-a275-8a49c61a2522",
|
|
60
|
+
"healthCheckType": "HTTP_PROBE",
|
|
61
|
+
"pingProbeIp": "185.46.212.88",
|
|
62
|
+
"httpProbeUrl": "gateway.zscloud.net/vpntest"
|
|
63
|
+
},
|
|
64
|
+
"name": "Zia-US-West-PoP",
|
|
65
|
+
"primaryPublicEdgeIp": "100.0.0.1",
|
|
66
|
+
"secondaryPublicEdgeIp": "200.0.0.1",
|
|
67
|
+
"segmentIds": [
|
|
68
|
+
6,
|
|
69
|
+
1,
|
|
70
|
+
3,
|
|
71
|
+
7
|
|
72
|
+
],
|
|
73
|
+
"segments": [
|
|
74
|
+
"string",
|
|
75
|
+
"string",
|
|
76
|
+
"string",
|
|
77
|
+
"string",
|
|
78
|
+
"string",
|
|
79
|
+
"string"
|
|
80
|
+
],
|
|
81
|
+
"size": null,
|
|
82
|
+
"tunnelType": null
|
|
83
|
+
}
|
|
84
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
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": "getZscalerInternetAccessServices",
|
|
12
|
+
"enum": [
|
|
13
|
+
"getZscalerInternetAccessServices",
|
|
14
|
+
"createZscalerInternetAccessService",
|
|
15
|
+
"getZscalerInternetAccessService",
|
|
16
|
+
"updateZscalerInternetAccessService",
|
|
17
|
+
"deleteZscalerInternetAccessService"
|
|
18
|
+
],
|
|
19
|
+
"external_name": "ph_request_type"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"definitions": {}
|
|
23
|
+
}
|
package/error.json
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [
|
|
3
|
+
{
|
|
4
|
+
"key": "Unable To Save To Database",
|
|
5
|
+
"icode": "AD.100",
|
|
6
|
+
"displayString": "Error on saving to Database $VARIABLE$",
|
|
7
|
+
"recommendation": "Verify the database connectivity and credentials"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"key": "Database Error",
|
|
11
|
+
"icode": "AD.101",
|
|
12
|
+
"displayString": "Database Error: $VARIABLE$",
|
|
13
|
+
"recommendation": "Verify the database connectivity, schema and permissions"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"key": "Database Credentials",
|
|
17
|
+
"icode": "AD.102",
|
|
18
|
+
"displayString": "Database Error: Invalid Credentials",
|
|
19
|
+
"recommendation": "Verify the database credentials"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"key": "No Queue Item",
|
|
23
|
+
"icode": "AD.110",
|
|
24
|
+
"displayString": "Queue Item $VARIABLE$ not found in queue",
|
|
25
|
+
"recommendation": "Make sure the queue is working properly"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"key": "Unable To Create Queue",
|
|
29
|
+
"icode": "AD.111",
|
|
30
|
+
"displayString": "Unable to create queue: $VARIABLE$",
|
|
31
|
+
"recommendation": "Verify access to the database, redis or system memory"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "Queue Full",
|
|
35
|
+
"icode": "AD.112",
|
|
36
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ rejected - queue full at $VARIABLE$",
|
|
37
|
+
"recommendation": "Make sure the queue is working properly"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "Unable To Clear Queue",
|
|
41
|
+
"icode": "AD.113",
|
|
42
|
+
"displayString": "Unable to clear queue: $VARIABLE$",
|
|
43
|
+
"recommendation": "Make sure the queue exists"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"key": "Unable To Claim Turn",
|
|
47
|
+
"icode": "AD.114",
|
|
48
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ unable to claim license: $VARIABLE$",
|
|
49
|
+
"recommendation": "Make sure the queue is working properly"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"key": "Unable To Free Turn",
|
|
53
|
+
"icode": "AD.115",
|
|
54
|
+
"displayString": "Request $VARIABLE$ Transaction $VARIABLE$ unable to free license: $VARIABLE$",
|
|
55
|
+
"recommendation": "Make sure the queue is working properly"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"key": "Item In Wrong State",
|
|
59
|
+
"icode": "AD.116",
|
|
60
|
+
"displayString": "Queue item is in the wrong state: $VARIABLE$ ",
|
|
61
|
+
"recommendation": "Make sure the queue is working properly"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"key": "Missing Data",
|
|
65
|
+
"icode": "AD.300",
|
|
66
|
+
"displayString": "$VARIABLE$ is required",
|
|
67
|
+
"recommendation": "Please provide the required data"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "Missing File",
|
|
71
|
+
"icode": "AD.301",
|
|
72
|
+
"displayString": "Can not open file $VARIABLE$",
|
|
73
|
+
"recommendation": "Verify the file exists and has proper permissions"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"key": "Invalid Action File",
|
|
77
|
+
"icode": "AD.302",
|
|
78
|
+
"displayString": "Invalid action file: $VARIABLE$ in $VARIABLE$",
|
|
79
|
+
"recommendation": "Verify the action file"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"key": "Unsupported Protocol",
|
|
83
|
+
"icode": "AD.303",
|
|
84
|
+
"displayString": "Protocol $VARIABLE$ not currently supported",
|
|
85
|
+
"recommendation": "Verify the protocol on the action"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"key": "Invalid Schema File",
|
|
89
|
+
"icode": "AD.304",
|
|
90
|
+
"displayString": "Invalid schema file: $VARIABLE$ in $VARIABLE$",
|
|
91
|
+
"recommendation": "Verify the action file"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"key": "Invalid Properties",
|
|
95
|
+
"icode": "AD.305",
|
|
96
|
+
"displayString": "Invalid properties: $VARIABLE$",
|
|
97
|
+
"recommendation": "Verify the properties for the adapter"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"key": "Missing Properties",
|
|
101
|
+
"icode": "AD.306",
|
|
102
|
+
"displayString": "Property $VARIABLE$ is required",
|
|
103
|
+
"recommendation": "Please provide the required property"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"key": "Query Not Translated",
|
|
107
|
+
"icode": "AD.310",
|
|
108
|
+
"displayString": "Query Not Translated",
|
|
109
|
+
"recommendation": "Verify the information passed in the query object"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"key": "Payload Not Translated",
|
|
113
|
+
"icode": "AD.311",
|
|
114
|
+
"displayString": "Payload Not Translated",
|
|
115
|
+
"recommendation": "Verify the information passed in the payload object"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"key": "Schema Validation Failure",
|
|
119
|
+
"icode": "AD.312",
|
|
120
|
+
"displayString": "Schema validation failed on $VARIABLE$",
|
|
121
|
+
"recommendation": "Verify the information provided is in the correct format with everything required"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"key": "Entity Cache Not Loading",
|
|
125
|
+
"icode": "AD.320",
|
|
126
|
+
"displayString": "Could not load entity: $VARIABLE$, into cache",
|
|
127
|
+
"recommendation": "Verify the cache is working properly"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"key": "Error Verifying Entity Cache",
|
|
131
|
+
"icode": "AD.321",
|
|
132
|
+
"displayString": "Could not verify entity in cache",
|
|
133
|
+
"recommendation": "Verify the cache is working properly"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"key": "Unable To Authenticate",
|
|
137
|
+
"icode": "AD.400",
|
|
138
|
+
"displayString": "Unable to authenticate with $VARIABLE$, response $VARIABLE$",
|
|
139
|
+
"recommendation": "Verify the user credentials and check the response for more information"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"key": "Unable To Encode",
|
|
143
|
+
"icode": "AD.401",
|
|
144
|
+
"displayString": "Can not perform base64 encoding on $VARIABLE$",
|
|
145
|
+
"recommendation": "Check the authentication format"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"key": "Unable To Get Token",
|
|
149
|
+
"icode": "AD.402",
|
|
150
|
+
"displayString": "Unable to get token for user: $VARIABLE$",
|
|
151
|
+
"recommendation": "Verify the user credentials and the system information"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"key": "Error On Request",
|
|
155
|
+
"icode": "AD.500",
|
|
156
|
+
"displayString": "Error $VARIABLE$ received on request",
|
|
157
|
+
"recommendation": "Verify the request is accurate via debug logs and postman"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"key": "Request Timeout",
|
|
161
|
+
"icode": "AD.501",
|
|
162
|
+
"displayString": "The Adapter has run out of time for the request",
|
|
163
|
+
"recommendation": "Increase your adapter request.attempt_timeout property"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"key": "Invalid Response",
|
|
167
|
+
"icode": "AD.502",
|
|
168
|
+
"displayString": "Invalid response received for $VARIABLE$",
|
|
169
|
+
"recommendation": "Verify the request is accurate via debug logs and postman"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"key": "Failure Response",
|
|
173
|
+
"icode": "AD.503",
|
|
174
|
+
"displayString": "Failure response received for $VARIABLE$",
|
|
175
|
+
"recommendation": "Check the reason for failure in the stack trace"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"key": "Suspended Adapter",
|
|
179
|
+
"icode": "AD.600",
|
|
180
|
+
"displayString": "Adapter is suspended",
|
|
181
|
+
"recommendation": "Check if external system is functional and unsuspend if appropriate"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"key": "Caught Exception",
|
|
185
|
+
"icode": "AD.900",
|
|
186
|
+
"displayString": "Caught Exception $VARIABLE$",
|
|
187
|
+
"recommendation": "Evaluate why the exception took place"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@itentialopensource/adapter-alkira",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "This adapter integrates with system described as: alkiraApi.",
|
|
5
|
+
"main": "adapter.js",
|
|
6
|
+
"wizardVersion": "2.44.15",
|
|
7
|
+
"engineVersion": "1.62.7",
|
|
8
|
+
"adapterType": "http",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
11
|
+
"preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
12
|
+
"deinstall": "node utils/removeHooks.js",
|
|
13
|
+
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
14
|
+
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
15
|
+
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
16
|
+
"test:unit": "mocha test/unit/adapterTestUnit.js --LOG=error",
|
|
17
|
+
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
18
|
+
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
19
|
+
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
20
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
21
|
+
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
22
|
+
"adapter:findPath": "node utils/findPath.js",
|
|
23
|
+
"adapter:migrate": "node utils/modify.js -m",
|
|
24
|
+
"adapter:update": "node utils/modify.js -u",
|
|
25
|
+
"adapter:revert": "node utils/modify.js -r",
|
|
26
|
+
"troubleshoot": "node utils/tbScript.js troubleshoot",
|
|
27
|
+
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
28
|
+
"basicget": "node utils/tbScript.js basicget",
|
|
29
|
+
"connectivity": "node utils/tbScript.js connectivity",
|
|
30
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
31
|
+
"build": "npm run deploy"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"Itential",
|
|
35
|
+
"IAP",
|
|
36
|
+
"Automation",
|
|
37
|
+
"Integration",
|
|
38
|
+
"App-Artifacts",
|
|
39
|
+
"Adapter",
|
|
40
|
+
"Cloud",
|
|
41
|
+
"Alkira",
|
|
42
|
+
"Pre-Release"
|
|
43
|
+
],
|
|
44
|
+
"license": "Apache-2.0",
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">= 8.0.0",
|
|
47
|
+
"npm": ">= 6.0.0"
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git@gitlab.com:itentialopensource/adapters/cloud/adapter-alkira.git"
|
|
52
|
+
},
|
|
53
|
+
"author": "Itential",
|
|
54
|
+
"homepage": "https://gitlab.com/itentialopensource/adapters/cloud/adapter-alkira#readme",
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@itentialopensource/adapter-utils": "^4.48.0",
|
|
57
|
+
"ajv": "^6.12.0",
|
|
58
|
+
"axios": "^0.21.0",
|
|
59
|
+
"commander": "^2.20.0",
|
|
60
|
+
"esprima": "^4.0.1",
|
|
61
|
+
"fs-extra": "^8.1.0",
|
|
62
|
+
"json-query": "^2.2.2",
|
|
63
|
+
"mocha": "^9.0.1",
|
|
64
|
+
"mocha-param": "^2.0.1",
|
|
65
|
+
"mongodb": "^4.1.0",
|
|
66
|
+
"network-diagnostics": "^0.5.3",
|
|
67
|
+
"nyc": "^15.1.0",
|
|
68
|
+
"readline-sync": "^1.4.10",
|
|
69
|
+
"semver": "^7.3.2",
|
|
70
|
+
"winston": "^3.3.3",
|
|
71
|
+
"prompts": "^2.4.2"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"chai": "^4.3.4",
|
|
75
|
+
"eslint": "^7.29.0",
|
|
76
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
77
|
+
"eslint-plugin-import": "^2.23.4",
|
|
78
|
+
"eslint-plugin-json": "^3.0.0",
|
|
79
|
+
"package-json-validator": "^0.6.3",
|
|
80
|
+
"testdouble": "^3.16.1"
|
|
81
|
+
},
|
|
82
|
+
"resolutions": {
|
|
83
|
+
"minimist": "^1.2.5"
|
|
84
|
+
},
|
|
85
|
+
"private": false
|
|
86
|
+
}
|