Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
parent
96945c7e10
commit
3b04e5af97
|
@ -18,7 +18,7 @@
|
|||
<New class="org.hibernate.search.cfg.SearchMapping">
|
||||
<Call name="entity">
|
||||
<Arg>
|
||||
<Get class="org.eclipse.jetty.server.session.infinispan.InfinispanSessionData" name="class"/>
|
||||
<Get class="org.eclipse.jetty.session.infinispan.InfinispanSessionData" name="class"/>
|
||||
</Arg>
|
||||
<Call name="indexed">
|
||||
<Call name="providedId">
|
||||
|
@ -57,7 +57,7 @@
|
|||
</Arg>
|
||||
<Call name="addIndexedEntity">
|
||||
<Arg>
|
||||
<Get class="org.eclipse.jetty.server.session.infinispan.InfinispanSessionData" name="class"/>
|
||||
<Get class="org.eclipse.jetty.session.infinispan.InfinispanSessionData" name="class"/>
|
||||
</Arg>
|
||||
<Call name="withProperties">
|
||||
<Arg>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<!-- ===================================================================== -->
|
||||
<New id="mapping" class="org.hibernate.search.cfg.SearchMapping">
|
||||
<Call name="entity">
|
||||
<Arg><Call class="java.lang.Class" name="forName"><Arg>org.eclipse.jetty.server.session.infinispan.InfinispanSessionData</Arg></Call></Arg>
|
||||
<Arg><Call class="java.lang.Class" name="forName"><Arg>org.eclipse.jetty.session.infinispan.InfinispanSessionData</Arg></Call></Arg>
|
||||
<Call name="indexed">
|
||||
<Call name="providedId">
|
||||
<Call name="property">
|
||||
|
|
|
@ -100,12 +100,14 @@ public abstract class AbstractSessionDistributionTests extends AbstractJettyHome
|
|||
assertThat(response.getContentAsString(), containsString("SESSION READ CHOCOLATE THE BEST:FRENCH"));
|
||||
}
|
||||
|
||||
/*
|
||||
Path logFile = jettyHomeTester.getJettyBase().resolve("resources").resolve("jetty-logging.properties");
|
||||
Files.deleteIfExists(logFile);
|
||||
try (BufferedWriter writer = Files.newBufferedWriter(logFile, StandardCharsets.UTF_8, StandardOpenOption.CREATE))
|
||||
{
|
||||
writer.write("org.eclipse.jetty.server.session.LEVEL=DEBUG");
|
||||
}
|
||||
*/
|
||||
|
||||
try (JettyHomeTester.Run run2 = jettyHomeTester.start(argsStart))
|
||||
{
|
||||
|
|
|
@ -104,7 +104,7 @@ public class InfinispanSessionDistributionTests extends AbstractSessionDistribut
|
|||
@Override
|
||||
public String getFirstStartExtraModules()
|
||||
{
|
||||
return "session-store-infinispan-remote";
|
||||
return "session-store-infinispan-remote,infinispan-remote-query";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue