Pass the process plugin definition to supportsIndex()

Created on 22 April 2025, 21 days ago

Problem/Motivation

In our implementation, a custom plugin driver dynamically generates processor and data source plugins. Each generated plugin receives a custom property in its definition. We need to ensure processors are only available for indexes containing a data source instance with a matching property value.

Current Limitation:

The existing IndexProcessorsForm::getAllProcessors() mechanism prevents proper filtering because:

1. Processor plugin definitions are not passed to supportsIndex()

2. The supportsIndex() method signature only receives the index object, not the processor's definition

Use Case Example:

When a processor plugin definition contains custom_property: "foo", it should only appear as available for indexes that contain at least one data source instance with custom_property: "foo" in its plugin definition.

Steps to reproduce

Proposed resolution

Modify IndexProcessorsForm::getAllProcessors() to pass the processor's plugin definition to supportsIndex().

Remaining tasks

Feature request
Status

Active

Version

1.0

Component

Framework

Created by

🇭🇺Hungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024