This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-23
Channels
- # aws (4)
- # beginners (14)
- # boot (7)
- # cider (75)
- # clara (87)
- # cljsrn (6)
- # clojure (115)
- # clojure-berlin (2)
- # clojure-dusseldorf (2)
- # clojure-gamedev (8)
- # clojure-italy (15)
- # clojure-russia (9)
- # clojure-spec (46)
- # clojure-uk (195)
- # clojurescript (24)
- # css (44)
- # datascript (19)
- # datomic (18)
- # emacs (6)
- # fulcro (57)
- # hoplon (1)
- # jobs (3)
- # jobs-discuss (37)
- # jobs-rus (3)
- # luminus (6)
- # lumo (28)
- # off-topic (24)
- # onyx (11)
- # planck (8)
- # re-frame (31)
- # remote-jobs (12)
- # rum (10)
- # schema (4)
- # shadow-cljs (28)
- # specter (24)
- # sql (3)
- # tools-deps (34)
- # vim (43)
- # yada (10)
Question re: on-prem and datomic:ddb//
uris - is there a way to support STS-mediated IAM roles (e.g., access-key, secret-key, token) using Datomic on-prem, or does the role used by Datomic systems have to be attached to an IAM user with programmatic access?
I created a forum post about this question too, since that seems to be an emerging best practice: https://forum.datomic.com/t/dynamodb-datomic-ddb-connect-uri-and-aws-sts-roles-can-we-provide-the-token-for-a-keypair/436
You know what, I think the main issue here is an abject failure of reading comprehension on my part. I will report back in one (1) Docker build/deploy cycle time.
Yes - it was me misreading the docs and missing the line specifying that if you provide no aws_access_key
or aws_secret_key
in the URI, Datomic will fetch the credentials from the default chain, which works just fine. 😅
I'd like to be able to run tests against a clean database for code written for Datomic cloud. When running against the cloud instance I can create/delete databases as needed, but this doesn't seem possible when running a local peer server backed by the mem transactor. Is there a way to start/kill peer servers from code for test purposes?
It should be possible to create and delete databases willy-nilly with the mem://
transactor, our unit test suite does this kind of thing a lot
I don't think it's possible to dynamically change the dbs that a peer server is serving
Peer server can indeed run mem dbs. Giving it a mem db URI at startup will cause the peer server to create and serve that mem db
Right. How can I start/stop peer servers from code?
for the first problem (can't reload peer server's server list) maybe you can figure out how to start the peer server directly (likely it's just a clojure function) and make your own peer process with a "reload" or "change dbs" side channel
Hello datomic slack. I'm seeing some strange behavior with :db.type/bigint attributes and queries. The issue involves storing values as clojure.lang.BigInt and querying as java.math.BigInteger (using the 'q fn). In the memdb, I have to query the type that I gave. Using a sql storage backend, I must query using java.math.BigInteger regardless. Using the 'entity fn and an ident ref I can query using either type for any storage.