JanssenProject / JanssenProject/jans
feat(jans-auth-server): coderabbit - external services can provide generic script method executor which returns boolean value.
Open
comp-jans-auth-server
kind-feature
- Dominant language
- Java
- Stars
- 648
- Forks
- 174
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 110
Description
### Description
coderabbitai suggests to introduce generic script method executor which will help to reduce code.
It makes sense because many our methods follow same logic:
1. wrapped in try/catch
2. log entry and exit
3. throw web app exception if it's set
The only difference between them is input parameters and output.
### Test cases and code coverage
- [ ] Write unit test to cover added/changed code
- [ ] Update integration tests to cover added/changed code
- [ ] Documentation
Contributor guide
Assessment
This issue has not been assessed yet.