Re: [rules-users] KieScanner cannot fetch LATEST Jars from custom Maven repository - Maven - 3.6.3

2020-02-18 Thread Michael Anstis
Are you building the project in the Workbench after your rule changes? On Tue, 18 Feb 2020, 08:26 suriya devan, wrote: > > Hello All, > > I am using a drool version 7.x. I am able to get KieScanner to work on my > local maven repository using "LATEST". But everytime I update the rules on > workb

Re: [rules-users] Private message regarding: [drools-usage] Update data model in Drools Workbench

2017-04-26 Thread Michael Anstis
s the folder structure of m2 repository > after each install. I am using InstallRequest API to install the jar > and pom artifact. Do I need to Deploy as well? I disposed the container > and recreated it again... No new rules were applied... > > [image: Inline images 1] > > O

Re: [rules-users] Regarding Programmatically Adding Rules to Workbench

2017-03-18 Thread Michael Anstis
We promote use of jgit or similar Git libraries to manipulate the underlying repositories rather than providing a REST API to manipulate assets. That said you don't need to worry unduly about manipulating assets with a low level Git library; you can clone workbench repositories, manipulate assets

Re: [rules-users] Need help in drool workbench

2016-12-20 Thread Michael Anstis
Can you explain how one region manages to break an others rules!? On 20 December 2016 at 13:09, RANJAN Nalini wrote: > Hi Team, > > > > Hope you are doing good.. > > > > We are new in drool workbench and we are planning to use drools workbench > for our upcoming project.. > > > > This developme

Re: [rules-users] Drools 6 BRMS workflow

2014-09-01 Thread Michael Anstis
If your JAR imported without error (see the server log) and you've added them as an import in the corresponding editor ("Config" tab) then they should be available for authoring. If your JAR classes are in the same package as the rules in the workbench you can skip importing them. If this is not

Re: [rules-users] BRMS 6 -Problem in web Guided editor Drop down selection

2014-08-27 Thread Michael Anstis
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 wrote: > We have bought BRMS 6 from JBOSS recently. Currently configuring an BRMS > rules setup in DEV and INT, encountering an issue wit

Re: [rules-users] Drools : Load Rules from workbench, update from application and deploy it again programmatically

2014-08-14 Thread Michael Anstis
You should read up on KieScanner. This can be configured to poll the Maven repository behind the workbench; so that whenever you "Build & Deploy" the project KieScanner will download the latest KJAR. See http://blog.athico.com/2013/12/deployment-with-drools-60.html to begin with. On 12 August 2

Re: [rules-users] Sequential and Decision Tables

2014-08-11 Thread Michael Anstis
The sequential flag controls the rule's salience per XLS worksheet. Rule's RHS are executed according to their salience values and hence the sequential flag will control the rules RHS execution order. See http://docs.jboss.org/drools/release/6.1.0.Final/drools-docs/html/ch06.html#d0e3942 and http

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-11 Thread Michael Anstis
The problem does not appear to be within Guvnor as such; that just uses the underlying Drools engine. Can you provide a standalone unit test demonstrating the issue? On 11 August 2014 13:53, David Moros Claramunt wrote: > thanks, it works > > I have put the sufix .drl at package URL and works

Re: [rules-users] Annotation @PropertyReactive not works

2014-08-09 Thread Michael Anstis
Regarding the Guvnor question; we don't support the time element of dates at the moment. It should however be a simple change and I am happy to support you submitting a pull request to fix in a later version. Unfortunately we simply do not have the time to fix ourselves at present. Sent on the mov

Re: [rules-users] Mocking Guvnor

2014-08-08 Thread Michael Anstis
can mock the output Fact object. > > > > > > Thank you > > Santhosh Hegde A > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Friday, August 08, 2014 11:28 PM > *To:*

Re: [rules-users] Mocking Guvnor

2014-08-08 Thread Michael Anstis
k that. Although you could > also mock the session. > > > > Although, I must admit I’m not sure what question is being asked... > > > > Steve > > > > > > On 8 Aug 2014, at 13:07, Michael Anstis <[hidden email] > <http://user/SendEmail.jtp?type=node

Re: [rules-users] Mocking Guvnor

2014-08-08 Thread Michael Anstis
I assume you have a service encapsulating your use of Drools? Why not mock this service to use an implementation that returns what you need? On 8 August 2014 03:13, san_hegde wrote: > Hi , > > > > We have requirement where in during functional testing we do not want to > connect to Guvnor rat

Re: [rules-users] Build&Deploy - Drools Document

