Re: [rules-users] Drools 6 : unable to login to kie-drools-wb-distribution-wars-6.0.0.Final-jboss-as7.0

2013-12-17 Thread Michael Anstis
Did you create a user with add-user.sh? Realm = application User Name = admin Password = whatever you like Role = admin or analyst On 17 December 2013 12:37, anij anijit.sar...@gmail.com wrote: I download the *kie-drools-wb-distribution-6.0.0.Final.zip* and deployed the

Re: [rules-users] Exception when executing drools-wb-jcr2vfs-migration

2013-12-17 Thread Michael Anstis
That'll be a bug. Can you raise a JIRA for GUVNOR and attach your JCR repository? Sent on the move On 18 Dec 2013 07:04, nelson.wan nelson@hotmail.com wrote: We defined a lot of rules using Drools 5.5.0. Since Drools 6 has been released, we used drools-wb-jcr2vfs-migration script to

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-15 Thread Michael Anstis
Are you deploying Designer standalone and KIE Workbench in the same application server? Both Designer standalone and KIE Workbench use Uberfire and the VFS provided therein; hence the port conflict. On 15 December 2013 18:10, eliane.maalouf eliane.maal...@hevs.ch wrote: Re: [rules-users]

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-15 Thread Michael Anstis
OK, then the Workbench documentation has details of how to change the port number. http://docs.jboss.org/drools/release/6.0.0.Final/drools-docs/html/wb.Workbench.html#wb.systemProperties On 15 December 2013 18:35, eliane.maalouf eliane.maal...@hevs.ch wrote: I am only deploying Designer

Re: [rules-users] Drools WB does not generate correct kmodule.xml

2013-12-14 Thread Michael Anstis
It was a bug that has been fixed. It is available in github sources and will be in the forthcoming release. You can work around it by changing anything in the pom (e.g. name, description) and saving. Sent on the move On 14 Dec 2013 08:47, marjan.sterjev sterj...@mt.net.mk wrote: I’m defining

Re: [rules-users] Using a DRL file on Guvnor/Workbench while using Drools Camel Server

2013-12-13 Thread Michael Anstis
Please clarify: I'm sourcing from the JAR coming from the remote repository of Guvnor how? and but it's not picking it up in the server so far in my testing what happens? any errors? There is a bug in 6.0.0.Final that means you need to remove the authentication control from the Workbench's

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-12 Thread Michael Anstis
Doesn't like it is a bit vague. You should be able to use any URL from within kie-wb as you could from the CLI. An indication of the error and your some details about your network would help. Are any proxies involved? Have you tried google'ing for git and the error I assume receive for not

Re: [rules-users] How to push changes to cloned repo on Kie-Workbench

2013-12-12 Thread Michael Anstis
You'd need to build kie-cli-config and use the distribution (or download from the drools downloads page - it's part of the workbench download). Furthermore; in response to your other questions, once you've built a project containing rules etc in the workbench a consuming application should use

Re: [rules-users] Entry Point from parameter in Guvnor Decision Table?

2013-12-11 Thread Michael Anstis
Your best option would be to add a BRL Fragment column. You'd then have to add a Free Form Text condition, enter plain DRL using @{a-variable-name} as the entry-point in the DRL. With kind regards, Mike On 9 December 2013 23:41, dunnlow dunn...@yahoo.com wrote: manstis wrote Are you

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-11 Thread Michael Anstis
I assume .m2, kie-wb and your application are all running on the same computer? Delete from your .m2 and try again (without having the repository in your pom). It should fail. When everything is in the same computer it is harder (for you) to replicate a remote maven repository. Deleting from .m2

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-11 Thread Michael Anstis
You don't need to run on 2 machines; I was trying to explain why the dependency could be resolved in kie-wb without the additional repository element in your consuming projects pom. You are correct that the pom is used at build time. There were lots of emails recently about your enquiry that

[rules-users] Fwd: Re: [rules-dev] 6.0 issue with remote jars and dynamic modules

2013-12-11 Thread Michael Anstis
Sent on the move -- Forwarded message -- From: Mark Proctor mproc...@codehaus.org Date: 6 Dec 2013 19:30 Subject: Re: [rules-dev] 6.0 issue with remote jars and dynamic modules To: Rules Dev List rules-...@lists.jboss.org, Rules Users List rules-users@lists.jboss.org Cc: the jira

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-11 Thread Michael Anstis
Sent.. email titled something like remote jars and dynamic modules. Sent on the move On 12 Dec 2013 07:26, vimalkansal vimalkan...@yahoo.com wrote: Thanks manstis. I will be eagerly looking forward to the solution. Vimal -- View this message in context:

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-11 Thread Michael Anstis
. There is a thread asking about dynamic rules with .m2 running on this mailing list in parallel to this one! I recommend reading those too. Sent on the move On 12 Dec 2013 07:32, Michael Anstis michael.ans...@gmail.com wrote: Sent.. email titled something like remote jars and dynamic modules. Sent on the move

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Michael Anstis
Was that a screen-shot of your installation? It looks fine to me.. you have one repository uf-playground. What is missing? You can use the Organizational Unit Manager to show/manage OUs, or click on uf-playground in the tree-view to show it's (sparse) details. Or better still, move over to the

