aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorttsanton2014-01-10 13:09:59 (EST)
committerttsanton2014-01-10 13:09:59 (EST)
commitae723fdcb5ffce63414f7eefabbc72d4227095d5 (patch)
tree1321d033a8c2b438f3bdb9af0322c9b5d3ff84c1
parentd5994980c85f00d96b63b4f29ccd3feba1471530 (diff)
downloadorg.eclipse.lyo.rio-ae723fdcb5ffce63414f7eefabbc72d4227095d5.zip
org.eclipse.lyo.rio-ae723fdcb5ffce63414f7eefabbc72d4227095d5.tar.gz
org.eclipse.lyo.rio-ae723fdcb5ffce63414f7eefabbc72d4227095d5.tar.bz2
Bug 425229 - Domain appearing as a Literal instead of a Resourcerefs/changes/19/20519/1
Change-Id: I96d269ac9eab5f25aeb19f306be777c6015b6e61 Signed-off-by: ttsanton <ttsanton@us.ibm.com>
-rw-r--r--org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
index 1f965ab..60c141a 100644
--- a/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
+++ b/org.eclipse.lyo.rio.cm/src/main/java/org/eclipse/lyo/rio/services/common/ServiceResource.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011 IBM Corporation.
+ * Copyright (c) 2011, 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
@@ -53,7 +53,7 @@ public class ServiceResource extends RioResource {
prefixDef.setStringProperty(IConstants.OSLC_PREFIXBASE, ICmConstants.OSLC_CM_NAMESPACE);
RioResource service = this.createInlinedResource(IConstants.OSLC_SERVICE, IConstants.OSLC_TYPE_SERVICE);
- service.setStringProperty(IConstants.OSLC_DOMAIN, ICmConstants.OSLC_CM_NAMESPACE);
+ service.setUriProperty(IConstants.OSLC_DOMAIN, ICmConstants.OSLC_CM_NAMESPACE);
String resShapeUrl = urlBase + "/shapes?type=ChangeRequest";