Skip to content

Commit

Permalink
move neo4j from previous merge to new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
jshook committed Apr 12, 2024
1 parent 99636f3 commit 0046230
Show file tree
Hide file tree
Showing 24 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nb-adapters/adapter-http/pom.xml
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-core</artifactId>
<version>2.2.20</version>
<version>2.2.21</version>
</dependency>
</dependencies>

Expand Down
Expand Up @@ -25,7 +25,7 @@
<artifactId>mvn-defaults</artifactId>
<groupId>io.nosqlbench</groupId>
<version>${revision}</version>
<relativePath>../mvn-defaults</relativePath>
<relativePath>../../mvn-defaults</relativePath>
</parent>

<name>${project.artifactId}</name>
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions nb-adapters/nb-adapters-included/pom.xml
Expand Up @@ -197,6 +197,20 @@
</dependencies>
</profile>

<profile>
<id>adapter-neo4j-include</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<dependencies>
<dependency>
<groupId>io.nosqlbench</groupId>
<artifactId>adapter-neo4j</artifactId>
<version>${revision}</version>
</dependency>
</dependencies>
</profile>

<profile>
<id>adapter-kafka-include</id>
<activation>
Expand Down
10 changes: 10 additions & 0 deletions nb-adapters/pom.xml
Expand Up @@ -124,6 +124,16 @@
</modules>
</profile>

<profile>
<id>adapter-neo4j-module</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>adapter-neo4j</module>
</modules>
</profile>

<profile>
<id>adapter-pulsar-module</id>
<activation>
Expand Down
Expand Up @@ -21,10 +21,10 @@

public class CycleFunctions {
public static <T> CycleFunction<T> of(BinaryOperator<T> reducer, List<CycleFunction<T>> verifiers, T defaultResult) {
if (verifiers.size()==0) {
if (verifiers.isEmpty()) {
return new NOOPVerifier<>(defaultResult);
} else if (verifiers.size()==1) {
return verifiers.get(0);
return verifiers.getFirst();
} else {
return new CompoundCycleFunction<>(reducer, verifiers);
}
Expand Down Expand Up @@ -53,7 +53,7 @@ public String getExpressionDetails() {
}

@Override
public <V> void setVariable(String name, V value) {
public <VT> void setVariable(String name, VT value) {
}

@Override
Expand Down

0 comments on commit 0046230

Please sign in to comment.