Skip to content

Commit

Permalink
[CMTOOL-378] Add extension jakarta data
Browse files Browse the repository at this point in the history
  • Loading branch information
emmartins committed Jan 10, 2025
1 parent d35991e commit 221e41b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public interface JBossExtensionNames {
String INFINISPAN = "org.jboss.as.clustering.infinispan";
String IO = "org.wildfly.extension.io";
String JACORB = "org.jboss.as.jacorb";
String JAKARTA_DATA = "org.wildfly.extension.jakarta.data";
String JAXR = "org.jboss.as.jaxr";
String JAXRS = "org.jboss.as.jaxrs";
String JDR = "org.jboss.as.jdr";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ public interface JBossExtensions {
.subsystem(JBossSubsystemNames.JACORB)
.build();

Extension JAKARTA_DATA = Extension.builder()
.module(JBossExtensionNames.JAKARTA_DATA)
.subsystem(Subsystem.builder().name(JBossSubsystemNames.JAKARTA_DATA).namespaceWithoutVersion("urn:wildfly:"+JBossSubsystemNames.JAKARTA_DATA))
.build();

Extension JAXR = Extension.builder()
.module(JBossExtensionNames.JAXR)
.subsystem(JBossSubsystemNames.JAXR)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public interface JBossSubsystemNames {
String INFINISPAN = "infinispan";
String IO = "io";
String JACORB = "jacorb";
String JAKARTA_DATA = "jakarta-data";
String JAXR = "jaxr";
String JAXRS = "jaxrs";
String JCA = "jca";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import org.jboss.migration.core.ProductInfo;
import org.jboss.migration.core.env.MigrationEnvironment;
import org.jboss.migration.core.jboss.JBossExtensions;
import org.jboss.migration.core.jboss.JBossServer;
import org.jboss.migration.wfly10.ServiceLoaderWildFlyServerMigrations10;
import org.jboss.migration.wfly10.WildFlyServer10;
Expand All @@ -33,6 +34,7 @@ public class WildFly35_0Server extends WildFlyServer10 {

public static final JBossServer.Extensions EXTENSIONS = JBossServer.Extensions.builder()
.extensions(WildFly34_0Server.EXTENSIONS)
.extension(JBossExtensions.JAKARTA_DATA)
.build();

private static final WildFlyServerMigrations10 SERVER_MIGRATIONS = new ServiceLoaderWildFlyServerMigrations10<>(ServiceLoader.load(WildFly35_0ServerMigrationProvider.class));
Expand Down

0 comments on commit 221e41b

Please sign in to comment.