Re: [rules-users] Searching for an object in a list inside a map

2014-06-26 Thread JarkkoMakela
Hi!

You could try something like this. I'm not 100% sure that this works:

$player : Player(name == John) 
$roster : TeamRoster($teams : teams, $teams.get(Dodgers) contains $player)

-Jarkko



--
View this message in context: 
http://drools.46999.n3.nabble.com/rules-users-Searching-for-an-object-in-a-list-inside-a-map-tp4030156p4030164.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] BRMS Build Deploy

2014-06-26 Thread Michael Anstis
I can't remember in which version it was fixed, but Build  Deploy now
honours the distributionManagement section in a project's pom and
applicable server configuration in settings.xml

The fix was made March/April 2014 and hence will be in 6.1.0.CR1.


On 26 June 2014 04:24, Zahid Ahmed zahid.ah...@emirates.com wrote:

  Hi,



 I have a related question. When I do build and deploy, WB generates maven
 artifacts in a local repository (a directory defined as localRepository
 in settings.xml).



 *Problem*

 I am expecting WB to deploy it to the remote repository *which it is not
 doing.* I have done following configuration in maven setting.xml and
 project’s pom.xml.



 Kindly let me know if I am missing any configuration.



 *Pom.xml*

 *?xml version=1.0 encoding=UTF-8?*

 *project xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/maven-4.0.0.xsd
 http://maven.apache.org/xsd/maven-4.0.0.xsd *

 *xmlns=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/POM/4.0.0*

 *xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
 http://www.w3.org/2001/XMLSchema-instance*

  * modelVersion4.0.0/modelVersion*



 *  groupIdemiGrp/groupId*

 *  artifactIdemiProj/artifactId*

 *  version1.0/version*



 *  nameemiProj/name*



 *distributionManagement*

 *repository*

 *iddroolssix/id*

 *urlhttp://localhost:6900/archiva/repository/droolssix
 http://localhost:6900/archiva/repository/droolssix/url*

 */repository*

 */distributionManagement*



 *repositories*

 *repository*

 *iddroolssix/id*

 *namedroolssix/name*

 *urlhttp://localhost:6900/archiva/repository/droolssix/
 http://localhost:6900/archiva/repository/droolssix//url*

 */repository*

 */repositories*

 */project*







 *Settngs.xml*

 *settings xmlns=http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/SETTINGS/1.1.0
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
 http://www.w3.org/2001/XMLSchema-instance*

 *  xsi:schemaLocation=http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/SETTINGS/1.1.0
 http://maven.apache.org/xsd/settings-1.1.0.xsd
 http://maven.apache.org/xsd/settings-1.1.0.xsd*



 *localRepositoryd:\localMaven\Repo/localRepository*



 *servers*

 *server*

 *iddroolssix/id*

 *
 usernameadmin/username*

 *
 password$admin123$/password*

 */server*

 */servers*

 */settings*







 Regards,

 Zahid



 *From:* rules-users-boun...@lists.jboss.org [mailto:
 rules-users-boun...@lists.jboss.org] *On Behalf Of *Michael Anstis
 *Sent:* 25 June 2014 18:46
 *To:* Rules Users List
 *Subject:* Re: [rules-users] BRMS Build  Deploy



 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 Anstis michael.ans...@gmail.com wrote:

 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 who can help you).



 On 25 June 2014 14:05, Shrinath Managuli shrinath.manag...@aspiresys.com
 wrote:

   Hi Drools,



 Is it possible to automate the Build  Deploy processes in BRMS?





 Thanks,

 Shrinath

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.

 [image: Aspire Systems]

 This e-mail message and any attachments are for the sole use of the
 intended recipient(s) and may contain proprietary, confidential, trade
 secret or privileged information. Any unauthorized review, use, disclosure
 or distribution is prohibited and may be a violation of law. If you are not
 the intended recipient, please contact the sender by reply e-mail and
 destroy all copies of the original message.



 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users





 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list

[rules-users] Fwd: Regarding drools 6 workbench

2014-06-26 Thread Michael Anstis
-- Forwarded message --
From: Ganesh Neelekani ganeshneelek...@gmail.com
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

Please follow up in below link
http://drools.46999.n3.nabble.com/quot-Unknown-KieSession-name-ksession-rules-if-we-use-webservice-td4030016.html

Thanking you.
--
With regards.
Ganesh N Neelekani
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

[rules-users] OptaPlanner mailing list split off

2014-06-26 Thread Geoffrey De Smet
Hi,

The OptaPlanner mailing list has been split off from the Drools mailing 
list,
at the request of several users, to keep the verbosity of this mailing 
lists down.


If you have a question about OptaPlanner, now use these URL's:
- Ask a usage question on StackOverflow:
   http://stackoverflow.com/questions/tagged/optaplanner
- To start a discussion, use the OptaPlanner developer forum:
   https://groups.google.com/forum/#!forum/optaplanner-dev
   (or mail directly to optaplanner-...@googlegroups.com)


For more information, see optaplanner.org:
   http://www.optaplanner.org/community/forum.html
   http://www.optaplanner.org/community/droolsPlannerRenamed.html

With kind regards,
Geoffrey De Smet
OptaPlanner lead

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools Fusion - Intersection Of Events

2014-06-26 Thread code4dc
Hey guys,

I am using the Drools Fusion temporal parameters to try to detect if two
events have *any* overlap between the two of them. Can anyone suggest the
cleanest way to do this using the temporal parameters? Currently I am
comparing the two events using 'overlaps', 'overlappedby', 'includes' and I
feel like I am still missing a few cases. 

Can anyone suggest how to perform this check in the cleanest way possible?

Thanks
Eugene 



--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Fusion-Intersection-Of-Events-tp4030169.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users