Awesome
Eclise Lyo Client - Sample Code
You can find more resources for developing OSLC applications with Lyo, under the OSLC Developer Guide.
You are also welcome to contact the development team via lyo-dev mailing list
Please note: Most of code in this repo is not always up to date. You are welcome to contribute fixes and suggestions.
Selected Project Descriptions
Below is a selected subset of projects in this repository.
The latest samplest target the Lyo release 4.0.0, which supports JAX-RS 2.0, and no longer depend on any particlar implementation of JAX-RS. This gives the developer the chance to adopt any preferred implementation such as Jersey, RESTEasy, etc.
Earlier samples targetting Lyo 2.4.0 (and earlier) supports JAX-RS 1.0, and assumes the Apache Wink implementation.
OSLC Client Authentication, Service Discovery & Delegated UIs - Sample code for Lyo 4.0.0 (JAX-RS 2.0)
This OSLC client application
- Explores the different client authentication alternatives of (1) oauth (2) basic authentication (3) no authentication.
- Demonstrates how to discover OSLC services.
- Demonstrates how to integrate Delegated-UI iframes into your own web-based application.
To run the adaptor as a regular web application, run:
mvn clean jetty:run-exploded
You can then explore the server starting with http://localhost:8081/discovery/services/discovery.
oslc4j-client-samples - Sample code for Lyo 4.0.0 (JAX-RS 2.0)
This is a subset of the sample code from Lyo 2.4.0 detailed under oslc-java-samples.
License
This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 which accompanies this distribution (LICENSE and LICENSE.EPL).