engilyin commented on issue #6309: URL: https://github.com/apache/incubator-kie-drools/issues/6309#issuecomment-2809541867
> You can set a higher priority by overriding `servicePriority` method, please try. > > https://github.com/apache/incubator-kie-drools/blob/main/drools-ruleunits/drools-ruleunits-dsl/src/main/java/org/drools/ruleunits/dsl/RuleUnitProviderForDSL.java#L44-L47 Cool! Thank you very much! It works I have a toy project to play around with some basic solution based on modern Drools, drools starter and Spring Boot 3: https://github.com/engilyin/drools-spring-boot-3-sample/blob/main/src/main/java/com/engilyin/drools/providers/SpringBootRuleUnitProvider.java Is it possible to make `collectResourcesInJar` and/or ruleResourcesForUnitClass `protected`? It is `private` now and I actually have to copy paste most of the `RuleUnitProviderImpl`? Thanks P.S. why such a name? `RuleUnitProviderImpl` Is that considered as a naming anti-pattern? https://blog.octoperf.com/impl-classes-are-evil/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
