@Mark: There's really no need to claim additional bugs ;-)
@Jeetendra: Within a pattern (such as "ProposalLight(...)") you may
write bindings and constraints, which are boolean expressions. Older
versions had a much more restricted syntax for constraints, and
general (Java-style) expressions were
this will not solve my problem. let me know if the question is not clear
enough.
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-get-version-of-an-asset-for-perticular-Package-version-using-RESTEasy-tp4025121p4025132.html
Sent from the Drools: User forum mailing list a
It shouldn't do, and could be a bug. Can you try 5.6.0.SNAPSOT and see if it is
still a problem.
Mark
On 24 Jul 2013, at 18:22, Jeet Singh wrote:
> Alright, I kinda found out the cause of the exception I am getting, however I
> am still struggling the reason behind the exception.
>
> So DRL_
Alright, I kinda found out the cause of the exception I am getting, however
I am still struggling the reason behind the exception.
So DRL_1, this works perfectly fine.
package drools;
import drools.ProposalLight;
import function drools.DateUtil.compareDatesWithTime;
rule "Date Rule"
when
$obj
http://localhost:8080/drools-guvnor/rest/packages/{packageName}/versions --
lists all versions of package
http://localhost:8080/drools-guvnor/rest/packages/{packageName}/versions/{version}/source
-- gets the package version source
http://localhost:8080/drools-guvnor/rest/packages/{packageName}/
agreed. but it will give version of an asset present in current package.
say current package version is 5. then it will give asset version in
package version 5. but here i want get the asset version that was present
in earlier package version say 3. do we have any mechanism to achive this
by restea
ge0ffrey wrote
> Turns out this is a user problem in the equals and hashcode of
> FamilyStart, not a bug in Drools or OptaPlanner :)
>
> @Override
> public boolean equals(Object other)
> {
> if ((this == other))
> return true;
> if (!(other instanceof
Turns out this is a user problem in the equals and hashcode of
FamilyStart, not a bug in Drools or OptaPlanner :)
@Override
public boolean equals(Object other)
{
if ((this == other))
return true;
if (!(other instanceof FamilyStart))
retur
The documentation says it's something like this:
http://localhost:8080/drools-guvnor/rest/packages/{packageName}/assets/{assetName}/versions/{version}
--
View this message in context:
http://drools.46999.n3.nabble.com/How-to-get-version-of-an-asset-for-perticular-Package-version-using-RESTEas
Thank you Mark :)
--
View this message in context:
http://drools.46999.n3.nabble.com/Manage-dynamically-rules-in-KnowledgeBase-tp4025108p4025120.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rul
On 24 Jul 2013, at 11:04, tiahdomoina wrote:
> Thanks for the link, it definitely helped me
>
> I was wondering about 2 things :
>
> 1- With the knowledgeBuilder, you can check if there is an error with the
> method getErrors(). So you can remove immediately the resource which caused
> the er
Two clarifications first:
1) Which version are you using?
2) Is TrackerUpdate a static class inside TrackerRemote?
In case, could you post the exact "import" statements you are using?
Thanks
Davide
On 07/24/2013 02:14 PM, De Rooms Brecht wrote:
> Dear rules users,
>
> I am currently writing my
Dear rules users,
I am currently writing my own Drools-server since I wanted more control
than the drools-execution server (and it never worked very well here)
where I can send rules/facts over JMS/AQMP/STOMP. Rules which are sent
are saved on the server-side in DRL files that are monitored. T
I think that OP is looking for a "higher order function operator",
i.e., applying pattern matching to all elements of a list returning
true if there is a match. Cf. Perl's
grep( /Action/, @likes )
It's not too difficult to implement such an operator.
Also, a simple DRL function would do the tr
Thanks for the link, it definitely helped me
I was wondering about 2 things :
1- With the knowledgeBuilder, you can check if there is an error with the
method getErrors(). So you can remove immediately the resource which caused
the error. Is there anything like that for the KnowledgeBase to chec
yeah you can use the matches operator and write your own regular expression
there.
Cheers
On Wed, Jul 24, 2013 at 10:47 AM, rganesh84 wrote:
> I was just wondering if there is a pattern matcher available in drools.
> Below is a sample
>
> rule "Action Movies"
> dialect "java"
> whe
I was just wondering if there is a pattern matcher available in drools.
Below is a sample
rule "Action Movies"
dialect "java"
when
ui : UserInfo(likes contains "Action")
then
List sw = new ArrayList();
sw.add("Die Hard");
sw.a
Thanks :) I will take a look at it now !
--
View this message in context:
http://drools.46999.n3.nabble.com/Manage-dynamically-rules-in-KnowledgeBase-tp4025108p4025111.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/test/java/org/drools/compiler/integrationtests/DynamicRulesTest.java
On 23 Jul 2013, at 17:26, tiahdomoina wrote:
> Hello :)
>
> How can I manage dynamically rules in KnowledgeBase ? I mean remove, add or
> update rules witho
19 matches
Mail list logo