Re: [rules-users] BRMS 6 -Problem in web Guided editor Drop down selection
Click on the pencil icon and choose the value type (literal, formula etc). The red error indicator should then disappear. On 25 August 2014 20:14, rsureshbe rsures...@gmail.com wrote: We have bought BRMS 6 from JBOSS recently. Currently configuring an BRMS rules setup in DEV and INT, encountering an issue with web guided editor, we need your help in resolving the error. Issue is 1) I have data model jar contains Class A along with get/setter, created new web guided rule and when i try to configure rule conditions that currentVolume is greater than volume in BRL fragment popup(overlay) screen, in that Edit button not opening, showing some constraint error. Attached the screen-print. Class A private BigDecimal volume; private BigDecimal currentVolmue; private BigDecimal totalVolume; http://drools.46999.n3.nabble.com/file/n4030716/WebGuide_error.jpg -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Problem-in-web-Guided-editor-Drop-down-selection-tp4030714p4030716.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] BRMS 6 Access Permissions Configuration - Not Restricting Custom Roles
Roles assigned to repositories or OUs are on top of the application roles (admin, user, developer, analyst, etc) so to be able to logon to kie-wb you’ll need to have one of the application roles and then roles specific to repository and/or OU. There is a mechanism to map different application roles but they are global to installation of kie-wb meaning that whenever you change it it will apply to all OUs and repositories on given instance of kie-wb. So to make it to work make sure that your users are assigned to one or more application roles (admin, user, developer, analyst) and it should work just fine. Maciej On 24 sie 2014, at 07:52, Zahid Ahmed zahid.ah...@emirates.com wrote: HI Alex, The issue is still not resolved. And my real problem is how to associate my custom roles to permissions (Kindly refer to below example and attachment in last reply.) I have created custom roles and assigned those roles to user in user manament db. Then I assigned the new custom roles to the Organizational Units (OUs), one OU per project. Kindly see attachment for clarification. And I created following custom roles *Project A and OU A* *Custom Role: Permission* cs_A_admin Can Create, Can deploy, Can delete, Can view cs_A_developer Can Create, Can delete, Can View, Can Update cs_A_analystCan Create, Can View, Can Update cs_A_business Can View *Project B and OU B* *Custom Role: Permission* cs_B_admin Can Create, Can deploy, Can delete, Can view cs_B_developer Can Create, Can delete, Can View, Can Update cs_B_analystCan Create, Can View, Can Update cs_B_business Can View My question is where to map role and permissions ? where to do these configurations. CLI tool help does not say anything about this. *Custom Role: Permission* cs_admin Can Create, Can deploy, Can delete, Can view cs_developer Can Create, Can delete, Can View, Can Update cs_analystCan Create, Can View, Can Update cs_business Can View Authorization_Issue_2.png http://drools.46999.n3.nabble.com/file/n4030691/Authorization_Issue_2.png -- View this message in context: http://drools.46999.n3.nabble.com/BRMS-6-Access-Permissions-Configuration-Not-Restricting-Custom-Roles-tp4030679p4030691.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] NPE in LeftTupleSetsImpl.removeUpdate
Hi David, sorry but it's impossible for us to figure out what's going wrong in your case just looking at the stack trace you sent. Have you been able to consistently reproduce this problem? If so could you open a ticket on jira and share your reproducer there? Thanks, Mario -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-NPE-in-LeftTupleSetsImpl-removeUpdate-tp4030544p4030724.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools Fusion (CEP) event life cycle
I think that if you want the automatic event lifecycle management to delete your events, you first need to notify the engine when an event is old enough to realise it should be removed. This has to be managed adding the @expires annotation to the event declaration: declare Notification @role( event ) @expires ( 1h45m ) end That will let the engine know it should remove the event from the working memory (if no rule needs it) after an hour and 45 minutes. Please check the doc about @expires in the following link: http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/#d0e10478 http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/#d0e10478 Cheers, -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030725.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools Fusion (CEP) event life cycle
Hello. Indeed, I have tested with the @expires and the objects are discarded in this case. What I had understood in the documentation is precisely the other way that the engine is expected to control the events expiration : Inferred Expiration (8.8.2), when no temporal constraint involves the objects, they are discarded. This seems the best way to be sure to eliminate as soon as possible all the useless objects, whatever their life time. This is particularly important with flows of thousands of events per second. Perhaps I don't understand this well... Another idea or advice ? Thanks for your help. Regards. Ephemeris Lappis Le 27/08/2014 15:30, marianbuenosayres [via Drools] a écrit : I think that if you want the automatic event lifecycle management to delete your events, you first need to notify the engine when an event is old enough to realise it should be removed. This has to be managed adding the @expires annotation to the event declaration: declare Notification @role( event ) @expires ( 1h45m ) end That will let the engine know it should remove the event from the working memory (if no rule needs it) after an hour and 45 minutes. Please check the doc about @expires in the following link: http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html_single/#d0e10478 Cheers, If you reply to this email, your message will be added to the discussion below: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030725.html To unsubscribe from Drools Fusion (CEP) event life cycle, click here http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4030471code=ZXBoZW1lcmlzLmxhcHBpc0BnbWFpbC5jb218NDAzMDQ3MXw0OTQyMjM2NDI=. NAML http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030726.html Sent from the Drools: User forum mailing list archive at Nabble.com.___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools Fusion (CEP) event life cycle
Hello. Indeed, I have tested with the @expires and the objects are discarded in this case. What I had understood in the documentation is precisely the other way that the engine is expected to control the events expiration : Inferred Expiration (8.8.2), when no temporal constraint involves the objects, they are discarded. This seems the best way to be sure to eliminate as soon as possible all the useless objects, whatever their life time. This is particularly important with flows of thousands of events per second. Perhaps I don't understand this well... Another idea or advice ? Thanks for your help. Regards. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Fusion-CEP-event-life-cycle-tp4030471p4030727.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users