libraryDependencies += "com.slamdata" %% "quasar-datasource-mongo" % <version>Configuration
{ "connectionString": <CONNECTION_STRING>,
"batchSize": Int,
"pushdownLevel": <"disabled"|"light"|"full">,
"tunnelConfig": {
host: String,
port: Int,
pass: <PASS>
}
}
// PASS
{ "password": String } | { "key": String, "passphrase": String }connectionStringmust conform Connection String FormattunnelConfigis optionalpass.keyis content of private key file for ssh tunneling.
The simplest way to test is using Nix system and run subset of .travis.yml:
$> docker run -d -p 127.0.0.1:27018:27017 --name mongodb -e MONGODB_ROOT_PASSWORD=secret bitnami/mongodb:4.1.4
$> docker-compose up -dThe second command starts two containers:
- sshd with
root:rootwith22222ssh port - mongo aliased as
mngfor sshd container.
(Unfortunately docker-compose doesn't work on Windows for me @cryogenian 29.04.2019)