Create an Artifact with a file from my local file system using Java OSLC
Hi,
I need to Create an Artifact with a file embedded to it from my local file system location using Java OSLC
Please let me know how can we do that.
Thanks
Vaibhav
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered May 04 '21, 10:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 04 '21, 10:53 a.m. Have you tried Create>Upload Artifact? Comments Sorry, didn't realize that aspect of the question. I can't answer that. I would look at the communication doing the aforementioned upload to better understand what is happening and to find out if it is OSLC.
Vaibhav S
commented May 05 '21, 8:26 a.m.
Hi Ralph,
Thanks for the response.
As of now I am setting up Artifact attributes as below:
requirement .setInstanceShape(featureInstanceShape.getAbout());
requirement.setDescription(artifactDescription);
requirement.setTitle(artifactTitle);
Not sure how to add an image or an excel file to this Artifact.
Please let me know your views on this.
Thanks
Vaibhav
|
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.
Comments
Hi Ralph, i am trying to do it using OSLC and Java, is there any API for it.