aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorttsanton2014-02-05 17:04:22 (EST)
committerttsanton2014-02-05 17:04:22 (EST)
commit56234c710d0ce53c1dd472622cf3c6ca91b1a4db (patch)
treed1a424cd12c544e753321549803ce8108ff1436a
parentbd5f64ef4473ebed0dfb220af7391c05431bc947 (diff)
downloadorg.eclipse.lyo.client-56234c710d0ce53c1dd472622cf3c6ca91b1a4db.zip
org.eclipse.lyo.client-56234c710d0ce53c1dd472622cf3c6ca91b1a4db.tar.gz
org.eclipse.lyo.client-56234c710d0ce53c1dd472622cf3c6ca91b1a4db.tar.bz2
Bug 427508 - GenericCMSample does not show any information when it runsrefs/changes/88/21588/1
Change-Id: I9e0c8bd17d1737211d26efd02b865ca4ea9c9dfe Signed-off-by: ttsanton <ttsanton@us.ibm.com>
-rw-r--r--org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/GenericCMSample.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/GenericCMSample.java b/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/GenericCMSample.java
index 034ce60..380bff0 100644
--- a/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/GenericCMSample.java
+++ b/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/GenericCMSample.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 IBM Corporation.
+ * Copyright (c) 2012, 2014 IBM Corporation.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -109,7 +109,7 @@ public class GenericCMSample {
//SCENARIO B: Run a query for a specific ChangeRequest and then print it as raw XML.
//Change the URL below to match a real ChangeRequest
- ClientResponse rawResponse = client.getResource("http://localhost:8080/OSLC4JChangeManagement/changeRequests/1",
+ ClientResponse rawResponse = client.getResource("http://localhost:8080/OSLC4JChangeManagement/services/changeRequests/1",
OSLCConstants.CT_XML);
processRawResponse(rawResponse);
rawResponse.consumeContent();