Re: [rules-users] Kie Work Bench missing repositories menu option

2013-12-10 Thread Michael Anstis
I went to double-check what I'd said.. but the image is no longer available on nabble. If menus are missing, make sure your user has admin role. On 10 December 2013 18:38, Michael Anstis michael.ans...@gmail.com wrote: Was that a screen-shot of your installation? It looks fine to me.. you

Re: [rules-users] Drools 6 - kie-config-cli seems not working with kie-drools-wb

2013-12-10 Thread Michael Anstis
We don't provide for read-only roles at present in 6.0. Sent on the move On 11 Dec 2013 02:10, nelson.wan nelson@hotmail.com wrote: Thanks a lot. Now I understood that the config tool commands for adding role to OU, Repo and Proj are mainly to deal with new roles. In additon to admin

Re: [rules-users] Drools 6 - kie-config-cli seems not working with kie-drools-wb

2013-12-10 Thread Michael Anstis
I should elaborate a little. In 5.5 (and lower) we used JCR to authenticate but had our own authorization implementation. In 6.0 we use JACC for authentication and authorization driven by requests to use authentication and authorization provided by application-servers/containers. Subject to

Re: [rules-users] Drools6 : Having trouble in using kie-ci

2013-12-10 Thread Michael Anstis
Have you add the workbench maven repository to your web-app's pom and the project you've compiled in the workbench as a decency? Have you disabled security for the maven repository or have you configured maven preemptive authentication in settings.xml? There were a number of emails last week

Re: [rules-users] Entry Point from parameter in Guvnor Decision Table?

2013-12-09 Thread Michael Anstis
Are you using a XLS decision table or a web one? On 6 December 2013 15:56, dunnlow dunn...@yahoo.com wrote: Hi, I'm using Guvnor 5.5. I have a decision table and I would like the entry point in each rule created to be based on the value in one of the table elements. I've tried $param in

Re: [rules-users] How to insert values into drl

2013-12-08 Thread Michael Anstis
You need to use kiesession.insert( object ). Sent on the move On 8 Dec 2013 20:52, anjana.ackroyd anjana.ackr...@gmail.com wrote: Hi, I am new to drools and trying to figure out how to get this simple example working. I have intellij IDE . I am trying to compare two numbers using drools 6.x

Re: [rules-users] Time and Date Picker in Guvnor 5.5.0.Final Decision Table

2013-12-07 Thread Michael Anstis
Support for time remains outstanding. I think we already have a JIRA for it. Why not get involved and provide a pull request completing date/time support? Sent on the move On 7 Dec 2013 08:02, nkhogen nkho...@gmail.com wrote: Hi, I am trying to achieve time selection in the web guided

Re: [rules-users] Need Help with Enumerations and Classpath

2013-12-07 Thread Michael Anstis
Can you try the old way? (Adding the JAR to the web servers classpath, i.e. add to /lib). This looks like a classpath issue. Can you raise a JIRA too (for GUVNOR) as it should work too if the JAR containing your helper is a project dependency. Thanks Sent on the move On 6 Dec 2013 16:43, SrjTx

Re: [rules-users] Drools 6 - kie-config-cli seems not working with kie-drools-wb

2013-12-07 Thread Michael Anstis
There are 2 predefined roles one of which your user needs to have; admin or analyst (there are more predefined roles for kie-wb). Adding role developer to your OU, Repository and Project provides a way to restrict further access of the predefined roles. Sent on the move On 7 Dec 2013 16:17,

Re: [rules-users] Need Help with Enumerations and Classpath

2013-12-04 Thread Michael Anstis
I assume this is guvnor 5.5 (or lower)? You need to add the JAR with your helper class to your container's (AS7, Tomcat) /lib folder. On 4 December 2013 17:39, SrjTx clickt...@yahoo.com wrote: I am trying to create a enumeration that uses a class to populate it, per *16.10. Data enumerations

Re: [rules-users] Need Help with Enumerations and Classpath

2013-12-04 Thread Michael Anstis
OK, where is the error reported? In the Problems Panel or when you click Validate in the enum editor - or both! On 4 December 2013 19:12, SrjTx clickt...@yahoo.com wrote: 6.0.0 I guess I should have said drools workbench. -- View this message in context:

