GH-630, GH-530 Additional improvements in AWS Custom Runtime
Ensured we have Custom Runtime examples for functional and '@Bean' style Improve AWSLambdaUtils to ensure it works without APIGatewayProxyRequestEvent on classpath
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
spring.cloud.function.web.export.enabled=true
|
||||
spring.cloud.function.web.export.debug=true
|
||||
#spring.cloud.function.web.export.enabled=true
|
||||
#spring.cloud.function.web.export.debug=true
|
||||
spring.main.web-application-type=none
|
||||
logging.level.org.springframework.cloud=DEBUG
|
||||
@@ -18,6 +18,7 @@ package com.example;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.awaitility.Awaitility;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.testcontainers.containers.GenericContainer;
|
||||
import org.testcontainers.containers.output.ToStringConsumer;
|
||||
@@ -35,6 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
public class ContainerTests {
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
void test() throws Exception {
|
||||
ToStringConsumer consumer = new ToStringConsumer();
|
||||
try (@SuppressWarnings("resource")
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.example;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.cloud.function.context.test.FunctionalSpringBootTest;
|
||||
|
||||
@FunctionalSpringBootTest
|
||||
public class LambdaApplicationTests {
|
||||
|
||||
@Test
|
||||
public void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user