Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aerie Action Server #1634

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Aerie Action Server #1634

wants to merge 6 commits into from

Conversation

goetzrrGit
Copy link
Contributor

Description

Aerie Action Server is a new Aerie Core service. This will be handling User Actions Logic currently be designed. This is a basic server atm with unit test hooked up.

Verification

Just make sure the service starts up when you start aerie via docker

Documentation

Future work

Hook up a way to execute js code written by the user via the endpoint

- Added prettier
- Added eslint (eslint-sheriif)
- Action Server builds alongside the rest of the aerie core when using gradlew

- This will include the Action server as an Aerie core service and launches with the rest of aerie for development and production
- pass parameter, setting, and bearer token to the runner
- Pass global to the vm
- Hook up error.cause
const context = vm.createContext(aerieGlobal)

try{
vm.runInContext(code, context);

Check failure

Code scanning / CodeQL

Code injection Critical

This code execution depends on a
user-provided value
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

1 participant