Re: [rules-users] Change rules dielect to java through java program(rest api)
Hai In my application i am not using drools ui. How to change the dialect from 'mvel' to java through REST API. -- View this message in context: http://drools.46999.n3.nabble.com/Change-rules-dielect-to-java-through-java-program-rest-api-tp4026837p4026844.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] validation and view source for business rule in stand alone
Hai After Embedding business Rule Editor in my application is there any way to display the 'validate' and 'view source' in Standalone editor. for creating new asset i used http://ip:port/drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?client=oryxpackageName=rulePackagecreateNewAsset=trueassetName='+name+'assetFormat=brl'; for editing an asset i used IP:http://ip:port/drools-guvnor/org.drools.guvnor.Guvnor/standaloneEditorServlet?client=oryxassetsUUIDs=uid; can any one give a solution Thanks regards VARGHESE -- View this message in context: http://drools.46999.n3.nabble.com/validation-and-view-source-for-business-rule-in-stand-alone-tp4020810.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] Error in adding BRL in Guvnor
I have created a Model named applicationHealth which contain a class “com.xyz.rims.model.Application” on Guvnor. Also created a Business rule asset named ‘ApplicationHealthRule’ which uses ‘Application’. I have created a business rule task in a BPMN2 process and gave the ‘ruleflow-group’ as same as a Business rule assets . kbuilder.add(ResourceFactory.newUrlResource(DROOLS_COMMON_URL+ApplicationHealthRule/binary), ResourceType.BRL); I used the above code to add the resource to kbuilder The error I get is: [Unable to resolve ObjectType 'Application' : [Rule name='ApplicationHealthRule'] ] -- View this message in context: http://drools.46999.n3.nabble.com/Error-in-adding-BRL-in-Guvnor-tp4020555.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] Error in adding BRL in Guvnor
when i use ResourceType.PKG i got the following exception when trying to add to kbuilder java.lang.RuntimeException: java.io.StreamCorruptedException: invalid stream header: 3C72756C In my project when i created the Application not inside any package(ie in src) every thing is working fine. but when i use com.xyz.rims.model.Application ,resource is added to kbuilder with the error [Unable to resolve ObjectType 'Application' : [Rule name='ApplicationHealthRule'] ] In model that has been uploaded i used the package structure in both the above cases can any one help Varghese p s -- View this message in context: http://drools.46999.n3.nabble.com/Error-in-adding-BRL-in-Guvnor-tp4020555p4020559.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] Error in adding BRL in Guvnor
A very Thanks for the replay as i was able to proceed... As you said earlier whwn i gave kbuilder.add(ResourceFactory.newUrlResource(ip:port/drools-guvnor/rest/packages/RulesAnd ModelPackage/binary/,ResourceType.PKG); every thing works fine. But if i gave package as whole to kbuilder.add(), and if the package contains any assets which is corrupted/has errors then the kbuilder will have errors. so is there any solution other than adding the all package.. Regards Varghese p s -- View this message in context: http://drools.46999.n3.nabble.com/Error-in-adding-BRL-in-Guvnor-tp4020555p4020593.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] Unable to find implementation for BusinessRuleProvider
Hai I was also facing the same issue and your replay was helpful and i have added droolsjbpm-ide-common-5.2.0.M2.jar to the class path of my project as you suggested .But i am getting the following exception. java.lang.IllegalStateException: java.lang.reflect.InvocationTargetException Any help would be appreciated. Varghese P soman -- View this message in context: http://drools.46999.n3.nabble.com/Unable-to-find-implementation-for-BusinessRuleProvider-tp2655443p4020216.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