Re: [rules-users] Guvnor - Operations with snapshots

2011-10-08 Thread jliu

On 2011/10/7 9:54, Demian Calcaprina wrote:

Hi again.

I have been able to use guvnor package versions with some success..

Is there any service I can call to create a new version? I have 
checked that it seems to change the package version when you click on 
save package. Can I have some URL to achieve it automatically?



Hi,

Sorry for the late response, I was in holiday. There is no REST service 
to create a package version as this is not needed. A package version is 
created automatically when your package gets updated (through Guvnor UI 
or through REST).


Cheers,
Jervis


Thanks

Demian

On Tue, Oct 4, 2011 at 9:57 AM, Demian Calcaprina 
calcacue...@gmail.com mailto:calcacue...@gmail.com wrote:


Thanks Jervis.

I currently use Guvnor 5.2, and saw that I can use version so I
will try to use them.

- Is there something I will be missing about versions, by using 5.2?
- Do you know when a new version is created? With Snapshots, I
could choose when to create a new one. How about versions?

Thanks!

Demian

2011/10/3 jliu j...@redhat.com mailto:j...@redhat.com

On 2011/10/4 1:54, Demian Calcaprina wrote:

Hi everyone. I am using Guvnor 5.2, and I need to make some
operations from my application.

Specifically, I need to make two operations remotely:
- List Snapshots, as it is possible to list packages.
- Create a new snapshot from a package.

Is this possible to make these operation through rest API?


Hi,

Start from 5.3, Guvnor Packages are fully versioned. I would
recommend you to use a vesioned package instead of package
snapshot. Package snapshot will be deprecated in the future.

Cheers,
Jervis

Thanks,

Demian




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



___
rules-users mailing list
rules-users@lists.jboss.org mailto: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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Guvnor - Operations with snapshots

2011-10-03 Thread jliu

On 2011/10/4 1:54, Demian Calcaprina wrote:
Hi everyone. I am using Guvnor 5.2, and I need to make some operations 
from my application.


Specifically, I need to make two operations remotely:
- List Snapshots, as it is possible to list packages.
- Create a new snapshot from a package.

Is this possible to make these operation through rest API?


Hi,

Start from 5.3, Guvnor Packages are fully versioned. I would recommend 
you to use a vesioned package instead of package snapshot. Package 
snapshot will be deprecated in the future.


Cheers,
Jervis

Thanks,

Demian




___
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


Re: [rules-users] pipeline API

2011-10-03 Thread jliu

On 2011/10/4 9:08, Bobby Richards wrote:
looking for any documentation regarding the pipeline api.  Trying to 
get an amqp queue set as an entry point


Have you looked into Drools Camel integration [1]? Camel should already 
have AMQP component.


[1]. 
http://docs.jboss.org/drools/release/5.3.0.CR1/droolsjbpm-integration-docs/html/ch01.html


Cheers,
Jervis

Thanks
Bobby


___
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


Re: [rules-users] Guvnor and Axis2

2011-09-30 Thread jliu
On 2011/9/29 15:46, Mario Viertel wrote:
 Hi,

 I am using an own web service (Axis2; tomcat 6) to interact with Guvnor.
 All drools related jars (drools*, mvel*, knowledge-api) are contained
 in the lib folder of service's aar file. Via knowledge-api the service
 interacts with the guvnor repository.

 Unfortunately this doesn't work. At runtime a ClassNotFoundException has
 been thrown. A look into details revealed that the ClassLoader havn't
 loaded all jars containing in webservice's lib folder.

 Has anybody an idea what's going wrong. I'm not sure if this is an issue
 of drools, the axis2 engine or the tomcat engine.
Its very hard to tell what the problem is based on the information you 
provided. I would suggest you to use Guvnor REST API to interact with 
Guvnor: [1].

[1]. 
https://hudson.jboss.org/jenkins/job/guvnor/lastSuccessfulBuild/artifact/guvnor-docs/target/docbook/publish/en-US/html_single/index.html#d0e1856

Hope this helps,
Jervis
 Thanks,
 Mario
 ___
 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


Re: [rules-users] Guvnor Repository Report

2011-09-28 Thread jliu

On 2011/9/29 2:07, Vincent Legendre wrote:
Yes you can do all that (but don't know about getting history infos). 
A old post from Jervis Liu linked to more info on REST API here 
http://blog.athico.com/2011/03/atompub-interface-for-guvnor.html and 
http://community.jboss.org/wiki/AtomPubinterfaceforGuvnor


The latest REST doc can be found from here: 
https://hudson.jboss.org/jenkins/job/guvnor/lastSuccessfulBuild/artifact/guvnor-docs/target/docbook/publish/en-US/html_single/index.html#d0e1856

Both package and asset version history info are supported.

Cheers,
Jervis
But you may start by using the existing report. If you go under Guvnor 
and see the package page, in the URL listing part, you will find a 
documentation link, which generates a PDF report with all your 
assets (don't know for history).


Le 28/09/2011 19:08, Michael Anstis a écrit :

Have a look at the REST API documented in the user guide.

I suspect you'll be able to get a list of packages, and for each a 
list of assets.


On 28 September 2011 17:59, sanjuk72 sank1...@yahoo.com 
mailto:sank1...@yahoo.com wrote:


I have a following need:

We are maintaining all rules in GUVNOR.
We need to run a weekly report displaying all the Rules and there
related
information like change history.


Qs: How can I access the GUVNOR repository to get this
information. If
anyone can please help.

Thanks

--
View this message in context:

http://drools.46999.n3.nabble.com/Guvnor-Repository-Report-tp3376667p3376667.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org mailto: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@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


Re: [rules-users] Guvnor 5.2.0 (Final) under Geronimo 2.1.4

2011-09-15 Thread jliu
On 2011/9/16 0:38, john@oa wrote:
 Guvnor 5.2.0 (Final)

 Hello

 I need to get Guvnor 5.2.0 (Final) up and running under Geronimo 2.1.4
 (Tomcat6 variant).

 Have started looking at this and have already found that there are class
 loading/conflict issues as the container utilises xstream 1.2.2 and the
 Guvnor requires 1.3.1.

 There are probably a whole host of other issues.  Has anyone used the Guvnor
 under Geronimo?  Any tips on getting this working much appreciated.
Did not have the chance to try Guvnor with Geronimo, but Guvnor 5.2 
works fine with Tomcat 6. So I assume you wont run into too much 
troubles hopefully. Try to remove xstream jar from Guvnor and see how it 
goes. At the same time, this doc 
(http://community.jboss.org/wiki/DroolsGuvnor50Installation) might give 
you some ideas on how we resolve similar problems before.

Hope this helps,
Jervis

 Cheers
 John

 --
 View this message in context: 
 http://drools.46999.n3.nabble.com/Guvnor-5-2-0-Final-under-Geronimo-2-1-4-tp3339480p3339480.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

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