apache / apache/dolphinscheduler
[Improvement][Create Workflow] The Java node in the workflow supports JShell as a run type.
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 5.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 29
Description
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
Using NORMAL_JAR or FAT_JAR is very powerful, but it can be a bit cumbersome at times. It would be great if we could support running a snippet of JShell code.
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
Start by locating the Java node implementation and the existing NORMAL_JAR and FAT_JAR run types, then inspect how their options are exposed and executed. Add JShell as a selectable run type that executes a code snippet, and verify the Java node's existing tests or workflow execution path covers the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100