vitess-gh/java/grpc-client/pom.xml

146 строки
4.5 KiB
XML
Исходник Обычный вид История

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>10.0.0-SNAPSHOT</version>
</parent>
<artifactId>vitess-grpc-client</artifactId>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-core</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-context</artifactId>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-api</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-handler</artifactId>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
</dependency>
<dependency>
<groupId>io.vitess</groupId>
<artifactId>vitess-client</artifactId>
</dependency>
<dependency>
<groupId>io.vitess</groupId>
<artifactId>vitess-client</artifactId>
<type>test-jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
</dependency>
<dependency>
<groupId>io.opentracing.contrib</groupId>
<artifactId>opentracing-grpc</artifactId>
<version>0.0.12</version>
</dependency>
<!-- Dependencies with limited scope. -->
Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL (#2349) Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Trying unit tests with larger SSL key size Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increase CA cert size to 2048 bits Increase CA cert size to 2048 bits Disables basic TLS tests Re-enables but disables Somewhat decouples JDBC TLS unit tests Ensures that vtgateclienttest mocks terminate after each test suite Adds delay in unit tests to make sure VTGate has time to start and stop Adds logging of vtgateclienttest output Restores as a subclass of bugfix Reverts temporary changes Trying unit tests with larger SSL key size Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increase CA cert size to 2048 bits Increase CA cert size to 2048 bits Disables basic TLS tests Re-enables but disables Ensures that vtgateclienttest mocks terminate after each test suite Adds delay in unit tests to make sure VTGate has time to start and stop Restores as a subclass of bugfix Reverts temporary changes Cleanup after git squash Experimenting with removing sleeps from Experimenting with removing sleeps from and
2017-02-03 02:40:27 +03:00
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL (#2349) Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Adds support to VitessJDBCUrl for parsing optional parameter to enable SSL Adds remaining SSL-related optional parameters to JDBC URL strings Moves JDBC driver layer closer to passing TLS credentials to the gRPC client layer Hands off TLS from the Java/JDBC layer to the gRPC client layer Code review updates First cut at unit testing of SSL connection from gRPC layer to VTGate Not setting keyManager on gRPC client when client authentication is unused Adds TLS to client side of Grpc unit test Adds netty-tcnative to gRPC client classpath, and couple of bugfixes Fixes bugs... first successful test of SSL connection from client to vtgateclienttest mock. Adds unit test coverage for SSL connection with client authentication enabled. Updates 'grpc-all' and 'netty-tcnative' dependencies to latest versions Improves null-check and handling Adds optional argument to 'examples/local' scripts, to allow end-to-end testing of TLS connection to VTGate Builds optional 'fat JAR' of JDBC driver, for use in standalone situation such as DBeaver, SQuirreL, etc. Adds JavaDocs, and misc cleanup Temporarily ignores TLS unit tests, to diagnose issue with Travis CI Redirects IO from external OpenSSL processes to Travis CI console log Improves logging Temporarily disables SSL in TLS unit test Temporarily disables SSL in TLS unit test Restores disabled unit tests Testing Travis CI issues Travis testing Adds explicit delays to test race condition theory Travis testing Testing Travis Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Adds more logging Restores state prior to Travis CI testing Trying unit tests with larger SSL key size Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increase CA cert size to 2048 bits Increase CA cert size to 2048 bits Disables basic TLS tests Re-enables but disables Somewhat decouples JDBC TLS unit tests Ensures that vtgateclienttest mocks terminate after each test suite Adds delay in unit tests to make sure VTGate has time to start and stop Adds logging of vtgateclienttest output Restores as a subclass of bugfix Reverts temporary changes Trying unit tests with larger SSL key size Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increased logging to identify java.security settings Increase CA cert size to 2048 bits Increase CA cert size to 2048 bits Disables basic TLS tests Re-enables but disables Ensures that vtgateclienttest mocks terminate after each test suite Adds delay in unit tests to make sure VTGate has time to start and stop Restores as a subclass of bugfix Reverts temporary changes Cleanup after git squash Experimenting with removing sleeps from Experimenting with removing sleeps from and
2017-02-03 02:40:27 +03:00
</dependency>
</dependencies>
<build>
<extensions>
<extension>
<groupId>kr.motd.maven</groupId>
<artifactId>os-maven-plugin</artifactId>
<version>1.2.3.Final</version>
</extension>
</extensions>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<!-- <argLine>${surefireArgLine}</argLine> -->
<useManifestOnlyJar>false</useManifestOnlyJar>
<useSystemClassLoader>true</useSystemClassLoader>
</configuration>
</plugin>
<plugin>
<groupId>org.xolstice.maven.plugins</groupId>
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.6.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:${protobuf.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
<protoSourceRoot>../../proto</protoSourceRoot>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>compile-custom</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Exclusions for dependency:analyze: -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<usedDependencies>
<!-- If this is not imported, tests fail with "Jetty ALPN/NPN has not
been properly configured." -->
<usedDependency>io.netty:netty-tcnative-boringssl-static</usedDependency>
<usedDependency>javax.annotation:javax.annotation-api</usedDependency>
</usedDependencies>
</configuration>
</plugin>
</plugins>
</build>
</project>