Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » Re: [stp-dev] STP-SCA Tools not drawing wire lines when reference target uses component URI instead
Re: [stp-dev] STP-SCA Tools not drawing wire lines when reference target uses component URI instead [message #483321] Tue, 01 September 2009 06:17 Go to next message
Vincent Zurczak is currently offline Vincent ZurczakFriend
Messages: 149
Registered: July 2009
Senior Member

Hi Luciano,

Seems like a bug indeed.
Can you open a ubg entry in the SCA bugzilla? [0]

Regards,

Vincent Zurczak.



[0] :
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=speci fic&order=relevance+desc&bug_status=__all__&prod uct=SCA&content=sca




Luciano Resende a écrit :
> Looks like the algorithm used to draw the wiring lines between
> service/reference only works if the reference specify the target
> service in the form of Component/Service URI. Note that, when the
> component only have one service, a Component URI is also valid, but it
> looks like the SCA tools does not recognize it and thus no wiring
> lines are drawn. Please see below my test composite :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> xmlns:s="http://sample"
> xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" name="rest"
> targetNamespace="http://sample">
> <component name="ExpertRegistryComponent">
> <implementation.java
> class="org.apache.tuscany.sample.expertise.ExpertRegistryImpl "/>
> <service name="ExpertRegistry">
> <interface.java
> interface="org.apache.tuscany.sample.expertise.ExpertRegistry "/>
> </service>
> </component>
> <component name="RestExpertiseLocatorComponent">
> <implementation.java
> class="org.apache.tuscany.sample.expertise.RestfulExpertiseLocator "/>
> <service name="Servlet">
> <t:binding.http uri="http://localhost:8200/experts"/>
> </service>
> <reference name="experts" target="ExpertRegistryComponent"/>
> </component>
> </composite

--
Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 91 72
Re: [stp-dev] STP-SCA Tools not drawing wire lines when reference target uses component URI instead [message #483336 is a reply to message #483321] Tue, 01 September 2009 08:19 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
Hi,

It's not really a bug. If you want to display the missing wire, select
the composite file in the navigator view > right click > SCA > Resolve
Missing Elements.

More information can be found here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288212

Stephane Drapeau
Obeo

Vincent Zurczak a écrit :
> Hi Luciano,
>
> Seems like a bug indeed.
> Can you open a ubg entry in the SCA bugzilla? [0]
>
> Regards,
>
> Vincent Zurczak.
>
>
>
> [0] :
> https://bugs.eclipse.org/bugs/buglist.cgi?query_format=speci fic&order=relevance+desc&bug_status=__all__&prod uct=SCA&content=sca
>
>
>
>
>
> Luciano Resende a écrit :
>> Looks like the algorithm used to draw the wiring lines between
>> service/reference only works if the reference specify the target
>> service in the form of Component/Service URI. Note that, when the
>> component only have one service, a Component URI is also valid, but it
>> looks like the SCA tools does not recognize it and thus no wiring
>> lines are drawn. Please see below my test composite :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> xmlns:s="http://sample"
>> xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" name="rest"
>> targetNamespace="http://sample">
>> <component name="ExpertRegistryComponent">
>> <implementation.java
>> class="org.apache.tuscany.sample.expertise.ExpertRegistryImpl "/>
>> <service name="ExpertRegistry">
>> <interface.java
>> interface="org.apache.tuscany.sample.expertise.ExpertRegistry "/>
>> </service>
>> </component>
>> <component name="RestExpertiseLocatorComponent">
>> <implementation.java
>> class="org.apache.tuscany.sample.expertise.RestfulExpertiseLocator "/>
>> <service name="Servlet">
>> <t:binding.http uri="http://localhost:8200/experts"/>
>> </service>
>> <reference name="experts" target="ExpertRegistryComponent"/>
>> </component>
>> </composite
>
Re: [stp-dev] STP-SCA Tools not drawing wire lines when reference target uses component URI instead [message #575983 is a reply to message #483321] Tue, 01 September 2009 08:19 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
Hi,

It's not really a bug. If you want to display the missing wire, select
the composite file in the navigator view > right click > SCA > Resolve
Missing Elements.

More information can be found here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=288212

Stephane Drapeau
Obeo

Vincent Zurczak a écrit :
> Hi Luciano,
>
> Seems like a bug indeed.
> Can you open a ubg entry in the SCA bugzilla? [0]
>
> Regards,
>
> Vincent Zurczak.
>
>
>
> [0] :
> https://bugs.eclipse.org/bugs/buglist.cgi?query_format=speci fic&order=relevance+desc&bug_status=__all__&prod uct=SCA&content=sca
>
>
>
>
>
> Luciano Resende a écrit :
>> Looks like the algorithm used to draw the wiring lines between
>> service/reference only works if the reference specify the target
>> service in the form of Component/Service URI. Note that, when the
>> component only have one service, a Component URI is also valid, but it
>> looks like the SCA tools does not recognize it and thus no wiring
>> lines are drawn. Please see below my test composite :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> xmlns:s="http://sample"
>> xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" name="rest"
>> targetNamespace="http://sample">
>> <component name="ExpertRegistryComponent">
>> <implementation.java
>> class="org.apache.tuscany.sample.expertise.ExpertRegistryImpl "/>
>> <service name="ExpertRegistry">
>> <interface.java
>> interface="org.apache.tuscany.sample.expertise.ExpertRegistry "/>
>> </service>
>> </component>
>> <component name="RestExpertiseLocatorComponent">
>> <implementation.java
>> class="org.apache.tuscany.sample.expertise.RestfulExpertiseLocator "/>
>> <service name="Servlet">
>> <t:binding.http uri="http://localhost:8200/experts"/>
>> </service>
>> <reference name="experts" target="ExpertRegistryComponent"/>
>> </component>
>> </composite
>
Previous Topic:Re: [stp-dev] STP-SCA Tools not drawing wire lines when reference target uses component URI instead
Next Topic:help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working
Goto Forum:
  


Current Time: Wed Nov 14 16:22:21 GMT 2018

Powered by FUDForum. Page generated in 0.02628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top