Skip to main content

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

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




Back to the top