From 22e285394dc476b3c23e20db39679ac19be66494 Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Tue, 15 Sep 2020 19:30:34 -0500 Subject: [PATCH] stub in dedicated driver api module --- driver-cql-shaded/pom.xml | 6 +++++ driver-cqld4/pom.xml | 47 +++++---------------------------------- driver-cqlverify/pom.xml | 10 ++++++++- driver-diag/pom.xml | 6 +++++ driver-http/pom.xml | 6 +++++ driver-jmx/pom.xml | 6 +++++ driver-kafka/pom.xml | 38 ++++++++++++++++++------------- driver-mongodb/pom.xml | 6 +++++ driver-stdout/pom.xml | 6 +++++ driver-tcp/pom.xml | 26 +++++++++++++--------- driver-web/pom.xml | 6 +++++ drivers-api/pom.xml | 39 ++++++++++++++++++++++++++++++++ engine-api/pom.xml | 11 +++++++-- engine-core/pom.xml | 10 +++++++-- pom.xml | 2 ++ 15 files changed, 153 insertions(+), 72 deletions(-) create mode 100644 drivers-api/pom.xml diff --git a/driver-cql-shaded/pom.xml b/driver-cql-shaded/pom.xml index 4466d6ac1..831cb3cd0 100644 --- a/driver-cql-shaded/pom.xml +++ b/driver-cql-shaded/pom.xml @@ -26,6 +26,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + com.datastax.dse dse-java-driver-core diff --git a/driver-cqld4/pom.xml b/driver-cqld4/pom.xml index db0556ec9..38caefefd 100644 --- a/driver-cqld4/pom.xml +++ b/driver-cqld4/pom.xml @@ -26,6 +26,12 @@ 3.12.141-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + com.datastax.oss @@ -71,47 +77,6 @@ snappy-java - - - - - - - - - - - - - - - - - - - - - - - - - - - - - io.nosqlbench - engine-api - 3.12.141-SNAPSHOT - compile - - - - io.nosqlbench - engine-api - 3.12.141-SNAPSHOT - compile - - diff --git a/driver-cqlverify/pom.xml b/driver-cqlverify/pom.xml index a2aceb397..8195edcb1 100644 --- a/driver-cqlverify/pom.xml +++ b/driver-cqlverify/pom.xml @@ -1,4 +1,6 @@ - + 4.0.0 @@ -27,6 +29,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + diff --git a/driver-diag/pom.xml b/driver-diag/pom.xml index fc66b4594..c96078b21 100644 --- a/driver-diag/pom.xml +++ b/driver-diag/pom.xml @@ -23,6 +23,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + org.slf4j slf4j-api diff --git a/driver-http/pom.xml b/driver-http/pom.xml index 1d1bcc235..a4a8bddca 100644 --- a/driver-http/pom.xml +++ b/driver-http/pom.xml @@ -25,6 +25,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + diff --git a/driver-jmx/pom.xml b/driver-jmx/pom.xml index 0975de1f0..6831e0c14 100644 --- a/driver-jmx/pom.xml +++ b/driver-jmx/pom.xml @@ -19,6 +19,12 @@ + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + io.nosqlbench engine-api diff --git a/driver-kafka/pom.xml b/driver-kafka/pom.xml index f1ecbec3d..967b93439 100644 --- a/driver-kafka/pom.xml +++ b/driver-kafka/pom.xml @@ -21,25 +21,31 @@ - - org.apache.kafka - kafka-clients - 2.0.0 - + + org.apache.kafka + kafka-clients + 2.0.0 + - - io.nosqlbench - engine-api - 3.12.145-SNAPSHOT - + + io.nosqlbench + engine-api + 3.12.145-SNAPSHOT + - - io.nosqlbench - driver-stdout - 3.12.145-SNAPSHOT - + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + - + + io.nosqlbench + driver-stdout + 3.12.145-SNAPSHOT + + + org.slf4j slf4j-api 1.7.25 diff --git a/driver-mongodb/pom.xml b/driver-mongodb/pom.xml index 7964d4470..f42530ea1 100644 --- a/driver-mongodb/pom.xml +++ b/driver-mongodb/pom.xml @@ -24,6 +24,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + org.mongodb mongodb-driver-sync diff --git a/driver-stdout/pom.xml b/driver-stdout/pom.xml index 51b0fc101..2904ac8de 100644 --- a/driver-stdout/pom.xml +++ b/driver-stdout/pom.xml @@ -25,6 +25,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + diff --git a/driver-tcp/pom.xml b/driver-tcp/pom.xml index 5b54fb586..5042cdfb0 100644 --- a/driver-tcp/pom.xml +++ b/driver-tcp/pom.xml @@ -21,17 +21,23 @@ - - io.nosqlbench - engine-api - 3.12.145-SNAPSHOT - + + io.nosqlbench + engine-api + 3.12.145-SNAPSHOT + - - io.nosqlbench - driver-stdout - 3.12.145-SNAPSHOT - + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + + + io.nosqlbench + driver-stdout + 3.12.145-SNAPSHOT + diff --git a/driver-web/pom.xml b/driver-web/pom.xml index e3ae18be8..41b9d82c8 100644 --- a/driver-web/pom.xml +++ b/driver-web/pom.xml @@ -25,6 +25,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + org.seleniumhq.selenium htmlunit-driver diff --git a/drivers-api/pom.xml b/drivers-api/pom.xml new file mode 100644 index 000000000..f237af472 --- /dev/null +++ b/drivers-api/pom.xml @@ -0,0 +1,39 @@ + + 4.0.0 + + + + mvn-defaults + io.nosqlbench + 3.12.145-SNAPSHOT + ../mvn-defaults + + + drivers-api + jar + ${project.artifactId} + + The drivers API for nosqlbench; + Provides the interfaces needed to build drivers that can be loaded + by nosqlbench core + + + + + + io.nosqlbench + nb-api + 3.12.145-SNAPSHOT + + + + io.nosqlbench + virtdata-userlibs + 3.12.145-SNAPSHOT + + + + + diff --git a/engine-api/pom.xml b/engine-api/pom.xml index e57835c32..cb31cb919 100644 --- a/engine-api/pom.xml +++ b/engine-api/pom.xml @@ -13,8 +13,9 @@ jar ${project.artifactId} - The driver API for nosqlbench; - Provides the interfaces needed to build drivers that can be loaded by nosqlbench core + The engine API for nosqlbench; + Provides the interfaces needed to build internal modules for the + nosqlbench core engine @@ -25,6 +26,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + io.nosqlbench nb-annotations diff --git a/engine-core/pom.xml b/engine-core/pom.xml index e830fda97..704a53168 100644 --- a/engine-core/pom.xml +++ b/engine-core/pom.xml @@ -21,8 +21,8 @@ - - + + @@ -31,6 +31,12 @@ 3.12.145-SNAPSHOT + + io.nosqlbench + drivers-api + 3.12.145-SNAPSHOT + + ch.qos.logback logback-classic diff --git a/pom.xml b/pom.xml index 35a14eee6..f0de79971 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,8 @@ engine-cli engine-rest + drivers-api + nb