Skip to content

Commit

Permalink
Merge pull request #332 from emmartins/CMTOOL-387
Browse files Browse the repository at this point in the history
[CMTOOL-387] Add support for EAP 8.1 and XP 6.0
  • Loading branch information
emmartins authored Jan 21, 2025
2 parents dfd97ee + 62edb82 commit 7df49b9
Show file tree
Hide file tree
Showing 125 changed files with 4,619 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dist/standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,40 @@
<artifactId>jboss-server-migration-eap8.0-to-eap8.0</artifactId>
</dependency>

<!-- eap 8.1 -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap8.1-server</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap7.0-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap7.1-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap7.2-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap7.3-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap7.4-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap8.0-to-eap8.1</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-eap8.1-to-eap8.1</artifactId>
</dependency>

<!-- wfly 8.2 -->

<dependency>
Expand Down
98 changes: 98 additions & 0 deletions docs/user-guides/migrations/eap8.1/eap7.0/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2017 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.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jboss.migration</groupId>
<artifactId>jboss-server-migration-parent</artifactId>
<version>36.0.0.Final-SNAPSHOT</version>
<relativePath>../../../../../pom.xml</relativePath>
</parent>

<artifactId>jboss-server-migration-eap7.0-to-eap8.1-userguide</artifactId>

<name>JBoss Server Migration: User-Guide EAP 7.0 to EAP 8.1</name>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jboss-server-migration-docs-userguide-migration-includes</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/asciidoc</outputDirectory>
<resources>
<resource>
<directory>src/main/asciidoc</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack-includes</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/asciidoc</outputDirectory>
<includeScope>compile</includeScope>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<sourceDocumentName>master.adoc</sourceDocumentName>
<outputFile>${project.build.outputDirectory}/index.html</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// setup of vars used by this and/or included docs
:server-source-productName: JBoss EAP 7.0
:server-source-name: JBoss EAP
:server-source-version: 7.0.0.GA
:server-source-baseDir: jboss-eap-7.0

:server-target-productName: JBoss EAP 8.1
:server-target-name: JBoss EAP
:server-target-version: 8.1.0.GA
:server-target-baseDir: jboss-eap-8.1

: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

// include the docs for each task
:leveloffset: +1

include::{includesDir}/ServerMigration-Modules.adoc[]

include::{includesDir}/EAP7.0toEAP8.1-ServerMigration-StandaloneServer.adoc[]

include::{includesDir}/EAP7.0toEAP8.1-ServerMigration-ManagedDomain.adoc[]

:leveloffset: -1

Original file line number Diff line number Diff line change
@@ -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!
----
Original file line number Diff line number Diff line change
@@ -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.
----
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
:toc: macro
:toc-title:

// include abstract
include::ServerMigration-ManagedDomain-DomainConfiguration.adoc[]

toc::[]

// include doc for each domain task in EAP7_0ToEAP8_1ServerMigrationProvider.java

:leveloffset: +1

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[]

include::ServerMigration-ServerConfiguration-RemoveUnsupportedSubsystems.adoc[]

include::ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[]

include::ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityRealms.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ManagedDomain-DomainConfiguration-MigrateLegacySecurityDomains.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-Subsystem-Migrate-keycloak.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-Subsystem-Migrate-picketlink.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-Subsystem-Update-infinispan.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-Subsystem-Update-jgroups.adoc[]

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-Subsystem-Update-undertow.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-core-management.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-discovery.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-ee-security.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-elytron.adoc[]

include::ServerMigration-ServerConfiguration-AddSocketBindingMulticastAddressExpressions.adoc[]

include::ServerMigration-ServerConfiguration-AddLoadBalancerProfile.adoc[]

include::ServerMigration-ManagedDomain-AddHostExcludes.adoc[]

include::ServerMigration-ServerConfiguration-MigrateDeployments.adoc[]

:leveloffset: -1
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
:toc: macro
:toc-title:

// include abstract
include::ServerMigration-ManagedDomain-HostConfiguration.adoc[]

toc::[]

// include doc for each host task in EAP7_0ToEAP7_1ServerMigrationProvider.java

:leveloffset: +1

include::EAP7.0toEAP8.1-ServerMigration-ServerConfiguration-MigrateJBossDomainProperties.adoc[]

include::ServerMigration-ServerConfiguration-MigrateReferencedModules.adoc[]

include::ServerMigration-ServerConfiguration-MigrateReferencedPaths.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-core-management.adoc[]

include::ServerMigration-ServerConfiguration-Subsystem-Add-elytron.adoc[]

:leveloffset: -1
Loading

0 comments on commit 7df49b9

Please sign in to comment.