[teiid-issues] [JBoss JIRA] (TEIID-4570) RestWebservice war Generation failed due to split out rest related logic to rest-service

Ramesh Reddy (JIRA) issues at jboss.org
Thu Nov 10 05:04:00 EST 2016


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

Ramesh Reddy commented on TEIID-4570:
-------------------------------------

This commented out because "rest-service" , "jboss-integration" have circular dependency in module.xml. In previous versions, the rest-service code was in different project module, but the jar was provided with "jboss-integrations"'s module.xml. Feature pack building does not allow this cross pollination with out defining the explicit dependency on pom.xml. If we do that will be circular dependency at maven level too.

To solve this, basically we need to externalize the hooks for adding "VDBLifeCycleListener" through configuration. Like

{code}
<vdb-listener module="org.jboss.rest-service/>
{code}

in standalone-teiid.xml, then from the module service load the "VDBLifeCycleListener" class and add it in the "TeiidAdd.java" and register with VDBRepository. 

we can avoid configuration above, and hard code the "org.jboss.teiid.rest-service" module, that can be equal to previous code. The only issue is initialization where it is looking for Admin and Executor objects.  

> RestWebservice war Generation failed due to split out rest related logic to rest-service 
> -----------------------------------------------------------------------------------------
>
>                 Key: TEIID-4570
>                 URL: https://issues.jboss.org/browse/TEIID-4570
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 9.2
>            Reporter: Kylin Soong
>            Assignee: Kylin Soong
>             Fix For: 9.2
>
>
> The logic related with  RestWebservice war Generation be removed from VDBService, we need roll back it now



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list