[teiid-issues] [JBoss JIRA] (TEIID-2909) Provide more info for TeiidPropertyDefinition marked 'isRequired' but with conditions

Barry LaFond (JIRA) issues at jboss.org
Fri Mar 28 13:26:12 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12957430#comment-12957430 ] 

Barry LaFond commented on TEIID-2909:
-------------------------------------

We're not asking for a conversational API. We are asking for a more complex translator property definition that can some how be used in Teiid Designer without having to add custom business logic.  I'm assuming that you've got these additional property dependencies/conditions coded in the translator's validation or translator usage logic.

If the condition is "passive" (where "required" properties are not conditional on other non-required properties) then we wouldn't need to provide that validation. But in this case, users would see *property_1* as required and not know that it's not required because *property_2* was set to *false*.

Without that validation on our side, users will set *property_1*, then deploy/execute/test their VDB and it just wouldn't work and maybe they'd get a server log warning/error that *property_2* is not *true*
                
> 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
>          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+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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list