|Re: [lyo-dev] OSLC Consumer adapter generator - SOAP UI-like|
There are plans to extend the existing generator to cover the consumer side. It will be based on the same generator project, meaning that in the end, the generator
can support either a pure server, a pure client, or a combination of both.
The consumer code is relatively simple (see also https://wiki.eclipse.org/Lyo/BuildClient). I heard that a current workaround has been to (1) model the server the client needs to connect to (2) generator the code (3) copy the generated Resource classes into the client project. That covers most of the code one needs to generate.
But of course, it would be convenient to support the generation directly.
Practically, I planned to release an initial version this autumn.
If you are interested in this feature, maybe you can detail your needs/ideas in a new Lyo Bug (please assign to me so I get notifications) so we can take it from there?
Jad El-khoury, PhD
KTH Royal Institute of Technology
School of Industrial Engineering and Management, Mechatronics Division
BrinellvÃgen 83, SE-100 44 Stockholm, Sweden
Phone: +46(0)8 790 6877 Mobile: +46(0)70 773 93 45
From: lyo-dev-bounces@xxxxxxxxxxx [mailto:lyo-dev-bounces@xxxxxxxxxxx]
On Behalf Of Jim Ruehlin
Lyo has a code generator for adapters, if you want to create a link between an OSLC enabled product and some other application. The adapter is essentially a client sitting between OSLC and non-OSLC applications so that might be one place to start. See the Adapter Code Generator Workshop for more info.
Lyo includes a Reference Implementation for OSLC (RIO). This is an OSLC server, but there are a set of JUnit tests that exercise the server. The code for these tests may give you some insight into how an OSLC client is set up and how it makes use of OSLC. This page describes how to build Lyo, including the RIO and tests.
Feel free to contact me if you have any questions about this.