Back
default-datasource-options (clj)
(source)variable
Examples
hikari-cp
(ns hikari-cp.core-test
(:require [hikari-cp.core :refer :all])
(:use expectations)
(:import (com.zaxxer.hikari.pool HikariPool$PoolInitializationException)
(com.codahale.metrics MetricRegistry)
(com.codahale.metrics.health HealthCheckRegistry)
(com.zaxxer.hikari.metrics.prometheus PrometheusMetricsTrackerFactory)))
(def datasource-config-with-required-settings
(datasource-config (apply dissoc valid-options (keys default-datasource-options))))
tomekw/hikari-cp
(ns hikari-cp.core-test
(:require [hikari-cp.core :refer :all])
(:use expectations)
(:import (com.zaxxer.hikari.pool HikariPool$PoolInitializationException)
(com.codahale.metrics MetricRegistry)
(com.codahale.metrics.health HealthCheckRegistry)
(com.zaxxer.hikari.metrics.prometheus PrometheusMetricsTrackerFactory)))
(def datasource-config-with-required-settings
(datasource-config (apply dissoc valid-options (keys default-datasource-options))))