The Fabric Catalog solution includes a list of product plugins. When needed, the core solution can be extended with project-specific functionality. It is particularly useful when you need to tailor the core discovery process to specific business requirements, extending the Catalog's capabilities beyond the baseline configuration: to add custom properties, to define new relationships, or to implement entirely custom behavior.
Creating a custom discovery plugin involves two stages:
<LU>/Java/src/com/k2view.discovery/plugins.MyCustomPlugin.java).Extend the appropriate base class based on your plugin's intended purpose:
PropertyPlugin class: public class MyCustomPlugin extends PropertyPlugin {
// Your implementation here
}
RelationPlugin class: public class MyCustomRelationPlugin extends RelationPlugin {
// Your implementation here
}
Plugin interface: public class MyFullCustomPlugin implements Plugin {
// Your implementation here
}
To ensure the plugin's progress is visible in the Discovery Monitor, add status updates to your class:
MonitorStatusUpdater.getInstance().updateFound(pluginName, uid);
updateStatus when implementing the Plugin interface:updateStatus(pluginName, uid, count++);
After implementing the plugin class, Deploy the Logical Unit to make the plugin available within Fabric.
Follow these steps to set up the new plugin within the Catalog's pipeline:
Navigate to Catalog app > Settings > Discovery Pipeline.
Click Override on the Baseline rule to create a custom pipeline configuration.
In the Plugins section, click the 3 dots icon to open the context menu.

Click Add Plugin, enter a name, then press TAB.
Populate the Class field using the following format: <LU_NAME>:<Full_Class_Path>
Customer:com.k2view.discovery.plugins.MyPrimaryKeyPlugin.Enter a Discovery Description. This text will appear in the Discovery Monitor.

Click Save to apply the changes.
Once the plugin configuration is completed, run the discovery process to execute your custom plugin.
For more information about how to add a new plugin, see the Discovery Pipeline settings.
The Fabric Catalog solution includes a list of product plugins. When needed, the core solution can be extended with project-specific functionality. It is particularly useful when you need to tailor the core discovery process to specific business requirements, extending the Catalog's capabilities beyond the baseline configuration: to add custom properties, to define new relationships, or to implement entirely custom behavior.
Creating a custom discovery plugin involves two stages:
<LU>/Java/src/com/k2view.discovery/plugins.MyCustomPlugin.java).Extend the appropriate base class based on your plugin's intended purpose:
PropertyPlugin class: public class MyCustomPlugin extends PropertyPlugin {
// Your implementation here
}
RelationPlugin class: public class MyCustomRelationPlugin extends RelationPlugin {
// Your implementation here
}
Plugin interface: public class MyFullCustomPlugin implements Plugin {
// Your implementation here
}
To ensure the plugin's progress is visible in the Discovery Monitor, add status updates to your class:
MonitorStatusUpdater.getInstance().updateFound(pluginName, uid);
updateStatus when implementing the Plugin interface:updateStatus(pluginName, uid, count++);
After implementing the plugin class, Deploy the Logical Unit to make the plugin available within Fabric.
Follow these steps to set up the new plugin within the Catalog's pipeline:
Navigate to Catalog app > Settings > Discovery Pipeline.
Click Override on the Baseline rule to create a custom pipeline configuration.
In the Plugins section, click the 3 dots icon to open the context menu.

Click Add Plugin, enter a name, then press TAB.
Populate the Class field using the following format: <LU_NAME>:<Full_Class_Path>
Customer:com.k2view.discovery.plugins.MyPrimaryKeyPlugin.Enter a Discovery Description. This text will appear in the Discovery Monitor.

Click Save to apply the changes.
Once the plugin configuration is completed, run the discovery process to execute your custom plugin.
For more information about how to add a new plugin, see the Discovery Pipeline settings.