micronaut-aws icon indicating copy to clipboard operation
micronaut-aws copied to clipboard

Support Kinesis/SNS/S3/Cognito/DynamoDB functions in Micronaut Java and Groovy

Open graemerocher opened this issue 7 years ago • 5 comments

We should support Kinesis/SNS/S3/Cognito/DynamoDB functions in Micronaut

graemerocher avatar May 31 '18 13:05 graemerocher

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?)???

rvanderwerf avatar Jun 06 '18 15:06 rvanderwerf

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

rvanderwerf avatar Jun 06 '18 15:06 rvanderwerf

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)

zhangsantu avatar Jun 07 '18 03:06 zhangsantu

actually, I'm currently working on rewriting https://github.com/agorapulse/grails-aws-sdk for Micronaut

musketyr avatar Nov 26 '18 12:11 musketyr

I can see this is very old one but the support is already here

https://agorapulse.github.io/micronaut-aws-sdk/

musketyr avatar Oct 06 '21 16:10 musketyr