Issue #6735 Fix xml for infinispan-remote-query and infinispan-embedded-query (#6747)

Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
Jan Bartel 2021-09-10 10:12:05 +10:00 committed by GitHub
parent 96945c7e10
commit 3b04e5af97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -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">

View File

@ -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))
{

View File

@ -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