Skip to content

Cannot access artifacts in folders in DNG with ELM Python Client #44

Answered by barny
TheGreatConfundus asked this question in Q&A
Discussion options

You must be logged in to vote

If you want to use OSLC Query to get all artifacts in a module, use e.g. (on Windows)

oslcquery -J https://jazz.ibm.com:9443 -U ibm -P ibm -p "rm_optin_p1" -F "rm_optin_p1 Initial Stream" -s * -q "rm:module=^""AMR Stakeholder Requirements Specification"""

This uses my enhanced query notation - you use ^ followed by the name of a module and will find its URI to put into the OSLC Query that's executed. There's a a similar notation $"01 Requirements" to get the URI of a folder, and also ~1234 will find the URI of an artifact with identifier 1234.

Obviously you'll have to adapt to your server/project/stream/module name.

Add -V if you want to see the query url that's generated, in this case:

h…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@barny
Comment options

@TheGreatConfundus
Comment options

@barny
Comment options

@barny
Comment options

@barny
Comment options

Answer selected by TheGreatConfundus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants