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

Inconsistent endpoints for REST API list components.

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • None
    • None
    • None
    • All
    • Hide

      no more relevant

      Show
      no more relevant
    • Small

    Description

      There are two different endpoints for listing components in TCOMP, and only one supports filters.

      For example, the following works with filters:

      http://localhost:8989/tcomp/definitions/components?executionEngine=BEAM&typology=TRANSFORMER

      But the following returns all components and the parameters are quietly ignored:

      http://localhost:8989/tcomp/definitions/COMPONENT?executionEngine=BEAM&typology=TRANSFORMER

      These should be consistent, and preferably offer one endpoint instead of two that do the same thing.

      For both cases, the documentation at https://github.com/Talend/components/wiki/7.-Components-REST-service#list-component-definitions is wrong.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rskraba Ryan Skraba
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: