TJ-Bot
TJ-Bot copied to clipboard
1158: AWS version of JShell
Description
This PR introduces a new slash command /jshell-aws and it's accompanying infrastructure.
There are 2 parts:
Slash Command
The new /jshell-aws works by accepting 1 parameter code which is a snippet of Java code the user provides to be evaluated.
This command calls the API hosted on AWS and returns the result. At the moment, it's basic and does not compare to the existing /jshell command which has had much more thought put into handling user inputs and outputs.
JShell AWS API
A new module has been added to the project called jshell-aws-backend. This is the complete infrastructure and code for performing the JShell logic in a serverless AWS Lambda and contains the IaC as a CloudFormation template.
There is a GitHub action included in the PR which makes deployment a breeze.
#1158