This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-25
Channels
- # aleph (15)
- # beginners (65)
- # boot (46)
- # chestnut (3)
- # cider (1)
- # clara (11)
- # cljs-dev (5)
- # cljsjs (4)
- # cljsrn (13)
- # clojure (180)
- # clojure-dev (2)
- # clojure-italy (10)
- # clojure-russia (62)
- # clojure-spec (6)
- # clojure-uk (85)
- # clojurescript (45)
- # community-development (11)
- # crypto (3)
- # cursive (10)
- # datomic (94)
- # defnpodcast (2)
- # fulcro (4)
- # heroku (1)
- # hoplon (4)
- # jobs (3)
- # juxt (10)
- # leiningen (1)
- # luminus (4)
- # mount (13)
- # music (1)
- # off-topic (10)
- # onyx (2)
- # portkey (15)
- # proton (2)
- # re-frame (16)
- # reagent (10)
- # shadow-cljs (194)
- # spacemacs (2)
- # specter (2)
I'm looking for sample code to read/write data from AuroraDB with Lambda. Is there anything besides https://github.com/portkey-cloud/portkey/blob/master/test/portkey/core_test.clj#L163-L192 ?
a very crude example of using a jdbc connection pool found here too: https://github.com/viesti/poll/blob/master/src/poll/core.clj
you can pass Lambda environment variables with :environment-variables
key also: https://github.com/viesti/poll/blob/master/dev/dev.clj#L8-L10
@cgrand, @tatut, @viesti: thanks for all the links, this kills all my excuses for not switching from beanstalk to lambda+portkey
use of it is still welcome, just to say that on the bleeding edge there will be cuts :)
knowing that I've had some, but still have enjoyed the trip, as the readme says, can give nausea :)
was looking at ring handler support, figured out yesterday that to support mount to / (root), a {proxy+} path (path with pattern variable named "proxy") isn't enough, need to have a ANY method as well on /, so two routes
on the verge of copying what is in here to make a pk/mount-ring-adapter
: https://github.com/jpb/ring-aws-lambda-adapter/blob/master/src/ring_aws_lambda_adapter/core.clj