aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Terry2013-07-11 17:35:39 (EDT)
committerSamuel Padgett2013-07-11 18:10:13 (EDT)
commit21d9a990f8c5332d3cb813e180d25178d4367402 (patch)
treed6df89ac2824dc28286b6a1b32883f605e12a44f
parentb6deeedc53fe903d0431108f12d0ec3eb8ecc269 (diff)
downloadorg.eclipse.lyo.testsuite-21d9a990f8c5332d3cb813e180d25178d4367402.zip
org.eclipse.lyo.testsuite-21d9a990f8c5332d3cb813e180d25178d4367402.tar.gz
org.eclipse.lyo.testsuite-21d9a990f8c5332d3cb813e180d25178d4367402.tar.bz2
[412807] Refactor unused TRS tests to the RIO repositoryrefs/changes/92/14492/2
Now that the tests have been refactored into the RIO repository we should remove them from the testsuite repository. Change-Id: Iee9729c65642b3c1e8f1ed4ef6a399ab967fcdf9 Signed-off-by: David Terry <dgterry@us.ibm.com>
-rw-r--r--org.eclipse.lyo.testsuite.trs/pom.xml2
-rw-r--r--org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogCreationTest.java187
-rw-r--r--org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogUpdationTest.java220
-rw-r--r--org.eclipse.lyo.testsuite.trs/src/main/resources/config.properties18
-rw-r--r--org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.json28
-rw-r--r--org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.xml20
6 files changed, 2 insertions, 473 deletions
diff --git a/org.eclipse.lyo.testsuite.trs/pom.xml b/org.eclipse.lyo.testsuite.trs/pom.xml
index 0e9efc4..f561de2 100644
--- a/org.eclipse.lyo.testsuite.trs/pom.xml
+++ b/org.eclipse.lyo.testsuite.trs/pom.xml
@@ -57,7 +57,7 @@
</dependencies>
<build>
- <finalName>org.eclipse.lyo.testsuite.serverTemp</finalName>
+ <finalName>${project.artifactId}</finalName>
<outputDirectory>target/classes</outputDirectory>
<resources>
<resource>
diff --git a/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogCreationTest.java b/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogCreationTest.java
deleted file mode 100644
index eaf1f36..0000000
--- a/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogCreationTest.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- * and Eclipse Distribution License v. 1.0 which accompanies this distribution.
- *
- * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
- * and the Eclipse Distribution License is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * Contributors:
- *
- * Joseph Leong, Sujeet Mishra - Initial implementation
- *******************************************************************************/
-
-package org.eclipse.lyo.testsuite.oslcv2.trs;
-
-import static org.eclipse.lyo.core.trs.TRSConstants.FileSep;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.text.MessageFormat;
-import java.util.Properties;
-
-import org.apache.http.client.HttpClient;
-import org.apache.http.impl.client.DefaultHttpClient;
-import org.apache.http.protocol.BasicHttpContext;
-import org.apache.http.protocol.DefaultedHttpContext;
-import org.apache.http.protocol.HttpContext;
-import org.apache.http.protocol.SyncBasicHttpContext;
-import org.eclipse.lyo.testsuite.server.trsutils.FetchException;
-import org.eclipse.lyo.testsuite.server.trsutils.ITRSVocabulary;
-import org.eclipse.lyo.testsuite.server.trsutils.InvalidTRSException;
-import org.eclipse.lyo.testsuite.server.trsutils.Messages;
-import org.eclipse.lyo.testsuite.server.trsutils.SendException;
-import org.eclipse.lyo.testsuite.server.trsutils.SendUtil;
-import org.eclipse.lyo.testsuite.server.trsutils.TestCore;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.Resource;
-import com.hp.hpl.jena.rdf.model.Statement;
-import com.hp.hpl.jena.rdf.model.StmtIterator;
-import com.hp.hpl.jena.vocabulary.RDF;
-
-/**
- * This test is used to verify that a resource created
- * through the oslc:creationFactory of an OSLC Provider
- * which implements the TRS specification includes the
- * resource and the associated creation event trs:Creation
- * @author Sujeet Mishra
- *
- */
-public class ChangeLogCreationTest extends TestCore{
- private static Properties prop = null;
- private static HttpClient httpClient = null;
- private static Resource trsResource = null;
- private static HttpContext httpContext = null;
- private static String createdResourceUrl = null;
-
- @BeforeClass
- public static void setupOnce() {
- try {
- prop = getConfigPropertiesInstance();
- String resCreationFactoryUri = prop.getProperty("configResourceCreationFactoryUri");
- String resCreationContent = (prop.getProperty("configResContentFile").equals("")?prop.getProperty("configResContent"):readFileAsString(new File(RESOURCES + FileSep + prop.getProperty("configResContentFile"))));
- String resContentType = prop.getProperty("configContentType");
- String trsEndpoint = prop.getProperty("configTrsEndpoint");
- String acceptType = prop.getProperty("acceptType");
-
- httpClient = new DefaultHttpClient();
- httpContext =
- new DefaultedHttpContext(new BasicHttpContext(), new SyncBasicHttpContext(null));
-
- //Create a resource using the resource creation factory.. oslc:CreationFactory
- createdResourceUrl=SendUtil.createResource(resCreationFactoryUri, httpClient, httpContext, resContentType,resCreationContent);
-
-
- trsResource = getResource(trsEndpoint, httpClient, httpContext, acceptType);
- } catch (FileNotFoundException e) {
- terminateTest(Messages.getServerString("tests.general.config.properties.missing"), e);
- } catch (InterruptedException e) {
- terminateTest(null, e);
- } catch (IOException e) {
- terminateTest(Messages.getServerString("tests.general.config.properties.unreadable"), e);
- } catch (FetchException e) {
- terminateTest(Messages.getServerString("tests.general.trs.fetch.error"), e);
- } catch (SendException e) {
- terminateTest(Messages.getServerString("tests.general.trs.send.error"), e);
- }
- }
-
- @Test
- public void testChangeLogHasChangeProperty() {
- try {
- Resource changeLogResource =
- trsResource.getPropertyResourceValue(ITRSVocabulary.CHANGELOG_PROPERTY);
-
- if (changeLogResource != null && !changeLogResource.equals(RDF.nil)) {
- if (!changeLogResource.hasProperty(ITRSVocabulary.CHANGE_PROPERTY)) {
- throw new InvalidTRSException(
- Messages.getServerString("validators.missing.trs.change.property")); //$NON-NLS-1$
- }
-
- }
- } catch (InvalidTRSException e) {
- e.printStackTrace();
- Assert.fail(e.getLocalizedMessage());
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail(MessageFormat.format(
- Messages.getServerString("tests.general.error"),
- e.getLocalizedMessage()));
- }
- }
-
- @Test
- public void testChangeLogEventChangedPropertyHasCreatedResource() {
- boolean matchFound = false;
- try {
- // Get the overall model, we will need it to follow trs:change
- // references in the change log to the actual change event later.
- Model rdfModel = trsResource.getModel();
-
- // Get the trs resource's change log
- Resource changeLogResource =
- trsResource.getPropertyResourceValue(ITRSVocabulary.CHANGELOG_PROPERTY);
-
- if (changeLogResource != null && !changeLogResource.equals(RDF.nil)
- && changeLogResource.hasProperty(ITRSVocabulary.CHANGE_PROPERTY))
- {
- // Iterate over all trs:change properties referenced by the change log
- StmtIterator iter = changeLogResource.listProperties(ITRSVocabulary.CHANGE_PROPERTY);
-
- while (iter.hasNext()) {
- Statement trsChangeReference = iter.nextStatement();
-
- // Obtain the actual change event resource using the URI
- // mentioned in the change log's trs:change property we are
- // currently examining
- Resource changeEvent = rdfModel.getResource(trsChangeReference.getObject().toString());
-
- if (RDF.nil.getURI().equals(changeEvent.getURI()))
- break;
-
- // Now that we have the change event, determine if it matches
- // the change event created during the test's setup method
- if (changeEvent.hasProperty(ITRSVocabulary.CHANGED_PROPERTY))
- {
- if (changeEvent
- .getProperty(ITRSVocabulary.CHANGED_PROPERTY)
- .getObject().toString()
- .equalsIgnoreCase(createdResourceUrl)) {
- matchFound=true;
-
- //Match Found .. now check if the correct event type is present
- if (!changeEvent.hasProperty(RDF.type,
- ITRSVocabulary.CREATION_RESOURCE)) {
- throw new InvalidTRSException(
- Messages.getServerString("validators.invalid.trs.changed.property")); //$NON-NLS-1$
- }
- break;
- }
- }
- }
- if(!matchFound)
- {
- throw new InvalidTRSException(
- Messages.getServerString("validators.invalid.trs.changed.property")); //$NON-NLS-1$
- }
-
- }
- } catch (InvalidTRSException e) {
- e.printStackTrace();
- Assert.fail(e.getLocalizedMessage());
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail(MessageFormat.format(
- Messages.getServerString("tests.general.error"),
- e.getLocalizedMessage()));
- }
- }
-}
diff --git a/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogUpdationTest.java b/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogUpdationTest.java
deleted file mode 100644
index 1d1d3f4..0000000
--- a/org.eclipse.lyo.testsuite.trs/src/main/java/org/eclipse/lyo/testsuite/oslcv2/trs/ChangeLogUpdationTest.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 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
- * and Eclipse Distribution License v. 1.0 which accompanies this distribution.
- *
- * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
- * and the Eclipse Distribution License is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * Contributors:
- *
- * Joseph Leong, Sujeet Mishra - Initial implementation
- *******************************************************************************/
-
-package org.eclipse.lyo.testsuite.oslcv2.trs;
-
-import static org.eclipse.lyo.core.trs.TRSConstants.FileSep;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.text.MessageFormat;
-import java.util.Properties;
-
-import org.apache.http.client.HttpClient;
-import org.apache.http.impl.client.DefaultHttpClient;
-import org.apache.http.protocol.BasicHttpContext;
-import org.apache.http.protocol.DefaultedHttpContext;
-import org.apache.http.protocol.HttpContext;
-import org.apache.http.protocol.SyncBasicHttpContext;
-import org.eclipse.lyo.core.trs.HttpConstants;
-import org.eclipse.lyo.testsuite.server.trsutils.FetchException;
-import org.eclipse.lyo.testsuite.server.trsutils.ITRSVocabulary;
-import org.eclipse.lyo.testsuite.server.trsutils.InvalidTRSException;
-import org.eclipse.lyo.testsuite.server.trsutils.Messages;
-import org.eclipse.lyo.testsuite.server.trsutils.SendException;
-import org.eclipse.lyo.testsuite.server.trsutils.SendUtil;
-import org.eclipse.lyo.testsuite.server.trsutils.TestCore;
-import org.junit.Assert;
-import org.junit.BeforeClass;
-import org.junit.Test;
-
-import com.hp.hpl.jena.rdf.model.Model;
-import com.hp.hpl.jena.rdf.model.RDFList;
-import com.hp.hpl.jena.rdf.model.RDFNode;
-import com.hp.hpl.jena.rdf.model.Resource;
-import com.hp.hpl.jena.rdf.model.Statement;
-import com.hp.hpl.jena.rdf.model.StmtIterator;
-import com.hp.hpl.jena.vocabulary.RDF;
-
-/**
- * This test is used to verify that a resource updated
- * through a http PUT call will be listed as one of the
- * changed entries in the TRS ChangeLog along with the
- * associated creation event trs:Modification
- * @author Sujeet Mishra
- *
- */
-public class ChangeLogUpdationTest extends TestCore {
-
- private static Properties prop = null;
- private static HttpClient httpClient = null;
- private static Resource trsResource = null;
- private static HttpContext httpContext = null;
- private static String createdResourceUrl = null;
-
- @BeforeClass
- public static void setupOnce() {
- try {
- prop = getConfigPropertiesInstance();
- String resCreationFactoryUri = prop.getProperty("configResourceCreationFactoryUri");
- String resCreationContent = (prop.getProperty("configResContentFile").equals("")?prop.getProperty("configResContent"):readFileAsString(new File(RESOURCES + FileSep + prop.getProperty("configResContentFile"))));
- String resContentType = prop.getProperty("configContentType");
- String resUpdateContentType = prop.getProperty("configUpdateContentType");
- String trsEndpoint = prop.getProperty("configTrsEndpoint");
- String acceptType = prop.getProperty("acceptType");
-
- httpClient = new DefaultHttpClient();
- httpContext =
- new DefaultedHttpContext(new BasicHttpContext(), new SyncBasicHttpContext(null));
-
- //Create a resource using the resource creation factory.. oslc:CreationFactory
- createdResourceUrl=SendUtil.createResource(resCreationFactoryUri, httpClient, httpContext, resContentType,resCreationContent);
-
- //Now Update the resource using a HTTP PUT call
- String updateContent=readFileAsString(new File(RESOURCES + FileSep + prop.getProperty("configResUpdateFile")));
-
- //Replace the Update content with the correct resource identifier of the resource created above
- updateContent = formatUpdateContent(updateContent,resUpdateContentType);
-
- SendUtil.updateResource(createdResourceUrl, httpClient, httpContext,resUpdateContentType, updateContent);
-
- trsResource = getResource(trsEndpoint, httpClient, httpContext, acceptType);
-
-
- } catch (FileNotFoundException e) {
- terminateTest(Messages.getServerString("tests.general.config.properties.missing"), e);
- } catch (InterruptedException e) {
- terminateTest(null, e);
- } catch (IOException e) {
- terminateTest(Messages.getServerString("tests.general.config.properties.unreadable"), e);
- } catch (FetchException e) {
- terminateTest(Messages.getServerString("tests.general.trs.fetch.error"), e);
- } catch (SendException e) {
- terminateTest(Messages.getServerString("tests.general.trs.send.error"), e);
- }
- }
-
- private static String formatUpdateContent(String updateContent,String contentType) {
- if (contentType.equalsIgnoreCase(HttpConstants.CT_APPLICATION_RDF_XML)) {
- if (updateContent.contains("rdf:about=\"\"")) {
- String replacement = "rdf:about=\"" + createdResourceUrl + "\"";
- updateContent = updateContent.replace("rdf:about=\"\"",
- replacement);
- }
- } else if (contentType
- .equalsIgnoreCase(HttpConstants.CT_APPLICATION_JSON)) {
- if (updateContent.contains("\"rdf:about\":\"\"")) {
- String replacement = "\"rdf:about\":\"" + createdResourceUrl + "\"";
- updateContent = updateContent.replace("\"rdf:about\":\"\"",
- replacement);
- }
- }
-
- return updateContent;
- }
-
- @Test
- public void testChangeLogHasChangeProperty() {
- try {
- Resource changeLogResource =
- trsResource.getPropertyResourceValue(ITRSVocabulary.CHANGELOG_PROPERTY);
-
- if (changeLogResource != null && !changeLogResource.equals(RDF.nil)) {
- if (!changeLogResource.hasProperty(ITRSVocabulary.CHANGE_PROPERTY)) {
- throw new InvalidTRSException(
- Messages.getServerString("validators.missing.trs.change.property")); //$NON-NLS-1$
- }
-
- }
- } catch (InvalidTRSException e) {
- e.printStackTrace();
- Assert.fail(e.getLocalizedMessage());
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail(MessageFormat.format(
- Messages.getServerString("tests.general.error"),
- e.getLocalizedMessage()));
- }
- }
-
- @Test
- public void testChangeLogEventChangedPropertyHasCreatedResource() {
- boolean matchFound = false;
- // Get the overall model, we will need it to follow trs:change
- // references in the change log to the actual change event later.
- Model rdfModel = trsResource.getModel();
-
- try {
- Resource changeLogResource =
- trsResource.getPropertyResourceValue(ITRSVocabulary.CHANGELOG_PROPERTY);
-
- if (changeLogResource != null && !changeLogResource.equals(RDF.nil)
- && changeLogResource.hasProperty(ITRSVocabulary.CHANGE_PROPERTY))
- {
- // Iterate over all trs:change properties referenced by the change log
- StmtIterator iter = changeLogResource.listProperties(ITRSVocabulary.CHANGE_PROPERTY);
-
- while (iter.hasNext()) {
- Statement trsChangeReference = iter.nextStatement();
-
- // Obtain the actual change event resource using the URI
- // mentioned in the change log's trs:change property we are
- // currently examining
- Resource changeEvent = rdfModel.getResource(trsChangeReference.getObject().toString());
-
- if (RDF.nil.getURI().equals(changeEvent.getURI()))
- break;
-
- if (changeEvent.hasProperty(ITRSVocabulary.CHANGED_PROPERTY))
- {
- if (changeEvent
- .getProperty(ITRSVocabulary.CHANGED_PROPERTY)
- .getObject().toString()
- .equalsIgnoreCase(createdResourceUrl)) {
- matchFound=true;
-
- //Match Found .. now check if the correct event type is present
- if (!changeEvent.hasProperty(RDF.type,
- ITRSVocabulary.MODIFICATION_RESOURCE)) {
- throw new InvalidTRSException(
- Messages.getServerString("validators.invalid.trs.changed.property")); //$NON-NLS-1$
- }
- break;
- }
- }
- }
- if(!matchFound)
- {
- throw new InvalidTRSException(
- Messages.getServerString("validators.invalid.trs.changed.property")); //$NON-NLS-1$
- }
-
- }
- } catch (InvalidTRSException e) {
- e.printStackTrace();
- Assert.fail(e.getLocalizedMessage());
- } catch (Exception e) {
- e.printStackTrace();
- Assert.fail(MessageFormat.format(
- Messages.getServerString("tests.general.error"),
- e.getLocalizedMessage()));
- }
-
- }
-
-
-}
diff --git a/org.eclipse.lyo.testsuite.trs/src/main/resources/config.properties b/org.eclipse.lyo.testsuite.trs/src/main/resources/config.properties
index 61c8342..51c23c2 100644
--- a/org.eclipse.lyo.testsuite.trs/src/main/resources/config.properties
+++ b/org.eclipse.lyo.testsuite.trs/src/main/resources/config.properties
@@ -4,20 +4,4 @@
acceptType = text/turtle
#End Point for the TRS Service
-configTrsEndpoint = http://localhost:8082/org.eclipse.lyo.rio.trs/rest/trs
-
-##Resource create configuration Parameters##
-#Creation Factory URI provided by the service provider
-configResourceCreationFactoryUri = http://localhost:8082/org.eclipse.lyo.rio.trs/rest/changeRequests/creator
-#Media/Content type to be used for the Creation Factory
-configContentType = application/x-www-form-urlencoded; charset=utf-8
-#Content to be posted to the creator Uri for resource creation
-configResContent = &title=New Defect&description=Creating New Defect
-#Template file for content to pass to creator
-configResContentFile =
-
-##Resource Update configuration Parameters##
-#Media/Content type to be used for the Update
-configUpdateContentType = application/rdf+xml
-#Content to be posted to the resource for Update
-configResUpdateFile = resourceUpdateContent.xml \ No newline at end of file
+configTrsEndpoint = http://localhost:8082/org.eclipse.lyo.rio.trs/rest/trs \ No newline at end of file
diff --git a/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.json b/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.json
deleted file mode 100644
index 6fe3733..0000000
--- a/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{"dcterms:created":"2013-01-15T16:14:08.232+05:30",
-"dcterms:description":"Operating system password required.",
-"dcterms:identifier":"40",
-"dcterms:modified":"2013-01-15T16:14:08.232+05:30",
-"dcterms:title":"Password complexity rules 123",
-"dcterms:type":["Defect"],
-"oslc:shortTitle":"Password complexity rules",
-"oslc_cm:approved":false,
-"oslc_cm:closed":false,
-"oslc_cm:fixed":false,
-"oslc_cm:inprogress":false,
-"oslc_cm:reviewed":false,
-"oslc_cm:severity":"Unclassified",
-"oslc_cm:status":"Submitted",
-"oslc_cm:verified":false,
-"prefixes":{"dcterms":"http://purl.org/dc/terms/",
-"foaf":"http://xmlns.com/foaf/0.1/",
-"oslc":"http://open-services.net/ns/core#",
-"oslc_cm":"http://open-services.net/ns/cm#",
-"oslc_qm":"http://open-services.net/ns/qm#",
-"oslc_rm":"http://open-services.net/ns/rm#",
-"oslc_scm":"http://open-services.net/ns/scm#",
-"rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#",
-"rdfs":"http://www.w3.org/2000/01/rdf-schema#"
-},
-"rdf:about":"",
-"rdf:type":[{"rdf:resource":"http://open-services.net/ns/cm#ChangeRequest"}]
-} \ No newline at end of file
diff --git a/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.xml b/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.xml
deleted file mode 100644
index dd117aa..0000000
--- a/org.eclipse.lyo.testsuite.trs/src/main/resources/resourceUpdateContent.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<rdf:RDF xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#"
- xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
-<rdf:Description rdf:about="">
-<oslc_cm:fixed>false</oslc_cm:fixed>
-<oslc_cm:verified>true</oslc_cm:verified>
-<oslc_cm:closed>false</oslc_cm:closed>
-<dcterms:description rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">test defect testing</dcterms:description>
-<oslc_cm:approved>false</oslc_cm:approved>
-<oslc_cm:severity>Unclassified</oslc_cm:severity>
-<dcterms:modified>2013-01-22T11:51:19.631+05:30</dcterms:modified>
-<oslc_cm:reviewed>false</oslc_cm:reviewed>
-<dcterms:type>Defect</dcterms:type>
-<oslc_cm:status>Submitted</oslc_cm:status>
-<oslc:shortTitle rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">test defect test</oslc:shortTitle>
-<rdf:type rdf:resource="http://open-services.net/ns/cm#ChangeRequest"/>
-<dcterms:created>2013-01-21T14:11:41.556+05:30</dcterms:created>
-<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">test defect test</dcterms:title>
-<oslc_cm:inprogress>false</oslc_cm:inprogress>
-</rdf:Description>
-</rdf:RDF> \ No newline at end of file