Re: [rules-users] Guided Rule Template globals

2013-12-04 Thread Michael Anstis
Do you set the global to an object in *your* runtime? The global definition will exist in your project but will need initialising to an object by your code. If the editor lacks a feature you require why not roll your sleeves up and provide a pull request? We don't normally have the time to

Re: [rules-users] KIE Internal M2 Repository Access Denied

2013-12-03 Thread Michael Anstis
Hi, I've looked into what you report; and it does indeed appear we have a small issue ;) For now you can amend the /WEB-INF/classes/url_filter.yaml file in the WAR to remove the Maven Repository from authentication (see the exclusion below):- filter: - pattern: /rest/** exclude: - /*.ico

Re: [rules-users] Guvnor 6.0.0.Final: Unable to connect to guvnor repository using JBoss Dev Studio

2013-11-29 Thread Michael Anstis
Are you using the Drools 6.0.0 Eclipse plugin? Drools Workbench 6.0 (old Guvnor) doesn't support WEBDAV since it now uses a GIT backend (and not JCR). You can clone the repository from within Eclipse and access it using normal GIT functions. On 29 November 2013 08:39, nelson.wan

Re: [rules-users] Guvnor 6.0.0.Final: How to assign package and category permissions?

2013-11-29 Thread Michael Anstis
Drools Workbench 6.0 doesn't support the same granularity of permissions as Guvnor 5.5. Drools Workbench supports user permissions at the Organizational Unit, Repository and Project level: users either have access, or do not. You can use the kie-cli-config tool to add required roles to the

Re: [rules-users] Guvnor 6.0.0.Final: What is the deployment flow?

2013-11-29 Thread Michael Anstis
Hello, In Drools 6.0 the deployment unit is a JAR. It is built when you Build and Deploy the project (from the Project Editor). Drools Workbench deploys the JAR to the workbench's Maven repository; that can be added to your projects pom.xml as an additional repository and the JAR added as a

Re: [rules-users] Guvnor 6.0.0.Final: How to assign package and category permissions?

2013-11-29 Thread Michael Anstis
Hi, You'll need to download kie-wb-distributions from herehttps://hudson.jboss.org/hudson/job/kie-wb-distributions/ . Unfortunately it appears we don't actually have a download for kie-cli-config; so regrettably you'll need to build from

Re: [rules-users] Drools 6 getting started

