How to get attributes name and value from Doors classic using eclipse lyo
![]()
Shan P (13●2●5)
| asked May 24 '19, 6:39 a.m.
retagged Jul 19 '19, 7:14 p.m. by Michael Afshar (701●4) Hello Team,
I am using eclipse lyo api to fetch doors requirements.
I could able to fetch the requirements and its extended properties.
But these attribute data's are not user provided values, i.e. it provides attrDef_4 (might be system generated)
Ex: Consider user created a column in Doors as "Comments" with Text data type.
I am unable to see this values in RDF response, instead it shows in above mentioned generated attribute name.
Can anyone please help me on how can i get the exact attribute name and value pair?
Expectation :
Column created in doors as --- Comments of type Text - value is "shan comments"
In Oslc RDF response getting some system generated attribute values as below,
Ex: {http://serverip:8080/dwa/rm/urn:rational::1-5cac4c351cxgfvsdb4sdf3-M-00000023/types/}attrDef-4 : shan comments
By using these above values is it possible to get the user mentioned attribute name & value like
Comments - "shan comments"
Thanks in advance.
|
Accepted answer
![]() Hello Shan,
Regarding Lyo, you could find the following links useful:
Cheers,
Andrew
(Eclipse Lyo project lead)
Ralph Schoon selected this answer as the correct answer
|
One other answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered May 27 '19, 3:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I am not a DOORS specialist. I would suggest to have a look at https://www.google.com/search?q=Doors+OSLC
OSLC is the common ground for all the integrations.
Start with the root services document: https://www.ibm.com/support/knowledgecenter/en/SSYQBZ_9.6.1/com.ibm.doors.install.doc/topics/r_oslc_additional_services.html use a REST client and try to find the entry points into DOORS.
Comments If you are new to Lyo, maybe this can help a bit: https://jazz.net/library/article/92596 By the way, OSLC specifies how the responses should be structured. So OSLC is really your best bet to make progress. Hi Ralph,
Thanks for your response.
The above mentioned link is broken (https://jazz.net/library/article/92596 )
For Doors classic there are not much complete articles to follow up.
So I started using the eclipse lyo framework. But in the middle even this framework also not providing much information.
I have verified the rdf responses from doors and it seems it does not provide the attributes & type information of requirements.
The same will be applicable if I use OSLC I guess, because Doors is not exposing those information in the rdf responses.
Shan,
DOORS supports OSLC. See https://www.ibm.com/developerworks/rational/library/oslc-services-rational-doors/index.html . This means that they have to comply to the standards defined by OSLC. This includes the ability to get at the data including the attributes. So there must be a way to find this information. LYO should help at least as a REST client.
Unfortunately I do not have access to any Doors system and i am also only a beginner with OSLC/LYO.
|
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.
Comments
Is there anyone can help me on this?