diff --git a/deployment/src/main/java/org/neo4j/ogm/quarkus/deployment/Neo4jOgmDevConsoleProcessor.java b/deployment/src/main/java/org/neo4j/ogm/quarkus/deployment/Neo4jOgmDevConsoleProcessor.java index e856259..96effaf 100644 --- a/deployment/src/main/java/org/neo4j/ogm/quarkus/deployment/Neo4jOgmDevConsoleProcessor.java +++ b/deployment/src/main/java/org/neo4j/ogm/quarkus/deployment/Neo4jOgmDevConsoleProcessor.java @@ -15,46 +15,16 @@ */ package org.neo4j.ogm.quarkus.deployment; -import org.neo4j.ogm.quarkus.runtime.Neo4jOgmDevConsoleRecorder; - import io.quarkus.deployment.IsDevelopment; import io.quarkus.deployment.annotations.BuildStep; -import io.quarkus.deployment.annotations.ExecutionTime; -import io.quarkus.deployment.annotations.Record; -import io.quarkus.deployment.pkg.builditem.CurateOutcomeBuildItem; -import io.quarkus.devconsole.spi.DevConsoleRuntimeTemplateInfoBuildItem; import io.quarkus.devui.spi.page.CardPageBuildItem; import io.quarkus.devui.spi.page.Page; -import java.util.ArrayList; - /** * @author Michael J. Simons */ public class Neo4jOgmDevConsoleProcessor { - /** - * Records the list of domain classes into the info space. - * - * @param entitiesBuildItem The build item containing the annotated OGM classes - * @param curateOutcomeBuildItem The curated build item producer - * @param recorder Recorder for the supplier - * @return A new template item - */ - @BuildStep(onlyIf = IsDevelopment.class) - @Record(ExecutionTime.RUNTIME_INIT) - @SuppressWarnings("unused") - DevConsoleRuntimeTemplateInfoBuildItem addAnnotatedClasses( - EntitiesBuildItem entitiesBuildItem, - CurateOutcomeBuildItem curateOutcomeBuildItem, - Neo4jOgmDevConsoleRecorder recorder) { - - var supplier = recorder.recordEntities(new ArrayList<>(entitiesBuildItem.getValue())); - return new DevConsoleRuntimeTemplateInfoBuildItem("entities", - supplier, this.getClass(), - curateOutcomeBuildItem); - } - /** * A record to serialize the entities for {@link #createOgmCard(EntitiesBuildItem)} properly. * diff --git a/pom.xml b/pom.xml index a3a8cf6..1cd3882 100644 --- a/pom.xml +++ b/pom.xml @@ -77,13 +77,13 @@ ${java.version} 3.8.6 5.12.0 - 2.5.3 + 2.6.0 4.0.6 neo4j:4.4 1.6.13 UTF-8 - 3.3.1 - 3.3.1 + 3.4.0 + 3.4.0 3.3.0