Skip to content

Commit

Permalink
build(deps): Bump quarkus.version from 3.3.1 to 3.4.0 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Sep 18, 2023
1 parent ce22814 commit ceafc51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.version>3.8.6</maven.version>
<neo4j-java-driver.version>5.12.0</neo4j-java-driver.version>
<neo4j-migrations.version>2.5.3</neo4j-migrations.version>
<neo4j-migrations.version>2.6.0</neo4j-migrations.version>
<neo4j-ogm.version>4.0.6</neo4j-ogm.version>
<neo4j.image>neo4j:4.4</neo4j.image>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<quarkus-neo4j.version>3.3.1</quarkus-neo4j.version>
<quarkus.version>3.3.1</quarkus.version>
<quarkus-neo4j.version>3.4.0</quarkus-neo4j.version>
<quarkus.version>3.4.0</quarkus.version>
<sortpom-maven-plugin.version>3.3.0</sortpom-maven-plugin.version>
</properties>

Expand Down

0 comments on commit ceafc51

Please sign in to comment.