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

Confusing API: ConnectorTopology vs. ConnectorTypology.

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 0.24.0
    • None
    • None
    • None
    • All
    • Small

    Description

      There are two parallel and functionally identical enums used to identify the role(s) that a single component can take in a job graph:

      https://github.com/Talend/components/blob/master/core/components-api/src/main/java/org/talend/components/api/component/ConnectorTopology.java

      and

      https://github.com/Talend/components/blob/master/services/components-api-service-rest/src/main/java/org/talend/components/service/rest/dto/ConnectorTypology.java

      This introduces ambiguous vocabulary, confusion and potential errors between API users, for both component developers and users of the REST API.

      I suggest going with the vocabulary of ConnectorTypology which aligns more precisely with the roles that a component can take in a job.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: