DOORS NG 6.0.x : get components list with configuration management enabled
Using the REST DOORS NG 6.0.x API, is it possible to get a list of all the components of a project (configuration management enabled) ?
Thank you for your answers.
Jean-François.
|
Accepted answer
Ralph Schoon (63.1k●3●36●46)
| answered May 27 '19, 3:44 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can get the components of a CM enabled project area using https://[public_uri]/rm/cm/component/ldpc?project=_5i4eMKYbEei-7e3SSZvGSg where the last term is the project area UUID.
Please see com.ibm.requirement.typemanagement.oslc.client.dngcm.DngCmUtil.getComponents(JazzFormAuthClient, String) from the open source application linked to https://jazz.net/library/article/92596
Ralph Schoon selected this answer as the correct answer
|
One other answer
Thank you, but the request give a 400 error code :
Caused by: com.ibm.team.repository.common.ItemNotFoundException: No component associated with the componentId: https://[my-server]:9443/rm/cm/component/ldpc
at com.ibm.team.repository.service.vvc.sdk.internal.FoundationVVCConfigurationManager.getAssociatedContext(FoundationVVCConfigurationManager.java:2921)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at com.sun.proxy.$Proxy721.getAssociatedContext(Unknown Source)
at com.ibm.rdm.fronting.server.services.vvc.JAFLocalConfigurationService.getAssociatedContext(JAFLocalConfigurationService.java:1179)
... 64 more
Comments 1
Jean-François CHAPELLE
commented Jul 22 '19, 9:28 a.m.
Sorry ...
My headers was bad ...
With "Content-Type:application/rdf+xml, OSLC-Core-Version:2.0, Accept:rdf+xml", the request returns the components list ...
Ralph Schoon
commented Jul 22 '19, 10:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Thanks for that information! |
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.