-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from zuliaio/test-framework
Test framework
- Loading branch information
Showing
69 changed files
with
1,854 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
rootProject.name = "ZuliaSearch" | ||
|
||
include 'zulia-analyzer', 'zulia-common', 'zulia-client', 'zulia-data', 'zulia-query-parser', 'zulia-server', 'zulia-util' | ||
include 'zulia-analyzer', 'zulia-common', 'zulia-cmd-shared', 'zulia-client', 'zulia-data', 'zulia-query-parser', 'zulia-server', 'zulia-testing', 'zulia-tools', 'zulia-util' | ||
|
||
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
plugins { | ||
`java-library` | ||
} | ||
|
||
description = "Zulia CMD Shared" | ||
|
||
dependencies { | ||
annotationProcessor(libs.picocli.codegen) | ||
api(projects.zuliaCommon) | ||
implementation(libs.picocli.base) | ||
} | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...md/common/SelectiveStackTraceHandler.java → ...md/common/SelectiveStackTraceHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.zulia.server.cmd.common; | ||
package io.zulia.cmd.common; | ||
|
||
import picocli.CommandLine; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ulia/server/cmd/common/ShowStackArgs.java → ...va/io/zulia/cmd/common/ShowStackArgs.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package io.zulia.server.cmd.common; | ||
package io.zulia.cmd.common; | ||
|
||
import picocli.CommandLine; | ||
|
||
|
3 changes: 1 addition & 2 deletions
3
...a/io/zulia/server/cmd/ZuliaCommonCmd.java → ...a/io/zulia/cmd/common/ZuliaCommonCmd.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rver/cmd/common/ZuliaVersionProvider.java → ...ulia/cmd/common/ZuliaVersionProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
connections: | ||
testConnection: | ||
serverAddress: 192.168.1.30 | ||
port: 32191 | ||
indexes: | ||
publications: | ||
indexName: publications | ||
connection: testConnection | ||
queries: | ||
pubsStar: | ||
index: publications | ||
query: "*:*" | ||
pubsWithoutTitle: | ||
index: publications | ||
query: "-title:*" | ||
pubsTest: | ||
index: publications | ||
query: "title:*" | ||
amount: 1 | ||
facets: | ||
- field: pubYear | ||
topN: 10 | ||
- field: journalName | ||
topN: 10 | ||
statFacets: | ||
- facetField: pubYear | ||
numericField: rcr | ||
topN: 10 | ||
tests: | ||
pubsCount: | ||
expr: pubsStar.count > 200000 | ||
pubsWithTitleCount: | ||
expr: pubsWithoutTitle.count < pubsStar.count * 0.01 | ||
test1: | ||
expr: pubsTest.count > 1 | ||
test2: | ||
expr: pubsTest.doc[0]["authors"][0]["lastName"] == "Abumere" | ||
test3: | ||
expr: pubsTest.facet["pubYear"][0].label == "2022" && pubsTest.facet["pubYear"][0].count > 1000000 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ dependencies { | |
|
||
protobuf(libs.sketches.java) | ||
|
||
api(project(":zulia-util")) | ||
api(projects.zuliaUtil) | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.