This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-04
Channels
- # babashka (17)
- # beginners (82)
- # calva (42)
- # clj-commons (9)
- # cljdoc (2)
- # cljsrn (3)
- # clojure (142)
- # clojure-europe (12)
- # clojure-nl (1)
- # clojure-sg (1)
- # clojure-uk (14)
- # clojurescript (22)
- # community-development (3)
- # cryogen (12)
- # cursive (15)
- # data-science (13)
- # datomic (11)
- # deps-new (8)
- # emacs (3)
- # fulcro (31)
- # gratitude (7)
- # holy-lambda (8)
- # honeysql (6)
- # introduce-yourself (1)
- # jackdaw (11)
- # jobs-discuss (7)
- # kaocha (1)
- # malli (8)
- # other-languages (9)
- # pathom (14)
- # pedestal (1)
- # polylith (3)
- # portal (12)
- # re-frame (3)
- # react (3)
- # reagent (4)
- # releases (3)
- # reveal (7)
- # ring (11)
- # shadow-cljs (17)
- # specter (3)
- # sql (1)
- # timbre (2)
- # tools-deps (122)
- # xtdb (18)
clojure -X:new :template holy-lambda :name com.company/example-lambda :output holy-lambda-example
I created the example project.
What I do not get is how to produce .holy-lambda/build/latest.zip
bb hl:compile
makes output.jar
also for what are the native-agents-payloads in the example project?
You have to run: bb hl:native:executable
https://fierycod.github.io/holy-lambda/#/cli
Regarding the agent payloads https://fierycod.github.io/holy-lambda/#/native-backend
btw how do I figure out what is wrong when I get
{
"message": "Internal server error"
}
I'm trying to setup a lambda RestApi
const handler = new lambda.Function(this, "HLCDKExampleLambda", {
runtime: lambda.Runtime.PROVIDED,
code: lambda.Code.fromAsset('../lambdas/jira-status/.holy-lambda/build/output.jar'),
handler: "org.singularity-group.jira-status.core.ExampleLambda",
});
const api = new apigateway.RestApi(this, "support-bot-jira-status", {
restApiName: "Support Bot Jira Status Webhook",
description: "Send message to discord channels when ticket status changes."
});
const SayHelloMethod = new apigateway.LambdaIntegration(handler);
api.root.addMethod("POST", SayHelloMethod);
api.root.addMethod("GET", SayHelloMethod);
like this atm
edit
code: lambda.Code.fromAsset('../lambdas/jira-status/.holy-lambda/build/latest.zip'),
Check the logs.
I mean where do you get this message? In local environment or on AWS?
If on AWS you should definitely check cloudwatch logs
1. Could you also show the source of your Lambda? 2. Was the native compilation successful?