Restructure and simplify AWS Custom Runtime code

Add Custom Runtime emulator to simplify integration testing
This commit is contained in:
Oleg Zhurakousky
2021-10-20 17:52:52 +02:00
parent f7112d1ef5
commit 2addf5af7d
8 changed files with 316 additions and 274 deletions

View File

@@ -31,17 +31,6 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-context</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<!-- Spring Boot autoconfiguration needs this to be able to create a Jackson
ObjectMapper -->
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
@@ -100,6 +89,21 @@
<optional>true</optional>
<scope>provided</scope>
</dependency>
<dependency>
<!-- Spring Boot autoconfiguration needs this to be able to create a Jackson
ObjectMapper -->
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<optional>true</optional>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<optional>true</optional>
<!-- <scope>test</scope> -->
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>