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 ?
I did a demo at a local dev meetup, using specql to query an RDS database from lambda
https://github.com/tatut/oulu-dev-meetup/blob/master/src/livecloud/polls.clj
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
thanks guys!
@qqq it's still pretty alpha material.
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
one can still have other routes in api gateway, the most specific for a method wins
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
Once ring support lands, isn't mount
a gimmick?