Class AuditableDiscoveryService

    • Constructor Detail

      • AuditableDiscoveryService

        public AuditableDiscoveryService()
    • Method Detail

      • logNoAsset

        protected void logNoAsset​(String assetGUID,
                                  String methodName)
                           throws ConnectorCheckedException
        Log that no asset has been returned to the discovery service. It is unable to proceed without this basic information.
        Parameters:
        assetGUID - the unique identifier of the asset from the discovery context
        methodName - calling method
        Throws:
        ConnectorCheckedException - resulting exception
      • logWrongTypeOfAsset

        protected void logWrongTypeOfAsset​(String assetGUID,
                                           String assetType,
                                           String supportedAssetType,
                                           String methodName)
                                    throws ConnectorCheckedException
        Log that the discovery service can not process the type of asset it has been passed.
        Parameters:
        assetGUID - identifier of the asset
        assetType - type of the asset
        supportedAssetType - supported asset types
        methodName - calling method
        Throws:
        ConnectorCheckedException - resulting exception
      • getNetworkAddresses

        protected List<String> getNetworkAddresses​(AssetUniverse asset)
        Return the network address of this asset.
        Parameters:
        asset - asset to extract address from
        Returns:
        the list of network addresses