Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation

Hi Samuel and Clyde,

I'm happy I have this email exchange with you. I was head under water
and I'm glad I raised this question here. You pointed me in the right
direction and I have fixed my bugs very quickly. So since Friday
afternoon my TRS 2.0 service provider is working properly and RELM 4.0.5
could consume it.

Thanks a lot.

Jean-Luc Johnson
Airbus Group Innovations, UK

-----Original Message-----
From: lyo-dev-bounces@xxxxxxxxxxx [mailto:lyo-dev-bounces@xxxxxxxxxxx]
On Behalf Of lyo-dev-request@xxxxxxxxxxx
Sent: 13 February 2014 16:42
To: lyo-dev@xxxxxxxxxxx
Subject: lyo-dev Digest, Vol 31, Issue 5

Send lyo-dev mailing list submissions to
	lyo-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/lyo-dev
or, via email, send a message with subject or body 'help' to
	lyo-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	lyo-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lyo-dev digest..."


Today's Topics:

   1. Eclipse Lyo - Issue with TRS 2.0 implementation
      (Johnson, Jean-Luc)
   2. Re: Eclipse Lyo - Issue with TRS 2.0 implementation
      (Samuel Padgett)
   3. Re: Eclipse Lyo - Issue with TRS 2.0 implementation
      (Clyde D Icuspit)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Feb 2014 14:51:09 -0000
