It's all about the answers!

Ask a question

[OSLC] Query the folder where specific requirement module is located

Benjamin Röhl (167521) | asked Dec 08 '14, 7:49 a.m.
edited Dec 08 '14, 10:04 a.m.
As the title already says.
Is there the possibility of querying the folder where requirement module is located in with OSLC?
Thanks in advance!

Accepted answer

permanent link
Donald Nong (14.4k314) | answered Dec 08 '14, 7:47 p.m.
When you GET a requirement artifact (module or base artifact) using OSLC, look for <nav:parent> in the response and that is the folder you are after. Note that a module artifact (as opposed to its underlying base artifact) does not have a folder as its parent, since its "parent" is the containing module, which is not a folder itself.
Benjamin Röhl selected this answer as the correct answer

Your answer

Register or to post your answer.