Skip to content

elasticpath/osgi-error-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSGi Error Interpreter Lambda

Build

mvn clean install

Test Lambda locally

To run the Lambda locally without deploying to AWS, use these steps:

  1. Install the Serverless Framework’s Open Source CLI.
  2. Invoke the Lambda functions locally as follows:
    sls invoke local --function errorInterpreter --path samples/sample1.json --verbose
  3. To run the commands with remote debugging enabled, run the following before the sls invoke local command:
    export JAVA_TOOL_OPTIONS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 -Xnoagent -Djava.compiler=NONE"

Deploy to AWS

  1. Install the AWS Command Line Interface.
  2. Run aws configure and enter your AWS account details.
  3. Deploy the Lambda using sls deploy.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published