It's all about the answers!

Ask a question

How to get attributes name and value from Doors classic using eclipse lyo


Shan P (1315) | asked May 24 '19, 6:39 a.m.
retagged Jul 19 '19, 7:14 p.m. by Michael Afshar (7014)

 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,


By using these above values is it possible to get the user mentioned attribute name & value like 

Comments  -  "shan comments"

Thanks in advance.


Comments
Shan P commented May 27 '19, 12:35 a.m.

Is there anyone can help me on this? 

Accepted answer


permanent link
Andrew Berezovskyi (764) | answered Jul 17 '19, 9:26 a.m.

Hello Shan,


Regarding Lyo, you could find the following links useful:

Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (63.0k33645) | 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
Ralph Schoon commented May 27 '19, 3:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you are new to Lyo, maybe this can help a bit: https://jazz.net/library/article/92596 


Ralph Schoon commented May 27 '19, 3:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 By the way, OSLC specifies how the responses should be structured. So OSLC is really your best bet to make progress.


Shan P commented May 27 '19, 4:49 a.m. | edited May 27 '19, 4:51 a.m.

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.


Ralph Schoon commented May 27 '19, 5:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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


Register or to post your answer.