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

Feature/jshell #870

Merged
merged 9 commits into from
Aug 11, 2023
Merged

Feature/jshell #870

merged 9 commits into from
Aug 11, 2023

Conversation

Alathreon
Copy link
Contributor

@Alathreon Alathreon commented Aug 5, 2023

  • JShell feature added

  • Added option to get the snippets of another user

  • Refactored JShell eval into its own class

  • Changed RateLimiter so it's a global limiter and not a per user limiter + merged user and oneOffSession together

  • Added context action for running java code

  • Fixing sonar wranings for jshell

Config

The config was changed, the following has been introduced:

"jshell": {
    "baseUrl": "<put_jshell_rest_api_url_here>",
    "rateLimitWindowSeconds": 10,
    "rateLimitRequestsInWindow": 3
}

* JShell feature added

* Added option to get the snippets of another user

* Refactored JShell eval into its own class

* Changed RateLimiter so it's a global limiter and not a per user limiter + merged user and oneOffSession together

* Added context action for running java code

* Fixing sonar wranings for jshell
@Alathreon Alathreon requested review from a team as code owners August 5, 2023 16:31
@Alathreon Alathreon linked an issue Aug 5, 2023 that may be closed by this pull request
@Alathreon Alathreon changed the title Feature/jshell from fork (#869) Feature/jshell (#869) Aug 5, 2023
@Alathreon Alathreon changed the title Feature/jshell (#869) Feature/jshell Aug 5, 2023
@Zabuzard
Copy link
Member

Zabuzard commented Aug 8, 2023

please fix the sonar warnings as well, thanks

@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Alathreon Alathreon merged commit 03b1112 into develop Aug 11, 2023
9 checks passed
@Alathreon Alathreon deleted the feature/jshell branch August 11, 2023 11:56
@Zabuzard Zabuzard mentioned this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate JShell Bot
3 participants