A.3. XML 报告示例
以下是 JBoss 服务器迁移 XML 报告的示例:
<?xml version="1.0" ?> <server-migration-report xmlns="urn:jboss:server-migration:1.0" start-time="Mon, 30 Oct 2017 16:13:30 UTC"> <servers> <source name="EAP" version="6.4.0.GA" base-dir="/home/username/tools/jboss-eap-6.4"/> <target name="JBoss EAP" version="7.1.0.GA" base-dir="/home/username/tools/jboss-eap-7.1"/> </servers> <environment> <property name="baseDir" value="/home/username/tools/jboss-eap-7.1/migration"/> <property name="deployments.migrate-deployment-scanner-deployments.processedDeploymentScannerDirs" value="/home/username/tools/jboss-eap-6.4/standalone/deployments"/> <property name="report.html.fileName" value="migration-report.html"/> <property name="report.html.maxTaskPathSizeToDisplaySubtasks" value="4"/> <property name="report.html.templateFileName" value="migration-report-template.html"/> <property name="report.summary.maxTaskPathSizeToDisplaySubtasks" value="3"/> <property name="report.xml.fileName" value="migration-report.xml"/> <property name="subsystem.ee.update.setup-javaee7-default-bindings.defaultDataSourceName" value="ExampleDS"/> <property name="subsystem.ee.update.setup-javaee7-default-bindings.defaultJmsConnectionFactoryName" value="hornetq-ra"/> <property name="subsystem.logging.update.remove-console-handler.skip" value="true"/> </environment> <task number="1" name="server"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#1"/> <result status="SUCCESS"/> <subtasks> <task number="2" name="modules.migrate-modules-requested-by-user"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#2"/> <result status="SKIPPED"/> </task> <task number="3" name="standalone"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#3"/> <result status="SUCCESS"/> <subtasks> <task number="4" name="contents.standalone.migrate-content-dir"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#4"/> <result status="SKIPPED"/> </task> <task number="5" name="standalone-configurations"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#5"/> <result status="SUCCESS"/> <subtasks> <task number="6" name="standalone-configuration(source=/home/username/tools/jboss-eap-6.4/standalone/configuration/standalone-full-ha.xml)"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#6"/> <result status="SUCCESS"/> <subtasks> <task number="7" name="subsystems.remove-unsupported-subsystems"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#7"/> <result status="SUCCESS"/> <subtasks> <task number="8" name="subsystems.remove-unsupported-subsystems.remove-unsupported-extension(module=org.jboss.as.cmp)"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#8"/> <result status="SUCCESS"/> </task> </substasks> </task> ... <task number="644" name="hosts"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#644"/> <result status="SUCCESS"/> ... <subtasks> ... <task number="645" name="host(name=master)"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#645"/> <result status="SUCCESS"/> <subtasks> ... <task number="661" name="security-realms.migrate-properties"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#661"/> <result status="SUCCESS"/> <subtasks> <task number="662" name="security-realm.ManagementRealm.migrate-properties"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#662"/> <result status="SUCCESS"/> </task> <task number="663" name="security-realm.ApplicationRealm.migrate-properties"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#663"/> <result status="SUCCESS"/> </task> </subtasks> </task> <task number="664" name="security-realm.ApplicationRealm.add-ssl-server-identity"> <logger logger="org.jboss.migration.core.task.ServerMigrationTask#664"/> <result status="SUCCESS"/> </task> </subtasks> </task> </subtasks> </task> </subtasks> </task> </subtasks> </task> </subtasks> </task> </subtasks> </task> </server-migration-report>
更新于 2024-02-08