From 8204ba963a5709011f118f929c96e1ab40f8e380 Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Fri, 25 Oct 2024 20:21:22 +0100 Subject: [PATCH] [CMTOOL-378] adds support for WildFly 35.0 --- .github/workflows/ci.yml | 2 +- dist/standalone/pom.xml | 50 ++++++ .../wildfly35.0/wildfly25.0/pom.xml | 98 ++++++++++ .../wildfly25.0/src/main/asciidoc/master.adoc | 99 +++++++++++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ .../wildfly35.0/wildfly26.0/pom.xml | 98 ++++++++++ .../wildfly26.0/src/main/asciidoc/master.adoc | 99 +++++++++++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ .../wildfly35.0/wildfly27.0/pom.xml | 98 ++++++++++ .../wildfly27.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly28.0/pom.xml | 98 ++++++++++ .../wildfly28.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly29.0/pom.xml | 98 ++++++++++ .../wildfly29.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly30.0/pom.xml | 98 ++++++++++ .../wildfly30.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly31.0/pom.xml | 98 ++++++++++ .../wildfly31.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly32.0/pom.xml | 98 ++++++++++ .../wildfly32.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly33.0/pom.xml | 98 ++++++++++ .../wildfly33.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly34.0/pom.xml | 98 ++++++++++ .../wildfly34.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly35.0/wildfly35.0/pom.xml | 98 ++++++++++ .../wildfly35.0/src/main/asciidoc/master.adoc | 95 ++++++++++ docs/user-guides/tool/standalone/pom.xml | 168 ++++++++++++++++++ .../standalone/src/main/asciidoc/master.adoc | 12 ++ migrations/wildfly35.0/wildfly25.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 66 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly26.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 66 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly27.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly28.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly29.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly30.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly31.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly32.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly33.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly34.0/pom.xml | 45 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ migrations/wildfly35.0/wildfly35.0/pom.xml | 41 +++++ ...0ToWildFly35_0ServerMigrationProvider.java | 63 +++++++ ...on.wfly.WildFly35_0ServerMigrationProvider | 17 ++ pom.xml | 140 +++++++++++++++ servers/wildfly35.0/pom.xml | 41 +++++ .../migration/wfly/WildFly35_0Server.java | 48 +++++ .../WildFly35_0ServerMigrationProvider.java | 26 +++ .../wfly/WildFly35_0ServerProvider.java | 49 +++++ .../WildFly35_0AddHostExcludes.java | 107 +++++++++++ .../org.jboss.migration.core.ServerProvider | 16 ++ 68 files changed, 4234 insertions(+), 1 deletion(-) create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly25.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly26.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly27.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly27.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly28.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly28.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly29.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly29.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly30.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly30.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly31.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly31.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly32.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly32.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly33.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly33.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly34.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly34.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly35.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly35.0/wildfly35.0/src/main/asciidoc/master.adoc create mode 100644 migrations/wildfly35.0/wildfly25.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly26.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly27.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly28.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly29.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly30.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly31.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly32.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly33.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly34.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly34.0/src/main/java/org/jboss/migration/wfly/WildFly34_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly34.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 migrations/wildfly35.0/wildfly35.0/pom.xml create mode 100644 migrations/wildfly35.0/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ToWildFly35_0ServerMigrationProvider.java create mode 100644 migrations/wildfly35.0/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider create mode 100644 servers/wildfly35.0/pom.xml create mode 100644 servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0Server.java create mode 100644 servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerMigrationProvider.java create mode 100644 servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerProvider.java create mode 100644 servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly35_0AddHostExcludes.java create mode 100644 servers/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f58b57c31..8570b7ac1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - jdk: [11, 17] + jdk: [17, 21] os: [ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4 diff --git a/dist/standalone/pom.xml b/dist/standalone/pom.xml index 8676ec36c..46d008f5e 100644 --- a/dist/standalone/pom.xml +++ b/dist/standalone/pom.xml @@ -388,6 +388,56 @@ jboss-server-migration-wildfly34.0-to-wildfly34.0 + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly34.0-to-wildfly35.0 + + + ${project.groupId} + jboss-server-migration-wildfly35.0-to-wildfly35.0 + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly25.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/pom.xml new file mode 100644 index 000000000..78365965b --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly25.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 25.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..76cd0ead0 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/master.adoc @@ -0,0 +1,99 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 25.0 +:server-source-name: WildFly +:server-source-version: 25.0.0.Final +:server-source-baseDir: wildfly-25.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc @@ -0,0 +1,18 @@ += Migrate JBoss Domain Properties + +The words `master` and `slave` on Domain related property names were replaced with the words 'primary' and 'secondary', and the migrates automatically fixes any usage of the old property names. + +The console logs any properties renamed by the migration. + +[source,options="nowrap"] +---- + INFO JBoss domain property jboss.domain.master.address migrated to jboss.domain.primary.address + INFO JBoss domain property jboss.domain.master.port migrated to jboss.domain.primary.port + INFO JBoss domain property jboss.domain.master.protocol migrated to jboss.domain.primary.protocol +---- + +If any property was successfully renamed the following message will be logged. +[source,options="nowrap"] +---- + INFO JBoss domain properties migrated. +---- diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly26.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/pom.xml new file mode 100644 index 000000000..c35401d3e --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly26.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 26.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..a7bc6d54a --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/master.adoc @@ -0,0 +1,99 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 26.0 +:server-source-name: WildFly +:server-source-version: 26.0.0.Final +:server-source-baseDir: wildfly-26.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY35.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc @@ -0,0 +1,18 @@ += Migrate JBoss Domain Properties + +The words `master` and `slave` on Domain related property names were replaced with the words 'primary' and 'secondary', and the migrates automatically fixes any usage of the old property names. + +The console logs any properties renamed by the migration. + +[source,options="nowrap"] +---- + INFO JBoss domain property jboss.domain.master.address migrated to jboss.domain.primary.address + INFO JBoss domain property jboss.domain.master.port migrated to jboss.domain.primary.port + INFO JBoss domain property jboss.domain.master.protocol migrated to jboss.domain.primary.protocol +---- + +If any property was successfully renamed the following message will be logged. +[source,options="nowrap"] +---- + INFO JBoss domain properties migrated. +---- diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly27.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly27.0/pom.xml new file mode 100644 index 000000000..314c4eba1 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly27.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly27.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 27.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly27.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly27.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..ce504eba4 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly27.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 27.0 +:server-source-name: WildFly +:server-source-version: 27.0.0.Final +:server-source-baseDir: wildfly-27.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly28.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly28.0/pom.xml new file mode 100644 index 000000000..9a5578213 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly28.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly28.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 28.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly28.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly28.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..936f07b86 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly28.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 28.0 +:server-source-name: WildFly +:server-source-version: 28.0.0.Final +:server-source-baseDir: wildfly-28.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly29.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly29.0/pom.xml new file mode 100644 index 000000000..b7a89902f --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly29.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly29.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 29.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly29.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly29.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..36bdd75cc --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly29.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 29.0 +:server-source-name: WildFly +:server-source-version: 29.0.0.Final +:server-source-baseDir: wildfly-29.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly30.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly30.0/pom.xml new file mode 100644 index 000000000..d15bc2baa --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly30.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly30.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 30.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly30.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly30.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..b166936b5 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly30.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 30.0 +:server-source-name: WildFly +:server-source-version: 30.0.0.Final +:server-source-baseDir: wildfly-30.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly31.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly31.0/pom.xml new file mode 100644 index 000000000..fba2c4197 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly31.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly31.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 31.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly31.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly31.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..efa3679c7 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly31.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 31.0 +:server-source-name: WildFly +:server-source-version: 31.0.0.Final +:server-source-baseDir: wildfly-31.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly32.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly32.0/pom.xml new file mode 100644 index 000000000..24b4ad016 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly32.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly32.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 32.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly32.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly32.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..cd26f58b1 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly32.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 32.0 +:server-source-name: WildFly +:server-source-version: 32.0.0.Final +:server-source-baseDir: wildfly-32.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly33.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly33.0/pom.xml new file mode 100644 index 000000000..e1acf0591 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly33.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly33.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 33.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly33.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly33.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..b2ec53995 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly33.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 33.0 +:server-source-name: WildFly +:server-source-version: 33.0.0.Final +:server-source-baseDir: wildfly-33.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly34.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly34.0/pom.xml new file mode 100644 index 000000000..fc261782b --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly34.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly34.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 34.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly34.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly34.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..8e268447a --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly34.0/src/main/asciidoc/master.adoc @@ -0,0 +1,97 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 34.0 +:server-source-name: WildFly +:server-source-version: 34.0.0.Final +:server-source-baseDir: wildfly-34.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly35.0/pom.xml b/docs/user-guides/migrations/wildfly35.0/wildfly35.0/pom.xml new file mode 100644 index 000000000..6386a3565 --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly35.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly35.0-to-wildfly35.0-userguide + + JBoss Server Migration: User-Guide Wildfly 35.0 to Wildfly 35.0 + + + + ${project.groupId} + jboss-server-migration-docs-userguide-migration-includes + + + + + + + maven-resources-plugin + + + generate-sources + + copy-resources + + + ${project.build.directory}/asciidoc + + + src/main/asciidoc + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-includes + generate-sources + + unpack-dependencies + + + ${project.build.directory}/asciidoc + compile + + + + + + org.asciidoctor + asciidoctor-maven-plugin + + + generate-resources + + process-asciidoc + + + master.adoc + ${project.build.outputDirectory}/index.html + + + + + + + + diff --git a/docs/user-guides/migrations/wildfly35.0/wildfly35.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly35.0/wildfly35.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..e497f508e --- /dev/null +++ b/docs/user-guides/migrations/wildfly35.0/wildfly35.0/src/main/asciidoc/master.adoc @@ -0,0 +1,95 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 35.0 +:server-source-name: WildFly +:server-source-version: 35.0.0.Final +:server-source-baseDir: wildfly-35.0 + +:server-target-productName: WildFly 35.0 +:server-target-name: WildFly +:server-target-version: 35.0.0.Final +:server-target-baseDir: wildfly-35.0 + +:includesDir: topics + +// toc setup +:toc: +:numbered: + +// include abstract +include::{includesDir}/ServerMigration.adoc[] + +// customize +The server migration from {server-source-productName} to {server-target-productName} includes: + + * Modules Migration + * Standalone Server Migration + * Managed Domain Migration + +:leveloffset: +1 + +// --- modules migration + +include::{includesDir}/ServerMigration-Modules.adoc[] + +// --- standalone server migration + +include::{includesDir}/ServerMigration-StandaloneServer.adoc[] + +:leveloffset: +1 + +// ------ standalone server configuration migration + +include::{includesDir}/ServerMigration-StandaloneServer-StandaloneServerConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +// --- managed domain migration + +include::{includesDir}/ServerMigration-ManagedDomain.adoc[] + +// ------ domain configuration + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ManagedDomain-DomainConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateDeployments.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 + diff --git a/docs/user-guides/tool/standalone/pom.xml b/docs/user-guides/tool/standalone/pom.xml index 18eff4fd5..e6a91da06 100644 --- a/docs/user-guides/tool/standalone/pom.xml +++ b/docs/user-guides/tool/standalone/pom.xml @@ -145,6 +145,52 @@ jboss-server-migration-wildfly34.0-to-wildfly34.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly34.0-to-wildfly35.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly35.0-to-wildfly35.0-userguide + + @@ -462,6 +508,128 @@ ${project.build.outputDirectory}/migrations/wildfly34.0-to-wildfly34.0 + + + WFLY25.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly25.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly25.0-to-wildfly35.0 + + + + WFLY26.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly26.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly26.0-to-wildfly35.0 + + + + WFLY27.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly27.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly27.0-to-wildfly35.0 + + + + WFLY28.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly28.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly28.0-to-wildfly35.0 + + + + WFLY29.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly29.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly29.0-to-wildfly35.0 + + + + WFLY30.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly30.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly30.0-to-wildfly35.0 + + + + WFLY31.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly31.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly31.0-to-wildfly35.0 + + + + WFLY32.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly32.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly32.0-to-wildfly35.0 + + + + WFLY33.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly33.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly33.0-to-wildfly35.0 + + + + WFLY34.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly34.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly34.0-to-wildfly35.0 + + + + WFLY35.0toWFLY35.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly35.0-to-wildfly35.0-userguide + ${project.build.outputDirectory}/migrations/wildfly35.0-to-wildfly35.0 + + diff --git a/docs/user-guides/tool/standalone/src/main/asciidoc/master.adoc b/docs/user-guides/tool/standalone/src/main/asciidoc/master.adoc index 211797d46..03d8ed72a 100644 --- a/docs/user-guides/tool/standalone/src/main/asciidoc/master.adoc +++ b/docs/user-guides/tool/standalone/src/main/asciidoc/master.adoc @@ -359,6 +359,18 @@ The XML Report may be found in the _output_ directory, by default its filename i This standard distribution of the JBoss Server Migration Tool includes support for the following server migrations, each with its own User Guide: +* link:migrations/wildfly25.0-to-wildfly35.0/index.html[WildFly 25.0 to WildFly 35.0] +* link:migrations/wildfly26.0-to-wildfly35.0/index.html[WildFly 26.0 to WildFly 35.0] +* link:migrations/wildfly27.0-to-wildfly35.0/index.html[WildFly 27.0 to WildFly 35.0] +* link:migrations/wildfly28.0-to-wildfly35.0/index.html[WildFly 28.0 to WildFly 35.0] +* link:migrations/wildfly29.0-to-wildfly35.0/index.html[WildFly 29.0 to WildFly 35.0] +* link:migrations/wildfly30.0-to-wildfly35.0/index.html[WildFly 30.0 to WildFly 35.0] +* link:migrations/wildfly31.0-to-wildfly35.0/index.html[WildFly 31.0 to WildFly 35.0] +* link:migrations/wildfly32.0-to-wildfly35.0/index.html[WildFly 32.0 to WildFly 35.0] +* link:migrations/wildfly33.0-to-wildfly35.0/index.html[WildFly 33.0 to WildFly 35.0] +* link:migrations/wildfly34.0-to-wildfly35.0/index.html[WildFly 34.0 to WildFly 35.0] +* link:migrations/wildfly35.0-to-wildfly35.0/index.html[WildFly 35.0 to WildFly 35.0] + * link:migrations/wildfly24.0-to-wildfly34.0/index.html[WildFly 24.0 to WildFly 34.0] * link:migrations/wildfly25.0-to-wildfly34.0/index.html[WildFly 25.0 to WildFly 34.0] * link:migrations/wildfly26.0-to-wildfly34.0/index.html[WildFly 26.0 to WildFly 34.0] diff --git a/migrations/wildfly35.0/wildfly25.0/pom.xml b/migrations/wildfly35.0/wildfly25.0/pom.xml new file mode 100644 index 000000000..f82fc667f --- /dev/null +++ b/migrations/wildfly35.0/wildfly25.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly25.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 25.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly25.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..ad2a49908 --- /dev/null +++ b/migrations/wildfly35.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,66 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly.task.xml.WildFly27_0MigrateJBossDomainProperties; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 25.0. + * @author emmartins + */ +public class WildFly25_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly25_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..b4705f092 --- /dev/null +++ b/migrations/wildfly35.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly25_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly26.0/pom.xml b/migrations/wildfly35.0/wildfly26.0/pom.xml new file mode 100644 index 000000000..9f53e8443 --- /dev/null +++ b/migrations/wildfly35.0/wildfly26.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly26.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 26.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly26.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..c3b4e4700 --- /dev/null +++ b/migrations/wildfly35.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,66 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly.task.xml.WildFly27_0MigrateJBossDomainProperties; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 26.0. + * @author emmartins + */ +public class WildFly26_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly26_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..16c23fc88 --- /dev/null +++ b/migrations/wildfly35.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly26_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly27.0/pom.xml b/migrations/wildfly35.0/wildfly27.0/pom.xml new file mode 100644 index 000000000..130459dbb --- /dev/null +++ b/migrations/wildfly35.0/wildfly27.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly27.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 27.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly27.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..bf3b9d213 --- /dev/null +++ b/migrations/wildfly35.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 27.0. + * @author emmartins + */ +public class WildFly27_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly27_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..72cd33b73 --- /dev/null +++ b/migrations/wildfly35.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly27_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly28.0/pom.xml b/migrations/wildfly35.0/wildfly28.0/pom.xml new file mode 100644 index 000000000..36e31e68d --- /dev/null +++ b/migrations/wildfly35.0/wildfly28.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly28.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 28.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly28.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..8907188aa --- /dev/null +++ b/migrations/wildfly35.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 28.0. + * @author emmartins + */ +public class WildFly28_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly28_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..213c318ba --- /dev/null +++ b/migrations/wildfly35.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly28_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly29.0/pom.xml b/migrations/wildfly35.0/wildfly29.0/pom.xml new file mode 100644 index 000000000..e3f12d796 --- /dev/null +++ b/migrations/wildfly35.0/wildfly29.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly29.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 29.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly29.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..bb0809b44 --- /dev/null +++ b/migrations/wildfly35.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 29.0. + * @author emmartins + */ +public class WildFly29_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly29_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..f4e7dbc6e --- /dev/null +++ b/migrations/wildfly35.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly29_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly30.0/pom.xml b/migrations/wildfly35.0/wildfly30.0/pom.xml new file mode 100644 index 000000000..3ccd0910a --- /dev/null +++ b/migrations/wildfly35.0/wildfly30.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly30.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 30.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly30.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..4b26a8a41 --- /dev/null +++ b/migrations/wildfly35.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 30.0. + * @author emmartins + */ +public class WildFly30_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly30_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..65e5c64fa --- /dev/null +++ b/migrations/wildfly35.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly30_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly31.0/pom.xml b/migrations/wildfly35.0/wildfly31.0/pom.xml new file mode 100644 index 000000000..2f734ee3c --- /dev/null +++ b/migrations/wildfly35.0/wildfly31.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly31.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 31.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly31.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..485a9ef98 --- /dev/null +++ b/migrations/wildfly35.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 31.0. + * @author emmartins + */ +public class WildFly31_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly31_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..5a919c12f --- /dev/null +++ b/migrations/wildfly35.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly31_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly32.0/pom.xml b/migrations/wildfly35.0/wildfly32.0/pom.xml new file mode 100644 index 000000000..ba871ffbf --- /dev/null +++ b/migrations/wildfly35.0/wildfly32.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly32.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 32.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly32.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..a05eb355a --- /dev/null +++ b/migrations/wildfly35.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 32.0. + * @author emmartins + */ +public class WildFly32_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly32_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..aa12f0a1d --- /dev/null +++ b/migrations/wildfly35.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly32_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly33.0/pom.xml b/migrations/wildfly35.0/wildfly33.0/pom.xml new file mode 100644 index 000000000..597338597 --- /dev/null +++ b/migrations/wildfly35.0/wildfly33.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly33.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 33.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..becc48365 --- /dev/null +++ b/migrations/wildfly35.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 33.0. + * @author emmartins + */ +public class WildFly33_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly33_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..7418e9d40 --- /dev/null +++ b/migrations/wildfly35.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly33_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly34.0/pom.xml b/migrations/wildfly35.0/wildfly34.0/pom.xml new file mode 100644 index 000000000..aae82a1dc --- /dev/null +++ b/migrations/wildfly35.0/wildfly34.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly34.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 34.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly34.0-server + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly34.0/src/main/java/org/jboss/migration/wfly/WildFly34_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly34.0/src/main/java/org/jboss/migration/wfly/WildFly34_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..d8374fcb6 --- /dev/null +++ b/migrations/wildfly35.0/wildfly34.0/src/main/java/org/jboss/migration/wfly/WildFly34_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,65 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.hostexclude.WildFly35_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 34.0. + * @author emmartins + */ +public class WildFly34_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly35_0AddHostExcludes<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly34_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly34.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly34.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..11b068d6b --- /dev/null +++ b/migrations/wildfly35.0/wildfly34.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly34_0ToWildFly35_0ServerMigrationProvider diff --git a/migrations/wildfly35.0/wildfly35.0/pom.xml b/migrations/wildfly35.0/wildfly35.0/pom.xml new file mode 100644 index 000000000..87b5045c3 --- /dev/null +++ b/migrations/wildfly35.0/wildfly35.0/pom.xml @@ -0,0 +1,41 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly35.0-to-wildfly35.0 + + JBoss Server Migration: WildFly 35.0 to WildFly 35.0 + + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + + + + diff --git a/migrations/wildfly35.0/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ToWildFly35_0ServerMigrationProvider.java b/migrations/wildfly35.0/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ToWildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..a0a2ab5a7 --- /dev/null +++ b/migrations/wildfly35.0/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ToWildFly35_0ServerMigrationProvider.java @@ -0,0 +1,63 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigration10; +import org.jboss.migration.wfly10.config.task.module.MigrateReferencedModules; +import org.jboss.migration.wfly10.config.task.update.MigrateDeployments; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedExtensions; +import org.jboss.migration.wfly10.config.task.update.RemoveUnsupportedSubsystems; +import org.jboss.migration.wfly10.config.task.update.ServerUpdate; + +/** + * Server migration to WFLY 35.0, from WFLY 35.0. + * @author emmartins + */ +public class WildFly35_0ToWildFly35_0ServerMigrationProvider implements WildFly35_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new MigrateDeployments<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly35_0Server.class; + } +} diff --git a/migrations/wildfly35.0/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider b/migrations/wildfly35.0/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider new file mode 100644 index 000000000..46846b1f5 --- /dev/null +++ b/migrations/wildfly35.0/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly35_0ServerMigrationProvider @@ -0,0 +1,17 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +org.jboss.migration.wfly.WildFly35_0ToWildFly35_0ServerMigrationProvider diff --git a/pom.xml b/pom.xml index 6d9d05db7..bd2a06cb3 100644 --- a/pom.xml +++ b/pom.xml @@ -105,6 +105,17 @@ docs/user-guides/migrations/wildfly34.0/wildfly32.0 docs/user-guides/migrations/wildfly34.0/wildfly33.0 docs/user-guides/migrations/wildfly34.0/wildfly34.0 + docs/user-guides/migrations/wildfly35.0/wildfly25.0 + docs/user-guides/migrations/wildfly35.0/wildfly26.0 + docs/user-guides/migrations/wildfly35.0/wildfly27.0 + docs/user-guides/migrations/wildfly35.0/wildfly28.0 + docs/user-guides/migrations/wildfly35.0/wildfly29.0 + docs/user-guides/migrations/wildfly35.0/wildfly30.0 + docs/user-guides/migrations/wildfly35.0/wildfly31.0 + docs/user-guides/migrations/wildfly35.0/wildfly32.0 + docs/user-guides/migrations/wildfly35.0/wildfly33.0 + docs/user-guides/migrations/wildfly35.0/wildfly34.0 + docs/user-guides/migrations/wildfly35.0/wildfly35.0 docs/user-guides/tool/includes docs/user-guides/tool/standalone migrations/eap7.4/eap6.4 @@ -130,6 +141,17 @@ migrations/wildfly34.0/wildfly32.0 migrations/wildfly34.0/wildfly33.0 migrations/wildfly34.0/wildfly34.0 + migrations/wildfly35.0/wildfly25.0 + migrations/wildfly35.0/wildfly26.0 + migrations/wildfly35.0/wildfly27.0 + migrations/wildfly35.0/wildfly28.0 + migrations/wildfly35.0/wildfly29.0 + migrations/wildfly35.0/wildfly30.0 + migrations/wildfly35.0/wildfly31.0 + migrations/wildfly35.0/wildfly32.0 + migrations/wildfly35.0/wildfly33.0 + migrations/wildfly35.0/wildfly34.0 + migrations/wildfly35.0/wildfly35.0 servers/eap6.4 servers/eap7.0 servers/eap7.1 @@ -165,6 +187,7 @@ servers/wildfly32.0 servers/wildfly33.0 servers/wildfly34.0 + servers/wildfly35.0 @@ -859,6 +882,123 @@ ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly35.0-server + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly34.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly35.0-to-wildfly35.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly34.0-to-wildfly35.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly35.0-to-wildfly35.0-userguide + ${project.version} + + diff --git a/servers/wildfly35.0/pom.xml b/servers/wildfly35.0/pom.xml new file mode 100644 index 000000000..fd3ba179b --- /dev/null +++ b/servers/wildfly35.0/pom.xml @@ -0,0 +1,41 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 35.0.0.Final-SNAPSHOT + ../../pom.xml + + + jboss-server-migration-wildfly35.0-server + + JBoss Server Migration: WildFly 35.0 Server + + + + ${project.groupId} + jboss-server-migration-wildfly34.0-server + + + + diff --git a/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0Server.java b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0Server.java new file mode 100644 index 000000000..510c7ee59 --- /dev/null +++ b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0Server.java @@ -0,0 +1,48 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.core.ProductInfo; +import org.jboss.migration.core.env.MigrationEnvironment; +import org.jboss.migration.core.jboss.JBossServer; +import org.jboss.migration.wfly10.ServiceLoaderWildFlyServerMigrations10; +import org.jboss.migration.wfly10.WildFlyServer10; +import org.jboss.migration.wfly10.WildFlyServerMigrations10; + +import java.nio.file.Path; +import java.util.ServiceLoader; + +/** + * The WildFly 35.0 {@link org.jboss.migration.core.Server}. + * @author emmartins + */ +public class WildFly35_0Server extends WildFlyServer10 { + + public static final JBossServer.Extensions EXTENSIONS = JBossServer.Extensions.builder() + .extensions(WildFly34_0Server.EXTENSIONS) + .build(); + + private static final WildFlyServerMigrations10 SERVER_MIGRATIONS = new ServiceLoaderWildFlyServerMigrations10<>(ServiceLoader.load(WildFly35_0ServerMigrationProvider.class)); + + public WildFly35_0Server(String migrationName, ProductInfo productInfo, Path baseDir, MigrationEnvironment migrationEnvironment) { + super(migrationName, productInfo, baseDir, migrationEnvironment, EXTENSIONS); + } + + @Override + protected WildFlyServerMigrations10 getMigrations() { + return SERVER_MIGRATIONS; + } +} diff --git a/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerMigrationProvider.java b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerMigrationProvider.java new file mode 100644 index 000000000..3fecb1898 --- /dev/null +++ b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerMigrationProvider.java @@ -0,0 +1,26 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.jboss.migration.wfly; + +import org.jboss.migration.wfly10.WildFlyServerMigrationProvider10; + +/** + * The interface that WildFly 35.0 specific migration providers must implement. Such implementations are loaded through ServiceLoader framework, thus a service descriptor must be in classpath. + * @author emmartins + */ +public interface WildFly35_0ServerMigrationProvider extends WildFlyServerMigrationProvider10 { +} diff --git a/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerProvider.java b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerProvider.java new file mode 100644 index 000000000..d949b09e6 --- /dev/null +++ b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/WildFly35_0ServerProvider.java @@ -0,0 +1,49 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly; + +import org.jboss.migration.core.ProductInfo; +import org.jboss.migration.core.Server; +import org.jboss.migration.core.env.MigrationEnvironment; + +import java.nio.file.Path; + +/** + * The WildFly 35.x {@link org.jboss.migration.core.ServerProvider}. + * @author emmartins + */ +public class WildFly35_0ServerProvider extends WildFly34_0ServerProvider { + + @Override + protected String getProductNameRegex() { + return "WildFly"; + } + + @Override + protected String getProductVersionRegex() { + return "35\\..*"; + } + + @Override + protected Server constructServer(String migrationName, ProductInfo productInfo, Path baseDir, MigrationEnvironment migrationEnvironment) { + return new WildFly35_0Server(migrationName, productInfo, baseDir, migrationEnvironment); + } + + @Override + public String getName() { + return "WildFly 35.x"; + } +} diff --git a/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly35_0AddHostExcludes.java b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly35_0AddHostExcludes.java new file mode 100644 index 000000000..b50f08f37 --- /dev/null +++ b/servers/wildfly35.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly35_0AddHostExcludes.java @@ -0,0 +1,107 @@ +/* + * Copyright 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.jboss.migration.wfly.task.hostexclude; + +import org.jboss.migration.core.jboss.HostExclude; +import org.jboss.migration.core.jboss.HostExcludes; +import org.jboss.migration.core.jboss.JBossExtensionNames; +import org.jboss.migration.wfly10.config.task.hostexclude.AddHostExcludes; + +/** + * @author emmartins + */ +public class WildFly35_0AddHostExcludes extends AddHostExcludes { + + private static final HostExcludes HOST_EXCLUDES = HostExcludes.builder() + .hostExclude(HostExclude.builder() + .name("WildFly23.0") + .release("WildFly23.0") + .excludedExtension(JBossExtensionNames.CLUSTERING_EJB) + .excludedExtension(JBossExtensionNames.ELYTRON_OIDC_CLIENT) + .excludedExtension(JBossExtensionNames.OPENTELEMETRY) + .excludedExtension(JBossExtensionNames.MICROMETER) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_PARTICIPANT) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_COORDINATOR) + .excludedExtension(JBossExtensionNames.MICROPROFILE_TELEMETRY) + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly24.0") + .release("WildFly24.0") + .excludedExtension(JBossExtensionNames.CLUSTERING_EJB) + .excludedExtension(JBossExtensionNames.ELYTRON_OIDC_CLIENT) + .excludedExtension(JBossExtensionNames.OPENTELEMETRY) + .excludedExtension(JBossExtensionNames.MICROMETER) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_PARTICIPANT) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_COORDINATOR) + .excludedExtension(JBossExtensionNames.MICROPROFILE_TELEMETRY) + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly25.0") + .release("WildFly25.0") + .excludedExtension(JBossExtensionNames.CLUSTERING_EJB) + .excludedExtension(JBossExtensionNames.MICROMETER) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_PARTICIPANT) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_COORDINATOR) + .excludedExtension(JBossExtensionNames.MICROPROFILE_TELEMETRY) + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly26.0") + .release("WildFly26.0") + .excludedExtension(JBossExtensionNames.CLUSTERING_EJB) + .excludedExtension(JBossExtensionNames.MICROMETER) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_PARTICIPANT) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_COORDINATOR) + .excludedExtension(JBossExtensionNames.MICROPROFILE_TELEMETRY) + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly27.0") + .release("WildFly27.0") + .excludedExtension(JBossExtensionNames.MICROMETER) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_PARTICIPANT) + .excludedExtension(JBossExtensionNames.MICROPROFILE_LRA_COORDINATOR) + .excludedExtension(JBossExtensionNames.MICROPROFILE_TELEMETRY) + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly28.0") + .release("WildFly28.0") + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly29.0") + .release("WildFly29.0") + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly30.0") + .release("WildFly30.0") + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .hostExclude(HostExclude.builder() + .name("WildFly31.0") + .release("WildFly31.0") + .excludedExtension(JBossExtensionNames.MVC_KRAZO) + ) + .build(); + + public WildFly35_0AddHostExcludes() { + super(HOST_EXCLUDES); + } +} diff --git a/servers/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider b/servers/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider new file mode 100644 index 000000000..d96ca7495 --- /dev/null +++ b/servers/wildfly35.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider @@ -0,0 +1,16 @@ +# +# Copyright 2024 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +org.jboss.migration.wfly.WildFly35_0ServerProvider