master/ldif/ldif-core/src/main/resources/xsd/SchedulerConfig.xsd

User picture

Commiter: Andrea Matteini

Author: Andrea Matteini

Revision: 67000aced3


File Size: 1.2 KB

(16 Apr 15:02 UTC) About 1 month ago

Updated hadoop to 0.20.205, changes in status interface, added support for multiple importJob paths

 
Show/hide line numbers
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:ldif="http://www4.wiwiss.fu-berlin.de/ldif/"
           elementFormDefault="qualified"
           targetNamespace="http://www4.wiwiss.fu-berlin.de/ldif/">


    <!-- importJobs element -->
    <xs:element name="import" abstract="true" />

    <xs:element name="importJob" type="xs:string" substitutionGroup="ldif:import"/>

    <xs:element name="importJobs" substitutionGroup="ldif:import">
        <xs:complexType>
            <xs:sequence>
                <!-- support files and directories, both from local and hdfs -->
                <xs:element name="importJob" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

<xs:element name="scheduler">
    <xs:complexType>
      <xs:all>

        <xs:element name="properties" type="xs:string"  minOccurs="0" />

        <xs:element name="dataSources" type="xs:string" minOccurs="0" />

        <xs:element ref="ldif:import" />

        <xs:element name="integrationJob" type="xs:string" />

        <xs:element name="dumpLocation" type="xs:string" />

       </xs:all>
    </xs:complexType>
  </xs:element>

</xs:schema>