Open graemerocher opened 6 years ago
should I break these out into tasks for each one? Alexa - needs RequestEnvelope/ResponseEnvelope signature - moved to micronaut-projects/micronaut-core#268 Kenesis - needs signature with KinesisEvent S3 - needs signature with S3Event SNS - needs signature with SNSEvent Cognito - needs signature to handle class CognitoEvent DynamoDB - DynamodbEvent
I have some examples from the Grails & AWS talk here: https://github.com/rvanderwerf/kinesisLambdaConsumerDemo.git
Basically we need to support the events covered in aws-lambda-java-events
amazon docs: https://docs.aws.amazon.com/lambda/latest/dg/java-programming-model.html https://docs.aws.amazon.com/lambda/latest/dg/java-programming-model-req-resp.html
Maybe we can make one FunctionTransform and FunctionScript and executor class for most of them (at least non-alexa ones) and use an annotation or smomething like @SNSFunction or @KenesisFunction, @CognitoFunction that sets up the right signatures and runs them (Or just Having a keyword in the function name?)???
going to break this out into 2 tickets I think I have another for alexa anyways I opened. The issue for the Alexa Lambda stuff is micronaut-projects/micronaut-core#268
hi: this is problem,give me some demo! thanks! ERROR io.micronaut.http.server.netty.RoutingInBoundHandler - Unexpected error occurred: No transaction manager configured org.springframework.transaction.TransactionSystemException: No transaction manager configured at io.micronaut.spring.tx.annotation.TransactionInterceptor.resolveTransactionManager(TransactionInterceptor.java:119) at io.micronaut.spring.tx.annotation.TransactionInterceptor.intercept(TransactionInterceptor.java:63)
actually, I'm currently working on rewriting https://github.com/agorapulse/grails-aws-sdk for Micronaut
I can see this is very old one but the support is already here
We should support Kinesis/SNS/S3/Cognito/DynamoDB functions in Micronaut