Merging from branch 3.0
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Collector@37393 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
097e1a5483
commit
d59cdac63c
|
@ -8,7 +8,6 @@
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/EXISTLIBS"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/EXISTLIBS"/>
|
||||||
<classpathentry kind="lib" path="/Dependencies/ISCollector/org.gcube.informationsystem.collector.stubs.jar"/>
|
<classpathentry kind="lib" path="/Dependencies/ISCollector/org.gcube.informationsystem.collector.stubs.jar"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/DISTRO.RESOURCES.1.1"/>
|
|
||||||
<classpathentry combineaccessrules="false" kind="src" path="/GCF.1.1.0"/>
|
<classpathentry combineaccessrules="false" kind="src" path="/GCF.1.1.0"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
2
README
2
README
|
@ -16,7 +16,7 @@ Authors
|
||||||
|
|
||||||
Version and Release Date
|
Version and Release Date
|
||||||
------------------------
|
------------------------
|
||||||
v. 3.0.0 (07-02-2011)
|
v. 3.0.1 (25-03-2011)
|
||||||
|
|
||||||
Description
|
Description
|
||||||
-----------
|
-----------
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
|
<Changeset component=" org.gcube.information-system.collector.3-0-1" date="2011-03-25">
|
||||||
|
<Change>XMLDocuments passed as any objects and cleaned up</Change>
|
||||||
|
</Changeset>
|
||||||
<Changeset component=" org.gcube.information-system.collector.3-0-0" date="2011-02-07">
|
<Changeset component=" org.gcube.information-system.collector.3-0-0" date="2011-02-07">
|
||||||
<Change>WSDAIX::XMLCollectionAccess interface</Change>
|
<Change>WSDAIX::XMLCollectionAccess interface</Change>
|
||||||
<Change>internal refactoring of resources</Change>
|
<Change>internal refactoring of resources</Change>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<Main>
|
<Main>
|
||||||
<Description>Information Collector service: aggregate and make available information published by gCube services</Description>
|
<Description>Information Collector service: aggregate and make available information published by gCube services</Description>
|
||||||
<Name>IS-Collector-service</Name>
|
<Name>IS-Collector-service</Name>
|
||||||
<Version>3.0.0</Version>
|
<Version>3.0.1</Version>
|
||||||
<Dependencies>
|
<Dependencies>
|
||||||
<Dependency>
|
<Dependency>
|
||||||
<Service>
|
<Service>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
<Software>
|
<Software>
|
||||||
<Description>Test-suite for IS-Collector: provide sample usages of interaction with a IS-Collector instance</Description>
|
<Description>Test-suite for IS-Collector: provide sample usages of interaction with a IS-Collector instance</Description>
|
||||||
<Name>IS-Collector-test-suite</Name>
|
<Name>IS-Collector-test-suite</Name>
|
||||||
<Version>3.0.0</Version>
|
<Version>3.0.1</Version>
|
||||||
<MultiVersion value="true"/>
|
<MultiVersion value="true"/>
|
||||||
<Shareable level="VO"/>
|
<Shareable level="VO"/>
|
||||||
<Type>application</Type>
|
<Type>application</Type>
|
||||||
|
|
|
@ -1,9 +1,15 @@
|
||||||
package org.gcube.informationsystem.collector.impl.porttypes.wsdaix;
|
package org.gcube.informationsystem.collector.impl.porttypes.wsdaix;
|
||||||
|
|
||||||
import java.rmi.RemoteException;
|
import java.rmi.RemoteException;
|
||||||
|
|
||||||
|
import javax.xml.parsers.DocumentBuilder;
|
||||||
|
import javax.xml.parsers.DocumentBuilderFactory;
|
||||||
|
import javax.xml.parsers.ParserConfigurationException;
|
||||||
|
|
||||||
import org.apache.axis.message.MessageElement;
|
import org.apache.axis.message.MessageElement;
|
||||||
import org.apache.axis.types.URI;
|
import org.apache.axis.types.URI;
|
||||||
import org.w3c.dom.Document;
|
import org.w3c.dom.Document;
|
||||||
|
import org.w3c.dom.Node;
|
||||||
import org.xmldb.api.base.XMLDBException;
|
import org.xmldb.api.base.XMLDBException;
|
||||||
import org.gcube.common.core.contexts.GCUBEServiceContext;
|
import org.gcube.common.core.contexts.GCUBEServiceContext;
|
||||||
import org.gcube.common.core.porttypes.GCUBEPortType;
|
import org.gcube.common.core.porttypes.GCUBEPortType;
|
||||||
|
@ -146,6 +152,14 @@ public class XMLCollectionAccess extends GCUBEPortType {
|
||||||
AddDocumentRequestWrapper[] docs = addDocumentsRequest.getAddDocumentRequestWrapper();
|
AddDocumentRequestWrapper[] docs = addDocumentsRequest.getAddDocumentRequestWrapper();
|
||||||
AddDocumentResponseWrapper[] responseWrappers = new AddDocumentResponseWrapper[docs.length];
|
AddDocumentResponseWrapper[] responseWrappers = new AddDocumentResponseWrapper[docs.length];
|
||||||
String targetCollection = this.URItoCollection(addDocumentsRequest.getCollectionName());
|
String targetCollection = this.URItoCollection(addDocumentsRequest.getCollectionName());
|
||||||
|
DocumentBuilderFactory fact = DocumentBuilderFactory.newInstance();
|
||||||
|
fact.setNamespaceAware(true);
|
||||||
|
DocumentBuilder bd;
|
||||||
|
try {
|
||||||
|
bd = fact.newDocumentBuilder();
|
||||||
|
} catch (ParserConfigurationException e3) {
|
||||||
|
throw new RemoteException("Unable to create a Document Factory for the incoming documents");
|
||||||
|
}
|
||||||
logger.debug("Adding " +docs.length + " documents to collection " + targetCollection);
|
logger.debug("Adding " +docs.length + " documents to collection " + targetCollection);
|
||||||
|
|
||||||
//response wrapper values
|
//response wrapper values
|
||||||
|
@ -193,12 +207,20 @@ public class XMLCollectionAccess extends GCUBEPortType {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
resource.setResourceName(resourceName);
|
resource.setResourceName(resourceName);
|
||||||
resource.setContent(doc);
|
if (doc.getDocumentElement().getLocalName().equals("ISPublisher")) {
|
||||||
|
//this removes the root element introduced by the ISPublisher in order to put an any obj
|
||||||
|
//in the SOAP MessageElement
|
||||||
|
Document newDoc = bd.newDocument();
|
||||||
|
Node node = doc.getDocumentElement().removeChild(doc.getDocumentElement().getFirstChild());
|
||||||
|
newDoc.appendChild(newDoc.importNode(node,true));
|
||||||
|
resource.setContent(newDoc);
|
||||||
|
} else
|
||||||
|
resource.setContent(doc);
|
||||||
} catch (MalformedResourceException e1) {
|
} catch (MalformedResourceException e1) {
|
||||||
logger.error("Invalid resource ", e1);
|
logger.error("Invalid resource ", e1);
|
||||||
responseWrappers[i].setResponse(AddDocumentResponseWrapperResponse.value2);
|
responseWrappers[i].setResponse(AddDocumentResponseWrapperResponse.value2);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//logger.trace("resource to wrap " + resource.toString());
|
//logger.trace("resource to wrap " + resource.toString());
|
||||||
|
|
|
@ -32,13 +32,13 @@ class ResourceFilter {
|
||||||
if (resource.getPublicationMode().compareToIgnoreCase("pull") == 0) {
|
if (resource.getPublicationMode().compareToIgnoreCase("pull") == 0) {
|
||||||
return isPullExpired(resource);
|
return isPullExpired(resource);
|
||||||
} else if (resource.getPublicationMode().compareToIgnoreCase("push") == 0) {
|
} else if (resource.getPublicationMode().compareToIgnoreCase("push") == 0) {
|
||||||
return isPushExpired(resource);
|
//return isPushExpired(resource);
|
||||||
}
|
}
|
||||||
// default
|
// default
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isPushExpired(GCUBEXMLResource resource) {
|
/* private static boolean isPushExpired(GCUBEXMLResource resource) {
|
||||||
logger.trace("Checking push resource...");
|
logger.trace("Checking push resource...");
|
||||||
try {
|
try {
|
||||||
String status = getRIStatus(resource.getSourceRunningInstance());
|
String status = getRIStatus(resource.getSourceRunningInstance());
|
||||||
|
@ -50,7 +50,7 @@ class ResourceFilter {
|
||||||
logger.warn("Unable to detect if the resource is expired",e);
|
logger.warn("Unable to detect if the resource is expired",e);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static boolean isPullExpired(GCUBEXMLResource resource) {
|
static boolean isPullExpired(GCUBEXMLResource resource) {
|
||||||
logger.trace("Checking pull resource...");
|
logger.trace("Checking pull resource...");
|
||||||
|
|
|
@ -22,7 +22,7 @@ public class GCUBEInstanceStateResourceTest extends TestCase {
|
||||||
|
|
||||||
public void testSetContentString() {
|
public void testSetContentString() {
|
||||||
try {
|
try {
|
||||||
resource.setContent("<ns1:Task xmlns:ns1=\"http://gcube-system.org/namespaces/vremanagement/executor\"/> <ns9:Task xmlns:ns9=\"http://gcube-system.org/namespaces/vremanagement/executor\">");
|
resource.setContent("<ns1:ID xmlns:ns1=\"http://gcube-system.org/namespaces/vremanagement/executor\"/> <ns9:Task xmlns:ns9=\"http://gcube-system.org/namespaces/vremanagement/executor\">");
|
||||||
} catch (MalformedResourceException e) {
|
} catch (MalformedResourceException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,8 +85,11 @@ public class GCUBEProfileResourceTest extends TestCase {
|
||||||
try {
|
try {
|
||||||
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
||||||
DocumentBuilder builder = factory.newDocumentBuilder();
|
DocumentBuilder builder = factory.newDocumentBuilder();
|
||||||
StringReader reader = new StringReader("<Profile><Resource><ID/><Type>GHN</Type></Resource></Profile>");
|
StringReader reader = new StringReader("<Profile><Resource><ID/><Type>GHN</Type><xsd:schema xmlns:q=\"http://gcube.org/searchservice/queryobject\" "+
|
||||||
|
"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"/>"+
|
||||||
|
"</Resource></Profile>");
|
||||||
InputSource source = new InputSource(reader);
|
InputSource source = new InputSource(reader);
|
||||||
|
//Document doc = builder.parse(source);
|
||||||
resource.setContent(builder.parse(source));
|
resource.setContent(builder.parse(source));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
package org.gcube.informationsystem.collector.resources;
|
package org.gcube.informationsystem.collector.resources;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
|
import javax.xml.parsers.DocumentBuilder;
|
||||||
|
import javax.xml.parsers.DocumentBuilderFactory;
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
import org.gcube.informationsystem.collector.impl.resources.BaseDAIXResource;
|
import org.gcube.informationsystem.collector.impl.resources.BaseDAIXResource;
|
||||||
|
@ -11,24 +16,32 @@ import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.w3c.dom.Document;
|
||||||
|
|
||||||
public class GCUBEXMLResourceTest extends TestCase {
|
public class GCUBEXMLResourceTest extends TestCase {
|
||||||
|
|
||||||
private GCUBEXMLResource XMLiresource;
|
private GCUBEXMLResource XMLiresource;
|
||||||
|
private GCUBEXMLResource XMLiresourceDOM;
|
||||||
private GCUBEXMLResource XMLpresource;
|
private GCUBEXMLResource XMLpresource;
|
||||||
private GCUBEInstanceStateResource iresource;
|
private GCUBEInstanceStateResource iresourceString;
|
||||||
|
private GCUBEInstanceStateResource iresourceDOM;
|
||||||
private GCUBEProfileResource presource;
|
private GCUBEProfileResource presource;
|
||||||
|
|
||||||
|
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
iresource = new GCUBEInstanceStateResource();
|
iresourceString = new GCUBEInstanceStateResource();
|
||||||
iresource.setResourceName("Instance");
|
iresourceString.setResourceName("Instance");
|
||||||
iresource.setContent("<"+ GCUBEInstanceStateResource.INSTANCESTATE_ROOT_ELEMENT + "><ns1:Task xmlns:ns1=\"http://gcube-system.org/namespaces/vremanagement/executor\"/> <ns9:Task xmlns:ns9=\"http://gcube-system.org/namespaces/vremanagement/executor\"/></"+ GCUBEInstanceStateResource.INSTANCESTATE_ROOT_ELEMENT + ">");
|
iresourceString.setContent("<"+ GCUBEInstanceStateResource.INSTANCESTATE_ROOT_ELEMENT + "><ns1:Task xmlns:ns1=\"http://gcube-system.org/namespaces/vremanagement/executor\"/> <ns9:Task xmlns:ns9=\"http://gcube-system.org/namespaces/vremanagement/executor\"/></"+ GCUBEInstanceStateResource.INSTANCESTATE_ROOT_ELEMENT + ">");
|
||||||
|
XMLiresource = new GCUBEXMLResource(iresourceString);
|
||||||
|
|
||||||
|
iresourceDOM = new GCUBEInstanceStateResource();
|
||||||
|
iresourceDOM.setResourceName("InstanceDOM");
|
||||||
|
iresourceDOM.setContent(this.getAsDocument("/Users/manuele/work/workspace/IS/Branches/InformationCollector.3.0/test/org/gcube/informationsystem/collector/resources/samplestate.xml"));
|
||||||
|
|
||||||
presource = new GCUBEProfileResource();
|
presource = new GCUBEProfileResource();
|
||||||
presource.setResourceName("Profile");
|
presource.setResourceName("Profile");
|
||||||
presource.setContent("<Profile><Resource><ID/><Type>GHN</Type></Resource></Profile>");
|
presource.setContent("<Profile><Resource><ID/><Type>GHN</Type></Resource></Profile>");
|
||||||
XMLiresource = new GCUBEXMLResource(iresource);
|
|
||||||
XMLpresource = new GCUBEXMLResource(presource);
|
XMLpresource = new GCUBEXMLResource(presource);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,8 +52,13 @@ public class GCUBEXMLResourceTest extends TestCase {
|
||||||
@Test
|
@Test
|
||||||
public void testGCUBEXMLResourceBaseDAIXResource() {
|
public void testGCUBEXMLResourceBaseDAIXResource() {
|
||||||
try {
|
try {
|
||||||
XMLiresource = new GCUBEXMLResource(iresource);
|
XMLiresource = new GCUBEXMLResource(iresourceString);
|
||||||
XMLpresource = new GCUBEXMLResource(presource);
|
XMLpresource = new GCUBEXMLResource(presource);
|
||||||
|
//XMLiresourceDOM = new GCUBEXMLResource(iresourceDOM);
|
||||||
|
System.out.println("Resource to wrap " + iresourceDOM.toString());
|
||||||
|
XMLiresourceDOM = new GCUBEXMLResource(iresourceDOM);
|
||||||
|
System.out.println("Wrapped Resource" + XMLiresourceDOM.toString());
|
||||||
|
|
||||||
} catch (MalformedXMLResourceException e) {
|
} catch (MalformedXMLResourceException e) {
|
||||||
Assert.fail("failed to create GCUBEXMLResources");
|
Assert.fail("failed to create GCUBEXMLResources");
|
||||||
}
|
}
|
||||||
|
@ -69,8 +87,7 @@ public class GCUBEXMLResourceTest extends TestCase {
|
||||||
System.out.println("Profile Content with envelop " + content);
|
System.out.println("Profile Content with envelop " + content);
|
||||||
GCUBEXMLResource temp = new GCUBEXMLResource(new BaseDAIXResource("name"));
|
GCUBEXMLResource temp = new GCUBEXMLResource(new BaseDAIXResource("name"));
|
||||||
temp.deserializeFromIndexing(content, true);
|
temp.deserializeFromIndexing(content, true);
|
||||||
System.out.println("New Profile Content with envelop " + temp.toString());
|
System.out.println("New Profile Content with envelop " + temp.toString());
|
||||||
|
|
||||||
String content2 = XMLiresource.toString();
|
String content2 = XMLiresource.toString();
|
||||||
System.out.println("Instance State Content with envelop " + content2);
|
System.out.println("Instance State Content with envelop " + content2);
|
||||||
GCUBEXMLResource temp2 = new GCUBEXMLResource(new BaseDAIXResource("name"));
|
GCUBEXMLResource temp2 = new GCUBEXMLResource(new BaseDAIXResource("name"));
|
||||||
|
@ -153,8 +170,25 @@ public class GCUBEXMLResourceTest extends TestCase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToString() {
|
public void testToString() {
|
||||||
System.out.println("Instance to string " + XMLiresource.toString() );
|
//System.out.println("Instance to string " + XMLiresource.toString() );
|
||||||
System.out.println("Profile to string " + XMLpresource.toString() );
|
//System.out.println("Instance from DOM to string " + XMLiresourceDOM.toString() );
|
||||||
|
//System.out.println("Profile to string " + XMLpresource.toString() );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private Document getAsDocument(String filename) throws Exception {
|
||||||
|
try {
|
||||||
|
File file = new File(filename);
|
||||||
|
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
|
||||||
|
dbf.setNamespaceAware(true);
|
||||||
|
DocumentBuilder db = dbf.newDocumentBuilder();
|
||||||
|
return db.parse(file);
|
||||||
|
|
||||||
|
} catch ( Exception e ) {
|
||||||
|
System.out.println("Unable to load document: " + filename);
|
||||||
|
}
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,89 +1,60 @@
|
||||||
<ResourceProperties>
|
<ResourceProperties
|
||||||
<ns1:View xmlns:ns1="http://gcube-system.org/namespaces/contentmanagement/viewmanager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:View">
|
xmlns:ns1="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<id xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">b9685210-3bd4-4eac-af39-fa9b010d4746</id>
|
xmlns:ns10="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<collectionID xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">29ff75c0-ee7b-11df-9759-9044180d0c96</collectionID>
|
xmlns:ns11="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<type xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">MetadataView</type>
|
xmlns:ns2="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">Metadata view for collection 29ff75c0-ee7b-11df-9759-9044180d0c96</description>
|
xmlns:ns3="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<predicate>
|
xmlns:ns4="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<ns2:t xmlns:ns2="http://gcube-system.org/namespaces/contentmanagement/contentmanager">
|
xmlns:ns5="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<ns2:atleast cond="false">
|
xmlns:ns6="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<!-- <ns2:l xmlns="" xmlns:ns3="http://gcube-system.org/namespaces/contentmanagement/viewmanager">isDescribedBy</ns2:l>
|
xmlns:ns7="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<ns2:t>
|
xmlns:ns8="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<ns2:one cond="false">
|
xmlns:ns9="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<ns2:l xmlns="" xmlns:ns3="http://gcube-system.org/namespaces/contentmanagement/viewmanager">metadataSchema</ns2:l>
|
xmlns="">
|
||||||
<ns2:text>
|
|
||||||
<ns2:same>
|
<ns1:AdaptorID xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<ns2:as xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">http://www.openarchives.org/OAI/2.0/oai_dc.xsd</ns2:as>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</ns2:same>
|
xmlns:ns1="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
</ns2:text>
|
xsi:type="xsd:string">98f54690-fed3-11df-88a7-93625fddeb27</ns1:AdaptorID>
|
||||||
</ns2:one>
|
|
||||||
<ns2:one cond="false">
|
<ns2:CollectionID xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<ns2:l xmlns="" xmlns:ns3="http://gcube-system.org/namespaces/contentmanagement/viewmanager">metadataLanguage</ns2:l>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<ns2:text>
|
xmlns:ns2="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<ns2:same>
|
xsi:type="xsd:string">9b11d2d0-dad5-11df-90dc-c704f281f2f7</ns2:CollectionID>
|
||||||
<ns2:as xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">unknown</ns2:as>
|
<ns3:DescriptionDocumentURI xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
</ns2:same>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</ns2:text>
|
xmlns:ns3="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
</ns2:one>
|
xsi:type="xsd:string">http://88.197.20.212:8280/web/openSearchDescriptor
|
||||||
<ns2:one cond="false">
|
</ns3:DescriptionDocumentURI>
|
||||||
<ns2:l xmlns="" xmlns:ns3="http://gcube-system.org/namespaces/contentmanagement/viewmanager">metadataName</ns2:l>
|
<ns4:Templates xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<ns2:text>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<ns2:same>
|
xmlns:ns4="http://gcube-system.org/namespaces/opensearch/OpenSearchService"
|
||||||
<ns2:as xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">oai_dc</ns2:as>
|
xsi:type="xsd:string">http://88.197.20.212:8280/web/showResults.action?referer=showResults&query={http%3A%2F%2Fa9.com%2F-%2Fspec%2Fopensearch%2F1.1%2F:searchTerms}&page={http%3A%2F%2Fa9.com%2F-%2Fspec%2Fopensearch%2F1.1%2F:startPage}&size={http%3A%2F%2Fa9.com%2F-%2Fspec%2Fopensearch%2F1.1%2F:count}&view=comm&format=rss
|
||||||
</ns2:same>
|
</ns4:Templates>
|
||||||
</ns2:text>
|
<ns5:OpenSearchResource xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
</ns2:one>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">5f8a0680-dad3-11df-b94e-b5f66b8b8a02
|
||||||
<ns2:many cond="false">
|
</ns5:OpenSearchResource>
|
||||||
<ns2:l xmlns="" xmlns:ns3="http://gcube-system.org/namespaces/contentmanagement/viewmanager">.*</ns2:l>
|
<ns6:GHN xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<ns2:anytype/>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</ns2:many>
|
xmlns:ns6="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
</ns2:t> -->
|
xsi:type="xsd:string">9cf3d690-fbc1-11df-b541-a45b627e2d64</ns6:GHN>
|
||||||
</ns2:atleast>
|
<ns7:RI xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</ns2:t>
|
xmlns:ns7="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
</predicate>
|
xsi:type="xsd:string">89ecbd90-feba-11df-887f-93625fddeb27</ns7:RI>
|
||||||
<cardinality xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:long">0</cardinality>
|
<ns8:ServiceClass xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<lastUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:dateTime">2010-10-25T14:01:55.948Z</lastUpdate>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
<property xsi:type="ns1:ViewProperty">
|
xmlns:ns8="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">name</name>
|
xsi:type="xsd:string">OpenSearch</ns8:ServiceClass>
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
<ns9:Scope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">MITmetadata</value>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</property>
|
xmlns:ns9="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<property xsi:type="ns1:ViewProperty">
|
xsi:type="xsd:string">/d4science.research-infrastructures.eu/Ecosystem/DRIVER
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">metadataName</name>
|
</ns9:Scope>
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
<ns10:ServiceID xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">oai_dc</value>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
</property>
|
xmlns:ns10="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider"
|
||||||
<property xsi:type="ns1:ViewProperty">
|
xsi:type="xsd:string">89dcdf10-feba-11df-887f-93625fddeb27</ns10:ServiceID>
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">metadataLanguage</name>
|
<ns11:ServiceName xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">OpenSearchService
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">unknown</value>
|
</ns11:ServiceName>
|
||||||
</property>
|
|
||||||
<property xsi:type="ns1:ViewProperty">
|
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">metadataSchema</name>
|
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">http://www.openarchives.org/OAI/2.0/oai_dc.xsd</value>
|
|
||||||
</property>
|
|
||||||
<property xsi:type="ns1:ViewProperty">
|
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">isEditable</name>
|
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">false</value>
|
|
||||||
</property>
|
|
||||||
<property xsi:type="ns1:ViewProperty">
|
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">isIndexable</name>
|
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">true</value>
|
|
||||||
</property>
|
|
||||||
<property xsi:type="ns1:ViewProperty">
|
|
||||||
<name xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:QName">isUserCollection</name>
|
|
||||||
<description xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string"/>
|
|
||||||
<value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">true</value>
|
|
||||||
</property>
|
|
||||||
</ns1:View>
|
|
||||||
<ns2:Plugin xmlns:ns2="http://gcube-system.org/namespaces/contentmanagement/viewmanager" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">MetadataPlugin</ns2:Plugin>
|
|
||||||
<ns3:GHN xmlns:ns3="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">c25b7d90-2ee1-11e0-917b-87d1c5c45db1</ns3:GHN>
|
|
||||||
<ns4:RI xmlns:ns4="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">3a556ba0-2ee5-11e0-bc88-d12fb9a65569</ns4:RI>
|
|
||||||
<ns5:ServiceClass xmlns:ns5="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">ContentManagement</ns5:ServiceClass>
|
|
||||||
<ns6:Scope xmlns:ns6="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">/gcube/devNext</ns6:Scope>
|
|
||||||
<ns7:ServiceID xmlns:ns7="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">3a0a7ff0-2ee5-11e0-bc88-d12fb9a65569</ns7:ServiceID>
|
|
||||||
<ns8:ServiceName xmlns:ns8="http://gcube-system.org/namespaces/common/core/porttypes/GCUBEProvider" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="xsd:string">ViewManager</ns8:ServiceName>
|
|
||||||
</ResourceProperties>
|
</ResourceProperties>
|
||||||
|
|
Loading…
Reference in New Issue