]
Steven Hawkins resolved TEIID-2909.
-----------------------------------
Resolution: Deferred
Marking as deferred. The boolean metadata will suffice for now.
Provide more info for TeiidPropertyDefinition marked
'isRequired' but with conditions
-------------------------------------------------------------------------------------
Key: TEIID-2909
URL:
https://issues.jboss.org/browse/TEIID-2909
Project: Teiid
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: AdminApi
Affects Versions: 8.4
Reporter: Mark Drilling
Assignee: Steven Hawkins
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+Dat...
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.