[forge-issues] [JBoss JIRA] (FORGEPLUGINS-138) Switchyard service promotion issues
Lincoln Baxter III (JIRA)
jira-events at lists.jboss.org
Wed Oct 2 16:13:03 EDT 2013
[ https://issues.jboss.org/browse/FORGEPLUGINS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lincoln Baxter III moved FORGE-1215 to FORGEPLUGINS-138:
--------------------------------------------------------
Project: Forge Plugins (was: Forge)
Key: FORGEPLUGINS-138 (was: FORGE-1215)
Affects Version/s: (was: 2.0.0.Alpha12)
Component/s: Switchyard Plugin
(was: Plugin API)
> Switchyard service promotion issues
> -----------------------------------
>
> Key: FORGEPLUGINS-138
> URL: https://issues.jboss.org/browse/FORGEPLUGINS-138
> Project: Forge Plugins
> Issue Type: Bug
> Components: Switchyard Plugin
> Environment: Fedora 16
> java 1.7.0
> maven 3.1.0
> Reporter: R Searls
> Attachments: service-promotion_Alpha12.zip
>
>
> This issue is in the plugin-switchyard code.
> A created service can not be promoted until the service classes are compiled.
> The underlying code does not see the service until it is compile. There is
> code in the generated switchyard maven project pom.xml to introspect class files.
> The generated XML in the switchyard.xml file of a promoted service is not
> correct. A service element as a direct child of composite element is required,
> but is not generated.
> ------- switchyard.xml contents that is generated for a promoted service -----------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
> ------- switchyard.xml contents that is needed for a promoted service --------------
> <?xml version="1.0" encoding="UTF-8"?>
> <switchyard xmlns="urn:switchyard-config:switchyard:1.0">
> <composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
> name="myProject"
> targetNamespace="urn:switchyard:application:myProject">
> <service name="SimpleListener" promote="SimpleListener">
> <binding.sca/>
> </service>
> <component name="SimpleListener">
> <implementation.bean xmlns="urn:switchyard-component-bean:config:1.0"
> class="jbossesb.services.service.SimpleListenerBean"/>
> <service name="SimpleListener">
> <interface.java interface="jbossesb.services.service.SimpleListener"/>
> </service>
> </component>
> </composite>
> </switchyard>
--
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 forge-issues
mailing list