Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2171

Add component type to ComponentIndex

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • All
    • GreenHopper Ranking:
      0|i2h05n:
    • 9223372036854775807
    • Small

    Description

      Description

      Add a type parameter for the component in the API
      "type": "xxx"

      Type can be :

      • input = input
      • processor = ouput or processor
      • standalone = DriverRunner (pas de flow)

      Origin

      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. 

      slack https://talend.slack.com/archives/C7KK22DJS/p1655345502760909 

      and also can refer to comments on  TFD-14268

      Technical solution

      As seen in comments:

      component/details and component/index now include a "type"parameter in component content

      Attachments

        Activity

          People

            emmanuel_g emmanuel gallois
            zhao_jin Zhao Jin
            Axel Catoire, emmanuel gallois
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: