intra-mart Accel Platform テナント環境セットアップ 仕様書 第5版 2016-12-01

フォーマットファイル(xsd)

セットアップ設定

モジュール
インポート・エクスポート
フォーマットファイル(xsd)
WEB-INF/schema/import-data-config.xsd

<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://intra_mart.co.jp/system/service/provider/importer/config/import-data-config" 
    xmlns:tns="http://intra_mart.co.jp/system/service/provider/importer/config/import-data-config"
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"
    elementFormDefault="qualified">

<annotation>
  <appinfo>
    <jaxb:schemaBindings>
      <jaxb:package name="jp.co.intra_mart.system.service.provider.importer.config"/>
    </jaxb:schemaBindings>
  </appinfo>
</annotation>

<element name="import-data-config">
  <complexType>
    <sequence>
      <element name="preprocessors" type="tns:preprocessorsType" minOccurs="0" />
      <element name="database" type="tns:databaseConfigType" minOccurs="0"/>
      <element name="tenant-master" type="tns:tenantMasterConfigType" minOccurs="0"/>
      <element name="extends-import" type="tns:extendsImportConfigType" minOccurs="0"/>
    </sequence>
  </complexType>
</element>

<complexType name="preprocessorsType">
  <sequence>
    <element name="preprocessor-class" type="string" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
</complexType>

<complexType name="databaseConfigType">
  <sequence>
    <element name="create-file" type="string" minOccurs="0" maxOccurs="unbounded"/>
    <element name="insert-file" type="string" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
</complexType>

<complexType name="tenantMasterConfigType">
  <choice minOccurs="0" maxOccurs="unbounded">
    <element name="role-file" type="tns:role-file" />
    <element name="menu-group-category-file" type="tns:menu-group-category-file" />
    <element name="menu-group-file" type="tns:menu-group-file" />
    <element name="account-file" type="tns:account-file" />
    <element name="calendar-file" type="tns:calendar-file" />
    <element name="calendar-day-set-file" type="tns:calendar-day-set-file" />
    <element name="calendar-day-file" type="tns:calendar-day-file" />
    <element name="calendar-merge-file" type="tns:calendar-merge-file" />
    <element name="job-scheduler-file" type="tns:job-scheduler-file" />
    <element name="authz-resource-group-file" type="tns:authz-resource-group-file" />
    <element name="authz-resource-file" type="tns:authz-resource-file" />
    <element name="authz-subject-group-file" type="tns:authz-subject-group-file" />
    <element name="authz-policy-file" type="tns:authz-policy-file" />
  </choice>
</complexType>

<complexType name="import-file">
  <simpleContent>
    <extension base="string"/>
  </simpleContent>
</complexType>
<complexType name="role-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="account-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="calendar-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="calendar-day-set-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="calendar-day-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="calendar-merge-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="authz-resource-group-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="authz-resource-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="authz-subject-group-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="authz-policy-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="menu-group-category-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="menu-group-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>
<complexType name="job-scheduler-file">
  <simpleContent>
    <restriction base="tns:import-file"/>
  </simpleContent>
</complexType>

<complexType name="extendsImportConfigType">
  <sequence>
    <element name="extends-import-class" type="string" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
</complexType>

</schema>

セットアップ実行結果ログ

モジュール
インポート・エクスポート
フォーマットファイル(xsd)
WEB-INF/schema/import-result-detail-data.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	elementFormDefault="qualified"
	targetNamespace="http://intra-mart.co.jp/system/service/provider/updater/import-result-detail-data"
	xmlns="http://intra-mart.co.jp/system/service/provider/updater/import-result-detail-data"
	xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0">

	<xs:annotation>
		<xs:appinfo>
			<jaxb:schemaBindings>
				<jaxb:package name="jp.co.intra_mart.system.service.provider.updater" />
			</jaxb:schemaBindings>
		</xs:appinfo>
	</xs:annotation>

	<xs:element name="import-result-detail-data">
		<xs:complexType>
			<xs:sequence>
				<xs:element minOccurs="0" ref="module-id" />
				<xs:element minOccurs="0" ref="execute-id" />
				<xs:element minOccurs="0" ref="import-type" />
				<xs:element minOccurs="0" ref="importer-id" />
				<xs:element minOccurs="0" ref="target-name" />
				<xs:element minOccurs="0" ref="message" />
			</xs:sequence>
			<xs:attribute name="success" use="required" type="xs:boolean" />
		</xs:complexType>
	</xs:element>

	<xs:element name="module-id" type="xs:string" />
	<xs:element name="execute-id" type="xs:string" />
	<xs:element name="import-type" type="xs:string" />
	<xs:element name="importer-id" type="xs:string" />
	<xs:element name="target-name" type="xs:string" />
	<xs:element name="message" type="xs:string" />

</xs:schema>