You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "bouzasvas (via GitHub)" <gi...@apache.org> on 2025/02/06 14:10:58 UTC

[I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

bouzasvas opened a new issue, #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806

   Hello all,
   
   We are processing the migration of our DMN Services from RHPAM Decisions to BAMOE Decisions using quarkus.
   
   We have implemented a custom FEEL Profile which provides as custom FEEL functions that are being used in our DMN Models.
   In order to achieve this we are using the property org.kie.dmn.profiles.<profile_name>=<FQDN of our profile class> as it is documented in the below screenshot:
   
   ![Image](https://github.com/user-attachments/assets/262d4e77-8e2e-46f9-b573-7be7961a75cc)
   
   Is there any way we can achieve the same using BAMOE DMN Decisions in Quarkus?
   
   Thank you,
   V. Bouzas


-- 
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: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2653170462

   Hi @bouzasvas 
   The feature has been merged.
   Please, share whatever issue or findings you may have using it.
   
   Cheers
   
   Gabriele


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in DMN Decisions [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2642678817

   The scope of this ticket is to restore the functionality with the following behavior:
   
   1.     declare the profile name and the mapped class in the application.properties.file e.g.
        `org.kie.dmn.profiles.signavio=org.kie.dmn.signavio.KieDMNSignavioProfile`
   2.     provide the actual implementation of the profile, either directly in the kogito app, or inherited by some dependency
   


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640179525

   Hello @yesamer,
   
   From my understanding BAMOE internally uses Apache KIE Libraries and Kogito implementation logic and that's the reason I post it here.
   
   Thanks for the clarification although.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer closed issue #1806: Register custom FEEL Profile in BAMOE DMN Decisions
URL: https://github.com/apache/incubator-kie-issues/issues/1806


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640324725

   @yesamer Thank you very much! Appreciate it.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640194498

   @bouzasvas Yes you're right, you can open the ticket here but please remove any reference to IBM or BAMOE. The same question is valid when asking for Apache KIE and Kogito as product references.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640058785

   Hi @bouzasvas, this space is for Apache KIE inquiries only, please use the dedicated space for other product requests.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in BAMOE DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640199807

   Ok, thanks for letting me know.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio closed issue #1806: Register custom DMN Profile in DMN Decisions
URL: https://github.com/apache/incubator-kie-issues/issues/1806


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2647482365

   Hi,
   as first iteration,  we'll only provide declaration using properties inside application.properties file.
   And, the custom profile should be inherited from some external dependency.
   
   Reason for such limitations is that the implementation has to be done inside code-generation, and we need to proceed with small steps to avoid introducing too big or potentially breaking changes.
   Same goes true for CDI injection, since we have to deal with two frameworks.
   
   @baldimir @yesamer  FYI
   
   Best
   
   


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2653931236

   Hello @gitgabrio ,
   
   Regarding the DMNProfile registration using DI I think it's just a nice to have feature.
   
   But, I am very concerned about KIE Sandbox.. We have a request from our business users to implement the Business Rules by themselves, so the DMN Validation etc. should be working from the WEB UI regarding custom profiles.
   
   Thank you,
   V. Bouzas


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "gitgabrio (via GitHub)" <gi...@apache.org>.
gitgabrio commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2653760574

   Hi @bouzasvas 
   being the application completely code-generated, something that would come out of the box in a normal one, prove to be tricky to implement.
   We have a similar request in a different area of our codebase, and we are studying it.
   The usage from kie sandbox would be even harder, since it relies on the jitexecutor.


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2653620033

   Hello @gitgabrio ,
   
   Thanks for letting me know. 
   
   I created a sample project and registrered DMNProfile through application.properties configuration file. It worked like a charm!
   
   Although some considerations for the future:
   
   1. It seems like the new implementation of KIE Decisions is getting away from properties and utilizes Quarkus (or SpringBoot) DI. So, would it be possible to register the DMNProfile by injecting a bean which `implements org.kie.dmn.core.compiler.DMNProfile` ?
   2. What about KIE Extended Services microsevice? Would it be possible for our DMN Model with custom DMNProfile to validate through KIE Sandbox etc. ?
   
   Thank you,
    V. Bouzas


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom FEEL Profile in DMN Decisions [incubator-kie-issues]

Posted by "yesamer (via GitHub)" <gi...@apache.org>.
yesamer commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2640202435

   @bouzasvas I fixed the ticket description and title. Now it's fine 


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] Register custom DMN Profile in DMN Decisions [incubator-kie-issues]

Posted by "bouzasvas (via GitHub)" <gi...@apache.org>.
bouzasvas commented on issue #1806:
URL: https://github.com/apache/incubator-kie-issues/issues/1806#issuecomment-2647465060

   > The scope of this ticket is to restore the functionality with the following behavior:
   > 
   > 1. ```
   >    declare the profile name and the mapped class in the application.properties.file e.g.
   >    ```
   >    
   >    
   >        
   >          
   >        
   >    
   >          
   >        
   >    
   >        
   >      
   >    `org.kie.dmn.profiles.signavio=org.kie.dmn.signavio.KieDMNSignavioProfile`
   > 2. ```
   >    provide the actual implementation  by some dependency
   >    ```
   
   Hello again to everyone!
   
   Also, it would be nice if we can utilize the auto-injection capabilities of quarkus in order to apply the DMNProfile using one of the following:
   
   1. Using system property (as you already mentioned)
   2. Using `@ApplicationScoped` injection with the custom `DMNProfile` implementation.
   
   Thank you,
   V. Bouzas


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org