summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHirotaka Matsumoto2013-08-15 03:20:51 (EDT)
committer Hirotaka Matsumoto2013-08-15 03:20:51 (EDT)
commitacda420d3397083e3818a3c0c045f0c24dc6a5bb (patch)
tree47723b6b7001111a0ca497a0efc282704f4576b0
parent34e8c7e8c97436f379965fef75188044aa3f0eee (diff)
downloadorg.eclipse.lyo.docs-acda420d3397083e3818a3c0c045f0c24dc6a5bb.zip
org.eclipse.lyo.docs-acda420d3397083e3818a3c0c045f0c24dc6a5bb.tar.gz
org.eclipse.lyo.docs-acda420d3397083e3818a3c0c045f0c24dc6a5bb.tar.bz2
Bug 414928 - Update TRS workshop to conform to the 2.0 specificationrefs/changes/96/15496/1
Change-Id: I0a1a65f91ff03ed5cd86ab28eb0f3e84e2cea4c5 Signed-off-by: Hirotaka Matsumoto <jljlmatu@jp.ibm.com>
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/TRS-SDK.pdfbin1078605 -> 1188084 bytes
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/pom.xml31
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/BugzillaManager.java7
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/resources/BugzillaChangeRequest.java2
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaApplication.java2
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaChangeRequestService.java3
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/TrackedResourceSetService.java41
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java52
-rw-r--r--org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/webapp/cm/rootservices_rdfxml.jsp2
9 files changed, 94 insertions, 46 deletions
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/TRS-SDK.pdf b/org.eclipse.lyo.oslc4j.bugzilla.trs/TRS-SDK.pdf
index 329dfa1..9ed7009 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/TRS-SDK.pdf
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/TRS-SDK.pdf
Binary files differ
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/pom.xml b/org.eclipse.lyo.oslc4j.bugzilla.trs/pom.xml
index 506d0f9..62fedd3 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/pom.xml
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/pom.xml
@@ -4,7 +4,7 @@
<groupId>org.eclipse.lyo.oslc4j.rio</groupId>
<artifactId>trs4j-bugzilla-sample</artifactId>
<packaging>war</packaging>
- <version>0.0.1-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
<dependencies>
<dependency>
@@ -22,13 +22,13 @@
<dependency>
<groupId>org.eclipse.lyo</groupId>
<artifactId>oslc-trs</artifactId>
- <version>0.5.0-SNAPSHOT</version>
+ <version>2.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.lyo.oslc4j.core</groupId>
+ <artifactId>oslc4j-json4j-provider</artifactId>
+ <version>2.0.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.eclipse.lyo.oslc4j.core</groupId>
- <artifactId>oslc4j-json4j-provider</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
- </dependency>
<dependency>
<groupId>com.j2bugzilla</groupId>
<artifactId>j2bugzilla</artifactId>
@@ -37,26 +37,20 @@
<dependency>
<groupId>org.eclipse.lyo.server</groupId>
<artifactId>oauth-webapp</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
+ <version>[2.0.0-SNAPSHOT,)</version>
<type>war</type>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.server</groupId>
<artifactId>oauth-core</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
+ <version>[2.0.0-SNAPSHOT,)</version>
</dependency>
<dependency>
<groupId>org.eclipse.lyo.server</groupId>
<artifactId>oauth-consumer-store</artifactId>
- <version>[1.1-SNAPSHOT,)</version>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.lyo.core.query</groupId>
- <artifactId>oslc-query</artifactId>
- <version>[1.1,)</version>
+ <version>[2.0.0-SNAPSHOT,)</version>
</dependency>
<dependency>
@@ -80,6 +74,11 @@
<artifactId>httpclient</artifactId>
<version>4.2.1</version>
</dependency>
+ <dependency>
+ <groupId>org.eclipse.lyo.core.query</groupId>
+ <artifactId>oslc-query</artifactId>
+ <version>[1.1,)</version>
+ </dependency>
</dependencies>
<build>
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/BugzillaManager.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/BugzillaManager.java
index 404bcb3..6f92fb4 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/BugzillaManager.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/BugzillaManager.java
@@ -338,6 +338,13 @@ public class BugzillaManager implements ServletContextListener {
InputStream response = client.httpGet(buffer.toString());
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
+
+ // Loading the external DTD causes problems for some Bugzilla instances. We don't need validation anyway, so disable it.
+ factory.setValidating(false);
+ factory.setFeature("http://xml.org/sax/features/validation", false);
+ factory.setFeature("http://apache.org/xml/features/nonvalidating/load-dtd-grammar", false);
+ factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
+
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(response);
Element root = document.getDocumentElement();
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/resources/BugzillaChangeRequest.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/resources/BugzillaChangeRequest.java
index 944d5db..d5555c5 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/resources/BugzillaChangeRequest.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/resources/BugzillaChangeRequest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 IBM Corporation.
+ * Copyright (c) 2012, 2013 IBM Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaApplication.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaApplication.java
index a66d758..eb08cca 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaApplication.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaApplication.java
@@ -70,7 +70,7 @@ public class BugzillaApplication extends OslcWinkApplication {
RESOURCE_CLASSES.add(ServiceProviderService.class);
//TRS resource
- // Added in Lab 1.1
+ //Added in Lab 1.2
RESOURCE_CLASSES.add(TrackedResourceSetService.class);
RESOURCE_SHAPE_PATH_TO_RESOURCE_CLASS_MAP.put(OslcConstants.PATH_ALLOWED_VALUES, AllowedValues.class);
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaChangeRequestService.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaChangeRequestService.java
index 44a1982..dafc0bc 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaChangeRequestService.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/BugzillaChangeRequestService.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 IBM Corporation.
+ * Copyright (c) 2012, 2013 IBM Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -417,6 +417,7 @@ public class BugzillaChangeRequestService
httpServletRequest.setAttribute(OSLC4JConstants.OSLC4J_SELECTED_PROPERTIES,
QueryUtils.invertSelectedProperties(properties));
+ httpServletResponse.addHeader(Constants.HDR_OSLC_VERSION,"2.0");
return changeRequest;
}
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/TrackedResourceSetService.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/TrackedResourceSetService.java
index ec337ba..c05fb76 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/TrackedResourceSetService.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/TrackedResourceSetService.java
@@ -28,11 +28,13 @@ import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.UriInfo;
+import javax.ws.rs.core.Response.Status;
import org.eclipse.lyo.core.trs.AbstractChangeLog;
import org.eclipse.lyo.core.trs.Base;
import org.eclipse.lyo.core.trs.ChangeLog;
import org.eclipse.lyo.core.trs.EmptyChangeLog;
+import org.eclipse.lyo.core.trs.Page;
import org.eclipse.lyo.core.trs.TRSConstants;
import org.eclipse.lyo.core.trs.TrackedResourceSet;
import org.eclipse.lyo.oslc4j.bugzilla.BugzillaManager;
@@ -65,8 +67,8 @@ public class TrackedResourceSetService {
* Added in Lab 1.3
*/
@GET
- @Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
- public TrackedResourceSet getTrackedResourceSet() {
+ @Produces({OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
+ public TrackedResourceSet getTrackedResourceSet() throws URISyntaxException {
TrackedResourceSet result = new TrackedResourceSet();
result.setAbout(URI.create(BugzillaManager.getBugzServiceBase() + "/trs"));//$NON-NLS-1$
@@ -86,8 +88,8 @@ public class TrackedResourceSetService {
*/
@Path(TRSConstants.TRS_TERM_BASE)
@GET
- @Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
- public Base getBase() {
+ @Produces({OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
+ public Page getBase() {
URI requestURI = uriInfo.getRequestUri();
boolean endsWithSlash = requestURI.getPath().endsWith("/");
String redirectLocation = requestURI.toString() + (endsWithSlash ? "1" : "/1");
@@ -103,10 +105,25 @@ public class TrackedResourceSetService {
*/
@GET
@Path(TRSConstants.TRS_TERM_BASE+"/{page}")
- @Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
- public Base getBasePage(
+ @Produces({OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
+ public Page getBasePage(
@PathParam("page") String pagenum ) {
- return ChangeBugzillaHistories.getBaseResource(pagenum, httpServletRequest);
+ Base base;
+ try {
+ base = ChangeBugzillaHistories.getBaseResource(pagenum, httpServletRequest);
+ } catch (URISyntaxException e) {
+ throw new IllegalStateException(e);
+ }
+ if (base == null) {
+ throw new WebApplicationException(Status.NOT_FOUND);
+ }
+ Page nextPage = base.getNextPage();
+ if (nextPage == null) {
+ throw new WebApplicationException(Status.NOT_FOUND);
+ }
+ // Due to OSLC4J limitation, not Base but NextPage will be returned.
+ // See org.eclipse.lyo.rio.trs.resources.BaseResource.getBasePage(Long)
+ return nextPage;
}
/*
@@ -114,7 +131,7 @@ public class TrackedResourceSetService {
*/
@Path(TRSConstants.TRS_TERM_CHANGE_LOG)
@GET
- @Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
+ @Produces({OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
public ChangeLog getChangeLog() {
URI requestURI = uriInfo.getRequestUri();
boolean endsWithSlash = requestURI.getPath().endsWith("/");
@@ -131,9 +148,13 @@ public class TrackedResourceSetService {
*/
@GET
@Path(TRSConstants.TRS_TERM_CHANGE_LOG+"/{page}")
- @Produces({OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
+ @Produces({OslcMediaType.TEXT_TURTLE, OslcMediaType.APPLICATION_RDF_XML, OslcMediaType.APPLICATION_XML, OslcMediaType.APPLICATION_JSON})
public ChangeLog getChangeLogPage(
@PathParam("page") String pagenum ) {
- return ChangeBugzillaHistories.getChangeLog(pagenum, httpServletRequest);
+ try {
+ return ChangeBugzillaHistories.getChangeLog(pagenum, httpServletRequest);
+ } catch (URISyntaxException e) {
+ throw new IllegalStateException(e);
+ }
}
}
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
index 68bb049..bd1869a 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/trs/ChangeBugzillaHistories.java
@@ -17,6 +17,7 @@ package org.eclipse.lyo.oslc4j.bugzilla.trs;
import java.io.IOException;
import java.net.URI;
+import java.net.URISyntaxException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
@@ -39,6 +40,7 @@ import org.eclipse.lyo.core.trs.ChangeEvent;
import org.eclipse.lyo.core.trs.ChangeLog;
import org.eclipse.lyo.core.trs.Creation;
import org.eclipse.lyo.core.trs.Modification;
+import org.eclipse.lyo.core.trs.Page;
import org.eclipse.lyo.core.trs.TRSConstants;
import org.eclipse.lyo.oslc4j.bugzilla.BugzillaManager;
import org.eclipse.lyo.oslc4j.bugzilla.jbugzx.rpc.GetAccessibleProducts;
@@ -279,9 +281,31 @@ public class ChangeBugzillaHistories {
}
/**
+ * Create a brand new Base/Page Resource
+ * @throws URISyntaxException
+ */
+ private static Page createNewPage(Base base, int basePagenum) throws URISyntaxException {
+ Page ldp = new Page();
+ ldp.setAbout(URI.create(BugzillaManager.getBugzServiceBase()
+ + "/trs/" + TRSConstants.TRS_TERM_BASE + String.valueOf(basePagenum)));//$NON-NLS-1$);
+ ldp.setNextPage(new URI(TRSConstants.RDF_NIL));
+ ldp.setPageOf(base);
+ return ldp;
+ }
+
+ private static Base createNewBase(int basePagenum) throws URISyntaxException {
+ Base base = new Base();
+ base.setAbout(URI.create(BugzillaManager.getBugzServiceBase()
+ + "/trs/" + TRSConstants.TRS_TERM_BASE));//$NON-NLS-1$
+// base.setCutoffEvent(new URI(TRSConstants.RDF_NIL));
+ base.setNextPage(ChangeBugzillaHistories.createNewPage(base, basePagenum));
+ return base;
+ }
+ /**
* Build Bugzilla Base resources and ChangeLogs
+ * @throws URISyntaxException
*/
- private static void buildBaseResourcesAndChangeLogsInternal(HttpServletRequest httpServletRequest) {
+ private static void buildBaseResourcesAndChangeLogsInternal(HttpServletRequest httpServletRequest) throws URISyntaxException {
Date nowDate = new Date();
if ((lastBaseResourceUpdatedDate != null) && (UPDATEINTERVAL != -1) &&
(nowDate.getTime() - lastBaseResourceUpdatedDate.getTime() > UPDATEINTERVAL)) {
@@ -313,10 +337,7 @@ public class ChangeBugzillaHistories {
Base base = null;
Base prevBase = null;
if (buildAll) {
- base = new Base();
- base.setAbout(URI.create(BugzillaManager.getBugzServiceBase()
- + "/trs/" + TRSConstants.TRS_TERM_BASE));//$NON-NLS-1$
- base.setNextPage(nilURI);
+ base = ChangeBugzillaHistories.createNewBase(basePagenum);
baseResouces = new HashMap<String, Base>();
baseResouces.put(String.valueOf(basePagenum), base);
}
@@ -398,23 +419,20 @@ public class ChangeBugzillaHistories {
changeLogs.put(String.valueOf(changeLogPageNum), changeLog);
}
- changeLog.getChanges().add(ce);
+ changeLog.getChange().add(ce);
currentNumberOfChangeLog++;
if (buildAll && !allmembers.contains(uri)) {
// Base Page
if (base == null) {
- URI nextPage = URI.create(BugzillaManager.getBugzServiceBase()
- + "/trs/" + TRSConstants.TRS_TERM_BASE + "/" + String.valueOf(basePagenum + 1));//$NON-NLS-1$ //$NON-NLS-2$
if (prevBase != null) {
- prevBase.setNextPage(nextPage);
+ URI nextPage = URI.create(BugzillaManager.getBugzServiceBase()
+ + "/trs/" + TRSConstants.TRS_TERM_BASE + "/" + String.valueOf(basePagenum + 1));//$NON-NLS-1$ //$NON-NLS-2$
+ prevBase.getNextPage().setNextPage(nextPage);
prevBase = null;
}
basePagenum++;
- base = new Base();
- base.setAbout(URI.create(BugzillaManager.getBugzServiceBase()
- + "/trs/" + TRSConstants.TRS_TERM_BASE));//$NON-NLS-1$
- base.setNextPage(nilURI);
+ base = ChangeBugzillaHistories.createNewBase(basePagenum);
baseResouces.put(String.valueOf(basePagenum), base);
}
base.getMembers().add(uri);// rdfs:member is mandatory
@@ -445,7 +463,7 @@ public class ChangeBugzillaHistories {
}
public static void buildBaseResourcesAndChangeLogs(
- HttpServletRequest httpServletRequest) {
+ HttpServletRequest httpServletRequest) throws URISyntaxException {
synchronized (mutex) {
ChangeBugzillaHistories.buildBaseResourcesAndChangeLogsInternal(httpServletRequest);
}
@@ -457,9 +475,10 @@ public class ChangeBugzillaHistories {
* @param pagenum
* @param httpServletRequest
* @return
+ * @throws URISyntaxException
*/
public static Base getBaseResource(String pagenum,
- HttpServletRequest httpServletRequest) {
+ HttpServletRequest httpServletRequest) throws URISyntaxException {
synchronized (mutex) {
ChangeBugzillaHistories.buildBaseResourcesAndChangeLogsInternal(httpServletRequest);
return baseResouces != null ? baseResouces.get(pagenum) : null;
@@ -472,9 +491,10 @@ public class ChangeBugzillaHistories {
* @param pagenum
* @param httpServletRequest
* @return
+ * @throws URISyntaxException
*/
public static ChangeLog getChangeLog(String pagenum,
- HttpServletRequest httpServletRequest) {
+ HttpServletRequest httpServletRequest) throws URISyntaxException {
synchronized (mutex) {
ChangeBugzillaHistories.buildBaseResourcesAndChangeLogsInternal(httpServletRequest);
// changeLogs might be null
diff --git a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/webapp/cm/rootservices_rdfxml.jsp b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/webapp/cm/rootservices_rdfxml.jsp
index 2625727..7619d59 100644
--- a/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/webapp/cm/rootservices_rdfxml.jsp
+++ b/org.eclipse.lyo.oslc4j.bugzilla.trs/src/main/webapp/cm/rootservices_rdfxml.jsp
@@ -27,7 +27,7 @@ String oauthDomain = (String) request.getAttribute("oauthDomain");
-->
<rdf:Description rdf:about="<%= baseUri + "/rootservices" %>"
xmlns:bugz="http://www.bugzilla.org/rdf#"
- xmlns:trs="http://jazz.net/ns/trs#"
+ xmlns:trs="http://open-services.net/ns/core/trs#"
xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:jfs="http://jazz.net/xmlns/prod/jazz/jfs/1.0/"