It's all about the answers!

Ask a question

Create requirement in specific DNG component

A Ragab (1127) | asked Oct 11 '18, 9:57 a.m.


I'm trying to create a requirement artifact in specific DNG component. I can do that on project level which as I understand uses a "default" component but not the component I want.

Is there any examples for the post call to do that?

I'm using Lyo library

serviceProviderUrl = client.lookupServiceProviderUrl(catalogURI, projectName); 

String requirementFactory = client.lookupCreationFactory(
serviceProviderUrl, OSLCConstants.OSLC_RM_V2,

ClientResponse response = client.createResource(requirementFactory, requirement,

Is there a component specific service provider?

I tried to change the URL for the requirementFactory and add componentURI and oslc_config.context parameters, but this didn't work.

appreciate any help

Be the first one to answer this question!

Register or 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.