Fork me on GitHub
#datomic
<
2021-11-11
>
Ivar Refsdal12:11:54

Datomic on prem peer question: Is there any way to access the tomcat JDBC datasource connection pool that Datomic creates? I want to do a select 1 for a connection as part of a health check endpoint. Thanks

jaret13:11:21

Hi Ivar, there is no api for manipulating storage directly. What problem are you trying to solve? We do have transactor health checks available: https://docs.datomic.com/on-prem/overview/transactor.html#health-check-endpoint

Ivar Refsdal15:11:58

I'm trying to add a /health endpoint for my peer on-prem application that checks if the database connection is OK

kkuehne17:11:36

Hi, there I'm getting some errors now when I'm trying to get the any Datomic dev-local dependency with the following message

error in process sentinel: Could not start nREPL server: Could not find artifact com.datomic:dev-local:jar:1.0.238 in central ()
Could not find artifact com.datomic:dev-local:jar:1.0.238 in clojars ()
We're using this for our CI and dev environments and Datomic-Cloud for production. Everything is set up locally and it worked before. Does anybody have similar problems currently?

Benjamin17:11:36

maybe fixed when you install dev-tools again? there is a script install in the zip archive

Alex Miller (Clojure team)17:11:46

That artifact is not in a public repo so you either need to install it (locally as suggested) or use your authenticated repo access

kkuehne17:11:43

Thanks, I'll try that.

Benjamin17:11:52

I can't do :find [?e ...] with the client api, is there an alternative that returns stuff in a collection instead a collection of collections?

Joe Lane17:11:23

(into #{} cat (do-the-q db))

👍 1
jdkealy23:11:17

Is there some setting in postgres or dynamo transactor settings that allows you to store your data in an unencrypted format... i.e. human-readable storage ?

favila23:11:23

It’s not encrypted, it’s gzipped fressian