How does one retrieve categories via OSLC in RTC 4.0 ?
Hello all,
The following works https://jazzserver:9443/ccm/oslc/attributes/workitem.xml?oslc_cm.query=rtc_cm:projectArea="_AN-dIMTxEeGNMsMXCVEizA" on RTC 3.0. But the same query throws the following (Via RESTClient for firefox)
In IE 8 i get the following message `type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:483) com.ibm.team.repository.provision.internal.auth.AuthenticatedIdentityServlet.service(AuthenticatedIdentityServlet.java:65) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:133) com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:154) ` For my testing, I use RTC 4.0 with Tomcat Getting same error as https://jazz.net/forum/questions/77208/retrieving-list-of-categories-for-a-given-project-via-oslc Does anyone know how to fix this? Also are there any documentations on the list of changes in OSLC front in RTC 4.0? Cheers, Karthik |
Accepted answer
Query on categories is not officially supported and not OSLC specific. It is internal to RTC. For your usage I sugges t to use Work Item Resource shapes. Please refer to the wiki https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20 for how to use shape resources. I think this will be sufficient for using OSLC CM APIs of RTC.
As these queries (queries on categories) were supported in 3.x this issue is planned to fix in 4001. But try to avoid using this.
Karthik Krishnan selected this answer as the correct answer
Comments
Karthik Krishnan
commented Jul 24 '12, 8:06 a.m.
Thanks Sandeep for taking this up https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=217129 |
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.