@itentialopensource/adapter-sevone 2.2.4 → 2.4.0
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/AUTH.md +39 -0
- package/BROKER.md +199 -0
- package/CALLS.md +169 -0
- package/CHANGELOG.md +59 -89
- package/CODE_OF_CONDUCT.md +12 -17
- package/CONTRIBUTING.md +88 -74
- package/ENHANCE.md +69 -0
- package/PROPERTIES.md +641 -0
- package/README.md +225 -502
- package/SUMMARY.md +9 -0
- package/SYSTEMINFO.md +11 -0
- package/TROUBLESHOOT.md +47 -0
- package/adapter.js +18786 -55
- package/adapterBase.js +1021 -245
- package/entities/.generic/action.json +110 -5
- package/entities/.generic/schema.json +6 -1
- package/entities/ApiKeys/action.json +206 -0
- package/entities/ApiKeys/mockdatafiles/createApiKey-default.json +7 -0
- package/entities/ApiKeys/mockdatafiles/createApiKeyForUser-default.json +7 -0
- package/entities/ApiKeys/mockdatafiles/getApiKeys-default.json +9 -0
- package/entities/ApiKeys/mockdatafiles/getApiKeysForUser-default.json +23 -0
- package/entities/ApiKeys/mockdatafiles/updateApiKey-default.json +7 -0
- package/entities/ApiKeys/mockdatafiles/updateApiKeyForUser-default.json +7 -0
- package/entities/ApiKeys/schema.json +28 -0
- package/entities/Application/action.json +66 -0
- package/entities/Application/mockdatafiles/getVersion-default.json +6 -0
- package/entities/Application/mockdatafiles/postLoggingLevel-default.json +5 -0
- package/entities/Application/schema.json +21 -0
- package/entities/Authentication/action.json +126 -0
- package/entities/Authentication/mockdatafiles/getActiveSessions-default.json +26 -0
- package/entities/Authentication/mockdatafiles/signIn-default.json +3 -0
- package/entities/Authentication/schema.json +24 -0
- package/entities/CountriesAndTimezones/action.json +25 -0
- package/entities/CountriesAndTimezones/mockdatafiles/getTimezonesByCountries-default.json +30 -0
- package/entities/CountriesAndTimezones/schema.json +19 -0
- package/entities/DeviceComponent/action.json +24 -0
- package/entities/DeviceComponent/mockdatafiles/partiallyUpdateObjectById-default.json +193 -0
- package/entities/DeviceComponent/schema.json +19 -0
- package/entities/DeviceComponentGroup/action.json +24 -0
- package/entities/DeviceComponentGroup/mockdatafiles/partiallyUpdateObjectGroupById-default.json +1227 -0
- package/entities/DeviceComponentGroup/schema.json +19 -0
- package/entities/DeviceGroup/action.json +45 -0
- package/entities/DeviceGroup/mockdatafiles/getDeviceTagsById-default.json +5 -0
- package/entities/DeviceGroup/mockdatafiles/partiallyUpdateDeviceGroupById-default.json +1352 -0
- package/entities/DeviceGroup/schema.json +20 -0
- package/entities/DeviceGroupRules/action.json +127 -0
- package/entities/DeviceGroupRules/mockdatafiles/createDeviceGroupRule-default.json +16 -0
- package/entities/DeviceGroupRules/mockdatafiles/deleteDeviceGroupRule-default.json +5 -0
- package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupRule-default.json +16 -0
- package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupRules-default.json +88 -0
- package/entities/DeviceGroupRules/mockdatafiles/getDeviceGroupsRules-default.json +168 -0
- package/entities/DeviceGroupRules/mockdatafiles/updateDeviceGroupRule-default.json +16 -0
- package/entities/DeviceGroupRules/schema.json +24 -0
- package/entities/DeviceTypes/action.json +147 -0
- package/entities/DeviceTypes/mockdatafiles/createDeviceType-default.json +446 -0
- package/entities/DeviceTypes/mockdatafiles/deleteDeviceTypeById-default.json +5 -0
- package/entities/DeviceTypes/mockdatafiles/deleteDeviceTypeMemberById-default.json +5 -0
- package/entities/DeviceTypes/mockdatafiles/getDeviceTypeById-default.json +1350 -0
- package/entities/DeviceTypes/mockdatafiles/getDeviceTypeForDeviceById-default.json +22 -0
- package/entities/DeviceTypes/mockdatafiles/getDeviceTypes-default.json +4274 -0
- package/entities/DeviceTypes/schema.json +25 -0
- package/entities/Discovery/action.json +86 -0
- package/entities/Discovery/mockdatafiles/filterDevicesInDiscovery-default.json +442 -0
- package/entities/Discovery/mockdatafiles/getDeviceStatusById-default.json +224 -0
- package/entities/Discovery/mockdatafiles/getDevicesInDiscovery-default.json +1826 -0
- package/entities/Discovery/mockdatafiles/updateDevicePriority-default.json +100 -0
- package/entities/Discovery/schema.json +22 -0
- package/entities/DynamicPlugin/action.json +44 -0
- package/entities/DynamicPlugin/mockdatafiles/registerDynamicPlugin-default.json +42 -0
- package/entities/DynamicPlugin/mockdatafiles/registerDynamicPluginManager-default.json +6 -0
- package/entities/DynamicPlugin/schema.json +20 -0
- package/entities/ObjectGroupRules/action.json +147 -0
- package/entities/ObjectGroupRules/mockdatafiles/applyObjectGroupRules-default.json +5 -0
- package/entities/ObjectGroupRules/mockdatafiles/createObjectGroupRule-default.json +14 -0
- package/entities/ObjectGroupRules/mockdatafiles/deleteObjectGroupRule-default.json +5 -0
- package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupRule-default.json +14 -0
- package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupRules-default.json +148 -0
- package/entities/ObjectGroupRules/mockdatafiles/getObjectGroupsRules-default.json +36 -0
- package/entities/ObjectGroupRules/mockdatafiles/updateObjectGroupRule-default.json +14 -0
- package/entities/ObjectGroupRules/schema.json +25 -0
- package/entities/Peers/action.json +150 -0
- package/entities/Peers/mockdatafiles/editIncorporateModeUsingPATCH-default.json +5 -0
- package/entities/Peers/mockdatafiles/getCurrentPeerUsingGET-default.json +27 -0
- package/entities/Peers/mockdatafiles/getIncorporateModeUsingGET-default.json +5 -0
- package/entities/Peers/mockdatafiles/getPeerUsingGET-default.json +27 -0
- package/entities/Peers/mockdatafiles/getPeersUsingGET-default.json +197 -0
- package/entities/Peers/schema.json +25 -0
- package/entities/Plugins/action.json +292 -0
- package/entities/Plugins/mockdatafiles/createPluginIndicatorType-default.json +16 -0
- package/entities/Plugins/mockdatafiles/createPluginObjectType-default.json +9 -0
- package/entities/Plugins/mockdatafiles/filterPluginIndicatorTypes-default.json +88 -0
- package/entities/Plugins/mockdatafiles/filterPluginObjectTypes-default.json +98 -0
- package/entities/Plugins/mockdatafiles/getAllPluginIndicatorTypes-default.json +72 -0
- package/entities/Plugins/mockdatafiles/getAllPluginObjectTypes-default.json +35 -0
- package/entities/Plugins/mockdatafiles/getAllPlugins-default.json +29 -0
- package/entities/Plugins/mockdatafiles/updatePluginIndicatorType-default.json +16 -0
- package/entities/Plugins/mockdatafiles/updatePluginObjectType-default.json +9 -0
- package/entities/Plugins/schema.json +32 -0
- package/entities/Policies/action.json +370 -0
- package/entities/Policies/mockdatafiles/createPolicy-default.json +298 -0
- package/entities/Policies/mockdatafiles/createPolicyCondition-default.json +14 -0
- package/entities/Policies/mockdatafiles/createPolicyFolder-default.json +5 -0
- package/entities/Policies/mockdatafiles/deletePolicyActionById-default.json +5 -0
- package/entities/Policies/mockdatafiles/deletePolicyById-default.json +5 -0
- package/entities/Policies/mockdatafiles/deletePolicyConditionById-default.json +5 -0
- package/entities/Policies/mockdatafiles/deletePolicyFolderById-default.json +5 -0
- package/entities/Policies/mockdatafiles/filterPolicies-default.json +1709 -0
- package/entities/Policies/mockdatafiles/findAllUsingGET-default.json +106 -0
- package/entities/Policies/mockdatafiles/getActionsUsingGET-default.json +53 -0
- package/entities/Policies/mockdatafiles/getPolicies-default.json +1318 -0
- package/entities/Policies/mockdatafiles/getPolicy-default.json +73 -0
- package/entities/Policies/mockdatafiles/getPolicyConditionById-default.json +14 -0
- package/entities/Policies/mockdatafiles/getPolicyFolders-default.json +13 -0
- package/entities/Policies/mockdatafiles/updatePolicy-default.json +97 -0
- package/entities/Policies/mockdatafiles/updatePolicyAction-default.json +41 -0
- package/entities/Policies/mockdatafiles/updatePolicyCondition-default.json +14 -0
- package/entities/Policies/mockdatafiles/updatePolicyFolder-default.json +5 -0
- package/entities/Policies/schema.json +36 -0
- package/entities/ReportAttachments/action.json +107 -0
- package/entities/ReportAttachments/mockdatafiles/deleteReportAttachment-default.json +5 -0
- package/entities/ReportAttachments/mockdatafiles/getAllReportAttachments-default.json +26 -0
- package/entities/ReportAttachments/mockdatafiles/getReportAttachment-default.json +3 -0
- package/entities/ReportAttachments/mockdatafiles/updateReportAttachmentById-default.json +3 -0
- package/entities/ReportAttachments/schema.json +23 -0
- package/entities/ReportAttachmentsAlerts/action.json +311 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/createAlertAttachment-default.json +122 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentAggregation-default.json +3 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentFilterSchema-default.json +218 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentFilters-default.json +17 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentResource-default.json +15 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentSettings-default.json +67 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/getAlertAttachmentVisualizationSettings-default.json +59 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/partiallyUpdateAlertAttachmentVisualizationSettings-default.json +65 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentAggregation-default.json +3 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentFilters-default.json +102 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentResource-default.json +10 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentSettings-default.json +52 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsAlerts/mockdatafiles/updateAlertAttachmentVisualizationSettings-default.json +65 -0
- package/entities/ReportAttachmentsAlerts/schema.json +33 -0
- package/entities/ReportAttachmentsDeviceGroups/action.json +106 -0
- package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/createDeviceGroupsAttachment-default.json +46 -0
- package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/getDeviceGroupsAttachment-default.json +12 -0
- package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/getDeviceGroupsAttachmentVisualization-default.json +28 -0
- package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/updateDeviceGroupsAttachment-default.json +9 -0
- package/entities/ReportAttachmentsDeviceGroups/mockdatafiles/updateDeviceGroupsAttachmentVisualization-default.json +38 -0
- package/entities/ReportAttachmentsDeviceGroups/schema.json +23 -0
- package/entities/ReportAttachmentsDevices/action.json +209 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/createDeviceAttachment-default.json +81 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachment-default.json +12 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentFilterSchema-default.json +4 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentFilters-default.json +90 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentSettings-default.json +72 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/getDeviceAttachmentVisualization-default.json +36 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachment-default.json +6 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentFilters-default.json +36 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentSettings-default.json +56 -0
- package/entities/ReportAttachmentsDevices/mockdatafiles/updateDeviceAttachmentVisualization-default.json +39 -0
- package/entities/ReportAttachmentsDevices/schema.json +28 -0
- package/entities/ReportAttachmentsFlowFalcon/action.json +290 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/createFlowFalconAttachment-default.json +243 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentFilterSchema-default.json +4 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentFilters-default.json +138 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentResources-default.json +64 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentSettings-default.json +80 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/getFlowFalconAttachmentVisualizationSettings-default.json +71 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/partiallyUpdateFlowFalconAttachmentSettings-default.json +48 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/partiallyUpdateFlowFalconAttachmentVisualizationSettings-default.json +67 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentFilters-default.json +58 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentResources-default.json +52 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentSettings-default.json +71 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsFlowFalcon/mockdatafiles/updateFlowFalconAttachmentVisualizationSettings-default.json +56 -0
- package/entities/ReportAttachmentsFlowFalcon/schema.json +32 -0
- package/entities/ReportAttachmentsGroupMetrics/action.json +188 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/createGroupMetricsAttachment-default.json +208 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachment-default.json +172 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentSettings-default.json +47 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/getGroupMetricsAttachmentVisualization-default.json +34 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachment-default.json +207 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentSettings-default.json +62 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsGroupMetrics/mockdatafiles/updateGroupMetricsAttachmentVisualization-default.json +30 -0
- package/entities/ReportAttachmentsGroupMetrics/schema.json +27 -0
- package/entities/ReportAttachmentsMetadata/action.json +126 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/createMetadataAttachment-default.json +41 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/getMetadataAttachmentResources-default.json +12 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/getMetadataAttachmentVisualizationSettings-default.json +33 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/partiallyUpdateMetadataAttachmentVisualizationSettings-default.json +27 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/updateMetadataAttachmentResources-default.json +9 -0
- package/entities/ReportAttachmentsMetadata/mockdatafiles/updateMetadataAttachmentVisualizationSettings-default.json +33 -0
- package/entities/ReportAttachmentsMetadata/schema.json +24 -0
- package/entities/ReportAttachmentsObjectGroups/action.json +126 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/createObjectGroupAttachment-default.json +54 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/getObjectGroupAttachmentResources-default.json +11 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/getObjectGroupAttachmentVisualizationSettings-default.json +41 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/partiallyUpdateObjectGroupAttachmentVisualizationSettings-default.json +35 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/updateObjectGroupAttachmentResources-default.json +16 -0
- package/entities/ReportAttachmentsObjectGroups/mockdatafiles/updateObjectGroupAttachmentVisualizationSettings-default.json +36 -0
- package/entities/ReportAttachmentsObjectGroups/schema.json +24 -0
- package/entities/ReportAttachmentsObjects/action.json +167 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/createObjectAttachment-default.json +51 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentResources-default.json +10 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentSettings-default.json +5 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/getObjectAttachmentVisualizationSettings-default.json +32 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/partiallyUpdateObjectAttachmentVisualizationSettings-default.json +31 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentResources-default.json +10 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentSettings-default.json +5 -0
- package/entities/ReportAttachmentsObjects/mockdatafiles/updateObjectAttachmentVisualizationSettings-default.json +35 -0
- package/entities/ReportAttachmentsObjects/schema.json +26 -0
- package/entities/ReportAttachmentsPerformanceMetrics/action.json +228 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/createPerformanceMetricsAttachment-default.json +275 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentResources-default.json +53 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentSettings-default.json +92 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/getPerformanceMetricsAttachmentVisualizationSettings-default.json +124 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/partiallyUpdatePerformanceMetricsAttachmentSettings-default.json +81 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/partiallyUpdatePerformanceMetricsAttachmentVisualizationSettings-default.json +126 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentResources-default.json +46 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentSettings-default.json +139 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsPerformanceMetrics/mockdatafiles/updatePerformanceMetricsAttachmentVisualizationSettings-default.json +122 -0
- package/entities/ReportAttachmentsPerformanceMetrics/schema.json +29 -0
- package/entities/ReportAttachmentsStatusMap/action.json +65 -0
- package/entities/ReportAttachmentsStatusMap/mockdatafiles/createStatusMapAttachment-default.json +9 -0
- package/entities/ReportAttachmentsStatusMap/mockdatafiles/getStatusMapAttachmentResources-default.json +3 -0
- package/entities/ReportAttachmentsStatusMap/mockdatafiles/updateStatusMapAttachmentResources-default.json +3 -0
- package/entities/ReportAttachmentsStatusMap/schema.json +21 -0
- package/entities/ReportAttachmentsTelephony/action.json +188 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/createTelephonyAttachment-default.json +57 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentAggregation-default.json +3 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentSettings-default.json +9 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/getTelephonyAttachmentVisualizationSettings-default.json +35 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentAggregation-default.json +3 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentSettings-default.json +9 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsTelephony/mockdatafiles/updateTelephonyAttachmentVisualizationSettings-default.json +33 -0
- package/entities/ReportAttachmentsTelephony/schema.json +27 -0
- package/entities/ReportAttachmentsTopN/action.json +228 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/createTopNAttachment-default.json +111 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentResources-default.json +8 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentSettings-default.json +129 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/getTopNAttachmentVisualizationSettings-default.json +44 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/partiallyUpdateTopNAttachmentSettings-default.json +140 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/partiallyUpdateTopNAttachmentVisualizationSettings-default.json +47 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentResources-default.json +13 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentSettings-default.json +39 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentTimeSettings-default.json +8 -0
- package/entities/ReportAttachmentsTopN/mockdatafiles/updateTopNAttachmentVisualizationSettings-default.json +51 -0
- package/entities/ReportAttachmentsTopN/schema.json +29 -0
- package/entities/Reports/action.json +187 -0
- package/entities/Reports/mockdatafiles/createReport-default.json +24 -0
- package/entities/Reports/mockdatafiles/createReportFolder-default.json +5 -0
- package/entities/Reports/mockdatafiles/deleteReportById-default.json +5 -0
- package/entities/Reports/mockdatafiles/deleteReportFolderById-default.json +5 -0
- package/entities/Reports/mockdatafiles/getAllReportFolders-default.json +48 -0
- package/entities/Reports/mockdatafiles/getAllReports-default.json +32 -0
- package/entities/Reports/mockdatafiles/getReport-default.json +24 -0
- package/entities/Reports/mockdatafiles/updateReportById-default.json +24 -0
- package/entities/Reports/mockdatafiles/updateReportFolderById-default.json +5 -0
- package/entities/Reports/schema.json +27 -0
- package/entities/StatusMapImages/action.json +46 -0
- package/entities/StatusMapImages/mockdatafiles/getMapImages-default.json +14 -0
- package/entities/StatusMapImages/schema.json +20 -0
- package/entities/Users/action.json +25 -0
- package/entities/Users/mockdatafiles/getCurrentUser-default.json +26 -0
- package/entities/Users/schema.json +19 -0
- package/entities/alert/action.json +81 -0
- package/entities/alert/mockdatafiles/createAlertForced-default.json +27 -0
- package/entities/alert/mockdatafiles/getFlowFalconDeviceAlerts-default.json +48 -0
- package/entities/alert/mockdatafiles/getMaxSeverityAlertForObjects-default.json +14 -0
- package/entities/alert/mockdatafiles/patchAlert-default.json +36 -0
- package/entities/alert/schema.json +8 -2
- package/entities/device/action.json +20 -0
- package/entities/device/mockdatafiles/getdeviceerror.json +1 -58
- package/entities/device/mockdatafiles/partiallyUpdateDeviceById-default.json +103 -0
- package/entities/device/schema.json +2 -1
- package/entities/map/action.json +20 -0
- package/entities/map/mockdatafiles/partiallyUpdateStatusMapById-default.json +534 -0
- package/entities/map/schema.json +2 -1
- package/error.json +12 -0
- package/package.json +20 -13
- package/pronghorn.json +34868 -2005
- package/propertiesDecorators.json +14 -0
- package/propertiesSchema.json +436 -0
- package/refs?service=git-upload-pack +0 -0
- package/report/adapterInfo.json +10 -0
- package/report/updateReport1653680202971.json +120 -0
- package/sampleProperties.json +94 -2
- package/test/integration/adapterTestBasicGet.js +2 -2
- package/test/integration/adapterTestIntegration.js +8011 -105
- package/test/unit/adapterBaseTestUnit.js +35 -27
- package/test/unit/adapterTestUnit.js +7948 -145
- package/utils/adapterInfo.js +206 -0
- package/utils/addAuth.js +94 -0
- package/utils/basicGet.js +1 -14
- package/utils/entitiesToDB.js +179 -0
- package/utils/modify.js +1 -1
- package/utils/packModificationScript.js +1 -1
- package/utils/patches2bundledDeps.js +90 -0
- package/utils/pre-commit.sh +3 -0
- package/utils/removeHooks.js +20 -0
- package/utils/tbScript.js +43 -22
- package/utils/tbUtils.js +126 -29
- package/utils/testRunner.js +16 -16
- package/utils/troubleshootingAdapter.js +2 -26
|
@@ -0,0 +1,534 @@
|
|
|
1
|
+
{
|
|
2
|
+
"connections": [
|
|
3
|
+
{
|
|
4
|
+
"data": [
|
|
5
|
+
{
|
|
6
|
+
"deviceId": 8,
|
|
7
|
+
"elementId": 6,
|
|
8
|
+
"pluginId": 9,
|
|
9
|
+
"reportId": 3
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"deviceId": 7,
|
|
13
|
+
"elementId": 9,
|
|
14
|
+
"pluginId": 1,
|
|
15
|
+
"reportId": 3
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"deviceId": 8,
|
|
19
|
+
"elementId": 1,
|
|
20
|
+
"pluginId": 4,
|
|
21
|
+
"reportId": 10
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"deviceId": 1,
|
|
25
|
+
"elementId": 1,
|
|
26
|
+
"pluginId": 9,
|
|
27
|
+
"reportId": 8
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"id": 9,
|
|
31
|
+
"nodeAId": 1,
|
|
32
|
+
"nodeBId": 8,
|
|
33
|
+
"type": "Object"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"data": [
|
|
37
|
+
{
|
|
38
|
+
"deviceId": 4,
|
|
39
|
+
"elementId": 3,
|
|
40
|
+
"pluginId": 8,
|
|
41
|
+
"reportId": 6
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"deviceId": 9,
|
|
45
|
+
"elementId": 3,
|
|
46
|
+
"pluginId": 1,
|
|
47
|
+
"reportId": 8
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"deviceId": 1,
|
|
51
|
+
"elementId": 8,
|
|
52
|
+
"pluginId": 5,
|
|
53
|
+
"reportId": 1
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"deviceId": 5,
|
|
57
|
+
"elementId": 4,
|
|
58
|
+
"pluginId": 2,
|
|
59
|
+
"reportId": 8
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"deviceId": 5,
|
|
63
|
+
"elementId": 3,
|
|
64
|
+
"pluginId": 9,
|
|
65
|
+
"reportId": 6
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"deviceId": 8,
|
|
69
|
+
"elementId": 5,
|
|
70
|
+
"pluginId": 3,
|
|
71
|
+
"reportId": 1
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"deviceId": 6,
|
|
75
|
+
"elementId": 5,
|
|
76
|
+
"pluginId": 2,
|
|
77
|
+
"reportId": 3
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"id": 4,
|
|
81
|
+
"nodeAId": 3,
|
|
82
|
+
"nodeBId": 5,
|
|
83
|
+
"type": "ObjectGroup"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"data": [
|
|
87
|
+
{
|
|
88
|
+
"deviceId": 9,
|
|
89
|
+
"elementId": 5,
|
|
90
|
+
"pluginId": 2,
|
|
91
|
+
"reportId": 9
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"deviceId": 4,
|
|
95
|
+
"elementId": 4,
|
|
96
|
+
"pluginId": 8,
|
|
97
|
+
"reportId": 1
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"deviceId": 3,
|
|
101
|
+
"elementId": 2,
|
|
102
|
+
"pluginId": 10,
|
|
103
|
+
"reportId": 9
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"deviceId": 10,
|
|
107
|
+
"elementId": 9,
|
|
108
|
+
"pluginId": 9,
|
|
109
|
+
"reportId": 10
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"deviceId": 1,
|
|
113
|
+
"elementId": 8,
|
|
114
|
+
"pluginId": 10,
|
|
115
|
+
"reportId": 9
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"deviceId": 9,
|
|
119
|
+
"elementId": 8,
|
|
120
|
+
"pluginId": 5,
|
|
121
|
+
"reportId": 3
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"deviceId": 9,
|
|
125
|
+
"elementId": 10,
|
|
126
|
+
"pluginId": 7,
|
|
127
|
+
"reportId": 4
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"deviceId": 10,
|
|
131
|
+
"elementId": 2,
|
|
132
|
+
"pluginId": 4,
|
|
133
|
+
"reportId": 1
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"id": 4,
|
|
137
|
+
"nodeAId": 1,
|
|
138
|
+
"nodeBId": 6,
|
|
139
|
+
"type": "Object"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"data": [
|
|
143
|
+
{
|
|
144
|
+
"deviceId": 8,
|
|
145
|
+
"elementId": 4,
|
|
146
|
+
"pluginId": 3,
|
|
147
|
+
"reportId": 4
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"deviceId": 9,
|
|
151
|
+
"elementId": 7,
|
|
152
|
+
"pluginId": 7,
|
|
153
|
+
"reportId": 3
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"deviceId": 1,
|
|
157
|
+
"elementId": 9,
|
|
158
|
+
"pluginId": 5,
|
|
159
|
+
"reportId": 4
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"deviceId": 6,
|
|
163
|
+
"elementId": 9,
|
|
164
|
+
"pluginId": 9,
|
|
165
|
+
"reportId": 9
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"deviceId": 7,
|
|
169
|
+
"elementId": 5,
|
|
170
|
+
"pluginId": 2,
|
|
171
|
+
"reportId": 1
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"deviceId": 8,
|
|
175
|
+
"elementId": 4,
|
|
176
|
+
"pluginId": 2,
|
|
177
|
+
"reportId": 8
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"deviceId": 7,
|
|
181
|
+
"elementId": 10,
|
|
182
|
+
"pluginId": 10,
|
|
183
|
+
"reportId": 10
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"deviceId": 3,
|
|
187
|
+
"elementId": 1,
|
|
188
|
+
"pluginId": 1,
|
|
189
|
+
"reportId": 7
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"deviceId": 10,
|
|
193
|
+
"elementId": 6,
|
|
194
|
+
"pluginId": 1,
|
|
195
|
+
"reportId": 3
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"deviceId": 8,
|
|
199
|
+
"elementId": 5,
|
|
200
|
+
"pluginId": 5,
|
|
201
|
+
"reportId": 1
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"id": 3,
|
|
205
|
+
"nodeAId": 10,
|
|
206
|
+
"nodeBId": 8,
|
|
207
|
+
"type": "Device"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"data": [
|
|
211
|
+
{
|
|
212
|
+
"deviceId": 1,
|
|
213
|
+
"elementId": 9,
|
|
214
|
+
"pluginId": 1,
|
|
215
|
+
"reportId": 5
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"id": 10,
|
|
219
|
+
"nodeAId": 2,
|
|
220
|
+
"nodeBId": 9,
|
|
221
|
+
"type": "Device"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"data": [
|
|
225
|
+
{
|
|
226
|
+
"deviceId": 3,
|
|
227
|
+
"elementId": 10,
|
|
228
|
+
"pluginId": 6,
|
|
229
|
+
"reportId": 3
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"id": 3,
|
|
233
|
+
"nodeAId": 10,
|
|
234
|
+
"nodeBId": 7,
|
|
235
|
+
"type": "StatusMap"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"data": [
|
|
239
|
+
{
|
|
240
|
+
"deviceId": 7,
|
|
241
|
+
"elementId": 9,
|
|
242
|
+
"pluginId": 2,
|
|
243
|
+
"reportId": 6
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"deviceId": 4,
|
|
247
|
+
"elementId": 7,
|
|
248
|
+
"pluginId": 7,
|
|
249
|
+
"reportId": 3
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"deviceId": 9,
|
|
253
|
+
"elementId": 10,
|
|
254
|
+
"pluginId": 3,
|
|
255
|
+
"reportId": 7
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"id": 9,
|
|
259
|
+
"nodeAId": 1,
|
|
260
|
+
"nodeBId": 2,
|
|
261
|
+
"type": "StatusMap"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"data": [
|
|
265
|
+
{
|
|
266
|
+
"deviceId": 7,
|
|
267
|
+
"elementId": 4,
|
|
268
|
+
"pluginId": 5,
|
|
269
|
+
"reportId": 1
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"deviceId": 6,
|
|
273
|
+
"elementId": 7,
|
|
274
|
+
"pluginId": 3,
|
|
275
|
+
"reportId": 7
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"deviceId": 2,
|
|
279
|
+
"elementId": 5,
|
|
280
|
+
"pluginId": 10,
|
|
281
|
+
"reportId": 6
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"id": 8,
|
|
285
|
+
"nodeAId": 7,
|
|
286
|
+
"nodeBId": 2,
|
|
287
|
+
"type": "StatusMap"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"data": [
|
|
291
|
+
{
|
|
292
|
+
"deviceId": 7,
|
|
293
|
+
"elementId": 8,
|
|
294
|
+
"pluginId": 10,
|
|
295
|
+
"reportId": 4
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"deviceId": 6,
|
|
299
|
+
"elementId": 10,
|
|
300
|
+
"pluginId": 4,
|
|
301
|
+
"reportId": 7
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"deviceId": 9,
|
|
305
|
+
"elementId": 8,
|
|
306
|
+
"pluginId": 4,
|
|
307
|
+
"reportId": 8
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"deviceId": 4,
|
|
311
|
+
"elementId": 1,
|
|
312
|
+
"pluginId": 5,
|
|
313
|
+
"reportId": 2
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"deviceId": 7,
|
|
317
|
+
"elementId": 5,
|
|
318
|
+
"pluginId": 5,
|
|
319
|
+
"reportId": 1
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"deviceId": 7,
|
|
323
|
+
"elementId": 10,
|
|
324
|
+
"pluginId": 8,
|
|
325
|
+
"reportId": 9
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"id": 4,
|
|
329
|
+
"nodeAId": 9,
|
|
330
|
+
"nodeBId": 5,
|
|
331
|
+
"type": "Object"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"id": 8,
|
|
335
|
+
"imageId": 5,
|
|
336
|
+
"imageMimeType": "string",
|
|
337
|
+
"imageName": "string",
|
|
338
|
+
"imageSize": 5,
|
|
339
|
+
"name": "string",
|
|
340
|
+
"nodes": [
|
|
341
|
+
{
|
|
342
|
+
"data": [
|
|
343
|
+
{
|
|
344
|
+
"deviceId": 9,
|
|
345
|
+
"elementId": 9,
|
|
346
|
+
"pluginId": 6,
|
|
347
|
+
"reportId": 5
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"deviceId": 7,
|
|
351
|
+
"elementId": 2,
|
|
352
|
+
"pluginId": 1,
|
|
353
|
+
"reportId": 6
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"id": 3,
|
|
357
|
+
"name": "string",
|
|
358
|
+
"type": "StatusMap",
|
|
359
|
+
"x": 1,
|
|
360
|
+
"y": 4
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"data": [
|
|
364
|
+
{
|
|
365
|
+
"deviceId": 5,
|
|
366
|
+
"elementId": 7,
|
|
367
|
+
"pluginId": 5,
|
|
368
|
+
"reportId": 5
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"deviceId": 8,
|
|
372
|
+
"elementId": 6,
|
|
373
|
+
"pluginId": 3,
|
|
374
|
+
"reportId": 4
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"deviceId": 9,
|
|
378
|
+
"elementId": 10,
|
|
379
|
+
"pluginId": 6,
|
|
380
|
+
"reportId": 6
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"deviceId": 7,
|
|
384
|
+
"elementId": 8,
|
|
385
|
+
"pluginId": 6,
|
|
386
|
+
"reportId": 8
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"deviceId": 4,
|
|
390
|
+
"elementId": 7,
|
|
391
|
+
"pluginId": 3,
|
|
392
|
+
"reportId": 5
|
|
393
|
+
}
|
|
394
|
+
],
|
|
395
|
+
"id": 2,
|
|
396
|
+
"name": "string",
|
|
397
|
+
"type": "ObjectGroup",
|
|
398
|
+
"x": 1,
|
|
399
|
+
"y": 9
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"data": [
|
|
403
|
+
{
|
|
404
|
+
"deviceId": 5,
|
|
405
|
+
"elementId": 6,
|
|
406
|
+
"pluginId": 4,
|
|
407
|
+
"reportId": 4
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"deviceId": 4,
|
|
411
|
+
"elementId": 6,
|
|
412
|
+
"pluginId": 9,
|
|
413
|
+
"reportId": 10
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"deviceId": 10,
|
|
417
|
+
"elementId": 3,
|
|
418
|
+
"pluginId": 9,
|
|
419
|
+
"reportId": 2
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"deviceId": 2,
|
|
423
|
+
"elementId": 8,
|
|
424
|
+
"pluginId": 6,
|
|
425
|
+
"reportId": 2
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"deviceId": 2,
|
|
429
|
+
"elementId": 7,
|
|
430
|
+
"pluginId": 8,
|
|
431
|
+
"reportId": 10
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"id": 5,
|
|
435
|
+
"name": "string",
|
|
436
|
+
"type": "DeviceGroup",
|
|
437
|
+
"x": 1,
|
|
438
|
+
"y": 7
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"data": [
|
|
442
|
+
{
|
|
443
|
+
"deviceId": 6,
|
|
444
|
+
"elementId": 1,
|
|
445
|
+
"pluginId": 9,
|
|
446
|
+
"reportId": 7
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"deviceId": 2,
|
|
450
|
+
"elementId": 8,
|
|
451
|
+
"pluginId": 5,
|
|
452
|
+
"reportId": 6
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"deviceId": 8,
|
|
456
|
+
"elementId": 6,
|
|
457
|
+
"pluginId": 7,
|
|
458
|
+
"reportId": 10
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"deviceId": 5,
|
|
462
|
+
"elementId": 5,
|
|
463
|
+
"pluginId": 5,
|
|
464
|
+
"reportId": 3
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"deviceId": 3,
|
|
468
|
+
"elementId": 10,
|
|
469
|
+
"pluginId": 1,
|
|
470
|
+
"reportId": 8
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"deviceId": 2,
|
|
474
|
+
"elementId": 1,
|
|
475
|
+
"pluginId": 2,
|
|
476
|
+
"reportId": 9
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"deviceId": 9,
|
|
480
|
+
"elementId": 5,
|
|
481
|
+
"pluginId": 9,
|
|
482
|
+
"reportId": 3
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"deviceId": 9,
|
|
486
|
+
"elementId": 5,
|
|
487
|
+
"pluginId": 3,
|
|
488
|
+
"reportId": 4
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"id": 4,
|
|
492
|
+
"name": "string",
|
|
493
|
+
"type": "Object",
|
|
494
|
+
"x": 2,
|
|
495
|
+
"y": 9
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"data": [
|
|
499
|
+
{
|
|
500
|
+
"deviceId": 8,
|
|
501
|
+
"elementId": 2,
|
|
502
|
+
"pluginId": 10,
|
|
503
|
+
"reportId": 10
|
|
504
|
+
}
|
|
505
|
+
],
|
|
506
|
+
"id": 5,
|
|
507
|
+
"name": "string",
|
|
508
|
+
"type": "StatusMap",
|
|
509
|
+
"x": 1,
|
|
510
|
+
"y": 5
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"data": [
|
|
514
|
+
{
|
|
515
|
+
"deviceId": 9,
|
|
516
|
+
"elementId": 5,
|
|
517
|
+
"pluginId": 4,
|
|
518
|
+
"reportId": 1
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"deviceId": 2,
|
|
522
|
+
"elementId": 9,
|
|
523
|
+
"pluginId": 8,
|
|
524
|
+
"reportId": 10
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"id": 10,
|
|
528
|
+
"name": "string",
|
|
529
|
+
"type": "ObjectGroup",
|
|
530
|
+
"x": 3,
|
|
531
|
+
"y": 6
|
|
532
|
+
}
|
|
533
|
+
]
|
|
534
|
+
}
|
package/entities/map/schema.json
CHANGED
package/error.json
CHANGED
|
@@ -96,6 +96,12 @@
|
|
|
96
96
|
"displayString": "Invalid properties: $VARIABLE$",
|
|
97
97
|
"recommendation": "Verify the properties for the adapter"
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
"key": "Missing Properties",
|
|
101
|
+
"icode": "AD.306",
|
|
102
|
+
"displayString": "Property $VARIABLE$ is required",
|
|
103
|
+
"recommendation": "Please provide the required property"
|
|
104
|
+
},
|
|
99
105
|
{
|
|
100
106
|
"key": "Query Not Translated",
|
|
101
107
|
"icode": "AD.310",
|
|
@@ -168,6 +174,12 @@
|
|
|
168
174
|
"displayString": "Failure response received for $VARIABLE$",
|
|
169
175
|
"recommendation": "Check the reason for failure in the stack trace"
|
|
170
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
|
+
},
|
|
171
183
|
{
|
|
172
184
|
"key": "Caught Exception",
|
|
173
185
|
"icode": "AD.900",
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itentialopensource/adapter-sevone",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Itential SevOne Adapter",
|
|
5
5
|
"main": "adapter.js",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
6
|
+
"systemName": "SevOne",
|
|
7
|
+
"wizardVersion": "2.44.7",
|
|
8
|
+
"engineVersion": "1.61.6",
|
|
9
|
+
"adapterType": "http",
|
|
8
10
|
"scripts": {
|
|
9
11
|
"artifactize": "npm i && node utils/packModificationScript.js",
|
|
10
|
-
"preinstall": "node utils/setup.js",
|
|
12
|
+
"preinstall": "node utils/setup.js && npm install --package-lock-only --ignore-scripts && npx npm-force-resolutions",
|
|
11
13
|
"lint": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js",
|
|
12
14
|
"lint:errors": "node --max_old_space_size=4096 ./node_modules/eslint/bin/eslint.js . --ext .json --ext .js --quiet",
|
|
13
15
|
"test:baseunit": "mocha test/unit/adapterBaseTestUnit.js --LOG=error",
|
|
@@ -15,7 +17,7 @@
|
|
|
15
17
|
"test:integration": "mocha test/integration/adapterTestIntegration.js --LOG=error",
|
|
16
18
|
"test:cover": "nyc --reporter html --reporter text mocha --reporter dot test/*",
|
|
17
19
|
"test": "npm run test:baseunit && npm run test:unit && npm run test:integration",
|
|
18
|
-
"adapter:install": "node utils/tbScript.js install",
|
|
20
|
+
"adapter:install": "npm i && node utils/tbScript.js install",
|
|
19
21
|
"adapter:checkMigrate": "node utils/checkMigrate.js",
|
|
20
22
|
"adapter:findPath": "node utils/findPath.js",
|
|
21
23
|
"adapter:migrate": "node utils/modify.js -m",
|
|
@@ -25,7 +27,7 @@
|
|
|
25
27
|
"healthcheck": "node utils/tbScript.js healthcheck",
|
|
26
28
|
"basicget": "node utils/tbScript.js basicget",
|
|
27
29
|
"connectivity": "node utils/tbScript.js connectivity",
|
|
28
|
-
"deploy": "npm publish --registry=
|
|
30
|
+
"deploy": "npm publish --registry=https://registry.npmjs.org --access=public",
|
|
29
31
|
"build": "npm run deploy"
|
|
30
32
|
},
|
|
31
33
|
"keywords": [
|
|
@@ -52,13 +54,15 @@
|
|
|
52
54
|
"author": "Itential",
|
|
53
55
|
"homepage": "https://gitlab.com/itentialopensource/adapters/telemetry-analytics/adapter-sevone#readme",
|
|
54
56
|
"dependencies": {
|
|
55
|
-
"@itentialopensource/adapter-utils": "^4.
|
|
57
|
+
"@itentialopensource/adapter-utils": "^4.45.6",
|
|
56
58
|
"ajv": "^6.12.0",
|
|
57
59
|
"axios": "^0.21.0",
|
|
58
60
|
"commander": "^2.20.0",
|
|
59
61
|
"fs-extra": "^8.1.0",
|
|
60
|
-
"
|
|
62
|
+
"json-query": "^2.2.2",
|
|
63
|
+
"mocha": "^9.0.1",
|
|
61
64
|
"mocha-param": "^2.0.1",
|
|
65
|
+
"mongodb": "^4.1.0",
|
|
62
66
|
"network-diagnostics": "^0.5.3",
|
|
63
67
|
"nyc": "^15.1.0",
|
|
64
68
|
"readline-sync": "^1.4.10",
|
|
@@ -66,13 +70,16 @@
|
|
|
66
70
|
"winston": "^3.3.3"
|
|
67
71
|
},
|
|
68
72
|
"devDependencies": {
|
|
69
|
-
"chai": "^4.
|
|
70
|
-
"eslint": "^7.
|
|
71
|
-
"eslint-config-airbnb-base": "^14.2.
|
|
72
|
-
"eslint-plugin-import": "^2.
|
|
73
|
-
"eslint-plugin-json": "^
|
|
73
|
+
"chai": "^4.3.4",
|
|
74
|
+
"eslint": "^7.29.0",
|
|
75
|
+
"eslint-config-airbnb-base": "^14.2.1",
|
|
76
|
+
"eslint-plugin-import": "^2.23.4",
|
|
77
|
+
"eslint-plugin-json": "^3.0.0",
|
|
74
78
|
"package-json-validator": "^0.6.3",
|
|
75
79
|
"testdouble": "^3.16.1"
|
|
76
80
|
},
|
|
81
|
+
"resolutions": {
|
|
82
|
+
"minimist": "^1.2.5"
|
|
83
|
+
},
|
|
77
84
|
"private": false
|
|
78
85
|
}
|