Gh-709, GH-648 Add support for API v2 gateway event

This is lighter version of '3666bf73f707c7969d861e2a2545a3ac93d0c713' commit since it provides a version that supports v1 event as well
Basically if you have appropriate AWS library on the classpath then this version will support v2 event
Refactor and simplify AWSLambdaUtils to work with AWS serialization libraries
This commit is contained in:
Oleg Zhurakousky
2021-07-22 19:11:12 +02:00
parent 6a0e8a1337
commit 7f667a1067
2 changed files with 80 additions and 100 deletions

View File

@@ -50,6 +50,12 @@
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-serialization</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-log4j</artifactId>
@@ -59,7 +65,7 @@
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-lambda-java-core</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
<scope>provided</scope>
</dependency>
<dependency>