Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2909

Provide more info for TeiidPropertyDefinition marked 'isRequired' but with conditions

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.4
    • AdminApi
    • None

      For some data source types, there are associated propertyDefinitions that are marked 'required'. However, they are not always required.

      I'm referring to TeiidPropertyDefinition list returned by adminApi.getTemplatePropertyDefns(), for example.

      Google source is example of a source containing this type of property definition.
      https://docs.jboss.org/author/display/teiid84final/Google+Spreadsheet+Data+Sources

      For example 'RefreshToken' is marked as required, but it is only required based on the value of another property (AuthMethod).

      Can teiid provide these additional conditions along with the propertyDefinition? Without this information we are forced to hard-code the validation rules into our client application.

            rhn-engineering-shawkins Steven Hawkins
            mdrillin1@redhat.com Mark Drilling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: