It's all about the answers!

Ask a question

How can not get Artifact in project with QUERY with DNG OSLC. Acquire Artifact for all projects?


HIROAKI JOSAKO (27110) | asked Aug 27 '18, 2:47 a.m.
edited Aug 29 '18, 1:54 a.m.

I am trying to search for deliverables subject to the ID of DNG.
When you run the following OSLC, all product URIs are answered.
It becomes URI of all deliverables of the server regardless of the project area.
Please teach the correct way.

Header
"Accept: application/rdf+xml"
"OSLC-Core-Version: 2.0"

Condition
oslc.select=dcterms:title
oslc.where=dcterms:identifier=99799

HTTPREQUEST GET
"https://jazz.car.rm.com/rm2/views?oslc.query=true&amp;projectURL=https://jazz.car.rm.com/rm2/process/project-areas/_i252seB0EeeLL6zZ6A8T4Q&amp;vvc.configuration=https://jazz.car.rm.com/rm2/cm/stream/_i8YMkOB0EeeLL6zZ6A8T4Q?oslc.where=dcterms:identifier=99799&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=dcterms:title"

*Of course, characters are encoded.

2018/08/28 Update
Webclient tool (Firefox add-on) is cleared
It was a misspelling for the above URI・・・

But Curl from windows : BadRequest 400 Error

-b COOKIES -o att_query.xml -k -H "Accept: application/rdf+xml" -H "OSLC-Core-Version: 2.0"
"https://jazz.car.rm.com/rm2/views?oslc.query=true&amp;projectURL=https://jazz.car.rm.com/rm2/process/project-areas/_i252seB0EeeLL6zZ6A8T4Q&amp;vvc.configuration=https://jazz.car.rm.com/rm2/cm/stream/_i8YMkOB0EeeLL6zZ6A8T4Q?oslc.where=dcterms:identifier=99799&oslc.prefix=dcterms=<http://purl.org/dc/terms/>&oslc.select=dcterms:title"

Please help

2 answers



permanent link
Kazuki Nobutani (4119) | answered Aug 28 '18, 4:21 a.m.

Hello sir,

Can we understand that your intent is to know which project area does the deliverable(artifact) belong to?
With your GET request, all you get is the title of the artifact with ID 99799. If you can, please elaborate your expectation or goal.

Please also consider adding more tags such as oslc-rm and oslc-dng to this question?
Kind regards,


Comments
HIROAKI JOSAKO commented Aug 29 '18, 2:02 a.m.

It is not intended to get all the artifacts in the project area.
However, I wanted to control so that no deliverables from other projects were acquired.

Since it worked on Webclient, I would like to be able to implement it with Curl and VBA.


permanent link
HIROAKI JOSAKO (27110) | answered Aug 29 '18, 1:58 a.m.

It is our aim.
Use the API to create artifacts.
Using the ID of the created artifact, obtain the name of each deliverable and each attribute value.
During the second and subsequent updates, search the UUID using the ID and overwrite the information.
I am about to make EXCEL VBA to do the above.

Your answer


Register or to post your answer.