It's all about the answers!

Ask a question

Alternatives for Lyo, Eclise Lyo using RDNG 6.0


Dinyo Dinev (311235) | asked Sep 01 '15, 3:51 a.m.
edited Sep 01 '15, 4:09 a.m.
Hi, we moved from Doors 9.5 to RDNG 6.0.1 M1 and we realized that big part of the previous written functionality which uses Eclipse Lyo  2.1. does not properly work. All samples are for RDNG 4.0.1 but from 4 to 6 there seems to have not small differences. The main article
https://jazz.net/library/article/1197
Gabriel Ruelas
Last updated: January 17, 2013
Build basis: Rational Requirements Composer 4.0 and later, DOORS Next Generation 4.0.1
So we are wondering is there any alternative of Eclipse Lyo which will give us freedom to integrate with Exposed RDNG >6.0 OSLC APIs. Or if will be there soon newer version which will fixed some problems we faced like:
  • https://jazz.net/forum/questions/205251/how-to-use-querycapability-to-search-in-range-with-rdng

  • Changed model classes from the Core like org.eclipse.lyo.oslc4j.core.model.ServiceProviderCatalog which are used to read properly the OSLC response and now when the RDF structure is not the same. Not all information is read. So we can not use them in the right way and have to make our own implementations.
I do not understand from where come the differences. Eclipse Lyo implements OSLC v2 and RDNG also do that, am I right?

2 answers



permanent link
Jim Ruehlin (79114) | answered Sep 02 '15, 1:53 p.m.
JAZZ DEVELOPER
Hello Dinyo,

Lyo and OSLC have not changed, they are still at version 2.0 of the specification. RDNG has changed as it has been upgraded through the CLM versions. It's possible that something in RDNG 6.0.1 is different than it was in earlier versions, but that's an issue in the RDNG code and not the Lyo code. I've seen a few issues come up after 6.0 in RDNG, so it's possible there were some changes to the way it handles some of OSLC. For example, the forum post link you provided above looks like an RDNG issue because OSLC apps should return a 400 if it doesn't understand the query rather than a 500.

There are a number of OSLC and Lyo repositories in Github. I haven't looked into any of them (except the one supported by Eclipse), so I can't say how useful they might be to you. But I would look first at RDNG because that's the code that has changed. 

I think the current alternative to using Lyo is to write the raw OSLC REST calls. But if RDNG isn't conforming to OSLC issues in the way that it should then you should probably focus on that as the problem rather than writing your own non-conforming OSLC code.

permanent link
Gabriel Ruelas (1.1k13) | answered Sep 03 '15, 1:33 p.m.
Hi,
     I just downloaded the LYO client samples https://wiki.eclipse.org/Lyo/BuildClient#Building_the_Lyo_Client_in_Eclipse and run the RRCFormSample and it worked fine against a 6.0 and 6.0.1 server.

Which problems are you having?

Comments
Dinyo Dinev commented Sep 04 '15, 4:59 a.m.

so can you make query with 2 different where clauses using "and"?  Described in
https://jazz.net/forum/questions/205251/how-to-use-querycapability-to-search-in-range-with-rdng


Gabriel Ruelas commented Sep 04 '15, 12:44 p.m. | edited Sep 04 '15, 12:46 p.m.

Yes, there is a sample on the RRCFormSample  class :
 


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.