[rules-users] Drools Guvnor Remote API

2009-07-27 Thread Steve Ronderos
Does anyone know if there is a Remoting API in Guvnor? I see mention of it 
in some wiki pages, and in the web.xml in the Guvnor source. 

I'm trying to see if I can remotely trigger a build for a specific 
package, with a selector for the build, then create a snapshot for the 
same package.

If anyone has any information about the API please let me know.

Thanks,

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


Re: [rules-users] Drools Guvnor Remote API

2009-07-27 Thread David Sinclair
Steve,

I know there has been talk of a remoting API, but I am not sure where it is
at. JackRabbit has a RMI implementation that I use as part of my build
procedure to keep guvnor models in sync with the object model. You have to
export the repository as an RMI object, then connect to it like so

ClientRepositoryFactory factory = new ClientRepositoryFactory();
Repository repository = factory.getRepository(rmiURL);

Session session = repository.login(new SimpleCredentials(username,
password.toCharArray()));

rulesRepository = new RulesRepository(session);

dave

2009/7/27 Steve Ronderos steve.ronde...@ni.com


 Does anyone know if there is a Remoting API in Guvnor? I see mention of it
 in some wiki pages, and in the web.xml in the Guvnor source.

 I'm trying to see if I can remotely trigger a build for a specific package,
 with a selector for the build, then create a snapshot for the same package.

 If anyone has any information about the API please let me know.

 Thanks,

 Steve Ronderos
 ___
 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