From: "Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx>
To: <lyo-dev@xxxxxxxxxxx>
Subject: [lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation
Message-ID:
	<C5103A049490164C9A984922915B51930251FCA2@xxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain;	charset="us-ascii"


Hello,

We are currently deploying RELM in my company. I'm in charge of the
development of a TRS adapter for an open source simulation tool.
My TRS page is fine and my track resource set URI passed the test suite.
The changelog resource looked ok as well. Unfortunately, the 'Base'
representation failed. The following test methods are affected:
testBaseHasCutoffProperty, testBaseHasLdpPage, testBaseHasType.

In RELM, we have added a new datasource in LQE. Currently we are facing
an error stating that the TRS is not valid.

Here the BASE RESOURCE page we get with the Lyo TRS reference
implementation: 
<rdf:RDF> 
        <trs:Base
rdf:about="http://localhost:8080/org.eclipse.lyo.rio.trs/rest/trs/base/";
> 
        <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
        <trs:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
        </trs:Base> 
</rdf:RDF>


and here the page with the my own TRS adpater. 

<rdf:RDF> 
        <ldp:Page
rdf:about="http://localhost:8080/CrystalDymolaAM/services/base/1";> 
        <ldp:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
                <ldp:pageOf> 
                        <ldp:Container> 
                                <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
                        </ldp:Container> 
                </ldp:pageOf> 
        </ldp:Page> 
</rdf:RDF>

Do you have any idea of what went wrong and how to fix this?
Any support is welcomed.

Best regards,
Jean-Luc Johnson 
Airbus Group Innovations, UK




------------------------------

Message: 2
Date: Thu, 13 Feb 2014 11:12:54 -0500
From: Samuel Padgett <spadgett@xxxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: lyo-dev-bounces@xxxxxxxxxxx
Subject: Re: [lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation
Message-ID:
	
<OFA499A3FA.D51E2249-ON85257C7E.0057BD85-85257C7E.00591226@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"


Jean-Luc,

I believe the right RDF type is ldp:Container rather than trs:Base. Are
you
using the org.eclipse.lyo.core.trs.Base class from the project
org.eclipse.lyo.core.trs? It should set the right type.

Does the URI of the base resource match the trs:base property in the TRS
resource? I see you do use org.eclipse.lyo.rio.trs/ as the webapp
context
in the base resource URI, but not for the page resource you included.

--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC



 

  From:       "Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx>

 

  To:         <lyo-dev@xxxxxxxxxxx>

 

  Date:       02/13/2014 09:54 AM

 

  Subject:    [lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation

 

  Sent by:    lyo-dev-bounces@xxxxxxxxxxx

 







Hello,

We are currently deploying RELM in my company. I'm in charge of the
development of a TRS adapter for an open source simulation tool.
My TRS page is fine and my track resource set URI passed the test suite.
The changelog resource looked ok as well. Unfortunately, the 'Base'
representation failed. The following test methods are affected:
testBaseHasCutoffProperty, testBaseHasLdpPage, testBaseHasType.

In RELM, we have added a new datasource in LQE. Currently we are facing
an error stating that the TRS is not valid.

Here the BASE RESOURCE page we get with the Lyo TRS reference
implementation:
<rdf:RDF>
        <trs:Base
rdf:about="http://localhost:8080/org.eclipse.lyo.rio.trs/rest/trs/base/";
>
        <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
        <trs:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
        </trs:Base>
</rdf:RDF>


and here the page with the my own TRS adpater.

<rdf:RDF>
        <ldp:Page
rdf:about="http://localhost:8080/CrystalDymolaAM/services/base/1";>
        <ldp:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                <ldp:pageOf>
                        <ldp:Container>
                                <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
                        </ldp:Container>
                </ldp:pageOf>
        </ldp:Page>
</rdf:RDF>

Do you have any idea of what went wrong and how to fix this?
Any support is welcomed.

Best regards,
Jean-Luc Johnson
Airbus Group Innovations, UK


_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140213/92
d47f69/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL:
<https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140213/92
d47f69/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL:
<https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140213/92
d47f69/attachment-0001.gif>

------------------------------

Message: 3
Date: Thu, 13 Feb 2014 11:41:18 -0500
From: Clyde D Icuspit <cdicuspi@xxxxxxxxxx>
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Cc: lyo-dev-bounces@xxxxxxxxxxx
Subject: Re: [lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation
Message-ID:
	
<OFEAF4A89E.30526CA9-ON85257C7E.005B92C2-85257C7E.005BAA86@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Hi Jean-Luc,

What version of RELM are you running and what version of the TRS spec
did 
you use in the implementation?

Sincerely, 

Clyde Icuspit

____________________________________________________________


Business Partner ISV Technical Enablement
IBM Certified I/T Specialist L2
IBM Rational Software
tel: 617.693.7417
email: cdicuspi@xxxxxxxxxx



Ready for IBM Rational Software Partner Program
Ready for IBM Rational partner plug-ins





From:   "Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx>
To:     <lyo-dev@xxxxxxxxxxx>, 
Date:   02/13/2014 09:54 AM
Subject:        [lyo-dev] Eclipse Lyo - Issue with TRS 2.0
implementation
Sent by:        lyo-dev-bounces@xxxxxxxxxxx




Hello,

We are currently deploying RELM in my company. I'm in charge of the
development of a TRS adapter for an open source simulation tool.
My TRS page is fine and my track resource set URI passed the test suite.
The changelog resource looked ok as well. Unfortunately, the 'Base'
representation failed. The following test methods are affected:
testBaseHasCutoffProperty, testBaseHasLdpPage, testBaseHasType.

In RELM, we have added a new datasource in LQE. Currently we are facing
an error stating that the TRS is not valid.

Here the BASE RESOURCE page we get with the Lyo TRS reference
implementation: 
<rdf:RDF> 
        <trs:Base
rdf:about="http://localhost:8080/org.eclipse.lyo.rio.trs/rest/trs/base/";
> 
        <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
        <trs:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
        </trs:Base> 
</rdf:RDF>


and here the page with the my own TRS adpater. 

<rdf:RDF> 
        <ldp:Page
rdf:about="http://localhost:8080/CrystalDymolaAM/services/base/1";> 
        <ldp:nextPage
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
                <ldp:pageOf> 
                        <ldp:Container> 
                                <trs:cutoffEvent
rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> 
                        </ldp:Container> 
                </ldp:pageOf> 
        </ldp:Page> 
</rdf:RDF>

Do you have any idea of what went wrong and how to fix this?
Any support is welcomed.

Best regards,
Jean-Luc Johnson 
Airbus Group Innovations, UK


_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://dev.eclipse.org/mailman/private/lyo-dev/attachments/20140213/cd
27d3c2/attachment.html>

------------------------------

_______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


End of lyo-dev Digest, Vol 31, Issue 5
**************************************


Back to the top