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

Support for scripting interface #107

Open
veggiesaurus opened this issue Jan 11, 2022 · 0 comments
Open

Support for scripting interface #107

veggiesaurus opened this issue Jan 11, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@veggiesaurus
Copy link
Collaborator

veggiesaurus commented Jan 11, 2022

The scripting interface is getting migrated from gRPC to simple HTTP (CARTAvis/carta-backend#952). Once @confluence has finished this, we can start adding support for scripting to the controller. The following capabilities are required:

  • Allow users to enable or disable scripting. This will determine whether the --enable_scripting flag is passed to their carta_backend process on startup.
  • Allow users to generate and revoke API tokens. I think this should behave in a similar manner to the GitHub token page. Users can give tokens a name and choose a token lifetime (30 mins, 3 h, 1 day, etc). Users can also revoke existing tokens and see when they were last used.
  • Handle incoming HTTP requests to /api/scripting/* and only proxy those requests with a valid token. This will be done in Proof-of-concept scripting support #109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Icebox
Development

No branches or pull requests

1 participant