[rules-users] Integration Of Guvnor with CustomApp

GPatel at tsys.com GPatel at tsys.com
Thu Dec 23 12:00:19 EST 2010


Esteban

I too am trying to integrate the Rule editing widget into my web page. I 
followed your writeup, very helpful indeed.

What is missing though is a handy method to get all rules under a 
category. In my app (and I suspect in most cases where people are trying 
to embed the asset editor), we only want to retrieve those rules that 
belong to the category that the web user has access to. There seems to be 
no way of doing this in the REST API or the service classes built on top 
of RulesRepository.

Thanks
Ghanshyam



From:   Esteban Aliverti <esteban.aliverti at gmail.com>
To:     Rules Users List <rules-users at lists.jboss.org>
Date:   12/23/2010 09:54 AM
Subject:        Re: [rules-users] Integration Of Guvnor with CustomApp
Sent by:        rules-users-bounces at lists.jboss.org



Andrew Waterman and Jervis Liu were working on a REST API for Guvnor: 
https://issues.jboss.org/browse/GUVNOR-1080 Maybe you can help them.
In the other hand, I have implemented a way to embedd Guvnor's editors in 
external applications: 
http://ilesteban.wordpress.com/2010/11/23/guvnor-embed-assets-editor-in-your-application/
 

Best Regards,

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com 
- Blog @ http://ilesteban.wordpress.com


2010/12/23 Harshit Bapna <hrbapna at gmail.com>
Hello All,
 
I am able to successfully integrate Guvnor into my custom app. (based on 
spring)
(
http://drools-java-rules-engine.46999.n3.nabble.com/How-to-integrate-Guvnor-GUI-in-a-test-app-td1595617.html
)
 
I have written some code in the index.jsp which invokes the 
ServiceImplementation of Guvnor.
I am observing that RuleRepository object is coming as null.
Note: Through the integrated app If I hit the Guvnor URL than it is 
working as normal.
 
private ServiceImplementation getService() {
 ServiceImplementation impl = new ServiceImplementation();
 RulesRepository repository = impl.getRulesRepository();
 return impl;
}
 
What is the suggested way of using the Guvnor services from the jsp/java ?
 
 

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



-----------------------------------------
The information contained in this communication (including any
attachments hereto) is confidential and is intended solely for the
personal and confidential use of the individual or entity to whom
it is addressed. If the reader of this message is not the intended
recipient or an agent responsible for delivering it to the intended
recipient, you are hereby notified that you have received this
communication in error and that any review, dissemination, copying,
or unauthorized use of this information, or the taking of any
action in reliance on the contents of this information is strictly
prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original
message. Thank you 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20101223/cc1f5c97/attachment.html 


More information about the rules-users mailing list