diff --git a/src/main/docker/x1-wildfly-stomp-test/scripts/create-stomp-test.cli b/src/main/docker/x1-wildfly-stomp-test/scripts/create-stomp-test.cli index 973e22d6..3c9b50e7 100644 --- a/src/main/docker/x1-wildfly-stomp-test/scripts/create-stomp-test.cli +++ b/src/main/docker/x1-wildfly-stomp-test/scripts/create-stomp-test.cli @@ -49,3 +49,4 @@ if (outcome == success) of /system-property=x1.service.registry.stage:read-resou end-if /system-property=x1.service.registry.stage:add(value="kubernetes") +/subsystem=logging/logger=org.reflections:add(level=WARN) diff --git a/src/main/java/x1/stomp/model/Share.java b/src/main/java/x1/stomp/model/Share.java index 0cd9d656..a1d45646 100644 --- a/src/main/java/x1/stomp/model/Share.java +++ b/src/main/java/x1/stomp/model/Share.java @@ -20,6 +20,7 @@ import org.eclipse.microprofile.openapi.annotations.media.Schema; @Entity +@Cacheable @XmlRootElement(name = "share") @XmlAccessorType(XmlAccessType.FIELD) @Table(name = "share", uniqueConstraints = @UniqueConstraint(columnNames = "key"), indexes = { diff --git a/src/test/resources/META-INF/persistence.xml b/src/test/resources/META-INF/persistence.xml index a43715ab..f4b01850 100644 --- a/src/test/resources/META-INF/persistence.xml +++ b/src/test/resources/META-INF/persistence.xml @@ -1,7 +1,7 @@ + xsi:schemaLocation="https://jakarta.ee/xml/ns/persistence https://jakarta.ee/xml/ns/persistence/persistence_2_2.xsd" + version="2.2"> x1.stomp.model.Share