Skip to content

Commit

Permalink
Fixes piranhacloud#3528 - Move from Piranha Naming to Manorrock Herri…
Browse files Browse the repository at this point in the history
  • Loading branch information
mnriem authored Sep 4, 2023
1 parent fb281c3 commit c4b6023
Show file tree
Hide file tree
Showing 35 changed files with 26 additions and 2,291 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class PlatformPiranhaBuilder {
/**
* Stores the InitialContext factory.
*/
private String initialContextFactory = "cloud.piranha.naming.thread.ThreadInitialContextFactory";
private String initialContextFactory = "com.manorrock.herring.thread.ThreadInitialContextFactory";

/**
* Stores the verbose flag.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ServerPiranhaBuilder {
/**
* Stores the InitialContext factory.
*/
private String initialContextFactory = "cloud.piranha.naming.thread.ThreadInitialContextFactory";
private String initialContextFactory = "com.manorrock.herring.thread.ThreadInitialContextFactory";

/**
* Stores the verbose flag.
Expand Down
12 changes: 6 additions & 6 deletions extension/naming-cdi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.naming</groupId>
<artifactId>piranha-naming-impl</artifactId>
<version>${project.version}</version>
<groupId>com.manorrock.herring</groupId>
<artifactId>herring</artifactId>
<version>23.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.naming</groupId>
<artifactId>piranha-naming-thread</artifactId>
<version>${project.version}</version>
<groupId>com.manorrock.herring</groupId>
<artifactId>herring-thread</artifactId>
<version>23.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;

import cloud.piranha.naming.impl.DefaultInitialContext;
import com.manorrock.herring.DefaultInitialContext;

/**
* The default InitialContextFactory.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

import cloud.piranha.core.api.WebApplication;
import cloud.piranha.core.api.WebApplicationExtension;
import cloud.piranha.naming.impl.DefaultInitialContext;
import com.manorrock.herring.DefaultInitialContext;
import jakarta.annotation.Resource;
import jakarta.enterprise.inject.spi.CDI;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
package cloud.piranha.extension.naming.cdi;

import cloud.piranha.core.api.WebApplication;
import cloud.piranha.naming.thread.ThreadInitialContextFactory;
import com.manorrock.herring.thread.ThreadInitialContextFactory;
import jakarta.servlet.ServletRequestEvent;
import jakarta.servlet.ServletRequestListener;
import static java.lang.System.Logger.Level.DEBUG;
Expand Down
4 changes: 2 additions & 2 deletions extension/naming-cdi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
exports cloud.piranha.extension.naming.cdi;
opens cloud.piranha.extension.naming.cdi;
requires cloud.piranha.core.api;
requires transitive cloud.piranha.naming.impl;
requires transitive cloud.piranha.naming.thread;
requires transitive com.manorrock.herring;
requires transitive com.manorrock.herring.thread;
requires jakarta.annotation;
requires jakarta.cdi;
requires transitive java.naming;
Expand Down
12 changes: 6 additions & 6 deletions extension/naming/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.naming</groupId>
<artifactId>piranha-naming-impl</artifactId>
<version>${project.version}</version>
<groupId>com.manorrock.herring</groupId>
<artifactId>herring</artifactId>
<version>23.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cloud.piranha.naming</groupId>
<artifactId>piranha-naming-thread</artifactId>
<version>${project.version}</version>
<groupId>com.manorrock.herring</groupId>
<artifactId>herring-thread</artifactId>
<version>23.5.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

import cloud.piranha.core.api.WebApplication;
import cloud.piranha.core.api.WebApplicationExtension;
import cloud.piranha.naming.impl.DefaultInitialContext;
import com.manorrock.herring.DefaultInitialContext;
import jakarta.annotation.Resource;
import static java.lang.System.Logger.Level.DEBUG;
import static java.lang.System.Logger.Level.WARNING;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
package cloud.piranha.extension.naming;

import cloud.piranha.naming.impl.DefaultInitialContext;
import com.manorrock.herring.DefaultInitialContext;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.NamingException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
package cloud.piranha.extension.naming;

import cloud.piranha.core.api.WebApplication;
import cloud.piranha.naming.thread.ThreadInitialContextFactory;
import com.manorrock.herring.thread.ThreadInitialContextFactory;
import jakarta.servlet.ServletRequestEvent;
import jakarta.servlet.ServletRequestListener;
import static java.lang.System.Logger.Level.DEBUG;
Expand Down
4 changes: 2 additions & 2 deletions extension/naming/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
exports cloud.piranha.extension.naming;
opens cloud.piranha.extension.naming;
requires cloud.piranha.core.api;
requires transitive cloud.piranha.naming.impl;
requires transitive cloud.piranha.naming.thread;
requires transitive com.manorrock.herring;
requires transitive com.manorrock.herring.thread;
requires jakarta.annotation;
requires transitive java.naming;
}
22 changes: 0 additions & 22 deletions naming/impl/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions naming/impl/pom.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit c4b6023

Please sign in to comment.