Add a type parameter for the component in the API
Type can be :
- input = input
- processor = ouput or processor
- standalone = DriverRunner (pas de flow)
This relates TFD-14268.
We need TPD to help hide standalone components in the Pipeline designer.
We provided component type in ComponentDetail.java ComponentResourceImpl.java#L487
Why tpd need this:
The issue for us is that our filtering is based on the payload of the component server index, and if we switch to use details, we would need to retrieve details for all components of all connected engines and filter based on that, which would degrade our performance for this feature (and it is already quite bad). That’s the reason why it would be great to have this information in index payload too, not just in the details.
and also can refer to comments on TFD-14268
As seen in comments:
component/details and component/index now include a "type"parameter in component content