diff --git a/pom.xml b/pom.xml index be694d3..4d10942 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ com.milmove.trdmlambda trdm-lambda - 0.2.3 + 0.2.3.1 trdm java spring interface Project for deploying a Java RESTful interface for SOAP requests to TRDM. diff --git a/src/main/java/com/milmove/trdmlambda/milmove/StreamLambdaHandler.java b/src/main/java/com/milmove/trdmlambda/milmove/StreamLambdaHandler.java index 83a03ef..3c52d82 100644 --- a/src/main/java/com/milmove/trdmlambda/milmove/StreamLambdaHandler.java +++ b/src/main/java/com/milmove/trdmlambda/milmove/StreamLambdaHandler.java @@ -4,6 +4,8 @@ import java.io.InputStream; import java.io.OutputStream; +import org.springframework.beans.factory.annotation.Autowired; + import com.amazonaws.serverless.exceptions.ContainerInitializationException; import com.amazonaws.serverless.proxy.model.AwsProxyRequest; import com.amazonaws.serverless.proxy.model.AwsProxyResponse; @@ -12,6 +14,7 @@ import com.amazonaws.services.lambda.runtime.RequestStreamHandler; public class StreamLambdaHandler implements RequestStreamHandler { + @Autowired private static SpringBootLambdaContainerHandler handler; static { try {