Deeper support for custom AWS Lambda runtime

Adds an EnvironmentPostProcessor so the user ony has to set one
property (spring.cloud.function.web.export.enabled=true).
This commit is contained in:
Dave Syer
2019-02-28 09:56:17 -05:00
parent 8d834a7483
commit 138e1cf3c2
5 changed files with 73 additions and 15 deletions

View File

@@ -2,3 +2,5 @@ org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.cloud.function.adapter.aws.CustomRuntimeAutoConfiguration
org.springframework.context.ApplicationContextInitializer=\
org.springframework.cloud.function.adapter.aws.CustomRuntimeInitializer
org.springframework.boot.env.EnvironmentPostProcessor=\
org.springframework.cloud.function.adapter.aws.CustomRuntimeEnvironmentPostProcessor