[JBoss JIRA] (TEIID-2687) Expose Translator override property definitions through Admin API
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2687?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-2687.
---------------------------------
Labels: alpha3 (was: )
Resolution: Done
1) Added "read-translator-properties" CLI command to read the translator extension properties
2) Added getTranslatorPropertyDefinitions method to the Admin API
3) Added getTranslatorPropertyDefinitions method in AdminShell interface
> Expose Translator override property definitions through Admin API
> -----------------------------------------------------------------
>
> Key: TEIID-2687
> URL: https://issues.jboss.org/browse/TEIID-2687
> Project: Teiid
> Issue Type: Enhancement
> Components: AdminApi
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Labels: alpha3
> Fix For: 8.6
>
>
> Currently in the admin api
> {code}
> public Collection<PropertyDefinition> getTemplatePropertyDefinitions(String templateName) throws AdminException;
> {code}
> only works with resource-adapters and data sources in terms of returning the properties that can be configured on them.
> This request is to extend the functionality to return the "overridable" properties for "translators", such as
> {code}
> public Collection<PropertyDefinition> getTemplatePropertyDefinitions(String templateName, boolean isTranslator) throws AdminException;
> {code}
--
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
11 years, 2 months
[JBoss JIRA] (TEIID-2710) Rest procedures should support optional parameters
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2710?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2710.
-----------------------------------
Resolution: Done
Changed the procedure call to use the same named parameter syntax that was added for odata. Optional parameters will only work for post procedures, which use FormParams - more work would be required use QueryParams instead of PathParams for optional get parameters.
> Rest procedures should support optional parameters
> --------------------------------------------------
>
> Key: TEIID-2710
> URL: https://issues.jboss.org/browse/TEIID-2710
> Project: Teiid
> Issue Type: Enhancement
> Components: Server
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> We need to test our rest logic to ensure it supports optional parameters in the uri pattern.
> And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).
--
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
11 years, 2 months
[JBoss JIRA] (TEIID-2710) Rest procedures should support optional parameters
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2710?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2710:
---------------------------------------
After working through this it doesn't look like PathParams are supposed to be defaultable. QueryParams are viable though - but it would require additional metadata to indicate whether defaultable parameters should be query or path params.
> Rest procedures should support optional parameters
> --------------------------------------------------
>
> Key: TEIID-2710
> URL: https://issues.jboss.org/browse/TEIID-2710
> Project: Teiid
> Issue Type: Enhancement
> Components: Server
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> We need to test our rest logic to ensure it supports optional parameters in the uri pattern.
> And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).
--
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
11 years, 2 months
[JBoss JIRA] (TEIID-2710) Rest procedures should support optional parameters
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2710?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-2710:
----------------------------------
Description:
We need to test our rest logic to ensure it supports optional parameters in the uri pattern.
And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).
was:
We need to test our rest logic to ensure it supports optional parameters in the uri pattern:
{code}@Path("/mypath{param1 : (/param2)?}"){code}
And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).
> Rest procedures should support optional parameters
> --------------------------------------------------
>
> Key: TEIID-2710
> URL: https://issues.jboss.org/browse/TEIID-2710
> Project: Teiid
> Issue Type: Enhancement
> Components: Server
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.6
>
>
> We need to test our rest logic to ensure it supports optional parameters in the uri pattern.
> And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).
--
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
11 years, 2 months