Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.72 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.72 KB

GEOLabel Lambda

TODO: document

See https://github.com/nuest/aws-lambda-kvp-minimal-java

With handler function

Use own simple handler function, see module /lambda

The file lambda/target/glblambda.jar is a "fat jar" created with maven-shade-plugin that can be deployed as an AWS Lambda function.

The Handler is the function org.n52.geolabel.lambda.Hello::myHandler.

With Jersey

Note: This approach is not feasible, because of version conflicts between old libraries used in the GEO Label service and newer Glassfisch libraries. If the GEO-label-java code was to be updated, this could work. The approach is still part of the codebase.

Files:

mvn notice:generate -P lambda-jar
mvn clean package -P lambda-jar