[
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
|
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
"Johnson, Jean-Luc" ---02/13/2014 09:54:09 AM---Hello, We are currently deploying RELM in my company. I'm in charge of the
![]()
| ![]()
"Johnson, Jean-Luc" <Jean-Luc.Johnson@xxxxxxxx> |
![]()
| ![]()
<lyo-dev@xxxxxxxxxxx> |
![]()
| ![]()
02/13/2014 09:54 AM |
![]()
| ![]()
[lyo-dev] Eclipse Lyo - Issue with TRS 2.0 implementation |
![]()
| ![]()
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