2014-08-01 Thread Michael Anstis
Please submit a pull request for an update to the documentation and we will happily accept it. Sent on the move On 1 Aug 2014 23:20, "Ricardo" wrote: > 15.7.4.1. Build & Deploy > > Build & Depoy builds the current project and deploys the KJAR into the > workbench internal Maven repository. > > >

Re: [rules-users] [drools-wb] how to move an asset to another package ?

2014-07-28 Thread Michael Anstis
I didn't see your other questions.. was the list that short? ;) As for "move" if you raise a GUVNOR JIRA it'll get addressed when we get time --- of course, we're more than happy to mentor you with a pull request too :) On 23 July 2014 17:34, jps wrote: > Hi, > > Thank you for the reply and th

Re: [rules-users] condition altered while unmarshalling a drl to guided rule

2014-07-17 Thread Michael Anstis
Fixed. 6.2.0-SNAPSHOT (master branch) has improved Expression handling. 6.1.0.Final will include the fix for this issue; but other aspects of Expression handling are not as developed as 6.2.0-SNAPSHOT. On 16 July 2014 16:40, Michael Anstis wrote: > https://issues.jboss.org/browse/GUVNOR-2

Re: [rules-users] Decision table max rows

2014-07-17 Thread Michael Anstis
Simplistically, split your decision table into smaller ones. To answer your question more fully; the maximum number of rows that can exist in a XLS is (IIRC) 65535. That said; how many can be processed on a given computer, depends on how much RAM has been associated with the JVM heap and how many

Re: [rules-users] condition altered while unmarshalling a drl to guided rule

2014-07-16 Thread Michael Anstis
https://issues.jboss.org/browse/GUVNOR-2109 Working on a fix. On 16 July 2014 14:27, Sumit Dhaniya wrote: > I created a guided rule and when I open it again some conditions which I > wrote using the --Text-- option from drop down are altered. > It seems the issue is only with unmarshalling bec

Re: [rules-users] 5.6 Decision Table VLookup

2014-07-15 Thread Michael Anstis
Just a few questions: > 1. Does it work in later versions of DROOLS? Which one? > 2. If I put the lookups on the same sheet, will it work? Is it only > because the lookups are on a separate sheet? > > Thanks, > > Jan > > Sent from my iPhone > > On Jul 15, 2014

Re: [rules-users] 5.6 Decision Table VLookup

2014-07-15 Thread Michael Anstis
No progress. Community contributions always appreciated. http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/Welcome.html#gettingstarted On 15 July 2014 12:38, J Rose wrote: > Re: [rules-users] 5.6 Decision Table VLookup. Can you tell me the status > on > this item please? I

Re: [rules-users] drools-wb 6.1.0.CR2-wildfly - Decision table

2014-07-15 Thread Michael Anstis
Hi, I tried to replicate using your steps (but with a "simple" JAR, no parent, no other transitive dependencies etc) and it worked OK. We have a known issue with Wildfly CR2 (see https://issues.jboss.org/browse/GUVNOR-2108) that means if you try to use a JAR that then requires Maven to attempt to

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
FYI, test http://github.com/droolsjbpm/drools/commit/ee232266c On 14 July 2014 13:54, Michael Anstis wrote: > Hello, > > I wrote a test that checks the marshalling of the DRL and it passes OK. > > It could be that the workbench is failing fast midway through trying to > marsh

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
s the workbench does). Can you re-try with alterations to your public getters/setters names (getId instead of get_id)? Thanks, Mike On 14 July 2014 13:39, Michael Anstis wrote: > Hello, > > Class "ProducerMasterForRules" isn't valid; it references "getPCuisines()&quo

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-14 Thread Michael Anstis
actor.setWeightageImpact( > -30 ); 16.|update( $secondaryCuisineRepeatUsageFactor );17.| end > > object models are attached. > > > On Sat, Jul 12, 2014 at 3:40 PM, Michael Anstis > wrote: > >> Asking (at least) three questions at the same time on the same threa

Re: [rules-users] check list size

