<?xml version="1.0" encoding="UTF-8"?>
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<ID></ID>
	<Type>Service</Type>
	<Profile>
		<Description>Full-Text Lookup Service</Description>
		<Class>Index</Class>
		<Name>FullTextIndexLookup</Name>
		<Version>1.0.0</Version>
		<Packages>
			<Main>
				<Description>Full-Text Index Service</Description>
                <Name>FullTextIndexLookupMain</Name>
                <Version>2.3.0</Version>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <GHNRequirements>
                       <Requirement category="OperatingSystem" operator="eq" requirement="Name" value="Linux" />
                </GHNRequirements>
				<Dependencies>
					<Dependency>
						<Service>
							<Class>Index</Class>
							<Name>FullTextIndexLookup</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>FullTextIndexLookupStubs</Package>
						<Version>[2.1.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
							<Class>Index</Class>
							<Name>FullTextIndexManagement</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>FullTextIndexManagementStubs</Package>
						<Version>[2.1.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
							<Class>Index</Class>
							<Name>IndexCommon</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>IndexCommon</Package>
						<Version>[3.1.0,4.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
							<Class>Index</Class>
							<Name>StorageHandling</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>StorageHandlingStubs</Package>
						<Version>[2.0.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
					<Dependency>
						<Service>
							<Class>Index</Class>
							<Name>StorageHandling</Name>
			 		   		<Version>1.0.0</Version>
						</Service>
						<Package>StorageHandlingMain</Package>
						<Version>[2.0.0,3.0.0)</Version>
						<Scope level="GHN"/>
						<Optional>false</Optional>
					</Dependency>
				</Dependencies>
				<GARArchive>org.gcube.indexmanagement.fulltextindexlookup.gar</GARArchive>
				<PortType>
					<Name>gcube/indexmanagement/fulltextindexlookup/FullTextIndexLookup</Name>
					<WSDL>

<definitions name="FullTextIndexLookupFactoryService"
    targetNamespace="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>

<!--============================================================

                      T Y P E S
                      
  ============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:tns="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	
	<xsd:import
	    namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"                
	    schemaLocation="../ws/addressing/WS-Addressing.xsd" />
	
	
	<!-- REQUESTS -->
	
	<xsd:element name="createResource">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MainIndexID" type="xsd:string"/>		
				<xsd:element name="LemmatizerPluginName" type="xsd:string" minOccurs="0" maxOccurs="1"/>	
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	
	<xsd:element name="createPartition">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MainIndexID" type="xsd:string"/>		
				<xsd:element name="IsHeadPartition" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>	
				<xsd:element name="HeadEPR" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="1"/>		
				<xsd:element name="DeltaListStartIdx" type="xsd:int"/>		
				<xsd:element name="DeltaListEndIdx" type="xsd:int" minOccurs="0" maxOccurs="1"/>		
				<xsd:element name="LemmatizerPluginName" type="xsd:string"/>	
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<!-- RESPONSE -->	
	
	<xsd:element name="createResourceResponse">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="wsa:EndpointReference"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

</xsd:schema>
</types>


<!--============================================================

                       M E S S A G E S
                      
  ============================================================-->
<message name="CreateResourceRequest">
	<part name="request" element="tns:createResource"/>
</message>
<message name="CreatePartitionRequest">
	<part name="request" element="tns:createPartition"/>
</message>
<message name="CreateResourceResponse">
	<part name="response" element="tns:createResourceResponse"/>
</message>


<!--============================================================

                       P O R T T Y P E
                      
  ============================================================-->

<portType name="FullTextIndexLookupFactoryPortType">

	<operation name="createResource">
        <wsdl:documentation>
            Creates an instance of the FullTextIndexLookupResource class and returns a reference to it
            @param request <code>CreateResource</code> - Object containing the epr of the <code>FullTextIndexManagementService</code> the new resource should be connected to.
            @return <code>CreateResourceResponse</code> - object containing the epr of the created FullTextIndexLookupResource instance
            @see org.gcube.indexservice.fulltextindexmanagement.stubs.FullTextIndexManagementFactoryPortType
            @version 0.1
        </wsdl:documentation>
		<input message="tns:CreateResourceRequest"/>
		<output message="tns:CreateResourceResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>

	<operation name="createPartition">
        <wsdl:documentation>
            Creates an instance of the FullTextIndexLookupResource class and returns a reference to it. 
            This method is used to create FullTextIndexLookupResource instances for a partitioned index replication.
            @param request <code>CreateResource</code> - Object containing the epr of the <code>FullTextIndexManagementService</code> the new resource should be connected to.
            @return <code>CreateResourceResponse</code> - object containing the epr of the created FullTextIndexLookupResource instance,
            along with an indicator of whether the new resource is a head partition or not, and the starting point and end point (delta file number/idx) of the index.
            @see org.gcube.indexservice.fulltextindexmanagement.stubs.FullTextIndexManagementFactoryPortType
            @version 0.1
        </wsdl:documentation>
		<input message="tns:CreatePartitionRequest"/>
		<output message="tns:CreateResourceResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
</portType>

</definitions>

</WSDL>
				</PortType>
				<PortType>
					<Name>gcube/indexmanagement/fulltextindexlookup/FullTextIndexLookupFactory</Name>
					<WSDL>

<definitions name="FullTextIndexLookupFactoryService"
    targetNamespace="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService" 
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:corefaults="http://gcube-system.org/namespaces/common/core/faults"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

    <wsdl:import namespace="http://gcube-system.org/namespaces/common/core/faults" location="../gcube/common/core/faults/GCUBEFaults.wsdl"/>

<!--============================================================

                      T Y P E S
                      
  ============================================================-->
<types>
<xsd:schema targetNamespace="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:tns="http://gcube-system.org/namespaces/indexmanagement/FullTextIndexLookupFactoryService"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">

	
	<xsd:import
	    namespace="http://schemas.xmlsoap.org/ws/2004/03/addressing"                
	    schemaLocation="../ws/addressing/WS-Addressing.xsd" />
	
	
	<!-- REQUESTS -->
	
	<xsd:element name="createResource">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MainIndexID" type="xsd:string"/>		
				<xsd:element name="LemmatizerPluginName" type="xsd:string" minOccurs="0" maxOccurs="1"/>	
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	
	<xsd:element name="createPartition">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="MainIndexID" type="xsd:string"/>		
				<xsd:element name="IsHeadPartition" type="xsd:boolean" minOccurs="0" maxOccurs="1"/>	
				<xsd:element name="HeadEPR" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="1"/>		
				<xsd:element name="DeltaListStartIdx" type="xsd:int"/>		
				<xsd:element name="DeltaListEndIdx" type="xsd:int" minOccurs="0" maxOccurs="1"/>		
				<xsd:element name="LemmatizerPluginName" type="xsd:string"/>	
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<!-- RESPONSE -->	
	
	<xsd:element name="createResourceResponse">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element ref="wsa:EndpointReference"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

</xsd:schema>
</types>


<!--============================================================

                       M E S S A G E S
                      
  ============================================================-->
<message name="CreateResourceRequest">
	<part name="request" element="tns:createResource"/>
</message>
<message name="CreatePartitionRequest">
	<part name="request" element="tns:createPartition"/>
</message>
<message name="CreateResourceResponse">
	<part name="response" element="tns:createResourceResponse"/>
</message>


<!--============================================================

                       P O R T T Y P E
                      
  ============================================================-->

<portType name="FullTextIndexLookupFactoryPortType">

	<operation name="createResource">
        <wsdl:documentation>
            Creates an instance of the FullTextIndexLookupResource class and returns a reference to it
            @param request <code>CreateResource</code> - Object containing the epr of the <code>FullTextIndexManagementService</code> the new resource should be connected to.
            @return <code>CreateResourceResponse</code> - object containing the epr of the created FullTextIndexLookupResource instance
            @see org.gcube.indexservice.fulltextindexmanagement.stubs.FullTextIndexManagementFactoryPortType
            @version 0.1
        </wsdl:documentation>
		<input message="tns:CreateResourceRequest"/>
		<output message="tns:CreateResourceResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>

	<operation name="createPartition">
        <wsdl:documentation>
            Creates an instance of the FullTextIndexLookupResource class and returns a reference to it. 
            This method is used to create FullTextIndexLookupResource instances for a partitioned index replication.
            @param request <code>CreateResource</code> - Object containing the epr of the <code>FullTextIndexManagementService</code> the new resource should be connected to.
            @return <code>CreateResourceResponse</code> - object containing the epr of the created FullTextIndexLookupResource instance,
            along with an indicator of whether the new resource is a head partition or not, and the starting point and end point (delta file number/idx) of the index.
            @see org.gcube.indexservice.fulltextindexmanagement.stubs.FullTextIndexManagementFactoryPortType
            @version 0.1
        </wsdl:documentation>
		<input message="tns:CreatePartitionRequest"/>
		<output message="tns:CreateResourceResponse"/>
		<fault name="fault" message="corefaults:GCUBEUnrecoverableFaultMessage"></fault>
	</operation>
</portType>

</definitions>

</WSDL>
				</PortType>
			</Main>
			<Software  deployable="true">
				<Description>Full-Text Index Lookup Stubs</Description>
                <Name>FullTextIndexLookupStubs</Name>
                <Version>2.1.0</Version>
                <MultiVersion value="true"/>
                <Mandatory level="VO"/>
                <Shareable level="VO"/>
                <Type>library</Type>
                <Files>
                   <File>org.gcube.indexmanagement.fulltextindexlookup.stubs.jar</File>
                </Files>
 				
			</Software>
			<Software deployable="true">
				<Description>FullText Index Test Suite</Description>
				<Name>FullTextIndexLookup-test-suite</Name>
				<Version>1.1.0</Version>
				<Files>
					<File>readme.txt</File>
					<File>_gcube_devsec.properties</File>
					<File>IndexManagement/FullTextIndexClient.java</File>
					<File>IndexManagement/VOInfoManager.java</File>
					<File>IndexManagement/Col_2_ftRowsetRS.java</File>
				</Files>
			</Software>
		</Packages>
	</Profile>
</Resource>