No description, website, or topics provided.
Latest commit 499661b Oct 7, 2018


Vert.x MySQL PostgreSQL client

Build Status

This Vert.x client uses the Mauricio Linhares driver to support a fully async client for MySQL and PostgreSQL.

Please see the in source asciidoc documentation or the main documentation on the web-site for a full description:

Running test suite with Docker

The test suite is based on testcontainers and will spawn separate instances for the different tests.

Running test with Docker requires enabling the profile as Docker isn’t available on Cloudbees: mvn clean install -Ddocker

(Deprecated) Running test suite on CkoudBees (this is only here for historic docs to help transition to Travis)

Setting up test databases with Docker:

docker run --rm --name vertx-postgres -e POSTGRES_USER=vertx -e POSTGRES_PASSWORD=password -e POSTGRES_DB=testdb -p 5432:5432 postgres
docker run --rm --name vertx-postgres-ssl -p 54321:5432 \
  -e POSTGRES_USER=vertx \
  -e POSTGRES_PASSWORD=password \
  -e POSTGRES_DB=testdb \
  -v $(pwd)/src/test/resources/ssl-docker/server.crt:/docker-entrypoint-initdb.d/server.crt \
  -v $(pwd)/src/test/resources/ssl-docker/server.key:/docker-entrypoint-initdb.d/server.key \
  -v $(pwd)/src/test/resources/ssl-docker/ \
If you’re working with Fedora, CentOS or RHEL and have selinux enabled, you need to add :z to the volume options. Otherwise Postgres won’t be able to read the SSL setup files. For more details, read Using Volumes with Docker can Cause Problems with SELinux.
docker run --rm --name vertx-mysql -e MYSQL_ROOT_PASSWORD=password -e MYSQL_USER=vertx -e MYSQL_PASSWORD=password -e MYSQL_DATABASE=testdb -p 3306:3306 mysql/mysql-server:5.6