2014-07-14 Thread Michael Anstis
I had a look, but was able to use a List without problem (6.1.CR2): 1) Made a Maven-ized JAR containing the following class: package org.anstis; import java.util.List; public class MyListClass { private List myList; public List getMyList() { return myList; } public vo

Re: [rules-users] condition on size of list

2014-07-14 Thread Michael Anstis
ght it might not pick interfaces so I also >>> imported java.util.ArrayList but still it doesn't shows it. >>> >>> I tried building project but still no luck. >>> >>> >>> On Thu, Jul 10, 2014 at 7:15 PM, Michael Anstis < >>> micha

Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread Michael Anstis
I've tried AS7 and Wildfly CR2 with a simple JAR (we use to kick the tyres of the M2Repo Upload stuff) and it works fine on both. I have to speculate that the problem you're encountering is something specific to the JAR you're trying to upload. Can you please create a JIRA at https://issues.jboss

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-12 Thread Michael Anstis
Asking (at least) three questions at the same time on the same thread is really going to annoy people. It's the weekend; most people are not working and you are not paying for our support. When I am at my computer on Monday I will be happy to answer more. For now; please provide the DRL for the r

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-11 Thread Michael Anstis
uch identifier: _id] > [Near : {... _id == $searchContext.lastThre }] > ^ : [Rule name='EateryRepeatUsage'] > > data type of _id is string and same rule gets successfully validated if I > use any other variable of string type. > > > On Sat, Jul 12, 2014 at 2:

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-11 Thread Michael Anstis
6.1 and if issue still comes I'll share the drl. > > Can you please also confirm if I can use variables whose names start with > "_" cause it seems it doesn't allows me to use _id > > > On Sat, Jul 12, 2014 at 2:01 AM, Michael Anstis > wrote: > >> What

Re: [rules-users] conditions getting removed from Guided Rule

2014-07-11 Thread Michael Anstis
What version? Have you tried 6.1.CR2 there were lots of improvements in this area. The issue is guided rules are stored as DRL and we need to reverse engineer the model used by the UI from the DRL. Failing that we'll need your DRL so we can fix whatever issue exists in your scenario. Thanks Se

Re: [rules-users] Error due to same class name

2014-07-11 Thread Michael Anstis
The guided rule editors really, really, I mean really, do not handle multiple classes with the same simple name in different packages at all well. Even if you only use a single class in a single rule (I.e. do not attempt to use x.y.z.MyClass and a.b.c.MyClass) the overall DRL being compiled can le

Re: [rules-users] Project Authoring in kie ide

2014-07-11 Thread Michael Anstis
You can delete /bin/.niogit/System.git to restore the workbench. I'd be more interested in what "rules started throwing error" means (the workbench is an authoring environment, so I don't see how rules started to throw errors). Also steps to reproduce would be nice to have, otherwise we'll never

Re: [rules-users] condition on size of list

2014-07-10 Thread Michael Anstis
You need to add it. On 10 July 2014 14:43, sumit dhaniya wrote: > It doesn't shows java.util.List in import suggestions > > > On Thu, Jul 10, 2014 at 7:08 PM, Michael Anstis > wrote: > >> Did you import java.util.List (in Project Editor's "Import s

Re: [rules-users] condition on size of list

2014-07-10 Thread Michael Anstis
on(superclass of List) and then list options > like size,first,last doesn't show up. Is there any way I can force these > objects as type of List. > > > On Wed, Jul 9, 2014 at 11:52 PM, Michael Anstis > wrote: > >> Yes. >> >> Create a BRL Condition colu

Re: [rules-users] condition on size of list

2014-07-09 Thread Michael Anstis
Yes. Create a BRL Condition column and use an expression on the List pattern. Sent on the move On 9 Jul 2014 19:21, "Sumit Dhaniya" wrote: > I know we can check size of list if we write free form drl but is it > possible > to use size of the list as condition in guided decision table? > > > > -

Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-09 Thread Michael Anstis
6.1.0.CR2 is now released. I tried uploading a JAR to the Artifact Repository using this version and it was OK (JDK1.7.0_51 and Wildfly 8.1.0.Final). Can you re-test with the latest CR? On 9 July 2014 15:46, jps wrote: > Hello, > > I've installed kie-drools-wb-distribution-wars-6.1.0.CR1-wild

Re: [rules-users] Usage of java.util.List in Drools Guvnor 5.5.0

