-
Notifications
You must be signed in to change notification settings - Fork 6
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
Allow task interruption in groovy scripts #129
Conversation
…+ tests Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
Signed-off-by: Nicolas Rol <[email protected]>
This PR will need a version of powsybl-core with powsybl/powsybl-core#2916 merged |
Signed-off-by: Olivier Perrin <[email protected]>
Signed-off-by: Olivier Perrin <[email protected]>
Signed-off-by: Olivier Perrin <[email protected]>
Quality Gate passedIssues Measures |
# Conflicts: # pom.xml
Quality Gate passedIssues Measures |
# Conflicts: # .github/workflows/maven.yml # pom.xml
metrix-integration/src/main/groovy/com/powsybl/metrix/integration/MetrixDslDataLoader.groovy
Show resolved
Hide resolved
…nt with TimeSeriesDslLoader Signed-off-by: Nicolas Rol <[email protected]>
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
* add ThreadInterrupt check in groovy loops and right before execution + tests Signed-off-by: Nicolas Rol <[email protected]> * fix issues Signed-off-by: Nicolas Rol <[email protected]> * fix issues Signed-off-by: Nicolas Rol <[email protected]> * fix checkstyle issues Signed-off-by: Nicolas Rol <[email protected]> * Use Abstract test from powsybl-core Signed-off-by: Nicolas Rol <[email protected]> * modif + test on MetrixDslDataLoader Signed-off-by: Nicolas Rol <[email protected]> * fix issue Signed-off-by: Nicolas Rol <[email protected]> * Adapt to AbstractTaskInterruptionTest changes Signed-off-by: Olivier Perrin <[email protected]> * Temporary build powsybl-core 'nro/groovy_interruption' branch Signed-off-by: Olivier Perrin <[email protected]> * move addCompilationCustomizers to createCompilerConfig to be consistent with TimeSeriesDslLoader Signed-off-by: Nicolas Rol <[email protected]> --------- Signed-off-by: Nicolas Rol <[email protected]> Signed-off-by: Olivier Perrin <[email protected]> Co-authored-by: Olivier Perrin <[email protected]> (cherry picked from commit 3b93069)
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Feature
What is the current behavior?
If a task is interrupted by a user, it's handled differently depending on whether the task contains a groovy script evaluation or not:
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?