Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

List artifacts from DNG project through OSLC/API

Hello everyone,

My requirements are:

- list all the artifacts from DNG project
- copy value of one attribute to the another attribute in same artifacts through for loop
- i am using java code, open for any other programming language

Thanks in advance.

Kind regards,
Abhi

0 votes



4 answers

Permanent link

I don't understand what you ask for. The specification of OSLC RM can be found here: https://docs.oasis-open-projects.org/oslc-op/rm/v2.1/requirements-management-spec.html

0 votes


Permanent link

Hello Ralph,

Thanks for your reply. My question is i am writing java code to read all the artifacts from the DNG project. next task is to copy one attrbitue value to another attribute in the same artifact for all the artifacts in the project through java code.

0 votes

Comments

This is not a question.


Permanent link

Sorry Ralph,


my question is: How can i list all the artifacts from dng project with oslc or dng api? After that how can i copy one attrbitue value to another attribute in the same artifact for all the artifacts in the project through java code? (Note: I am also open for any other programming language)

Thanks in advance.

0 votes


Permanent link

I doubt, you will find someone here that is willing, able, and has the time to write the code for you. Some hints I can provide:

https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding the APIs supported by product.

The reportable REST API does not support update, so you will likely have to use OSLC 

There is an OSLC Workshop that is very outdated. The current OSLC RM specification is here https://docs.oasis-open-projects.org/oslc-op/rm/v2.1/requirements-management-spec.html . There is the Eclipse Lyo project, that does a lot of work around OSLC, including an OSLC API for Java I used it in https://rsjazz.wordpress.com/2019/03/07/type-system-manager-part-2/ the code is  available. 

I wrote an article series for EWM APIs, it starts here: https://rsjazz.wordpress.com/2021/09/29/using-the-ewm-rest-and-oslc-apis/ you might be able to get some inspiration from it.

Which language you use is up to you. The OSLC API is an HTML API.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,054
× 522
× 485
× 122

Question asked: Apr 09, 8:26 a.m.

Question was seen: 1,306 times

Last updated: Apr 10, 5:04 a.m.

Confirmation Cancel Confirm