http://git-wip-us.apache.org/repos/asf/calcite/blob/d27e642c/avatica-noop/src/main/java/org/apache/calcite/avatica/noop/package-info.java ---------------------------------------------------------------------- diff --git a/avatica-noop/src/main/java/org/apache/calcite/avatica/noop/package-info.java b/avatica-noop/src/main/java/org/apache/calcite/avatica/noop/package-info.java new file mode 100644 index 0000000..da1c5c4 --- /dev/null +++ b/avatica-noop/src/main/java/org/apache/calcite/avatica/noop/package-info.java @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to you under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A no-operation implementation of a JDBC driver built for testing Avatica. + */ +@PackageMarker +package org.apache.calcite.avatica.noop; + +// End package-info.java
http://git-wip-us.apache.org/repos/asf/calcite/blob/d27e642c/avatica-noop/src/main/resources/META-INF/services/java.sql.Driver ---------------------------------------------------------------------- diff --git a/avatica-noop/src/main/resources/META-INF/services/java.sql.Driver b/avatica-noop/src/main/resources/META-INF/services/java.sql.Driver new file mode 100644 index 0000000..24845b0 --- /dev/null +++ b/avatica-noop/src/main/resources/META-INF/services/java.sql.Driver @@ -0,0 +1 @@ +org.apache.calcite.avatica.noop.AvaticaNoopDriver http://git-wip-us.apache.org/repos/asf/calcite/blob/d27e642c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 25e2806..fecb93e 100644 --- a/pom.xml +++ b/pom.xml @@ -128,6 +128,7 @@ limitations under the License. <module>avatica</module> <module>avatica-metrics</module> <module>avatica-metrics-dropwizardmetrics3</module> + <module>avatica-noop</module> <module>avatica-server</module> <module>cassandra</module> <module>core</module> @@ -162,6 +163,11 @@ limitations under the License. </dependency> <dependency> <groupId>org.apache.calcite</groupId> + <artifactId>calcite-avatica-noop</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.calcite</groupId> <artifactId>calcite-avatica</artifactId> <version>${project.version}</version> <type>test-jar</type>