2014-07-02 Thread Michael Anstis
Add the field to the pattern (as you have done for "fieldName") and then enter a variable name for the field (you might need to add a "list != null" constraint, I can't remember) On 2 July 2014 12:18, Rajeswari wrote: > Thanks > How can I do this in Business Rule Editor. > I should be able to u

Re: [rules-users] Usage of java.util.List in Drools Guvnor 5.5.0

2014-07-02 Thread Michael Anstis
So your FormatConfig object contains a list that you need access to? rule "MyFormat" dialect "mvel" when config : FormatConfig( fieldName == "AMOUNT", $l : listField ) then $l.doWhatEverYouWant(); config.setRegEx( "123" ); retract( config ); end

Re: [rules-users] Usage of java.util.List in Drools Guvnor 5.5.0

2014-07-02 Thread Michael Anstis
Do you insert a List into working memory? On 2 July 2014 11:22, Rajeswari wrote: > Created a Model in Guvnor 5.5.0 with 3 fields - 2 Text, 1 java.util.List > The model is verified and validated - correctly. > Source looks like below > declare FormatConfig > fieldName: String >

Re: [rules-users] How to migrate data from Guvnor 5.1.1 to 5.3.3.Final version.

2014-07-02 Thread Michael Anstis
The only solution that could work is to export your repository from 5.1.1 and import into 5.3.3. You'll loose all history though. On 2 July 2014 10:45, LaKhI ReDdY!!! wrote: > Hi , > > I need information on how to migrate existing repository from Guvnor 5.1.1 > to 5.3.3.Final version.

Re: [rules-users] BRMS Build & Deploy

2014-06-30 Thread Michael Anstis
OK, so this confirms you have your project configured to use bpmassets in it's section and that you're having a 401 issue. What do you have in your settings.xml? This, unfortunately, is moving towards possibly a Nexus issue (IDK what form it expects the authentication details to be provided). Yo

Re: [rules-users] BRMS Build & Deploy

2014-06-30 Thread Michael Anstis
Please can you give some more information? Where/how have you configured the workbench to attempt to deploy to Nexus as opposed to it's internal maven repository? On 30 June 2014 09:24, 706826 wrote: > Yes, that’s I have already configured as follows, > > > >

Re: [rules-users] BRMS Build & Deploy

2014-06-30 Thread Michael Anstis
I assume Nexus requires authentication. You'll need to configure this in Maven's settings.xml on the server you're running the workbench. Maven's user guide contains details of how to configure permissions for remote servers in settings.xml. On 30 June 2014 08:18, 706826 wrote: > Hi Manstis,

Re: [rules-users] Is there an option to import the drl file in kie-drools-wb-distribution-6.0.1.Final version UI?

2014-06-27 Thread Michael Anstis
You can push DRL to the GIT repository from any external tool. On 27 June 2014 08:10, LaKhI ReDdY!!! wrote: > Hi, > > Can we import the drl file in kie-drools-wb-distribution-6.0.1.Final > version, I see only create the DRL option and not import option? > AUTHORING -> PROJECT AUTHORIN

Re: [rules-users] Can we user RDBMS in BRMS 6.0.1 version?

2014-06-27 Thread Michael Anstis
Correct, 6.x uses GIT as it's persistent store; however all IO operations are abstracted through a Virtual File System based on Java 7's NIO2 API. We only have one implementation of the VFS that uses GIT; although others can write their own implementations (that front, for example, a RSBMS) and pl

[rules-users] Fwd: Regarding drools 6 workbench

2014-06-26 Thread Michael Anstis
-- Forwarded message -- From: Ganesh Neelekani Date: 26 June 2014 06:35 Subject: Re: Regarding drools 6 workbench I am facing some strange issue if you use webservice "Unknown kieSession name:ksession-rules if use @webservice", Do I need to change code if you I use webservice Ple

Re: [rules-users] BRMS Build & Deploy

2014-06-26 Thread Michael Anstis
t;http://maven.apache.org/xsd/settings-1.1.0.xsd>">* > > > > *d:\localMaven\Repo* > > > > ** > > ** > > *droolssix* > > * > admin* > > * >

Re: [rules-users] BRMS Build & Deploy

2014-06-25 Thread Michael Anstis
OK, so I didn't read your email properly :( There is a REST API to build and deploy programmatically; see the User Guide for details: http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.WorkbenchIntegration.html#drools.WorkbenchRemoteAPI On 25 June 2014 15:07, Michael A

Re: [rules-users] BRMS Build & Deploy

2014-06-25 Thread Michael Anstis
Build+Deploy builds everything in your project (rules, processes etc) into a KJAR and deploys them to the workbench's maven repository. If you're running kie-wb then there is also the notion of deploying a KJAR to the jBPM runtime.. but I don't know the exact mechanism (I've BCC'ed some colleagues

Re: [rules-users] Getting Error while building the war from kie-wb-distributions-master source code

2014-06-23 Thread Michael Anstis
This is a known issue with building from the command line on Windows (it is a Windows limitation on the maximum length of the command line). If you're using IDEA you can create a "classpath JAR" that packages the classpath into a JAR and uses this to build/compile/run. We have the issue on our "t

Re: [rules-users] Need help in build the war file from the guvnor-6.0.1.Final source code

2014-06-20 Thread Michael Anstis
few other customization and > build application to deploy with these changes. > > Any points on from where can i get the source code for the same?. > > Thank you. > > > Regards, > Lakshmi Reddy > > > > On Fri, Jun 20, 2014 at 3:25 PM, Michael Anstis > wr

Re: [rules-users] Need help in build the war file from the guvnor-6.0.1.Final source code

2014-06-20 Thread Michael Anstis
Guvnor is only a small component of the Drools Workbench. See http://blog.athico.com/2013/06/goodbye-guvnor-hello-drools-workbench.html If you're looking for the WARs you can use kie-wb-distributions/kie-drools-wb: https://github.com/droolsjbpm/kie-wb-distributions/tree/master/kie-drools-wb kie-

Re: [rules-users] Need BRMS migration tool download zip file location to download

2014-06-18 Thread Michael Anstis
Download the Drools Workbench distribution from the Drools download page on the Drools website. It is in that zip file (jcr2vfs migration). Sent on the move On 19 Jun 2014 06:36, "LaKhI ReDdY!!!" wrote: > Hi , > > I need to migrate repository from BRMS 5.1.1 to BRMS 6.0.1. > In BRMS 6.0.

Re: [rules-users] 5.6 Decision Table VLookup

2014-06-17 Thread Michael Anstis
Thank-you Sent on the move On 17 Jun 2014 20:52, "gboro54" wrote: > > I will work on a test case and create a defect for it. I will see if I > can't > get some time to take a look at this myself but will keep you informed > about > my status on completing this ticket > > > manstis wrote > > That

Re: [rules-users] 5.6 Decision Table VLookup

2014-06-17 Thread Michael Anstis
That then is indeed a bug. Can you please raise a DROOLS JIRA and attach a unit test demonstrating the problem (preferably please submit your unit test as a Pull Request)? We're always on the look out for community contributions, so if you want to tackle a fix it would be appreciated; otherwise w

Re: [rules-users] 5.6 Decision Table VLookup

2014-06-17 Thread Michael Anstis
Is the VLOOKUP in the same sheet? I think there are problems with Apache POI resolving formulas across different worksheets (but am guessing based on some other changes we had to make regarding linked workbooks). On 17 June 2014 16:36, gboro54 wrote: > Is there a way to have a decision table b

Re: [rules-users] Need help in understanding Data enumeration’s drop down list configuration

2014-06-17 Thread Michael Anstis
What happens if you click on the "pencil" next to "equal to" dropdown and select "literal value"? This is when you should see the enum list. On 17 June 2014 10:00, Shrinath Managuli wrote: > Hi Drools, > > > > Need help in understanding Data enumeration’s drop down list configuration, > > > >

Re: [rules-users] Error while importing repository from Guvnor 5.1.1 to 5.3.3.Final

2014-06-16 Thread Michael Anstis
Hi Michael, > > Thanks for reply me. > Do you have any idea about how to get "support subscription" with Red > Hat regarding this? > If you have any idea, could you please share the details with me. > > > Regards, > Lakshmi Reddy > > > On Wed, Jun 11, 20

Re: [rules-users] Possible problem in PathMemory

2014-06-13 Thread Michael Anstis
I could be wrong but I thought dynamic salience used facts in working memory and hence your RHS would need to signal changes to the salience variables. Sent on the move On 14 Jun 2014 00:01, wrote: > Hi Mario, > > I figured out this is a problem with Event and dynamic salience. Suppose > we have

Re: [rules-users] Can't clone repository NoSuchElementException

2014-06-11 Thread Michael Anstis
If I change my Repo Name to > something that doesn’t exist in the git folder, it clones just fine. > > > > Sounds like a bug that should be reported, yes? > > > > Thanks. > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists

Re: [rules-users] Can't clone repository NoSuchElementException

2014-06-11 Thread Michael Anstis
Have you tried a non-bare repo? (I don't know if this will solve the issue but IIRC we normally use non-bare when testing). Sent on the move On 11 Jun 2014 03:46, "Parham, Clinton" wrote: > Hello, > > > > I have Drools 6.0.1 installed on RedHat Linux 5 and running under JBoss > EAP 6.1.1. > > >

Re: [rules-users] Decision Tables and modify

2014-06-11 Thread Michael Anstis
At the momemt 6.x only supports "update" columns (select an action and ensure the "update" engine checkbox is ticked). You can work around this, to get modify( x ) {...}, by using a BRL Fragment Action column and use a Free Form DRL Fragment entering the modify syntax. I am modifying Guided Rules

Re: [rules-users] Error while importing repository from Guvnor 5.1.1 to 5.3.3.Final

2014-06-11 Thread Michael Anstis
You're probably going to struggle finding support for migrating Guvnor 5.1 to 5.3 in the community. If you have a support subscription with Red Hat you can probably request assistance through your customer support network. See http://blog.athico.com/2011/04/drools-jbpm-community-versus-product.ht

Re: [rules-users] Drools Workbench - Cloning a local Repo Gives “Invalid remote: origin”

2014-06-10 Thread Michael Anstis
O-A-Cloned-1, > should also appear in instance B, REPO-A-Cloned-2, and that asset should > also appear in central repo, REPO-A. > > > > Regards, > > Zahid > > > > > > > > > > > > *From:* rules-users-boun...@lists.jboss.org [ > mailto:ru

Re: [rules-users] Drools Workbench - Cloning a local Repo Gives “Invalid remote: origin”

2014-06-08 Thread Michael Anstis
You won't need a user id or password. The remote origin error message is thrown by the underlying jgit library we use. Any repository that is cloned is considered a "remote" in git terms. The fact that it's on your local machine makes no difference in git terms. Sent on the move On 8 Jun 2014 11

Re: [rules-users] Workbench: Error after cloning repository

2014-06-03 Thread Michael Anstis
Can you create a repository that you can share to reproduce the problem? Sent on the move On 3 Jun 2014 19:10, "Steinmetz, Jean-Philippe" < jpsteinm...@theworkshop.us.com> wrote: > Does anyone have an idea why I am getting these compilation errors? This > is currently blocking me at the moment an

Re: [rules-users] About the Quest Of : How to push changes to cloned repo onKie-Workbench

2014-06-03 Thread Michael Anstis
If you want to push back to a Workbench's git repository you'll need to clone with ssh://@. The URL can be obtained from the Administration Perspective. I know many others have been able to clone with SSH and push committed changes back to the workbench using this approach successfully. On 25 M

Re: [rules-users] mvn deploy to workbench fails: Return code is: 405, ReasonPhrase:Method Not Allowed.

2014-06-03 Thread Michael Anstis
This is a missing feature - it looks like we're only setup to serve content from the Workbench's Maven repository; not accept new content. Could you please raise a GUVNOR JIRA (https://issues.jboss.org/browse/GUVNOR) requesting this to be provided? Thanks. On 28 May 2014 14:51, jmterrettaz wro

Re: [rules-users] Drools-6 WB | Why Database is Required for Indexing When GIT repo is available

2014-06-02 Thread Michael Anstis
Indexes are stored in Lucene's "database" which we configure to also be file system based. So the documentation is a little misleading - we don't use nor do you need a classical RDBMS system. Sent on the move On 3 Jun 2014 04:49, "Zahid Ahmed" wrote: > Hi, > > > > In Drools-6 documentation its

Re: [rules-users] Rules storage without Guvnor?

2014-06-02 Thread Michael Anstis
What version are you considering (the reply differs for each). Sent on the move On 2 Jun 2014 08:40, "Péter Gergely, Horváth" wrote: > Hello All, > > We are evaluating Drools for our use case and would have a question for > storing rules files. We are in a relatively constrained environment, whe

Re: [rules-users] Workbench: Error after cloning repository

2014-05-29 Thread Michael Anstis
Sounds like the pom for the project in the repository you have cloned has a "provided" scope dependency on an open office JAR? Is the CNFE in the server log or does it interfer with runtime operation of the workbench? (I.e do you get an error pop up) Sent on the move On 28 May 2014 21:51, "Steinm

Re: [rules-users] Drools 6.0 workbench user interface

2014-05-23 Thread Michael Anstis
Almost 100% correct. You can include a "KJAR" (Drools 6.x unit of deployment == JAR + META-INF/kmodule.xml) as a Maven dependency in a project needing the rules/processes etc. If you need to monitor and update rules/processes etc in your KieBase as new SNAPSHOTS of the KJAR are published you need

Re: [rules-users] XML and the Guided Decision Tables

2014-05-21 Thread Michael Anstis
There is no schema for a GDST; it's simply an XStream dump of the POJO model behind the editor. We support conversion of XLS decision tables to GDST as from 5.4 (I think; it's definitely in 5.5 and 6.0). If either (a) you're not using XLS decision tables or (b) you want them converted outside of

Re: [rules-users] Startup KIE Workbench without network connection

2014-05-19 Thread Michael Anstis
This is true. It looks like we don't handle errors thrown when attempting to set-upthe default repositories. Could you please

Re: [rules-users] Startup KIE Workbench without network connection

2014-05-15 Thread Michael Anstis
When the workbench starts it tries to download an example repository. The documentation lists various system properties you can use to disable this automatic download. On 15 May 2014 16:27, Sandjaja, Dominik wrote: > Hello, > > > > I try to setup KIE Workbench (6.1.0.BetaX) on Tomcat 7 on a Wi

Re: [rules-users] NullPointerException when calling FactType.set and FactType.setFromMap

2014-05-06 Thread Michael Anstis
Data Modeller generates Java classes in 6.x whereas we generated DRL Declarative Types before. The getFactType() API is for manipulating declared types. Java's standard Reflection API is for manipulating Java classes. Sent on the move On 6 May 2014 20:57, "Patel, Ronak (Autonomy)" wrote: > He

Re: [rules-users] Rule Orchestration

2014-05-01 Thread Michael Anstis
Is "prodList" a global? I'd be tempted to make it a regular fact inserted into Working Memory and have DT1's action update the fact after inserting the product. See http://stackoverflow.com/questions/17848823/drools-using-a-global-variable-in-condition-and-updating-it-in-consequence On 28 April

Re: [rules-users] Rule Orchestration

2014-04-28 Thread Michael Anstis
Can you provide screen shots of both DT's, including their data? It's quite difficult to understand their content from the pasted text. On 28 April 2014 15:35, swaroop wrote: > Hi, > > Iam using Drools 5.6 , developing rules on guvnor. I have a scenario where > i > have two decision tables , O

Re: [rules-users] Upgrade Guvnor 5.5.0 repository to Drools-WB 6.0

2014-04-23 Thread Michael Anstis
http://drools.46999.n3.nabble.com/Migration-to-Drools-6-and-Workbench-from-Guvnor-5-5-td4028040.html On 23 April 2014 07:54, 706826 wrote: > Hi, > > Did you get the solutin for the migration. > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Upgrade-Guvnor-5-5-0-rep

Re: [rules-users] Free Form DRL through BRL in guided decision table

2014-04-14 Thread Michael Anstis
H... not a family film. Sent on the move On 14 Apr 2014 23:18, "Michael Anstis" wrote: > That'd be great :-) > > Saw III looks promising ;-) > > Sent on the move > On 14 Apr 2014 23:13, "Joe White" wrote: > >> Thanks Mike. I see that

Re: [rules-users] Free Form DRL through BRL in guided decision table

2014-04-14 Thread Michael Anstis
ssue a pull. Let me know. > > > > Joe > > > > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* Monday, April 14, 2014 4:08 PM > *To:* Rules Users List > *Subject:* Re: [rules-users] Free

Re: [rules-users] Free Form DRL through BRL in guided decision table

2014-04-14 Thread Michael Anstis
You need to use a "Template variable" in the BRL fragment. ServiceLineStatusInfo( claimStatusCodes contains "@{param}") On 14 April 2014 23:01, Joe White wrote: > Does the workbench extended entry guided decision table support this > kind of syntax: > > ServiceLineStatusInfo( claimStatusCodes

Re: [rules-users] Problems deploying war

2014-04-14 Thread Michael Anstis
> > (The password has been starred out in this e-mail) > The only change I made to the war was > mv org.uberfire.security.auth.AuthenticationSource-TOMCAT-JEE-SECURITY > org.uberfire.security.auth.AuthenticationSource > > Is there something I have to do with the login.config

Re: [rules-users] Problems deploying war

2014-04-14 Thread Michael Anstis
r.repositories.git.GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.newRepository(GitRepositoryFactoryHelper$Proxy$_$$_WeldClientProxy.java) > ~[uberfire-backend-server-0.3.1.Final.jar:0.3.1.Final] > > > Thanks, > Ven > > > On 04/14/2014 08:57 AM, Michael Anstis wrote: &g

Re: [rules-users] Problems deploying war

2014-04-14 Thread Michael Anstis
he problem. > Also, I'm a bit confused by the directions - how can we modify the WEB-INF > directory before the war is deployed? And how do we define users > in the login.config file? > > > Thanks, > Ven > > On 04/11/2014 10:49 AM, Michael Anstis wrote: > > Hi,

Re: [rules-users] Problems deploying war

2014-04-14 Thread Michael Anstis
here, but I'll check the readme again. > Where can I get the jacc and kie-tomcat-integration jar files from? > > Thanks, > Ven > > > On 04/11/2014 10:49 AM, Michael Anstis wrote: > > Hi, > > There have been a few people with Tomcat deployment issues for > ki

Re: [rules-users] how KnowledgeAgent to use guvnor cluster?

2014-04-14 Thread Michael Anstis
Presumably your cluster is fronted by a load-balancer? I'd think (but not tried) you'd simply be able to configure KA to use your load-balancer's address? On 14 April 2014 03:23, 窦晓峰 wrote: > Hello, every one: > > I am newbie for drools and guvnor, so excuse me if the question > is du

Re: [rules-users] Problems deploying war

2014-04-11 Thread Michael Anstis
thico.com/2013/06/goodbye-guvnor-hello-drools-workbench.html> . On 11 April 2014 15:49, Michael Anstis wrote: > Hi, > > There have been a few people with Tomcat deployment issues for > kie-drools-wb, so I thought I'd give it a try. > > These are the steps I followed for

Re: [rules-users] How to install Drool web WB - Tomcat?

2014-04-11 Thread Michael Anstis
Please see other email on this subject to which I've replied. On 11 April 2014 00:13, bbarani wrote: > I download the drools workbench war > (kie-drools-wb-distribution-6.0.1.Final.zip) and tried deploying it on > Tomcat. The application gets deployed but not getting started (when seen > from s

Re: [rules-users] Guvnor - Importing Drl FIle and its associated model

2014-04-11 Thread Michael Anstis
What version are you using? On 10 April 2014 20:39, mattmadhavan wrote: > Hello, > In have a working Drools project. I would like to import existing DRL files > and associated Model file. > > I have a custom operator as well. I have packaged the Model and necessary > operators and util global f

Re: [rules-users] Problems deploying war

2014-04-11 Thread Michael Anstis
Hi, There have been a few people with Tomcat deployment issues for kie-drools-wb, so I thought I'd give it a try. These are the steps I followed for *successful* deployment (most of which is already documented, but not obvious, in the WAR's README.txt file):- *6.0.1* Starting with a clean insta

Re: [rules-users] If I have a rule that has a lot of permutation, which is the best approach to set it up? (Currently using decision table)

2014-04-11 Thread Michael Anstis
If rows have default values they will populate the cells when you add a new row. You could set default values, add your rows, and then remove said default values if no longer applicable. On 11 April 2014 13:35, SSWA wrote: > Attached is a sample rule decision table that I have set up. > > As y

Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Michael Anstis
OK, I imported your JAR and created a rule as shown below. The Guided Rule Editor had the option to select the enums for Country. Theonly issue I had was with "Destination" itself - as it should be a lower case "d". Drools Compiler did report an error that is was ..."Unable to create Field Extra

Re: [rules-users] External Jar/Pojo in Drools Workbench.

2014-04-10 Thread Michael Anstis
There should be no need to extend the classes in the JAR using the Data Modeller (unless you really want to of course). Did you import all the classes your rule needs - if they are in different packages - with the "Config" tab? Can you please provide your JAR and a screen-shot of the rule you're

Re: [rules-users] Simplified view for business users

2014-04-09 Thread Michael Anstis
They're the only roles defined by default for kie-drools-wb: https://github.com/droolsjbpm/kie-wb-distributions/blob/master/kie-drools-wb/kie-drools-wb-distribution-wars/src/main/jbossas7/WEB-INF/web.xml#L508 Roles "developer", "manager" and "user" are used by kie-wb for jBPM related aspects not i

Re: [rules-users] External Imports

2014-04-02 Thread Michael Anstis
These should be added as "Import suggestions" in the Project Editor in the Authoring Perspective. Sent on the move On 2 Apr 2014 22:22, "vvicky72" wrote: > I am using the latest drools wb on jboss as7. > > Trying to add java.lang.ArrayList to the project.imports. But the New item > button is dis

Re: [rules-users] problem deploying guvnor in Jboss Wildfly8.0.0.Final

2014-04-02 Thread Michael Anstis
Guvnor only existed as a web application up to 5.6.x. Thereafter (i.e. 6.x) you need to clone drools-wb ( https://github.com/droolsjbpm/drools-wb) or one of the other distributions ( https://github.com/droolsjbpm/kie-wb-distributions). See http://blog.athico.com/2013/06/goodbye-guvnor-hello-drool

Re: [rules-users] kie-drools workbench 6.0.1 on WebSphere 8.5.5

2014-04-01 Thread Michael Anstis
ules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis > *Sent:* 01 April 2014 19:03 > *To:* Rules Users List > *Subject:* Re: [rules-users] kie-drools workbench 6.0.1 on WebSphere 8.5.5 > > > > There is a WAS distributio

Re: [rules-users] kie-drools workbench 6.0.1 on WebSphere 8.5.5

2014-04-01 Thread Michael Anstis
There is a WAS distribution you can try (for the next release, or grab it from github). It was no simple exercise making it work on WAS. On 1 April 2014 14:28, Shrinath Managuli wrote: > Hi all, > > I'm trying to tweak with workbench war meant for tomcat 7 work for > webshpere 8.5.5. > >

  1   2   3   4   5   6   7   8   9   10   >