Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 261222 - Update meta model to define SCA bindings and implementations for Tuscany 1.4
Summary: Update meta model to define SCA bindings and implementations for Tuscany 1.4
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sca (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-15 12:11 EST by Dan Becker CLA
Modified: 2017-03-30 14:20 EDT (History)
2 users (show)

See Also:
Stephane.Drapeau: iplog+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Becker CLA 2009-01-15 12:11:52 EST
Build ID: M20080911-1700

Steps To Reproduce:
Update tuscany.ecore to provide all binding and implementation options (e.g. JScript, Atom) for SCA STP tools. This way users can create composites that take advantages of Tuscany SCA 1.4 features.

More information:
Meta model defined at http://dev.eclipse.org/svnroot/stp/org.eclipse.stp.sca-tools/org.eclipse.stp.sca/trunk/org.eclipse.stp.sca.domainmodel.tuscany/model/tuscany.ecore
Comment 1 Stephane Drapeau CLA 2009-01-16 04:53:18 EST
Where can I find the xsd corresponding to the new types defined by Tuscany 1.4?

I took a look at the Tuscany svn (modules\assembly-xsd\src\main\resources), but I didn't found the types introduced by Tuscany 1.4 (like google data binding, corba binding, ajax binding, widget implementation, ...).
Comment 2 Dan Becker CLA 2009-01-16 17:52:37 EST
(In reply to comment #1)
> Where can I find the xsd corresponding to the new types defined by Tuscany 1.4?
> 
> I took a look at the Tuscany svn (modules\assembly-xsd\src\main\resources), but
> I didn't found the types introduced by Tuscany 1.4 (like google data binding,
> corba binding, ajax binding, widget implementation, ...).
> 

True. Unfortunately I think many of these types are validated not via XML parsing, but in the Tuscany model as the inputs are resolved. I will ask on the Tuscany forum and attempt to find an answer. I may be wrong.
Comment 3 Dan Becker CLA 2009-01-19 10:26:09 EST
Well, it appears after some snooping around and some help from the Tuscany dev list, I am wrong on the XSD information I gave in a previous comment. 

Tuscany extensions tend to be in the namespace http://tuscany.apache.org/xmlns/sca/1.0 and a schema which pulls these together can be found in:
https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca.xsd
Comment 4 Stephane Drapeau CLA 2009-01-19 11:08:54 EST
(In reply to comment #3)
> Well, it appears after some snooping around and some help from the Tuscany dev
> list, I am wrong on the XSD information I gave in a previous comment. 
> 
> Tuscany extensions tend to be in the namespace
> http://tuscany.apache.org/xmlns/sca/1.0 and a schema which pulls these together
> can be found in:
> https://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/modules/assembly-xsd/src/main/resources/tuscany-sca.xsd
> 

Yes, I know. SCA Tools already takes into account the tuscany namespace and the types defined in the master schema (tuscany-sca.xsd).

The problem is that the directory "modules\assembly-xsd\src\main\resources" (and the master schema) doesn't contain the types introduced by Tuscany 1.4 (like google data binding, corba binding, ajax binding, ...).

It will be great if you can create the XML schemas of the types that are not defined in the Tuscany svn. It is simplier to generate SCA Tools from the XSD than to make the ecore by hand.

I found some information here [http://tuscany.apache.org/sca-java-user-reference.html]. I'm not sure that this information is up-to-date.

Comment 5 Dan Becker CLA 2009-01-20 12:19:26 EST
Which Tuscany bindings or implementations are missing XSDs? I see the following:

> tuscany-binding-corba
> tuscany-binding-hessian
> tuscany-binding-gdata
> tuscany-implementation-jee

Any others? I do not see the Ajax binding/impl that you mention.

I have asked ont he Tuscany dev list about what people would like to do with these.
Comment 6 Dan Becker CLA 2009-01-20 12:43:51 EST
I see binding.ajax in the Tuscany user docs, so let's add that to the list too:

binding.ajax
Comment 7 Dan Becker CLA 2009-01-22 14:37:30 EST
I have created Tuscany Jiras 2781-2785 (e.g. http://issues.apache.org/jira/browse/TUSCANY-2781) to track Tuscany creation of the given schemas.

Given that these schemas are not part of Tuscany 1.4, I think it is acceptable that the Eclipse STP meta-model for 1.4 be based on the existing schemas in the Tuscany 1.4 branch. No need to wait for these schemas to establish Tuscany 1.4 support.
Comment 8 Dan Becker CLA 2009-01-23 08:58:10 EST
Tuscany Jiras 2781-2785 are now resolved, and there are now schemas for the following bindings and implementations.

> tuscany-binding-corba
> tuscany-binding-hessian
> tuscany-binding-gdata
> tuscany-implementation-jee
> tuscany-binding-ajax

This is resolved in the Tuscany 1.x branch and will be available at the 1.4.1 or 1.5 release.
Comment 9 Stephane Drapeau CLA 2009-01-23 09:05:39 EST
Thanks.
I'll update the SCA Tools project ASAP.
Comment 10 Stephane Drapeau CLA 2009-02-05 11:48:24 EST
Fixed. Commit #2883.
Tuscany 1.4 is now supported.

Dan, if you have an opportunity to test the tools, I'm interested in your feedback. Thanks for your contribution.
Comment 11 Vincent Zurczak CLA 2011-03-25 08:40:32 EDT
Close old bugs.