2013-11-25 Thread Michael Anstis
Do you know if they have worked out the Guvnor / EAP 6.0 Resty issue just yet? I had to resort to using Tomcat7 after installing and configuring EAP 6 because of that. :-( Could you be a little more specific? KIE Workbench 6.0 has been and continued to be tested on EAP. Thanks, Mike On 25

Re: [rules-users] Drools 6 getting started

2013-11-25 Thread Michael Anstis
i.e. KIE Workbench 6.0 has been, and continues to be, tested on EAP 6.1.0. On 25 November 2013 14:53, Michael Anstis michael.ans...@gmail.com wrote: Do you know if they have worked out the Guvnor / EAP 6.0 Resty issue just yet? I had to resort to using Tomcat7 after installing and configuring

Re: [rules-users] What is URL for Guvnor REST API in 6.0.0-Final?

2013-11-25 Thread Michael Anstis
6.0 does not have the same REST API as prior versions. All that we expose is basic operations to manipulate Organizational Units, Repositories and Projects; including building and deploying. The GIT backend 6.0 has means we recommend using any git library to clone the repository, perform

Re: [rules-users] Exception when uploading JAR without POM in 6.0.0-Final

2013-11-22 Thread Michael Anstis
Can you please raise a JIRA for Guvnor and attach your JAR. We have tested with some JARs that lacked a pom and all appeared ok. Thanks, Mike Sent on the move On 22 Nov 2013 17:07, SrjTx clickt...@yahoo.com wrote: If you try to upload a JAR without a pom.xml, it requests GAV info and then

Re: [rules-users] Change rules dielect to java through java program(rest api)

2013-11-20 Thread Michael Anstis
The rule dialect is defined within the rule itself; so if you view the rule source in Guvnor for ruleName.drl you'll see it's maven. You can set the rule's dialect by adding a rule attribute. WebClient.acceptLanguage() sets the HTTP accept-language header; which sets the acceptable human language

Re: [rules-users] Change rules dielect to java through java program(rest api)

2013-11-20 Thread Michael Anstis
First, why do you want to change the dialect of a rule if you are not authoring rules? If you are simply consuming rules authored by somebody else; why do you need to concern yourself with the dialect with which the rule was written? On 20 November 2013 09:42, vargheseps varghesep...@gmail.com

Re: [rules-users] Info on Drools 6 documentation

2013-11-15 Thread Michael Anstis
Hello, Drools Workbench documentation is now herehttps://github.com/droolsjbpm/droolsjbpm-knowledge/tree/master/kie-docs/drools-docs . The existing drools-wb-docs will be deleted very soon. With kind regards, Mike On 15 November 2013 15:21, Gianvicenzo CAPUTO gcap...@pactenovation.frwrote:

Re: [rules-users] Access global functions in Test Scenarios in Guvnor

2013-11-12 Thread Michael Anstis
Guvnor's Test Scenarios do not provide the means to test arbitrary DRL (such as functions, queries etc); only rules. The only real work-around would be to write a dummy rule that invokes the function and then check that the rule is working as expected. With kind regards, Mike On 10 November

Re: [rules-users] Rule Example

2013-11-07 Thread Michael Anstis
rule don't ask stupid questions when Request( information == null ) then System.out.println(Move along, nothing to see here.); end On 7 November 2013 11:10, chakez30 dspecialis...@yahoo.com wrote: I have some requirements regarding with my final project can someone help me formulate

Re: [rules-users] Guvnor Data Enumeration

2013-11-05 Thread Michael Anstis
I suspect it's by design, but your requirement is not unreasonable. Can you please raise a JIRA at https://issues.jboss.org/browse/GUVNOR and include details of your data model and enum definitions. Thanks, Mike On 5 November 2013 00:04, nkhogen nkho...@gmail.com wrote: In the Advanced Data

Re: [rules-users] Export Web decision table to Xls ?

2013-11-05 Thread Michael Anstis
No; however completion of decision table round tripping is on our road map. Sent on the move On 6 Nov 2013 01:24, nzhu972 nev...@yahoo.com wrote: I created a web decision table through the browser on Drools 5. Is there a way to export the decision table to a spread sheet or xls or any other

Re: [rules-users] News from the community - 5.6.0.CR1 is out!

2013-11-01 Thread Michael Anstis
Great work Davide. This shows the power of the community! Sent on the move On 1 Nov 2013 21:05, Davide Sottara dso...@gmail.com wrote: Finally Drools 5.6.0.CR1 community edition has been released! It has been mainly a community effort, driven by the use of Drools in several applications and

Re: [rules-users] Drools Decision Table with no rules matches blank rule

2013-10-31 Thread Michael Anstis
Providing a XLS exhibiting he problem would be beneficial. A unit test in drools-decisiontables even more so. From what I gather you're saying if the XLS contains no definitions, I.e. only keywords, Drools is generating a single empty rule. Sent on the move On 30 Oct 2013 22:14, srtatz

Re: [rules-users] KIE Workbench data model import

2013-10-30 Thread Michael Anstis
Sure, make a new project, go to the Project Editor and add it as a dependency. On 30 October 2013 13:43, rockford ken.hel...@iprocesses.com wrote: Hello, I am trying to import a data model from inside the Drools 6 KIE Workbench. (I have used this functionality in the Guvnor.) So far I

Re: [rules-users] Guvnor 5.5.0.Final - Package compilation issues with multi tenant guvnor repositories.

2013-10-29 Thread Michael Anstis
That statement is correct. Did you have a question to ask? On 29 October 2013 07:05, Soumya.plavaga soumya.b...@plavaga.in wrote: We are using two repositories currently, one repo will be common for multiple tenants as they have the base rules. Another repo will be having tenant specific

Re: [rules-users] Guvnor 5.5.0.Final - Package compilation issues with multi tenant guvnor repositories.

2013-10-29 Thread Michael Anstis
This is indeed a limitation of sharing a model JAR across two guvnor (5.5) installations. If duplicating the JAR in different guvnor installations is not an option; then you need to look at using a single repository, adding the JAR to Global Area and sharing into different packages. One package

Re: [rules-users] Audit User Action in Drools

2013-10-28 Thread Michael Anstis
5.5 has an audit log specific to the guided decision table editor. Otherwise Stephen is correct. Sent on the move On 28 Oct 2013 17:34, nzhu972 nev...@yahoo.com wrote: Thanks for pointing out. Is there a more granular solution that tracks the type of change (delete, update, add) and the

Re: [rules-users] Guvnor 5.5 convert excel decision table to web error

2013-10-23 Thread Michael Anstis
Can you please raise a JIRA for Guvnor and attach a XLS file demonstrating the bug. Thanks Sent on the move On 23 Oct 2013 15:59, gboro54 gbor...@gmail.com wrote: In guvnor 5.5, when trying to convert an excel based decision table to a web based one, using the convert button, we get the

Re: [rules-users] Guvnor 5.5 convert excel decision table to web error

2013-10-23 Thread Michael Anstis
Thank you Sent on the move On 23 Oct 2013 18:01, gboro54 gbor...@gmail.com wrote: Created Jira: https://issues.jboss.org/browse/GUVNOR-2057 manstis wrote Can you please raise a JIRA for Guvnor and attach a XLS file demonstrating the bug. Thanks Sent on the move On 23 Oct 2013

Re: [rules-users] Decision Table Row #

2013-10-16 Thread Michael Anstis
No this is not possible in any version. On 16 October 2013 19:45, nzhu972 nev...@yahoo.com wrote: Hi, in Drools 5, is there a way to retrieve the row # in the web based decision table? The # column is auto generated and I like to retrieve the row # along with the rest of the table data

Re: [rules-users] Ask about Drools, Business Rule (.brl file) and technical rule (.drl)

2013-10-14 Thread Michael Anstis
Hello, BRL was an internal format; in essence it was an XStream dump of the model used by the Guided Rule Editor. BRL is dead in 6.0.x. In versions prior to 6.0.x it was impossible to map between DRL and BRL; hence no conversion is provided. In 6.0.x there is a parser to convert from DRL to the

Re: [rules-users] Traverse object chain from Guvnor

2013-10-04 Thread Michael Anstis
Add an Expression instead of a field when adding a constraint to a pattern in the guided rule editor. With the Expression Builder you'll be able to traverse your object model. On 4 October 2013 08:26, rockford ken.hel...@iprocesses.com wrote: I am working on a risk scanning application and

Re: [rules-users] Not able to fetch values from a list in Guvnor web based decision table

2013-09-27 Thread Michael Anstis
What version of Guvnor are you using? Sent on the move On 26 Sep 2013 13:13, ashish6276 ashishkumarec...@gmail.com wrote: Hi All, I have a request with /market/ which is a list of /market info/ something like this : *complexType name=RuleRequest sequence

Re: [rules-users] Guvnor 5.5 bug - when the advanced enum feature is used, the selected value is not saved in special condition

2013-09-25 Thread Michael Anstis
to reproduce this or just some description of the issue? I think I can build a simple version of rules for the case. Sean On Tue, Sep 24, 2013 at 1:54 PM, Michael Anstis michael.ans...@gmail.comwrote: Can you please raise a JIRA at https://issues.jboss.org/browse/GUVNOR Thanks On 24

Re: [rules-users] Does Guvnor limits the number of unsuccessful Login Attempts ?

2013-09-24 Thread Michael Anstis
Guvnor does nothing itself. You'd need to implement something externally using a custom authenticator, or something. On 24 September 2013 10:44, Zahid Ahmed zahid.ah...@emirates.com wrote: Hi, ** ** I want to know that is there any configuration in Guvnor to limit the number of

Re: [rules-users] Guvnor 5.5 bug - when the advanced enum feature is used, the selected value is not saved in special condition

2013-09-24 Thread Michael Anstis
Can you please raise a JIRA at https://issues.jboss.org/browse/GUVNOR Thanks On 24 September 2013 18:29, Sean Su sean.x...@gmail.com wrote: Also just tested and confirmed that this is happening when I save the rule twice in the row - first save seems fine; do nothing and save the rule one

Re: [rules-users] How To Implement Rule Flow

2013-09-23 Thread Michael Anstis
You could use RuleFlow, sure. But you don't have to. Consider the following:- *1) Intermediate facts * when $p : Person( age 18 ) then insertLogical( new Juvenile( $p ) ); end when $p : Person( age = 18 ) then insertLogical( new Adult( $p ) ); end when Juvenile() then

Re: [rules-users] Question about VFS repository

2013-09-21 Thread Michael Anstis
What do you mean VFS Repository instead of Guvnor Repository? For 6.0 Drools Workbench (what used to be called Guvnor) uses a VFS. Where did you get the file you show and what was its original name? Sent on the move On 21 Sep 2013 15:46, Carusyte Zhang carus...@gmail.com wrote: Anyone ever

Re: [rules-users] No errors thrown from KnowledgeAgent

2013-09-20 Thread Michael Anstis
Here's a blog entry Mark made on this very subject: blog.athico.com/2011/04/drools-jbpm-community-versus-product.html?m=1 Sent on the move On 20 Sep 2013 21:02, Davide Sottara dso...@gmail.com wrote: Let the team correct me if I'm mistaken or imprecise. There is no commercial version, the only

Re: [rules-users] Dependency enumeration

2013-09-19 Thread Michael Anstis
What does the JIRA say? Sent on the move On 19 Sep 2013 08:24, ashish6276 ashishkumarec...@gmail.com wrote: Can anyone tell me if this issue fixed now ? -- View this message in context: http://drools.46999.n3.nabble.com/Dependency-enumeration-tp3245703p4026045.html Sent from the Drools:

Re: [rules-users] Guvnor 5.5.0.Final Web decision table's advanced enum is not working.

2013-09-18 Thread Michael Anstis
Thanks. JIRA Project GUVNOR would have been better, as requested. It's likely to be missed in GUVNORSOA. Sent on the move On 18 Sep 2013 07:14, Soumya.plavaga soumya.b...@plavaga.in wrote: I have raised a bug as a JIRA task. Following is the bug url -

Re: [rules-users] Guvnor 5.5.0.Final Web decision table's advanced enum is not working.

2013-09-18 Thread Michael Anstis
Thanks Sent on the move On 18 Sep 2013 07:53, Soumya.plavaga soumya.b...@plavaga.in wrote: Thanks mantis. I have created a new ticket under Guvnor project and closed the previous one under GuvnorSOA. Following is the jira url - https://issues.jboss.org/browse/GUVNOR-2049 -- View this

Re: [rules-users] Create Decision Tables using java code

2013-09-10 Thread Michael Anstis
As you state Decision Tables can be spread sheets. There are a couple of Java APIs to build XLS files: JExcel and POI. Either you help. On 10 September 2013 14:01, anniejoseph chithraan...@gmail.com wrote: Hi I'm using JBPM drools. Is it possible to create Decision Tables(spread sheet)

Re: [rules-users] A Drools CEP Scenario - did I get it right?

2013-09-08 Thread Michael Anstis
What did not happen as you expected? The HTTP session to Knowledge session association seems reasonable; but I assume you are trying with a more simple configuration initially. Sent on the move On 8 Sep 2013 17:42, amarok m...@alexander-wolf.net wrote: I got the following scenario: - I need a

Re: [rules-users] Access the return value in Guvnor

2013-09-06 Thread Michael Anstis
There is no MEssage object in the code you paste. On 6 September 2013 11:10, Smurfs smurfs.d...@gmail.com wrote: Hi I am working on the guvnor in jboss. I have created a rule that use two objects Item and Tracker. It checks if the quantity in the ItemOrcer is greater than 20, then it sets

Re: [rules-users] Potential Bug in Guvnor with usage of from collection and Any of the following are true

2013-09-06 Thread Michael Anstis
What version of Guvnor are you using? Can you check with 5.5? I have a vague recollection that this has been fixed. If the problem remains in 5.5 please raise a JIRA at https://issues.jboss.org/browse/GUVNOR On 6 September 2013 20:07, Sean Su sean.x...@gmail.com wrote: I found that the

Re: [rules-users] Getting data from a database(My SQL) to Guvnor

2013-09-05 Thread Michael Anstis
In Guvnor you can't. If a programmatic approach is acceptable you could look into Templates and a custom DataProvider. On 5 September 2013 06:31, ashish6276 ashishkumarec...@gmail.com wrote: Hi, Can somebody guide me on how to pull data from a database(My SQL) to Guvnor Decision table .

Re: [rules-users] Fully qualified name for generated classes

2013-09-04 Thread Michael Anstis
Lance is correct. Global Area in Guvnor is package agnostic; items in it only assume a package when an item is imported into a package. In the case of a declarative model the resulting class can be in multiple packages depending on which Guvnor packages the item in the Global Area was imported.

Re: [rules-users] What is Drools Kie ?

2013-09-03 Thread Michael Anstis
Hello, KIE - Knowledge Is Everything - is effectively the umbrella term for Drools 6.0 (including jBPM and Drools Workbench - which used to be called Guvnor). KIE introduces a new API for Drools Expert 6.0 that is based on the concept of Maven projects and JARs. Uberfire itself is not part of

Re: [rules-users] Guvnor - could not find a drl file

2013-09-03 Thread Michael Anstis
Assets in Guvnor are stored in JCR (Apache Jackrabbit, by default). You can configure JCR to use a database but the schema and content thereof are not under the control of Guvnor; but JCR. For example, there isn't a rules table nor is the content is readily DRL. Most people retrieve DRL from

Re: [rules-users] Guvnor - could not find a drl file

2013-09-03 Thread Michael Anstis
My recommendation would be to move the binary packages built inside Guvnor from one environment to another; the process for which falls outside of Guvnor itself. For example, author rules, build the package; get the package using REST, test in your QA/UAT environment, move the package file to

Re: [rules-users] Guvnor - could not find a drl file

2013-09-03 Thread Michael Anstis
In short, yes. On 3 September 2013 11:58, Smurfs smurfs.d...@gmail.com wrote: Thanks for the reply. I got some questions. 'retrieve the drl using REST' --- whether it means that the drl file will be generated using REST API?? -- View this message in context:

Re: [rules-users] Could not execute Rules getting NPE

2013-08-30 Thread Michael Anstis
Without line numbers we can but guess. I'd gamble that the NPE relates to not being able to find /Guvnor.properties on your class path. On 30 August 2013 14:05, Smurfs smurfs.d...@gmail.com wrote: Hi I am new to Drools. I am using a maven project to connect to guvnor and execute the rules.

Re: [rules-users] Drools desciion tbale - obecjt intialisation

2013-08-16 Thread Michael Anstis
That sounds like a bug. Please raise a JIRA (for Guvnor) and attach the spreadsheet that gives the error. Thanks. Sent on the move On 16 Aug 2013 16:17, captainrhino graeme.kitc...@axa-travel-insurance.com wrote: http://drools.46999.n3.nabble.com/file/n4025581/dropDown.gif The following

Re: [rules-users] Duplicating template capability in decision table?

2013-08-14 Thread Michael Anstis
If you click on the grey horizontal splitter on the decision table header you should see the template key names. Sent on the move On 13 Aug 2013 20:54, dunnlow dunn...@yahoo.com wrote: My long lived templates have stopped working (I click the Load Template Data button and nothing happens) --

Re: [rules-users] Mapping complex objects info Guvnor compatible shim classes?

2013-08-11 Thread Michael Anstis
Drools Workbench (replacement for Guvnor) in 6.0 offers the ability to easily add your own custom editors so you could provide your own UI to suit your needs exactly. It is much more difficult to add or replace editors in Guvnor 5.5 and early. That said Rule Templates provide a means to define a

Re: [rules-users] $someString as template key in guided form editor but @{someString} is the template key in free form DRL editor

2013-08-02 Thread Michael Anstis
Eh? Can you explain a bit more, give some concrete examples etc? Variables are not re-usable across editors (i.e. Guided Rule, Guided Template and Guided Decision Table). On 2 August 2013 16:05, nkhogen nkho...@gmail.com wrote: I am having a hard time in Guided Decision Table because

Re: [rules-users] Using No-Loop and Activation-Group in .xls Decision tables?

2013-06-29 Thread Michael Anstis
IIRC rule attributes are added as columns and the values will be in the corresponding rows. Sent on the move On 26 Jun 2013 20:00, dunnlow dunn...@yahoo.com wrote: I am using Drools 5.4 and trying to create an xls spreadsheet and upload it to Guvnor. I see in the documentation that I should

Re: [rules-users] Insert list of object to Guvnor in Decision table

2013-06-28 Thread Michael Anstis
Guvnor is an authoring tool and repository. It is not a runtime component; hence your use-case is not possible with Guvnor. On 28 June 2013 11:35, Raju Bandaru raju_band...@infosys.com wrote: Hi, Am using Drools Guvnor 5.4 final version. I have created a package, decision table in Guvnor

Re: [rules-users] Guvnor Capabilities

2013-06-28 Thread Michael Anstis
Not out of the box. You could contribute a change to the code-base if you so desire; but it's hard to understand your use-case. Can you explain it? On 28 June 2013 17:24, swaroop swaroop.o...@gmail.com wrote: Hi , Is there a possibility in guvnor to manage the display of textbox based on a

Re: [rules-users] Available rule stores

2013-06-20 Thread Michael Anstis
kie-wb https://github.com/droolsjbpm/kie-wb-distributions 6.0 already uses git as the backend repository for design-time artifacts (projects, rules, processes etc). There are no plans to retro-fit it to 5.5.x or older. On 20 June 2013 11:48, Florian Pirchner florian.pirch...@gmail.com wrote:

Re: [rules-users] How to import drl files to Guvnor for graphical rules

2013-06-18 Thread Michael Anstis
In 6.0 guided rules will be stored as DRL. It will therefore be possible to push a plain DRL file into a repository and author with the guided editor. Rule Templates and guided decision tables will at this time remain stored in an internal format. Sent on the move On 18 Jun 2013 14:29, rjr201

Re: [rules-users] Grouping Rules in Decision table approach

2013-06-11 Thread Michael Anstis
All rules in a decision table will execute if they match the criteria (facts) inserted into Working Memory. You can use a guard-fact to prevent other rules from firing; if need be. In the ACTION insert a result fact and check the result fact does not exist in the CONDITION; for example (in DRL,

Re: [rules-users] choose method from fact object in guided editor

2013-06-10 Thread Michael Anstis
Have you tried using an expression on the RHS? On 10 June 2013 15:24, Hans Wirz hans.w...@xmv.ch wrote: Steve, my problem is, that the ‚key‘ after the method getContentValue() is looking for, has to be variable and can be set by the rule creator. I guess it remains the same

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-10 Thread Michael Anstis
Hello, I'm on Linux (Ubuntu). We do have a Windows developer @Jervis, have you tried drools-wb on Tomcat? Could you? Cheers, Mike On 10 June 2013 16:43, kappert kapp...@hotmail.com wrote: Thank you for your continued interest :-) I hope I did this right: a) stopped Tomcat b)

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-07 Thread Michael Anstis
Hello, I just ran drools-wb on Tomcat 7 (admittedly from source, which might be a little different to Beta3.. but nothing I can think of that'd affect startup). I had a few hick-ups with an old .niogit and .index folders, but once I deleted .niogit, .index and repository folders from /bin it

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-07 Thread Michael Anstis
In .niogit there are 2 git repositories. - system.git - uf-playground.git system.git is created programmatically and contains various settings. You cannot clone this from anywhere. uf-playground.git is a clone of https://github.com/guvnorngtestuser1/guvnorng-playground. You will need to

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread Michael Anstis
We went with a different JCE algorithm earlier; but for Beta3 we use PBEWithMD5AndDES (which is part of the standard JCE files and listed in your email). I'd recommend you therefore try with Beta3 On 6 June 2013 12:00, kappert kapp...@hotmail.com wrote: Thank you for your reply! I have

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread Michael Anstis
This sounds like you've installed Beta3 over the top of Beta2 (i.e. Tomcat's /bin folder has bits of Beta2 in it). Please try deleting .niogit from Tomcat's /bin folder (I think it's there, it is on AS7) or .niogit where-ever it is!!! On 6 June 2013 13:12, kappert kapp...@hotmail.com wrote:

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread Michael Anstis
Hello, At the moment we configure the application's bootstrap (i.e. global settings, default repositories etc) programmatically. For FINAL this will be done via an installer and hence you would not need to connect to any GIT repository you did not want to. Have you tried setting a proxy using

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-06 Thread Michael Anstis
He he, we're getting closer. Have you tried deleting the infamous .niogit folder again? The reason being our programmatic bootstrap is sensitive I.e. it doesn't check for partial configuration in the event bootstrapping failed mid-way (e.g. cloning a repo). Sent on the move On 6 Jun 2013 17:12,

Re: [rules-users] POJO model jar?

2013-06-06 Thread Michael Anstis
Hello, I replied on IRC your question made me laugh... you need to upload the JAR using the Guvnor M2 Repository Perspective and then add it as a project dependency. See why your question is humorous? You wrote the M2 code and screens! Cheers, Mike Sent on the move On 6 Jun 2013 18:17,

Re: [rules-users] Guvnor 6.0.0.Beta2 on Tomcat 7 - should problems be reported?

2013-06-05 Thread Michael Anstis
Hi, Beta3 has better error handling.. so at least something (more) meaningful should show. Alternatively the real error is probably on a log somewhere (sorry, I don't know where this would be on Jelastic). If you're using the mortgages demo repository\project and opening the rule that is a DSL

Re: [rules-users] Setting a value in LHS

2013-06-04 Thread Michael Anstis
This would need to be provided by the tooling; I don't think it's something that's even remotely possible at runtime (unless you stored the field name in a Fact and used reflection on the RHS). That said (and you're going to guess my next comment) this is not provided in the guided editors.

Re: [rules-users] Corrections to documentation

2013-06-03 Thread Michael Anstis
Hi Stephen, A github Pull Request is probably the best approach. With kind regards, Mike On 3 June 2013 15:00, stephen.masters stephen.mast...@me.com wrote: Hi folks, Just wondering what's the best way to provide corrections/ proofreading feedback to the docs. I'm reading through the 6.0

Re: [rules-users] Archiving a jar archives it everywhere

2013-05-31 Thread Michael Anstis
6.0 doesn't have a global area... so in that respect it is fixed. In 6.0 shared libraries (containing items, rules, types etc) would be uploaded to a central repository and added as dependencies to individual projects. We should (we don't yet) ensure removing a library from the repository checks

Re: [rules-users] Guvnor and DSL i18n

2013-05-30 Thread Michael Anstis
To be honest, I don't think any documentation has been updated for 6.0 from 5.5, we've just not had the time yet. That said, as far as I am concerned, DSLs remain in 6.0. We have continued suppprt for them in Drools Workbench (what was called Guvnor, but more about that soon). DSLs are basically

Re: [rules-users] Guvnor 6.0 User Security

2013-05-30 Thread Michael Anstis
At the moment 6.0 authenticates users from a properties file (drools-wb) or with JACC (kie-drools-wb and kie-wb). Uberfire, the underlying workbench library, supports a finer grained permissions model however we are still discussing requirements for 6.0. Previous package level permissions may

<    1   2   3   4   5   6   7   8   9   10   >