Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Lyo/TRSToolkit"

< Lyo
(TRS Toolkit Overview)
Line 8: Line 8:
 
<br>  
 
<br>  
  
In addition to the framework provided by OSLC4J the TRS toolkit consists of a set of Java beans that may be used with or without the provided framework.  
+
In addition to the framework provided by OSLC4J the TRS toolkit consists of a set of Java beans that may be used with or without the provided framework. The following beans are contained in the org.eclipse.lyo.core.trs project:
  
 
<br> '''Beans'''  
 
<br> '''Beans'''  
  
*TrackedResourceSet
+
*AbstractChangeLog<br>
*Base  
+
*Base<br>
*AbstractChangeLog
+
*ChangeEvent<br>
*ChangeLog  
+
*ChangeLog<br>
*EmptyChangeLog
+
*Creation<br>
*ChangeEvent
+
*Deletion<br>
*Creation
+
*EmptyChangeLog<br>
*Modification  
+
*Modification<br>
*Deletion
+
*Page (only in 2.0 to power the LDP base resource pagination)
 +
*TrackedResourceSet<br>
  
<br>  
+
<br>
  
 
= TRS Toolkit Examples =
 
= TRS Toolkit Examples =

Revision as of 10:39, 1 July 2013

TRS Toolkit Overview

The goal of the TRS toolkit is to provide an inclusive library stack for adopting TRS. This framework will provide the ability for:

  • Generating the TRS services via JAX-RS using Apache Wink
  • (De)Serialization of the TRS Beans through OSLC4J


In addition to the framework provided by OSLC4J the TRS toolkit consists of a set of Java beans that may be used with or without the provided framework. The following beans are contained in the org.eclipse.lyo.core.trs project:


Beans

  • AbstractChangeLog
  • Base
  • ChangeEvent
  • ChangeLog
  • Creation
  • Deletion
  • EmptyChangeLog
  • Modification
  • Page (only in 2.0 to power the LDP base resource pagination)
  • TrackedResourceSet


TRS Toolkit Examples

For examples on how these toolkit components are used, and for instructions on how to run the compliance test suite please refer to the instructions provided on the TRS Reference Application page.


Dependencies

TRS Toolkit Dependencies

The TRS Toolkit currently depends on the OSLC4J Wink and OSLC4J Jena Provider projects.  The current list of depdencies may always be obtained from the TRS Toolkit's pom.xml

Adding a dependency to the TRS Toolkit

You may add a dependency on the TRS Toolkit by adding the following lines to the <dependencies> section of your maven project's pom.xml:

<dependency>
    <groupId>org.eclipse.lyo</groupId>
    <artifactId>oslc-trs</artifactId>
    <version>0.5.0-SNAPSHOT</version>
</dependency>


Return to the main TRS SDK page.

Back to the top