Uploaded image for project: 'Talend Unified Platform'
  1. Talend Unified Platform
  2. TUP-21467

Support static schema completion

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • New Feature
    • Status: closed
    • Major
    • Resolution: Fixed
    • None
    • 7.2.1
    • None
    • All
    • GreenHopper Ranking:
      0|i1dtgr:
    • 9223372036854775807
    • Small

    Description

      New BuiltInSuggestable API will be added by Romain. This means UI should show widget with suggested values for annotated component option. Suggested values are schema column names.
      https://github.com/Talend/component-api/blob/master/src/main/java/org/talend/sdk/component/api/configuration/action/BuiltInSuggestable.java

      If annotated component option is String widget should allow single selection of suggested values (dropdown list).
      If annotated component option is List<String> widget should allow multiple selection of suggested values.

      Suggested values should be collected statically (without server call).
      Suggested values should be collected from incoming schema? (should be checked whether this requirement is correct and suitable)

      Implementation details
      In case Option is annotated with BuiltInSuggestable, component server will return SimplePropertyDefinition with following metadata key:
      action::built_in_suggestable=INCOMING_SCHEMA_ENTRY_NAMES
      value can be anything, so there should be switch-case.
      In case there is unknown value it should be logged and empty list should be returned.

      ./main/plugins/org.talend.core.runtime/src/main/java/org/talend/core/model/process/EParameterFieldType.java has some speicifc widgets like PREV_COLUMN_LIST, which can maybe be used

      Attachments

        Issue Links

          Activity

            People

              nrousseau Nicolas Rousseau
              igonchar Ivan Gonchar
              Ivan Gonchar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours
                  6h