JanssenProject / JanssenProject/jans

feat(jans-auth-server): coderabbit - external services can provide generic script method executor which returns boolean value.

Open
#12,661 0 comments 0 reactions 1 assignee Claimed by @yuriyz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.