How to get attributes name and value from Doors classic using eclipse lyo
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:
- https://oslc.github.io/developing-oslc-applications/
- https://open-services.net/specifications/
- https://forum.open-services.net/
Cheers,
Andrew
(Eclipse Lyo project lead)
One other answer
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.
Comments
Shan P
May 27 '19, 12:35 a.m.Is there anyone can help me on this?