This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-21
Channels
- # announcements (39)
- # architecture (7)
- # aws (9)
- # babashka (111)
- # beginners (139)
- # bristol-clojurians (1)
- # calva (47)
- # chlorine-clover (5)
- # cider (17)
- # clj-kondo (26)
- # clojars (25)
- # clojure (251)
- # clojure-berlin (1)
- # clojure-dev (5)
- # clojure-europe (22)
- # clojure-france (1)
- # clojure-hungary (6)
- # clojure-losangeles (8)
- # clojure-nl (18)
- # clojure-spec (3)
- # clojure-uk (68)
- # clojured (32)
- # clojurescript (32)
- # core-async (10)
- # core-typed (120)
- # cursive (8)
- # datascript (10)
- # datomic (11)
- # docker (2)
- # emacs (6)
- # figwheel-main (4)
- # fulcro (10)
- # graalvm (92)
- # hoplon (2)
- # instaparse (9)
- # jobs (3)
- # jobs-discuss (31)
- # joker (2)
- # kaocha (1)
- # lambdaisland (5)
- # leiningen (10)
- # luminus (1)
- # lumo (14)
- # meander (30)
- # mid-cities-meetup (1)
- # midje (1)
- # off-topic (46)
- # pathom (22)
- # perun (2)
- # re-frame (10)
- # reitit (1)
- # remote-jobs (8)
- # shadow-cljs (71)
- # spacemacs (7)
- # sql (40)
- # tools-deps (31)
- # tree-sitter (11)
- # vim (14)
- # vscode (2)
- # xtdb (5)
you might consider [... :where ... [(untuple ?period) [?starts ?ends]] ...]
I'm trying to run tests in github actions (just clojure -A:test
command) and it seems it doesn't find datomic jars (I have the s3 releases bucket as a repo)
My first guess would be missing aws credentials. You need to be authed to fetch from that repo.
In Datomic cloud, is it possible to do a dry run of a retractEntity. That is, have it return what it would retract but not actual do the retraction?
@m0smith use https://docs.datomic.com/client-api/datomic.client.api.html#var-with and with-db
datomic cloud question: We are attempting to set up a new cloudformation stack of an existing system (existing ions code, datomic schema, and data)
The stack is setup, schema is transacted and we're attempting to confirm that data is loaded. When executing a query via HTTP through API gateway an exception is thrown. It appears to happen on the invocation to datomic.client.api/connect
.
The relevant stack trace lines are:
[
"datomic.anomalies$throw_if_anom",
"invoke",
"anomalies.clj",
113
],
[
"datomic.client.impl.local.Client",
"connect",
"local.clj",
192
],
[
"datomic.client.api$connect",
"invokeStatic",
"api.clj",
133
],
and
"Cause": "Supplied AttributeValue is empty, must contain exactly one of the supported datatypes (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: JF41UQTURAKQ0ITO8LFP94LBEVVV4KQNSO5AEMVJF66Q9)"
}
}
},
"At": [
"datomic.anomalies$throw_if_anom",
"invokeStatic",
"anomalies.clj",
119
]
The config map supplied to connect
are read from amazon SSM parameters:
(defn cloud-db-config []
{:server-type :ion
:region (ssm/get-ssm-param "region")
:system (ssm/get-ssm-param "system")
:endpoint (ssm/get-db-endpoint)
:timeout (ssm/get-ssm-param "timeout")
:proxy-port 8182})
I believe these values are all present in SSM (I have to debug through an ops team member due to restricted environment access... so taking their word for it)
We confirmed that we can query the database from a REPL connection by passing a manually constructed db-config map.
I'm wondering if anyone has seem something like this before or if there is something obvious that I'm overlooking.