From mproctor at codehaus.org Wed Jul 9 12:54:55 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Wed, 9 Jul 2014 17:54:55 +0100 Subject: [rules-dev] Fwd: Migrating kie-ci to maven 3.2.x and eclipse.aether References: Message-ID: <0987A676-413B-4A31-90F4-08144E57FFE9@codehaus.org> Begin forwarded message: > From: Mario Fusco > Subject: Migrating kie-ci to maven 3.2.x and eclipse.aether > Date: 9 July 2014 17:47:30 BST > To: Mark Proctor , Edson Tirelli , Charles Moulliard , Geoffrey De Smet , Michael Anstis , Toni Rikkola , Marco Rietveld > > Hi all, > > since they finally deployed a stable version of eclipse.aether, today I completed the migration of kie-ci to maven 3.2.x and eclipse.aether and pushed it to master. > > All the tests are green and the observable behaviour of the kie-ci module isn't changed (for what I can see) so this migration shouldn't break any other project depending on kie-ci. Anyway if you'll find any problem please report it to me asap. > > For what regards the OSGi support now all the eclipse.aether jars are valid OSGi bundles, but unfortunately the maven 3.2.x still aren't and we have this same problem also for plexus that is still internally used by maven. For this reason I am afraid we still need to use the kie-ci-osgi shaded bundle. > > Charles, do you have some better idea? Do you think it could be helpful to bring at least the eclipse.aether jars out of it? I also tried that kie-ci-osgi still works in karaf but if you could double check that everything is ok also with the other examples you developed I'll really appreciate it. > > Mario -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140709/50902974/attachment.html From mproctor at codehaus.org Tue Jul 22 10:19:22 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Tue, 22 Jul 2014 15:19:22 +0100 Subject: [rules-dev] Drools Executable Model (Rules in pure Java) Message-ID: <248DDE3B-B711-45C6-A7FC-76042F426F59@codehaus.org> http://blog.athico.com/2014/07/drools-executable-model.html Drools Executable Model (Rules in pure Java) Posted by Mario Fusco The Executable Model is a re-design of the Drools lowest level model handled by the engine. In the current series (up to 6.x) the executable model has grown organically over the last 8 years, and was never really intended to be targeted by end users. Those wishing to programmatically write rules were advised to do it via code generation and target drl; which was no ideal. There was never any drive to make this more accessible to end users, because extensive use of anonymous classes in Java was unwieldy. With Java 8 and Lambda's this changes, and the opportunity to make a more compelling model that is accessible to end users becomes possible. This new model is generated during the compilation process of higher level languages, but can also be used on its own. The goal is for this Executable Model to be self contained and avoid the need for any further byte code munging (analysis, transformation or generation); From this model's perspective, everything is provided either by the code or by higher level language layers. For example indexes etc must be provided by arguments, which the higher level language generates through analysis, when it targets the Executable model. It is designed to map well to a Fluent level builders, leveraging Java 8's lambdas. This will make it more appealing to java developers, and language developers. Also this will allow low level engine feature design and testing, independent of any language. Which means we can innovate at an engine level, without having to worry about the language layer. The Executable Model should be generic enough to map into multiple domains. It will be a low level dataflow model in which you can address functional reactive programming models, but still usable to build a rule based system out of it too. The following example provides a first view of the fluent DSL used to build the executable model ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 DataSource persons = sourceOf(new Person("Mark", 37), new Person("Edson", 35), new Person("Mario", 40)); Variable markV = bind(typeOf(Person.class)); Rule rule = rule("Print age of persons named Mark") .view( input(markV, () -> persons), expr(markV, person -> person.getName().equals("Mark")) ) .then( on(markV).execute(mark -> System.out.println(mark.getAge()) ) ); The previous code defines a DataSource containing a few person instances and declares the Variable markV of type Person. The rule itself contains the usual two parts: the LHS is defined by the set of inputs and expressions passed to the view() method, while the RHS is the action defined by the lambda expression passed to the then() method. Analyzing the LHS in more detail, the statement ? 1 input(markV, () -> persons) binds the objects from the persons DataSource to the markV variable, pattern matching by the object class. In this sense the DataSource can be thought as the equivalent of a Drools entry-point. Conversely the expression ? 1 expr(markV, person -> person.getName().equals("Mark")) uses a Predicate to define a condition that the object bound to the markV Variable has to satisfy in order to be successfully matched by the engine. Note that, as anticipated, the evaluation of the pattern matching is not performed by a constraint generated as a result of any sort of analysis or compilation process, but it's merely executed by applying the lambda expression implementing the predicate ( in this case, person -> person.getName().equals("Mark") ) to the object to be matched. In other terms the former DSL produces the executable model of a rule that is equivalent to the one resulting from the parsing of the following drl. ? 1 2 3 4 5 6 rule "Print age of persons named Mark" when markV : Person( name == "Mark" ) from entry-point "persons" then System.out.println(markV.getAge()); end It is also under development a rete builder that can be fed with the rules defined with this DSL. In particular it is possible to add these rules to a CanonicalKieBase and then to create KieSessions from it as for any other normal KieBase. ? 1 2 3 4 5 CanonicalKieBase kieBase = new CanonicalKieBase(); kieBase.addRules(rule); KieSession ksession = kieBase.newKieSession(); ksession.fireAllRules(); Of course the DSL also allows to define more complex conditions like joins: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Variable markV = bind(typeOf(Person.class)); Variable olderV = bind(typeOf(Person.class)); Rule rule = rule("Find persons older than Mark") .view( input(markV, () -> persons), input(olderV, () -> persons), expr(markV, mark -> mark.getName().equals("Mark")), expr(olderV, markV, (older, mark) -> older.getAge() > mark.getAge()) ) .then( on(olderV, markV) .execute((p1, p2) -> System.out.println(p1.getName() + " is older than " + p2.getName()) ) ); or existential patterns: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Variable oldestV = bind(typeOf(Person.class)); Variable otherV = bind(typeOf(Person.class)); Rule rule = rule("Find oldest person") .view( input(oldestV, () -> persons), input(otherV, () -> persons), not(otherV, oldestV, (p1, p2) -> p1.getAge() > p2.getAge()) ) .then( on(oldestV) .execute(p -> System.out.println("Oldest person is " + p.getName()) ) ); Here the not() stands for the negation of any expression, so the form used above is actually only a shortcut for ? 1 not( expr( otherV, oldestV, (p1, p2) -> p1.getAge() > p2.getAge() ) ) Also accumulate is already supported in the following form: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Variable person = bind(typeOf(Person.class)); Variable resultSum = bind(typeOf(Integer.class)); Variable resultAvg = bind(typeOf(Double.class)); Rule rule = rule("Calculate sum and avg of all persons having a name starting with M") .view( input(person, () -> persons), accumulate(expr(person, p -> p.getName().startsWith("M")), sum(Person::getAge).as(resultSum), avg(Person::getAge).as(resultAvg)) ) .then( on(resultSum, resultAvg) .execute((sum, avg) -> result.value = "total = " + sum + "; average = " + avg) ); To provide one last more complete use case, the executable model of the classical fire and alarm example can be defined with this DSL as it follows. ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 Variable room = any(Room.class); Variable fire = any(Fire.class); Variable sprinkler = any(Sprinkler.class); Variable alarm = any(Alarm.class); Rule r1 = rule("When there is a fire turn on the sprinkler") .view( input(fire), input(sprinkler), expr(sprinkler, s -> !s.isOn()), expr(sprinkler, fire, (s, f) -> s.getRoom().equals(f.getRoom())) ) .then( on(sprinkler) .execute(s -> { System.out.println("Turn on the sprinkler for room " + s.getRoom().getName()); s.setOn(true); }) .update(sprinkler, "on") ); Rule r2 = rule("When the fire is gone turn off the sprinkler") .view( input(sprinkler), expr(sprinkler, Sprinkler::isOn), input(fire), not(fire, sprinkler, (f, s) -> f.getRoom().equals(s.getRoom())) ) .then( on(sprinkler) .execute(s -> { System.out.println("Turn off the sprinkler for room " + s.getRoom().getName()); s.setOn(false); }) .update(sprinkler, "on") ); Rule r3 = rule("Raise the alarm when we have one or more fires") .view( input(fire), exists(fire) ) .then( execute(() -> System.out.println("Raise the alarm")) .insert(() -> new Alarm()) ); Rule r4 = rule("Lower the alarm when all the fires have gone") .view( input(fire), not(fire), input(alarm) ) .then( execute(() -> System.out.println("Lower the alarm")) .delete(alarm) ); Rule r5 = rule("Status output when things are ok") .view( input(alarm), not(alarm), input(sprinkler), not(sprinkler, Sprinkler::isOn) ) .then( execute(() -> System.out.println("Everything is ok")) ); CanonicalKieBase kieBase = new CanonicalKieBase(); kieBase.addRules(r1, r2, r3, r4, r5); KieSession ksession = kieBase.newKieSession(); // phase 1 Room room1 = new Room("Room 1"); ksession.insert(room1); FactHandle fireFact1 = ksession.insert(new Fire(room1)); ksession.fireAllRules(); // phase 2 Sprinkler sprinkler1 = new Sprinkler(room1); ksession.insert(sprinkler1); ksession.fireAllRules(); assertTrue(sprinkler1.isOn()); // phase 3 ksession.delete(fireFact1); ksession.fireAllRules(); In this example it's possible to note a few more things: Some repetitions are necessary to bind the parameters of an expression to the formal parameters of the lambda expression evaluating it. Hopefully it will be possible to overcome this issue using the -parameters compilation argument when this JDK bug will be resolved. any(Room.class) is a shortcut for bind(typeOf(Room.class)) The inputs don't declare a DataSource. This is a shortcut to state that those objects come from a default empty DataSource (corresponding to the Drools default entry-point). In fact in this example the facts are programmatically inserted into the KieSession. Using an input without providing any expression for that input is actually a shortcut for input(alarm), expr(alarm, a -> true) In the same way an existential pattern without any condition like not(fire) is another shortcut for not( expr( fire, f -> true ) ) Java 8 syntax also allows to define a predicate as a method reference accessing a boolean property of a fact like in expr(sprinkler, Sprinkler::isOn) The RHS, together with the block of code to be executed, also provides a fluent interface to define the working memory actions (inserts/updates/deletes) that have to be performed when the rule is fired. In particular the update also gets a varargs of Strings reporting the name of the properties changed in the updated fact like in update(sprinkler, "on"). Once again this information has to be explicitly provided because the executable model has to be created without the need of any code analysis. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140722/82c8c2ff/attachment-0001.html From jmaterna at securelogix.com Tue Jul 22 16:20:27 2014 From: jmaterna at securelogix.com (evidence01) Date: Tue, 22 Jul 2014 13:20:27 -0700 (PDT) Subject: [rules-dev] 6.1.x build failures Message-ID: <1406060426793-4030442.post@n3.nabble.com> Hey folks, I am working to try and get some of application code moved from 6.0.1 to 6.1.x and running into some issues. Ive pulled droolsjbpm/drools, drools-wb, kie-b-distributions and only drools-wb builds. We are using the "kie" skin under kie-wb-distributions and as such I can't get that guy to build. Who is prime on these wrt. to build sanity? [root at ngp-m2 drools.git]# mvn install -DskipTests --fail-at-end .... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.383 s [INFO] Finished at: 2014-05-13T22:38:17-06:00 [INFO] Final Memory: 77M/535M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project drools-compiler: Compilation failure: Compilation failure: [ERROR] /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[899,32] error: cannot find symbol [ERROR] symbol: method verify() [ERROR] location: variable helper of type KieHelper [ERROR] /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[919,32] error: cannot find symbol [ERROR] symbol: method verify() [ERROR] location: variable helper of type KieHelper [ERROR] /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[940,32] error: cannot find symbol [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :drools-compiler [root at ngp-m2 drools.git]# git branch * 6.1.x [root at ngp-m2 kie-wb-distributions.git]# mvn install -DskipTests --fail-at-end .... [INFO] --- gwt-maven-plugin:2.5.1:resources (gwt-compile) @ kie-drools-wb-webapp --- [INFO] 16 source files from GWT module org.kie.workbench.drools.FastCompiledKIEDroolsWebapp [INFO] [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ kie-drools-wb-webapp --- [INFO] Compiling 6 source files to /root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ kie-drools-wb-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ kie-drools-wb-webapp --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ kie-drools-wb-webapp --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-resources-plugin:2.6:copy-resources (copy-resources) @ kie-drools-wb-webapp --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [INFO] --- gwt-maven-plugin:2.5.1:compile (gwt-compile) @ kie-drools-wb-webapp --- [INFO] Compiling module org.kie.workbench.drools.FastCompiledKIEDroolsWebapp [INFO] Validating units: [INFO] [ERROR] Errors in 'org/drools/workbench/screens/guided/dtable/client/widget/AbstractBRLColumnViewImpl.java' [INFO] [ERROR] Line 43: The import org.drools.workbench.models.datamodel.rule.RuleModelVisitor cannot be resolved [INFO] [ERROR] Line 262: RuleModelVisitor cannot be resolved to a type [INFO] [ERROR] Line 262: RuleModelVisitor cannot be resolved to a type [INFO] [ERROR] Errors in 'org/drools/workbench/screens/guided/rule/client/widget/ExpressionBuilder.java' [INFO] [ERROR] Line 544: The method setName(String) is undefined for the type ExpressionText [INFO] [ERROR] Errors in 'org/drools/workbench/screens/guided/rule/client/widget/FactPatternWidget.java' [INFO] [ERROR] Line 807: The method getText(ToStringExpressionVisitor) in the type ExpressionFormLine is not applicable for the arguments () [INFO] [ERROR] Aborting compile due to errors in some input files [INFO] [INFO] ------------------------------------------------------------------------ Thanks! -J -- View this message in context: http://drools.46999.n3.nabble.com/6-1-x-build-failures-tp4030442.html Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. From michael.anstis at gmail.com Tue Jul 22 16:27:22 2014 From: michael.anstis at gmail.com (Michael Anstis) Date: Tue, 22 Jul 2014 21:27:22 +0100 Subject: [rules-dev] 6.1.x build failures In-Reply-To: <1406060426793-4030442.post@n3.nabble.com> References: <1406060426793-4030442.post@n3.nabble.com> Message-ID: kie-wb-distributions/kie-wb should compile if you fetch the latest drools and drools-wb. The class in the log is in drools/drools-workbench-models and was moved to a different package (reasonably recently). Sent on the move On 22 Jul 2014 21:21, "evidence01" wrote: > Hey folks, > > I am working to try and get some of application code moved from 6.0.1 to > 6.1.x and running into some issues. > > Ive pulled droolsjbpm/drools, drools-wb, kie-b-distributions and only > drools-wb builds. We are using the "kie" skin under kie-wb-distributions > and > as such I can't get that guy to build. > > Who is prime on these wrt. to build sanity? > > [root at ngp-m2 drools.git]# mvn install -DskipTests --fail-at-end > .... > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 17.383 s > [INFO] Finished at: 2014-05-13T22:38:17-06:00 > [INFO] Final Memory: 77M/535M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile > (default-testCompile) on project drools-compiler: Compilation failure: > Compilation failure: > [ERROR] > > /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[899,32] > error: cannot find symbol > [ERROR] symbol: method verify() > [ERROR] location: variable helper of type KieHelper > [ERROR] > > /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[919,32] > error: cannot find symbol > [ERROR] symbol: method verify() > [ERROR] location: variable helper of type KieHelper > [ERROR] > > /root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[940,32] > error: cannot find symbol > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :drools-compiler > [root at ngp-m2 drools.git]# git branch > * 6.1.x > > [root at ngp-m2 kie-wb-distributions.git]# mvn install -DskipTests > --fail-at-end > .... > [INFO] --- gwt-maven-plugin:2.5.1:resources (gwt-compile) @ > kie-drools-wb-webapp --- > [INFO] 16 source files from GWT module > org.kie.workbench.drools.FastCompiledKIEDroolsWebapp > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ > kie-drools-wb-webapp --- > [INFO] Compiling 6 source files to > > /root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/target/classes > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) > @ kie-drools-wb-webapp --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > > /root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/src/test/resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @ > kie-drools-wb-webapp --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.15:test (default-test) @ > kie-drools-wb-webapp --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-resources-plugin:2.6:copy-resources (copy-resources) @ > kie-drools-wb-webapp --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 3 resources > [INFO] > [INFO] --- gwt-maven-plugin:2.5.1:compile (gwt-compile) @ > kie-drools-wb-webapp --- > [INFO] Compiling module > org.kie.workbench.drools.FastCompiledKIEDroolsWebapp > [INFO] Validating units: > [INFO] [ERROR] Errors in > > 'org/drools/workbench/screens/guided/dtable/client/widget/AbstractBRLColumnViewImpl.java' > [INFO] [ERROR] Line 43: The import > org.drools.workbench.models.datamodel.rule.RuleModelVisitor cannot be > resolved > [INFO] [ERROR] Line 262: RuleModelVisitor cannot be resolved to a > type > [INFO] [ERROR] Line 262: RuleModelVisitor cannot be resolved to a > type > [INFO] [ERROR] Errors in > > 'org/drools/workbench/screens/guided/rule/client/widget/ExpressionBuilder.java' > [INFO] [ERROR] Line 544: The method setName(String) is undefined > for the type ExpressionText > [INFO] [ERROR] Errors in > > 'org/drools/workbench/screens/guided/rule/client/widget/FactPatternWidget.java' > [INFO] [ERROR] Line 807: The method > getText(ToStringExpressionVisitor) in the type ExpressionFormLine is not > applicable for the arguments () > [INFO] [ERROR] Aborting compile due to errors in some input files > [INFO] > [INFO] > ------------------------------------------------------------------------ > > > Thanks! > -J > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/6-1-x-build-failures-tp4030442.html > Sent from the Drools: Developer (committer) mailing list mailing list > archive at Nabble.com. > _______________________________________________ > rules-dev mailing list > rules-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140722/e64fa065/attachment.html From jmaterna at securelogix.com Tue Jul 22 16:39:25 2014 From: jmaterna at securelogix.com (evidence01) Date: Tue, 22 Jul 2014 13:39:25 -0700 (PDT) Subject: [rules-dev] Anyone want to help on our new Rule Algorithm? In-Reply-To: <08CAFEF8-E230-4FE5-96CE-1B25B0525FE2@codehaus.org> References: <08CAFEF8-E230-4FE5-96CE-1B25B0525FE2@codehaus.org> Message-ID: <1406061565453-4030444.post@n3.nabble.com> Very interested in migrating Drools to a true multi-core engine! Having looked at commercial alternatives for CEP such as SAP, etc. I believe if Drools was able to fully leverage multiprocessors we could have a substantial story on our hands. This not to mention that I have application needs today for mulit-core which we are planning to circumvent by running multiple engines - with no engine tie of coarse (bad but manageable if rules are segmented). -Jacek -- View this message in context: http://drools.46999.n3.nabble.com/Anyone-want-to-help-on-our-new-Rule-Algorithm-tp4029508p4030444.html Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. From jmaterna at securelogix.com Tue Jul 22 17:07:27 2014 From: jmaterna at securelogix.com (evidence01) Date: Tue, 22 Jul 2014 14:07:27 -0700 (PDT) Subject: [rules-dev] 6.1.x build failures In-Reply-To: References: <1406060426793-4030442.post@n3.nabble.com> Message-ID: <1406063247338-4030446.post@n3.nabble.com> thanks. It ended up being something on my end. closing the thread. -- View this message in context: http://drools.46999.n3.nabble.com/6-1-x-build-failures-tp4030442p4030446.html Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. From mproctor at codehaus.org Fri Jul 25 18:42:30 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Fri, 25 Jul 2014 23:42:30 +0100 Subject: [rules-dev] Anyone want to help on our new Rule Algorithm? In-Reply-To: <1406061565453-4030444.post@n3.nabble.com> References: <08CAFEF8-E230-4FE5-96CE-1B25B0525FE2@codehaus.org> <1406061565453-4030444.post@n3.nabble.com> Message-ID: <01FD60D7-3C23-4803-857A-CCB20D9A41FF@codehaus.org> we?ll provide real time mentoring on irc and g+, to anyone who actively gets involved. We?ll talk through code, explain what things do, provide direction etc. Mark On 22 Jul 2014, at 21:39, evidence01 wrote: > Very interested in migrating Drools to a true multi-core engine! Having > looked at commercial alternatives for CEP such as SAP, etc. I believe if > Drools was able to fully leverage multiprocessors we could have a > substantial story on our hands. This not to mention that I have application > needs today for mulit-core which we are planning to circumvent by running > multiple engines - with no engine tie of coarse (bad but manageable if rules > are segmented). > > -Jacek > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Anyone-want-to-help-on-our-new-Rule-Algorithm-tp4029508p4030444.html > Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. > _______________________________________________ > rules-dev mailing list > rules-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev From sundar_m at solartis.net Sat Jul 26 01:30:53 2014 From: sundar_m at solartis.net (sundar_m at solartis.net) Date: Sat, 26 Jul 2014 11:00:53 +0530 (IST) Subject: [rules-dev] =?utf-8?q?Anyone_want_to_help_on_our_new_Rule_Algorit?= =?utf-8?b?aG0/?= In-Reply-To: <01FD60D7-3C23-4803-857A-CCB20D9A41FF@codehaus.org> References: <08CAFEF8-E230-4FE5-96CE-1B25B0525FE2@codehaus.org> <1406061565453-4030444.post@n3.nabble.com> <01FD60D7-3C23-4803-857A-CCB20D9A41FF@codehaus.org> Message-ID: <1406352653.13713088@apps.rackspace.com> Hi Mark, I am interested on that, Do I need to know any additional information before starting this. Thanks, Regards Sundar.M -----Original Message----- From: "Mark Proctor" Sent: Saturday, July 26, 2014 4:12am To: "Rules Dev List" Subject: Re: [rules-dev] Anyone want to help on our new Rule Algorithm? we?ll provide real time mentoring on irc and g+, to anyone who actively gets involved. We?ll talk through code, explain what things do, provide direction etc. Mark On 22 Jul 2014, at 21:39, evidence01 wrote: > Very interested in migrating Drools to a true multi-core engine! Having > looked at commercial alternatives for CEP such as SAP, etc. I believe if > Drools was able to fully leverage multiprocessors we could have a > substantial story on our hands. This not to mention that I have application > needs today for mulit-core which we are planning to circumvent by running > multiple engines - with no engine tie of coarse (bad but manageable if rules > are segmented). > > -Jacek > > > > -- > View this message in context: http://drools.46999.n3.nabble.com/Anyone-want-to-help-on-our-new-Rule-Algorithm-tp4029508p4030444.html > Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. > _______________________________________________ > rules-dev mailing list > rules-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev _______________________________________________ rules-dev mailing list rules-dev at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140726/0d8c6d67/attachment-0001.html From mproctor at codehaus.org Sat Jul 26 13:15:59 2014 From: mproctor at codehaus.org (Mark Proctor) Date: Sat, 26 Jul 2014 18:15:59 +0100 Subject: [rules-dev] Anyone want to help on our new Rule Algorithm? In-Reply-To: <1406352653.13713088@apps.rackspace.com> References: <08CAFEF8-E230-4FE5-96CE-1B25B0525FE2@codehaus.org> <1406061565453-4030444.post@n3.nabble.com> <01FD60D7-3C23-4803-857A-CCB20D9A41FF@codehaus.org> <1406352653.13713088@apps.rackspace.com> Message-ID: Read this three articles: 1) http://blog.athico.com/2013/11/rip-rete-time-to-get-phreaky.html 2) http://blog.athico.com/2014/01/drools-phreak-stack-based-evaluations.html 3) http://blog.athico.com/2014/02/drools-6-performance-with-phreak.html 4) http://blog.athico.com/2014/07/drools-executable-model.html Checkout the code from github: https://github.com/droolsjbpm/drools Ask Qs on irc, look for mfusco, conan, etirelli or sotty. http://drools.jboss.org/irc Mark On 26 Jul 2014, at 06:30, sundar_m at solartis.net wrote: > Hi Mark, > > I am interested on that, Do I need to know any additional information before starting this. > > Thanks, > Regards > Sundar.M > > > -----Original Message----- > From: "Mark Proctor" > Sent: Saturday, July 26, 2014 4:12am > To: "Rules Dev List" > Subject: Re: [rules-dev] Anyone want to help on our new Rule Algorithm? > > we?ll provide real time mentoring on irc and g+, to anyone who actively gets involved. We?ll talk through code, explain what things do, provide direction etc. > > Mark > On 22 Jul 2014, at 21:39, evidence01 wrote: > > > Very interested in migrating Drools to a true multi-core engine! Having > > looked at commercial alternatives for CEP such as SAP, etc. I believe if > > Drools was able to fully leverage multiprocessors we could have a > > substantial story on our hands. This not to mention that I have application > > needs today for mulit-core which we are planning to circumvent by running > > multiple engines - with no engine tie of coarse (bad but manageable if rules > > are segmented). > > > > -Jacek > > > > > > > > -- > > View this message in context: http://drools.46999.n3.nabble.com/Anyone-want-to-help-on-our-new-Rule-Algorithm-tp4029508p4030444.html > > Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com. > > _______________________________________________ > > rules-dev mailing list > > rules-dev at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/rules-dev > > > _______________________________________________ > rules-dev mailing list > rules-dev at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20140726/65520164/attachment.html From cvgaviao at gmail.com Wed Jul 30 08:36:38 2014 From: cvgaviao at gmail.com (=?UTF-8?B?Q3Jpc3RpYW5vIEdhdmnDo28=?=) Date: Wed, 30 Jul 2014 09:36:38 -0300 Subject: [rules-dev] Problem to build with CR2 due missing dashboard-builder-bom:pom:6.1.0.CR2 Message-ID: <53D8E6D6.6000300@gmail.com> Hi, I'm trying to build with the CR2 release and I'm getting this error in jenkins: [ERROR] Internal error: java.lang.RuntimeException: Could not resolve project dependencies: Unable to get dependency information for org.kie:kie-api:jar:6.1.0.CR2: Failed to process POM for org.kie:kie-api:jar:6.1.0.CR2: Non-resolvable import POM: Could not find artifact org.jboss.dashboard-builder:dashboard-builder-bom:pom:6.1.0.CR2 in lunifera-thirdparty-plugins (http://maven.lunifera.org:8086/nexus/content/repositories/thirdparty/) [ERROR] org.kie:kie-api:jar:6.1.0.CR2 I checked and org.jboss.dashboard-builder:dashboard-builder-bom:pom:6.1.0.CR2 is not in maven central repository. is there any other repository that contain this? thanks, Cristiano From cvgaviao at gmail.com Wed Jul 30 09:12:29 2014 From: cvgaviao at gmail.com (=?UTF-8?B?Q3Jpc3RpYW5vIEdhdmnDo28=?=) Date: Wed, 30 Jul 2014 10:12:29 -0300 Subject: [rules-dev] Problem to build with CR2 due missing dashboard-builder-bom:pom:6.1.0.CR2 In-Reply-To: <53D8E6D6.6000300@gmail.com> References: <53D8E6D6.6000300@gmail.com> Message-ID: <53D8EF3D.3020400@gmail.com> I could build now including this repository: http://repository.jboss.org/nexus/content/groups/public but there exist a problem with the deployment in the maven central... regards, Cristiano On 30-07-2014 09:36, Cristiano Gavi?o wrote: > Hi, > > I'm trying to build with the CR2 release and I'm getting this error in > jenkins: > > [ERROR] Internal error: java.lang.RuntimeException: Could not resolve > project dependencies: Unable to get dependency information for > org.kie:kie-api:jar:6.1.0.CR2: Failed to process POM for > org.kie:kie-api:jar:6.1.0.CR2: Non-resolvable import POM: Could not > find artifact > org.jboss.dashboard-builder:dashboard-builder-bom:pom:6.1.0.CR2 in > lunifera-thirdparty-plugins > (http://maven.lunifera.org:8086/nexus/content/repositories/thirdparty/) > [ERROR] org.kie:kie-api:jar:6.1.0.CR2 > > I checked and > org.jboss.dashboard-builder:dashboard-builder-bom:pom:6.1.0.CR2 is not > in maven central repository. > > is there any other repository that contain this? > > thanks, > > Cristiano