-
Notifications
You must be signed in to change notification settings - Fork 123
Db routing rules #772
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
base: main
Are you sure you want to change the base?
Db routing rules #772
Conversation
Add API methods for creating and deleting rules.
| INSERT INTO routing_rules (name, description, priority, conditionExpression, actions, routingRuleEngine) | ||
| VALUES (:name, :description, :priority, :condition, :actions, :routingRuleEngine) | ||
| """) | ||
| void createNoListSupport(String name, String description, Integer priority, String condition, String actions, RoutingRuleEngine routingRuleEngine); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a difference in the create and the createNoListSupport.
Similarly, the update and the updateNoListSupport seems to be identical as well.
What's the purpose of these two methods being distinct?
|
|
||
| @SqlQuery("SELECT * FROM routing_rules") | ||
| @UseRowMapper(RoutingRulesStringToListMapper.class) | ||
| List<RoutingRule> getAllNoListSupport(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this distinct from the getAll() method on line 33?
Description
Continuation of work from #635. .. for now just created new PR to preserve the work from @willmostly .. no idea when I will be able to proceed here .. potentially others can also use this as base
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required, with the following suggested text:
* Fix some things.