[teiid-issues] [JBoss JIRA] (TEIID-2904) Expose "import" and "extension-metadata" Translator Properties through Admin API

Ramesh Reddy (JIRA) issues at jboss.org
Wed Mar 26 16:17:13 EDT 2014


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

Ramesh Reddy commented on TEIID-2904:
-------------------------------------

Added new Admin API method

{code}
   /**
     * Get all of the available configuration Properties for the specified translator
     * @param translatorName - Name of the translator
     * @param type - Type of property definition (import, override, extension-metadata)
     * @return
     * @throws AdminException
     */
    Collection<? extends PropertyDefinition> getTranslatorPropertyDefinitions(String translatorName, TranlatorPropertyType type) throws AdminException;
   {code}

* Added a interface called "MetadataProcessor" to "teiid-api" to serve as marker interface for any metadata import process for a translator.
* Extended the @TranslatorProperty annotation to include a property type attribute, to define a "import" property of a translator.
* Any method, that has @TranslatorProperty with "import" type on "ExecutionFactory" or "MetadataProcessror" class of translator will be reported as the "importer" property
* Introduced @ExtensionMetadataProperty annotation for declared fields on class to annotate them as the defined extension properties.
* Any field on "ExecutionFactory" or "MetadataProcessror" class of translator, with @ExtensionMetadataProperty will be reported as the extension metadata property.
* Revised all the translators to report their extension and import properties using the above method.
                
> Expose "import" and "extension-metadata" Translator Properties through Admin API
> --------------------------------------------------------------------------------
>
>                 Key: TEIID-2904
>                 URL: https://issues.jboss.org/browse/TEIID-2904
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: AdminApi
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 8.7
>
>
> Currently only "override" translator properties are exposed through Admin API. Teiid should also expose
> * import properties
> * extension metadata proeprties
> for tooling purposes. Right now Teiid Connection importer in Designer, a user has to manually enter these values.

--
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