From de6badaec0db62e559f4aec21e63611ec0bceca6 Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Fri, 26 Jul 2024 11:00:27 +0100 Subject: [PATCH] [CMTOOL-374] WildFly 33 support --- dist/standalone/pom.xml | 50 ++++++ .../wildfly33.0/wildfly23.0/pom.xml | 98 ++++++++++ .../wildfly23.0/src/main/asciidoc/master.adoc | 114 ++++++++++++ ...guration-MigrateLegacySecurityDomains.adoc | 22 +++ ...iguration-MigrateLegacySecurityRealms.adoc | 27 +++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ ...figuration-Subsystem-Migrate-keycloak.adoc | 5 + ...guration-Subsystem-Migrate-picketlink.adoc | 5 + ...guration-MigrateLegacySecurityDomains.adoc | 12 ++ ...iguration-MigrateLegacySecurityRealms.adoc | 15 ++ .../wildfly33.0/wildfly24.0/pom.xml | 98 ++++++++++ .../wildfly24.0/src/main/asciidoc/master.adoc | 115 ++++++++++++ ...guration-MigrateLegacySecurityDomains.adoc | 22 +++ ...iguration-MigrateLegacySecurityRealms.adoc | 27 +++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ ...figuration-Subsystem-Migrate-keycloak.adoc | 5 + ...guration-Subsystem-Migrate-picketlink.adoc | 5 + ...guration-MigrateLegacySecurityDomains.adoc | 12 ++ ...iguration-MigrateLegacySecurityRealms.adoc | 15 ++ .../wildfly33.0/wildfly25.0/pom.xml | 98 ++++++++++ .../wildfly25.0/src/main/asciidoc/master.adoc | 99 +++++++++++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ .../wildfly33.0/wildfly26.0/pom.xml | 98 ++++++++++ .../wildfly26.0/src/main/asciidoc/master.adoc | 99 +++++++++++ ...guration-MigrateJBossDomainProperties.adoc | 18 ++ .../wildfly33.0/wildfly27.0/pom.xml | 98 ++++++++++ .../wildfly27.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly28.0/pom.xml | 98 ++++++++++ .../wildfly28.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly29.0/pom.xml | 98 ++++++++++ .../wildfly29.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly30.0/pom.xml | 98 ++++++++++ .../wildfly30.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly31.0/pom.xml | 98 ++++++++++ .../wildfly31.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly32.0/pom.xml | 98 ++++++++++ .../wildfly32.0/src/main/asciidoc/master.adoc | 97 ++++++++++ .../wildfly33.0/wildfly33.0/pom.xml | 98 ++++++++++ .../wildfly33.0/src/main/asciidoc/master.adoc | 95 ++++++++++ docs/user-guides/tool/standalone/pom.xml | 168 ++++++++++++++++++ .../standalone/src/main/asciidoc/master.adoc | 12 ++ migrations/wildfly33.0/wildfly23.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 94 ++++++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly24.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 92 ++++++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly25.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 66 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly26.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 66 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly27.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly28.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly29.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly30.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly31.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly32.0/pom.xml | 45 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 65 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ migrations/wildfly33.0/wildfly33.0/pom.xml | 41 +++++ ...0ToWildFly33_0ServerMigrationProvider.java | 63 +++++++ ...on.wfly.WildFly33_0ServerMigrationProvider | 17 ++ pom.xml | 140 +++++++++++++++ servers/wildfly33.0/pom.xml | 41 +++++ .../migration/wfly/WildFly33_0Server.java | 48 +++++ .../WildFly33_0ServerMigrationProvider.java | 26 +++ .../wfly/WildFly33_0ServerProvider.java | 49 +++++ .../WildFly33_0AddHostExcludes.java | 107 +++++++++++ .../org.jboss.migration.core.ServerProvider | 16 ++ 81 files changed, 4532 insertions(+) create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly25.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly25.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly26.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly26.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly27.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly27.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly28.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly28.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly29.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly29.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly30.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly30.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly31.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly31.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly32.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly32.0/src/main/asciidoc/master.adoc create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly33.0/pom.xml create mode 100644 docs/user-guides/migrations/wildfly33.0/wildfly33.0/src/main/asciidoc/master.adoc create mode 100644 migrations/wildfly33.0/wildfly23.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly23.0/src/main/java/org/jboss/migration/wfly/WildFly23_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly23.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly24.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly24.0/src/main/java/org/jboss/migration/wfly/WildFly24_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly24.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly25.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly26.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly27.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly28.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly29.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly30.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly31.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly32.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 migrations/wildfly33.0/wildfly33.0/pom.xml create mode 100644 migrations/wildfly33.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly33_0ServerMigrationProvider.java create mode 100644 migrations/wildfly33.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider create mode 100644 servers/wildfly33.0/pom.xml create mode 100644 servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0Server.java create mode 100644 servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerMigrationProvider.java create mode 100644 servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerProvider.java create mode 100644 servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly33_0AddHostExcludes.java create mode 100644 servers/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider diff --git a/dist/standalone/pom.xml b/dist/standalone/pom.xml index 86cc0e5fc..ad233eb5a 100644 --- a/dist/standalone/pom.xml +++ b/dist/standalone/pom.xml @@ -382,6 +382,56 @@ jboss-server-migration-wildfly32.0-to-wildfly32.0 + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + ${project.groupId} + jboss-server-migration-wildfly23.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly24.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly33.0 + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly33.0 + + diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/pom.xml new file mode 100644 index 000000000..a7e7c3306 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly23.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 23.0 to Wildfly 33.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/wildfly33.0/wildfly23.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..180455773 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/master.adoc @@ -0,0 +1,114 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 23.0 +:server-source-name: WildFly +:server-source-version: 23.0.0.Final +:server-source-baseDir: wildfly-23.0 + +:server-target-productName: WildFly 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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}/WFLY23.0toWFLY33.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}/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.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}/WFLY23.0toWFLY33.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}/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc[] + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[] + +include::{includesDir}/ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[] + +:leveloffset: -1 + +:leveloffset: -1 + +:leveloffset: -1 \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc new file mode 100644 index 000000000..cdcb99bad --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc @@ -0,0 +1,22 @@ += Migrate Legacy Security Domains + +{server-target-productName} does not supports the legacy Security Domains framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy Security Domain(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements, for each configuration profile. +[source,options="nowrap"] +---- + WARN Migrated ejb3 subsystem resource /profile/default/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/default/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated ejb3 subsystem resource /profile/full/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/full/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated messaging-activemq subsystem server resource /profile/full/subsystem/messaging-activemq/server/default, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated iiop-openjdk subsystem resource using legacy security domain to Elytron defaults. Please note that further manual Elytron configuration should be needed! + WARN Migrated ejb3 subsystem resource /profile/ha/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/ha/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated ejb3 subsystem resource /profile/full-ha/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/full-ha/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated messaging-activemq subsystem server resource /profile/full-ha/subsystem/messaging-activemq/server/default, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated iiop-openjdk subsystem resource using legacy security domain to Elytron defaults. Please note that further manual Elytron configuration should be needed! +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc new file mode 100644 index 000000000..e5f5c8e2b --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc @@ -0,0 +1,27 @@ += Migrate Legacy Security Realms + +{server-target-productName} does not supports the legacy Security Realms framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy security realm(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements, for each configuration profile. +[source,options="nowrap"] +---- + INFO Legacy security XML configuration retrieved. + WARN Migrated Remoting subsystem's http connector resource /profile/full-ha/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/full-ha/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/full-ha/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/full/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/full/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/full/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/ha/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/ha/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/ha/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/default/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/default/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/default/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.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/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc new file mode 100644 index 000000000..c56325fb4 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc @@ -0,0 +1,5 @@ +:subsystem-migrate-legacySubsystemName: keycloak +:subsystem-migrate-legacyExtensionName: org.keycloak.keycloak-adapter-subsystem +:subsystem-migrate-replacementSubsystemName: elytron-oidc-client + +include::ServerMigration-ServerConfiguration-Subsystem-Migrate.adoc[] diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc new file mode 100644 index 000000000..bfe1432a9 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc @@ -0,0 +1,5 @@ +:subsystem-migrate-legacySubsystemName: picketlink-federation +:subsystem-migrate-legacyExtensionName: org.wildfly.extension.picketlink +:subsystem-migrate-replacementSubsystemName: keycloak-saml + +include::ServerMigration-ServerConfiguration-Subsystem-Migrate.adoc[] diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc new file mode 100644 index 000000000..0f9b28b3c --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc @@ -0,0 +1,12 @@ += Migrate Legacy Security Domains + +{server-target-productName} does not supports the legacy Security Domains framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy Security Domain(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements. +[source,options="nowrap"] +---- + WARN Migrated ejb3 subsystem resource /subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc new file mode 100644 index 000000000..dbe30bd1f --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly23.0/src/main/asciidoc/topics/WFLY23.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc @@ -0,0 +1,15 @@ += Migrate Legacy Security Realms + +{server-target-productName} does not supports the legacy Security Realms framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy security realm(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements. +[source,options="nowrap"] +---- + INFO Legacy security XML configuration retrieved. + WARN Migrated Remoting subsystem's http connector resource /subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/pom.xml new file mode 100644 index 000000000..22c39efa7 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly24.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 24.0 to Wildfly 33.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/wildfly33.0/wildfly24.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..8623f890c --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/master.adoc @@ -0,0 +1,115 @@ +// setup of vars used by this and/or included docs +:server-source-productName: WildFly 24.0 +:server-source-name: WildFly +:server-source-version: 24.0.0.Final +:server-source-baseDir: wildfly-24.0 + +:server-target-productName: WildFly 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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}/WFLY24.0toWFLY33.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}/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.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}/WFLY24.0toWFLY33.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}/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc[] + +include::{includesDir}/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc[] + +include::{includesDir}/ServerMigration-ManagedDomain-AddHostExcludes.adoc[] + +:leveloffset: -1 + +// ------ host configuration + +include::{includesDir}/ServerMigration-ManagedDomain-HostConfiguration.adoc[] + +:leveloffset: +1 + +include::{includesDir}/WFLY24.0toWFLY33.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/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc new file mode 100644 index 000000000..cdcb99bad --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc @@ -0,0 +1,22 @@ += Migrate Legacy Security Domains + +{server-target-productName} does not supports the legacy Security Domains framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy Security Domain(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements, for each configuration profile. +[source,options="nowrap"] +---- + WARN Migrated ejb3 subsystem resource /profile/default/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/default/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated ejb3 subsystem resource /profile/full/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/full/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated messaging-activemq subsystem server resource /profile/full/subsystem/messaging-activemq/server/default, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated iiop-openjdk subsystem resource using legacy security domain to Elytron defaults. Please note that further manual Elytron configuration should be needed! + WARN Migrated ejb3 subsystem resource /profile/ha/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/ha/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated ejb3 subsystem resource /profile/full-ha/subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /profile/full-ha/subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated messaging-activemq subsystem server resource /profile/full-ha/subsystem/messaging-activemq/server/default, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated iiop-openjdk subsystem resource using legacy security domain to Elytron defaults. Please note that further manual Elytron configuration should be needed! +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc new file mode 100644 index 000000000..e5f5c8e2b --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc @@ -0,0 +1,27 @@ += Migrate Legacy Security Realms + +{server-target-productName} does not supports the legacy Security Realms framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy security realm(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements, for each configuration profile. +[source,options="nowrap"] +---- + INFO Legacy security XML configuration retrieved. + WARN Migrated Remoting subsystem's http connector resource /profile/full-ha/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/full-ha/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/full-ha/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/full/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/full/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/full/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/ha/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/ha/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/ha/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. + WARN Migrated Remoting subsystem's http connector resource /profile/default/subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /profile/default/subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /profile/default/subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.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/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc new file mode 100644 index 000000000..c56325fb4 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc @@ -0,0 +1,5 @@ +:subsystem-migrate-legacySubsystemName: keycloak +:subsystem-migrate-legacyExtensionName: org.keycloak.keycloak-adapter-subsystem +:subsystem-migrate-replacementSubsystemName: elytron-oidc-client + +include::ServerMigration-ServerConfiguration-Subsystem-Migrate.adoc[] diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc new file mode 100644 index 000000000..bfe1432a9 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc @@ -0,0 +1,5 @@ +:subsystem-migrate-legacySubsystemName: picketlink-federation +:subsystem-migrate-legacyExtensionName: org.wildfly.extension.picketlink +:subsystem-migrate-replacementSubsystemName: keycloak-saml + +include::ServerMigration-ServerConfiguration-Subsystem-Migrate.adoc[] diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc new file mode 100644 index 000000000..0f9b28b3c --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityDomains.adoc @@ -0,0 +1,12 @@ += Migrate Legacy Security Domains + +{server-target-productName} does not supports the legacy Security Domains framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy Security Domain(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements. +[source,options="nowrap"] +---- + WARN Migrated ejb3 subsystem resource /subsystem/ejb3/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! + WARN Migrated undertow subsystem resource /subsystem/undertow/application-security-domain/other using legacy security domain other, to Elytron's default application Security Domain. Please note that further manual Elytron configuration may be needed if the legacy security domain being used was not the source server's default Application Domain configuration! +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc new file mode 100644 index 000000000..dbe30bd1f --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly24.0/src/main/asciidoc/topics/WFLY24.0toWFLY33.0-ServerMigration-StandaloneServerConfiguration-MigrateLegacySecurityRealms.adoc @@ -0,0 +1,15 @@ += Migrate Legacy Security Realms + +{server-target-productName} does not supports the legacy Security Realms framework, and the tool migrates any usage of such resources to instead use the default {server-target-productName} Elytron replacements. + +Please note that further manual Elytron configuration may be needed if the legacy security realm(s) being used were not the {server-source-productName}'s defaults! + +The console logs all configuration resources migrated to the default {server-target-productName} Elytron replacements. +[source,options="nowrap"] +---- + INFO Legacy security XML configuration retrieved. + WARN Migrated Remoting subsystem's http connector resource /subsystem/remoting/http-connector/http-remoting-connector using a legacy security-realm, to Elytron's default application SASL Authentication Factory migration-defaultApplicationSaslAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem https-listener resource /subsystem/undertow/server/default-server/https-listener/https using a legacy security-realm, to Elytron's default TLS ServerSSLContext migration-defaultTLSServerSSLContext. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + WARN Migrated Undertow subsystem http-invoker resource /subsystem/undertow/server/default-server/host/default-host/setting/http-invoker using a legacy security-realm, to Elytron's default Application HTTP AuthenticationFactory migration-defaultApplicationHttpAuthenticationFactory. Please note that further manual Elytron configuration may be needed if the legacy security realm being used was not the source server's default Application Realm configuration! + INFO Legacy security realms migrated to Elytron. +---- \ No newline at end of file diff --git a/docs/user-guides/migrations/wildfly33.0/wildfly25.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly25.0/pom.xml new file mode 100644 index 000000000..657c2230d --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly25.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly25.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 25.0 to Wildfly 33.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/wildfly33.0/wildfly25.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly25.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..4e8101a42 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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.0toWFLY33.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.0toWFLY33.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.0toWFLY33.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/wildfly33.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly25.0/src/main/asciidoc/topics/WFLY25.0toWFLY33.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/wildfly33.0/wildfly26.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly26.0/pom.xml new file mode 100644 index 000000000..3eec0cc63 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly26.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly26.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 26.0 to Wildfly 33.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/wildfly33.0/wildfly26.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly26.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..8ce7cea55 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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.0toWFLY33.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.0toWFLY33.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.0toWFLY33.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/wildfly33.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY33.0-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc new file mode 100644 index 000000000..dcbeacf08 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly26.0/src/main/asciidoc/topics/WFLY26.0toWFLY33.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/wildfly33.0/wildfly27.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly27.0/pom.xml new file mode 100644 index 000000000..805d8ef27 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly27.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly27.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 27.0 to Wildfly 33.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/wildfly33.0/wildfly27.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly27.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..18778fa75 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly28.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly28.0/pom.xml new file mode 100644 index 000000000..74bf50f1a --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly28.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly28.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 28.0 to Wildfly 33.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/wildfly33.0/wildfly28.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly28.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..3380ad1b2 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly29.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly29.0/pom.xml new file mode 100644 index 000000000..5032b9356 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly29.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly29.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 29.0 to Wildfly 33.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/wildfly33.0/wildfly29.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly29.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..87390776a --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly30.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly30.0/pom.xml new file mode 100644 index 000000000..70d0188ea --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly30.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly30.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 30.0 to Wildfly 33.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/wildfly33.0/wildfly30.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly30.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..a9c8f1ba1 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly31.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly31.0/pom.xml new file mode 100644 index 000000000..d88d7bac7 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly31.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly31.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 31.0 to Wildfly 33.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/wildfly33.0/wildfly31.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly31.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..d2e134e03 --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly32.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly32.0/pom.xml new file mode 100644 index 000000000..c5afc658d --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly32.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly32.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 32.0 to Wildfly 33.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/wildfly33.0/wildfly32.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly32.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..8897e225c --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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/wildfly33.0/wildfly33.0/pom.xml b/docs/user-guides/migrations/wildfly33.0/wildfly33.0/pom.xml new file mode 100644 index 000000000..f7af1c65f --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly33.0/pom.xml @@ -0,0 +1,98 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../../../pom.xml + + + jboss-server-migration-wildfly33.0-to-wildfly33.0-userguide + + JBoss Server Migration: User-Guide Wildfly 33.0 to Wildfly 33.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/wildfly33.0/wildfly33.0/src/main/asciidoc/master.adoc b/docs/user-guides/migrations/wildfly33.0/wildfly33.0/src/main/asciidoc/master.adoc new file mode 100644 index 000000000..bf7aec32e --- /dev/null +++ b/docs/user-guides/migrations/wildfly33.0/wildfly33.0/src/main/asciidoc/master.adoc @@ -0,0 +1,95 @@ +// 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 33.0 +:server-target-name: WildFly +:server-target-version: 33.0.0.Final +:server-target-baseDir: wildfly-33.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 2a199dc3c..9f652dce0 100644 --- a/docs/user-guides/tool/standalone/pom.xml +++ b/docs/user-guides/tool/standalone/pom.xml @@ -144,6 +144,52 @@ ${project.groupId} jboss-server-migration-wildfly32.0-to-wildfly32.0-userguide + + + + ${project.groupId} + jboss-server-migration-wildfly23.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly24.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly33.0-userguide + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly33.0-userguide + @@ -461,6 +507,128 @@ ${project.build.outputDirectory}/migrations/wildfly32.0-to-wildfly32.0 + + + WFLY23.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly23.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly23.0-to-wildfly33.0 + + + + WFLY24.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly24.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly24.0-to-wildfly33.0 + + + + WFLY25.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly25.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly25.0-to-wildfly33.0 + + + + WFLY26.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly26.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly26.0-to-wildfly33.0 + + + + WFLY27.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly27.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly27.0-to-wildfly33.0 + + + + WFLY28.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly28.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly28.0-to-wildfly33.0 + + + + WFLY29.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly29.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly29.0-to-wildfly33.0 + + + + WFLY30.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly30.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly30.0-to-wildfly33.0 + + + + WFLY31.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly31.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly31.0-to-wildfly33.0 + + + + WFLY32.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly32.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly32.0-to-wildfly33.0 + + + + WFLY33.0toWFLY33.0 + generate-resources + + unpack-dependencies + + + jboss-server-migration-wildfly33.0-to-wildfly33.0-userguide + ${project.build.outputDirectory}/migrations/wildfly33.0-to-wildfly33.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 a347e1673..aef92b984 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/wildfly23.0-to-wildfly33.0/index.html[WildFly 23.0 to WildFly 33.0] +* link:migrations/wildfly24.0-to-wildfly33.0/index.html[WildFly 24.0 to WildFly 33.0] +* link:migrations/wildfly25.0-to-wildfly33.0/index.html[WildFly 25.0 to WildFly 33.0] +* link:migrations/wildfly26.0-to-wildfly33.0/index.html[WildFly 26.0 to WildFly 33.0] +* link:migrations/wildfly27.0-to-wildfly33.0/index.html[WildFly 27.0 to WildFly 33.0] +* link:migrations/wildfly28.0-to-wildfly33.0/index.html[WildFly 28.0 to WildFly 33.0] +* link:migrations/wildfly29.0-to-wildfly33.0/index.html[WildFly 29.0 to WildFly 33.0] +* link:migrations/wildfly30.0-to-wildfly33.0/index.html[WildFly 30.0 to WildFly 33.0] +* link:migrations/wildfly31.0-to-wildfly33.0/index.html[WildFly 31.0 to WildFly 33.0] +* link:migrations/wildfly32.0-to-wildfly33.0/index.html[WildFly 32.0 to WildFly 33.0] +* link:migrations/wildfly33.0-to-wildfly33.0/index.html[WildFly 33.0 to WildFly 33.0] + * link:migrations/wildfly22.0-to-wildfly32.0/index.html[WildFly 22.0 to WildFly 32.0] * link:migrations/wildfly23.0-to-wildfly32.0/index.html[WildFly 23.0 to WildFly 32.0] * link:migrations/wildfly24.0-to-wildfly32.0/index.html[WildFly 24.0 to WildFly 32.0] diff --git a/migrations/wildfly33.0/wildfly23.0/pom.xml b/migrations/wildfly33.0/wildfly23.0/pom.xml new file mode 100644 index 000000000..b803574bd --- /dev/null +++ b/migrations/wildfly33.0/wildfly23.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly23.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 23.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly23.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly23.0/src/main/java/org/jboss/migration/wfly/WildFly23_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly23.0/src/main/java/org/jboss/migration/wfly/WildFly23_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..d7e36b021 --- /dev/null +++ b/migrations/wildfly33.0/wildfly23.0/src/main/java/org/jboss/migration/wfly/WildFly23_0ToWildFly33_0ServerMigrationProvider.java @@ -0,0 +1,94 @@ +/* + * 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.WildFly33_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly.task.security.LegacySecurityConfigurationMigration; +import org.jboss.migration.wfly.task.subsystem.keycloak.MigrateKeycloakSubsystem; +import org.jboss.migration.wfly.task.subsystem.picketlink.MigratePicketLinkSubsystem; +import org.jboss.migration.wfly.task.update.WildFly22_0UpdateInfinispanSubsystem; +import org.jboss.migration.wfly.task.xml.WildFly26_0MigrateVault; +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 33.0, from WFLY 23.0. + * @author emmartins + */ +public class WildFly23_0ToWildFly33_0ServerMigrationProvider implements WildFly33_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final LegacySecurityConfigurationMigration legacySecurityConfigurationMigration = new LegacySecurityConfigurationMigration<>(); + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly22_0UpdateInfinispanSubsystem<>()) + .subtask(new WildFly26_0MigrateVault<>()) + .subtask(legacySecurityConfigurationMigration.getRemoveLegacySecurityRealms()) + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + .subtask(new MigratePicketLinkSubsystem<>()) + .subtask(new MigrateKeycloakSubsystem<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly33_0AddHostExcludes<>()) + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + .subtask(new MigratePicketLinkSubsystem<>()) + .subtask(new MigrateKeycloakSubsystem<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(legacySecurityConfigurationMigration.getRemoveLegacySecurityRealms()) + .subtask(serverUpdateBuilders.hostBuilder() + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + ) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly23_0Server.class; + } +} diff --git a/migrations/wildfly33.0/wildfly23.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly23.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..a7f7f5894 --- /dev/null +++ b/migrations/wildfly33.0/wildfly23.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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.WildFly23_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly24.0/pom.xml b/migrations/wildfly33.0/wildfly24.0/pom.xml new file mode 100644 index 000000000..e50e7051f --- /dev/null +++ b/migrations/wildfly33.0/wildfly24.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly24.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 24.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly24.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly24.0/src/main/java/org/jboss/migration/wfly/WildFly24_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly24.0/src/main/java/org/jboss/migration/wfly/WildFly24_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..12700b0be --- /dev/null +++ b/migrations/wildfly33.0/wildfly24.0/src/main/java/org/jboss/migration/wfly/WildFly24_0ToWildFly33_0ServerMigrationProvider.java @@ -0,0 +1,92 @@ +/* + * 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.WildFly33_0AddHostExcludes; +import org.jboss.migration.wfly.task.paths.WildFly26_0MigrateReferencedPaths; +import org.jboss.migration.wfly.task.security.LegacySecurityConfigurationMigration; +import org.jboss.migration.wfly.task.subsystem.keycloak.MigrateKeycloakSubsystem; +import org.jboss.migration.wfly.task.subsystem.picketlink.MigratePicketLinkSubsystem; +import org.jboss.migration.wfly.task.xml.WildFly26_0MigrateVault; +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 33.0, from WFLY 24.0. + * @author emmartins + */ +public class WildFly24_0ToWildFly33_0ServerMigrationProvider implements WildFly33_0ServerMigrationProvider { + + @Override + public WildFlyServerMigration10 getServerMigration() { + final ServerUpdate.Builders serverUpdateBuilders = new ServerUpdate.Builders<>(); + final LegacySecurityConfigurationMigration legacySecurityConfigurationMigration = new LegacySecurityConfigurationMigration<>(); + return serverUpdateBuilders.serverUpdateBuilder() + .standaloneServer(serverUpdateBuilders.standaloneConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly26_0MigrateVault<>()) + .subtask(legacySecurityConfigurationMigration.getRemoveLegacySecurityRealms()) + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + .subtask(new MigratePicketLinkSubsystem<>()) + .subtask(new MigrateKeycloakSubsystem<>()) + ) + .domain(serverUpdateBuilders.domainBuilder() + .domainConfigurations(serverUpdateBuilders.domainConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new RemoveUnsupportedExtensions<>()) + .subtask(new RemoveUnsupportedSubsystems<>()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(new WildFly33_0AddHostExcludes<>()) + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + .subtask(new MigratePicketLinkSubsystem<>()) + .subtask(new MigrateKeycloakSubsystem<>()) + ) + .hostConfigurations(serverUpdateBuilders.hostConfigurationBuilder() + .subtask(new WildFly27_0MigrateJBossDomainProperties<>()) + .subtask(legacySecurityConfigurationMigration.getReadLegacySecurityConfiguration()) + .subtask(new MigrateReferencedModules<>()) + .subtask(new WildFly26_0MigrateReferencedPaths<>()) + .subtask(legacySecurityConfigurationMigration.getRemoveLegacySecurityRealms()) + .subtask(serverUpdateBuilders.hostBuilder() + .subtask(legacySecurityConfigurationMigration.getEnsureBasicElytronSubsystem()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityRealmsToElytron()) + .subtask(legacySecurityConfigurationMigration.getMigrateLegacySecurityDomainsToElytron()) + ) + ) + ).build(); + } + + @Override + public Class getSourceType() { + return WildFly24_0Server.class; + } +} diff --git a/migrations/wildfly33.0/wildfly24.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly24.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..cc23b1c0b --- /dev/null +++ b/migrations/wildfly33.0/wildfly24.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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.WildFly24_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly25.0/pom.xml b/migrations/wildfly33.0/wildfly25.0/pom.xml new file mode 100644 index 000000000..ee5a11e92 --- /dev/null +++ b/migrations/wildfly33.0/wildfly25.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly25.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 25.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly25.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..0eb27fa9d --- /dev/null +++ b/migrations/wildfly33.0/wildfly25.0/src/main/java/org/jboss/migration/wfly/WildFly25_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 25.0. + * @author emmartins + */ +public class WildFly25_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..765b26009 --- /dev/null +++ b/migrations/wildfly33.0/wildfly25.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly26.0/pom.xml b/migrations/wildfly33.0/wildfly26.0/pom.xml new file mode 100644 index 000000000..7d5d68100 --- /dev/null +++ b/migrations/wildfly33.0/wildfly26.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly26.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 26.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly26.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..fdbd1e6ec --- /dev/null +++ b/migrations/wildfly33.0/wildfly26.0/src/main/java/org/jboss/migration/wfly/WildFly26_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 26.0. + * @author emmartins + */ +public class WildFly26_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..407739c2a --- /dev/null +++ b/migrations/wildfly33.0/wildfly26.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly27.0/pom.xml b/migrations/wildfly33.0/wildfly27.0/pom.xml new file mode 100644 index 000000000..ac3528c8d --- /dev/null +++ b/migrations/wildfly33.0/wildfly27.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly27.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 27.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly27.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..c078b7de0 --- /dev/null +++ b/migrations/wildfly33.0/wildfly27.0/src/main/java/org/jboss/migration/wfly/WildFly27_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 27.0. + * @author emmartins + */ +public class WildFly27_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..4eb3e9d9f --- /dev/null +++ b/migrations/wildfly33.0/wildfly27.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly28.0/pom.xml b/migrations/wildfly33.0/wildfly28.0/pom.xml new file mode 100644 index 000000000..6e0f1bd59 --- /dev/null +++ b/migrations/wildfly33.0/wildfly28.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly28.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 28.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly28.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..72b82e4e7 --- /dev/null +++ b/migrations/wildfly33.0/wildfly28.0/src/main/java/org/jboss/migration/wfly/WildFly28_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 28.0. + * @author emmartins + */ +public class WildFly28_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..4614b78c6 --- /dev/null +++ b/migrations/wildfly33.0/wildfly28.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly29.0/pom.xml b/migrations/wildfly33.0/wildfly29.0/pom.xml new file mode 100644 index 000000000..eff47779f --- /dev/null +++ b/migrations/wildfly33.0/wildfly29.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly29.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 29.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly29.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..7afa31b02 --- /dev/null +++ b/migrations/wildfly33.0/wildfly29.0/src/main/java/org/jboss/migration/wfly/WildFly29_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 29.0. + * @author emmartins + */ +public class WildFly29_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..cd21505e1 --- /dev/null +++ b/migrations/wildfly33.0/wildfly29.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly30.0/pom.xml b/migrations/wildfly33.0/wildfly30.0/pom.xml new file mode 100644 index 000000000..e0de79f9d --- /dev/null +++ b/migrations/wildfly33.0/wildfly30.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly30.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 30.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly30.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..a3832ac72 --- /dev/null +++ b/migrations/wildfly33.0/wildfly30.0/src/main/java/org/jboss/migration/wfly/WildFly30_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 30.0. + * @author emmartins + */ +public class WildFly30_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..7cc29c4b6 --- /dev/null +++ b/migrations/wildfly33.0/wildfly30.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly31.0/pom.xml b/migrations/wildfly33.0/wildfly31.0/pom.xml new file mode 100644 index 000000000..2a7d9364b --- /dev/null +++ b/migrations/wildfly33.0/wildfly31.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly31.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 31.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly31.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..051b01177 --- /dev/null +++ b/migrations/wildfly33.0/wildfly31.0/src/main/java/org/jboss/migration/wfly/WildFly31_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 31.0. + * @author emmartins + */ +public class WildFly31_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..f003cd935 --- /dev/null +++ b/migrations/wildfly33.0/wildfly31.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly32.0/pom.xml b/migrations/wildfly33.0/wildfly32.0/pom.xml new file mode 100644 index 000000000..0ceb5690d --- /dev/null +++ b/migrations/wildfly33.0/wildfly32.0/pom.xml @@ -0,0 +1,45 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly32.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 32.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly32.0-server + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..146598f7b --- /dev/null +++ b/migrations/wildfly33.0/wildfly32.0/src/main/java/org/jboss/migration/wfly/WildFly32_0ToWildFly33_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.WildFly33_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 33.0, from WFLY 32.0. + * @author emmartins + */ +public class WildFly32_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_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/wildfly33.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..a2370748c --- /dev/null +++ b/migrations/wildfly33.0/wildfly32.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/migrations/wildfly33.0/wildfly33.0/pom.xml b/migrations/wildfly33.0/wildfly33.0/pom.xml new file mode 100644 index 000000000..94b0fd6ea --- /dev/null +++ b/migrations/wildfly33.0/wildfly33.0/pom.xml @@ -0,0 +1,41 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../../pom.xml + + + jboss-server-migration-wildfly33.0-to-wildfly33.0 + + JBoss Server Migration: WildFly 33.0 to WildFly 33.0 + + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + + + + diff --git a/migrations/wildfly33.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly33_0ServerMigrationProvider.java b/migrations/wildfly33.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..b7a696c1f --- /dev/null +++ b/migrations/wildfly33.0/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ToWildFly33_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 33.0, from WFLY 33.0. + * @author emmartins + */ +public class WildFly33_0ToWildFly33_0ServerMigrationProvider implements WildFly33_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 WildFly33_0Server.class; + } +} diff --git a/migrations/wildfly33.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider b/migrations/wildfly33.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_0ServerMigrationProvider new file mode 100644 index 000000000..c3bfeca25 --- /dev/null +++ b/migrations/wildfly33.0/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.wfly.WildFly33_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_0ToWildFly33_0ServerMigrationProvider diff --git a/pom.xml b/pom.xml index 1ee562077..b8b2cbe1c 100644 --- a/pom.xml +++ b/pom.xml @@ -105,6 +105,17 @@ docs/user-guides/migrations/wildfly32.0/wildfly30.0 docs/user-guides/migrations/wildfly32.0/wildfly31.0 docs/user-guides/migrations/wildfly32.0/wildfly32.0 + docs/user-guides/migrations/wildfly33.0/wildfly23.0 + docs/user-guides/migrations/wildfly33.0/wildfly24.0 + docs/user-guides/migrations/wildfly33.0/wildfly25.0 + docs/user-guides/migrations/wildfly33.0/wildfly26.0 + docs/user-guides/migrations/wildfly33.0/wildfly27.0 + docs/user-guides/migrations/wildfly33.0/wildfly28.0 + docs/user-guides/migrations/wildfly33.0/wildfly29.0 + docs/user-guides/migrations/wildfly33.0/wildfly30.0 + docs/user-guides/migrations/wildfly33.0/wildfly31.0 + docs/user-guides/migrations/wildfly33.0/wildfly32.0 + docs/user-guides/migrations/wildfly33.0/wildfly33.0 docs/user-guides/tool/includes docs/user-guides/tool/standalone migrations/eap7.4/eap6.4 @@ -130,6 +141,17 @@ migrations/wildfly32.0/wildfly30.0 migrations/wildfly32.0/wildfly31.0 migrations/wildfly32.0/wildfly32.0 + migrations/wildfly33.0/wildfly23.0 + migrations/wildfly33.0/wildfly24.0 + migrations/wildfly33.0/wildfly25.0 + migrations/wildfly33.0/wildfly26.0 + migrations/wildfly33.0/wildfly27.0 + migrations/wildfly33.0/wildfly28.0 + migrations/wildfly33.0/wildfly29.0 + migrations/wildfly33.0/wildfly30.0 + migrations/wildfly33.0/wildfly31.0 + migrations/wildfly33.0/wildfly32.0 + migrations/wildfly33.0/wildfly33.0 servers/eap6.4 servers/eap7.0 servers/eap7.1 @@ -163,6 +185,7 @@ servers/wildfly30.0 servers/wildfly31.0 servers/wildfly32.0 + servers/wildfly33.0 @@ -843,6 +866,123 @@ ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly33.0-server + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly23.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly24.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly33.0 + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly23.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly24.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly25.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly26.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly27.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly28.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly29.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly30.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly31.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly32.0-to-wildfly33.0-userguide + ${project.version} + + + ${project.groupId} + jboss-server-migration-wildfly33.0-to-wildfly33.0-userguide + ${project.version} + + diff --git a/servers/wildfly33.0/pom.xml b/servers/wildfly33.0/pom.xml new file mode 100644 index 000000000..9b87851ff --- /dev/null +++ b/servers/wildfly33.0/pom.xml @@ -0,0 +1,41 @@ + + + + + 4.0.0 + + + org.jboss.migration + jboss-server-migration-parent + 33.0.0.Final-SNAPSHOT + ../../pom.xml + + + jboss-server-migration-wildfly33.0-server + + JBoss Server Migration: WildFly 33.0 Server + + + + ${project.groupId} + jboss-server-migration-wildfly32.0-server + + + + diff --git a/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0Server.java b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0Server.java new file mode 100644 index 000000000..81434259e --- /dev/null +++ b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_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 33.0 {@link org.jboss.migration.core.Server}. + * @author emmartins + */ +public class WildFly33_0Server extends WildFlyServer10 { + + public static final JBossServer.Extensions EXTENSIONS = JBossServer.Extensions.builder() + .extensions(WildFly32_0Server.EXTENSIONS) + .build(); + + private static final WildFlyServerMigrations10 SERVER_MIGRATIONS = new ServiceLoaderWildFlyServerMigrations10<>(ServiceLoader.load(WildFly33_0ServerMigrationProvider.class)); + + public WildFly33_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/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerMigrationProvider.java b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerMigrationProvider.java new file mode 100644 index 000000000..88257048b --- /dev/null +++ b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_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 33.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 WildFly33_0ServerMigrationProvider extends WildFlyServerMigrationProvider10 { +} diff --git a/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerProvider.java b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_0ServerProvider.java new file mode 100644 index 000000000..ad8f3bc33 --- /dev/null +++ b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/WildFly33_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 33.x {@link org.jboss.migration.core.ServerProvider}. + * @author emmartins + */ +public class WildFly33_0ServerProvider extends WildFly32_0ServerProvider { + + @Override + protected String getProductNameRegex() { + return "WildFly"; + } + + @Override + protected String getProductVersionRegex() { + return "33\\..*"; + } + + @Override + protected Server constructServer(String migrationName, ProductInfo productInfo, Path baseDir, MigrationEnvironment migrationEnvironment) { + return new WildFly33_0Server(migrationName, productInfo, baseDir, migrationEnvironment); + } + + @Override + public String getName() { + return "WildFly 33.x"; + } +} diff --git a/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly33_0AddHostExcludes.java b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly33_0AddHostExcludes.java new file mode 100644 index 000000000..5edf7a7ff --- /dev/null +++ b/servers/wildfly33.0/src/main/java/org/jboss/migration/wfly/task/hostexclude/WildFly33_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 WildFly33_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 WildFly33_0AddHostExcludes() { + super(HOST_EXCLUDES); + } +} diff --git a/servers/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider b/servers/wildfly33.0/src/main/resources/META-INF/services/org.jboss.migration.core.ServerProvider new file mode 100644 index 000000000..8d4480fa7 --- /dev/null +++ b/servers/wildfly33.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.WildFly33_0ServerProvider