Sam
09/18/2019, 1:46 PMSam
09/18/2019, 3:48 PMkotless
homeless
10/17/2019, 1:04 PMneil
12/06/2019, 9:52 AMannyce
12/27/2019, 6:38 PMktor-locations
feature is not supported. Changed the code to use the default post method and the method was detected.annyce
12/27/2019, 6:46 PM<https://api.ktor-kotless-ufo.info/>
or the the graphql endpoint. Any ideas are appreciated. But I'll just keep trying in the meantime. Thanksv79
01/02/2020, 10:55 AMSkipping task ':classes' as it has no actions.
:classes (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:shadowJar (Thread[Daemon worker,5,main]) started.
> Task :shadowJar UP-TO-DATE
Skipping task ':shadowJar' as it is up-to-date.
:shadowJar (Thread[Daemon worker,5,main]) completed. Took 0.021 secs.
:initialize (Thread[Daemon worker,5,main]) started.
The system cannot find the path specified.
> Task :initialize
Task ':initialize' is not up-to-date because:
Task.upToDateWhen is false.
:initialize (Thread[Daemon worker,5,main]) completed. Took 0.103 secs.
:deploy (Thread[Daemon worker,5,main]) started.
The system cannot find the path specified.
> Task :deploy
Task ':deploy' is not up-to-date because:
Task.upToDateWhen is false.
:deploy (Thread[Daemon worker,5,main]) completed. Took 0.037 secs.
BUILD SUCCESSFUL in 6s
So the failure is in the "deploy" block. Do I need to tell gradle where the `aws`and `sam`applications are installed?v79
01/03/2020, 8:52 PMTanVD
01/04/2020, 10:53 PMhymnfortheweekend
01/18/2020, 8:35 AMMartin Wenisch
02/05/2020, 10:17 AMvpc_config
setting in my resource "aws_lambda_function" "merged_0"
.
Right now I'm solving it by using <http://override.tf|override.tf>
file for deployment (which limits me to MergeLambda.All
).
Is there better way how to integrate Lambdas into VPC?
Also, I wonder if there is interest for PR with vpc_config
integrated into LambdaFunction
and LambdaFactory
as it might be worth solving it by custom patch.
Thank you.TanVD
04/15/2020, 9:38 PMgumil
04/24/2020, 10:05 PM> Can't get Docker image: RemoteDockerImage(imageName=localstack/localstack:0.9.4)
I am not sure what to do next. I only followed the official documentationTanVD
05/24/2020, 3:12 PMMattlangsenkamp
06/16/2020, 5:02 AMMattlangsenkamp
06/18/2020, 4:58 AM@DynamoDBTable(tableName, PermissionLevel.ReadWrite)
to the object that has the client object is there anything else I need to do on the aws side? ikeep getting a :assumed-role/graphql-post/graphql-post is not authorized to perform: dynamodb:Scan on resource
errorgumil
06/18/2020, 7:10 PM@Post
usin kotless dsl?gumil
06/19/2020, 3:24 PMgumil
06/19/2020, 6:26 PMTanVD
06/23/2020, 10:02 PMMattlangsenkamp
06/28/2020, 7:59 PMMattlangsenkamp
07/08/2020, 5:47 PMLeoColman
07/19/2020, 3:58 AMwithTestApplication {
handleRequest(Get, "/xx").response.content shouldContain "yyy"
}
doesn't seem to work for
class Server : Kotless() {
override fun prepare(app: Application) {
app.routing {
static("/") {
resource("/xx", "yy.html")
}
}
}
}
What am I missing?LeoColman
07/19/2020, 5:25 PMLeoColman
07/19/2020, 10:30 PMChristophe Smet
07/23/2020, 6:53 PM./gradlew local
works perfect, but i launches a new docker instance every time. How can I deploy something locally again without new docker instances?Mattlangsenkamp
07/31/2020, 10:08 PMTanVD
08/25/2020, 10:14 AM# 0.1.6 - 2020-08-25
## Added
* Support for different runtimes: Java 8 and Java 11
## Changed
* Migrate to Terraform 12 by default
## Fixed
* Problem with LocalStack not stopping after a run
dector
08/27/2020, 6:21 PMpathParameters
map in Request
. But I can't see in sources if it's filled by some data.
(https://github.com/JetBrains/kotless/blob/ae3b2248103a9eef32fb2242c6b78ab2bb54b11f/dsl/common/lang-common/src/main/kotlin/io/kotless/dsl/model/HTTP.kt#L18)
I guess defining path parameters is not possible for now (e.g. like in ktor's routing /greet/{user}
). Or am I missing something?sikri
08/30/2020, 1:38 PMsikri
08/30/2020, 1:38 PMTanVD
08/30/2020, 2:02 PMsikri
08/30/2020, 2:09 PMTanVD
08/30/2020, 2:42 PMsikri
08/30/2020, 6:25 PMrouting {
// koin
get<GetAllUsersEndpoint>().invoke(this)
}
class GetAllUsersEndpoint(
private val usecase: Usecase
) : (Route) -> Route {
fun invoke(route: Route) = route.get("allUsers") {
.... //logic
}
}
but I assume kotless’ ktor parser expect for routes and endpoints do be ALWAYS declared in a body of “routing”
due to the fact that it is for small serverless lambdas, it is not a problem, but imo it should be mentioned anywhere that routes and endpoints SHOULD be declared in routing
DSLTanVD
08/30/2020, 6:35 PMRouting
context. Could you please file an issue?