Create requirement in specific DNG component
Hi,
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,
OSLCConstants.RM_REQUIREMENT_TYPE);
ClientResponse response = client.createResource(requirementFactory, requirement,
OSLCConstants.CT_RDF,
OSLCConstants.CT_RDF);
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!
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.