<div dir="ltr">Thanks Manstis <div><br></div><div style>As mentioned, I'm trying to build a custom rule editor. </div><div style><br></div><div style>I'm looking at the following approaches:</div><div style><ul style>
<li style>Guvnor REST - seems very limited - but could be used for simply CRUD of DRL.<br></li><li style>Re-using Guvnor code, such as webapp-core - apparently has undocumented dependencies. Also, its a large code base - would take time to get familiar. <br>
</li><li style>A DSL to DRL converter - for complex rules, which we have, this will also be complex<br></li><li style>using RuleML</li></ul><div style>I would be very interested to hear how others have tacked this challenge, or any recommendations from drools users/developers.</div>
<div style><br></div><div style>Br</div><div style>Anton</div><div><br></div></div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 31, 2013 at 3:35 PM, manstis [via Drools] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=4023133&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <p>The REST API is primarily for CRUD operations; it is not a programmatic API to assemble rules and as such your comments about calendars and salience etc are not provided in the REST API.</p>
<p>You can however, and as some do, download the source for a rule, deserialise this into Guvnor's *internal* model (depending on the type of rule), modify this programmatically, serialise back to source and use REST to write it back to Guvnor.</p>
<p>"Source" as used above could be XML although some assets are stored as DRL. </p>
<p>Also all models should be considered as *internal* (I.e. not public) as we don't undertake that they are compatible between releases (although in reality they have changed very little, other than guided decision tables).</p>
<p>sent on the move</p>
<p>On 31 Mar 2013 12:17, "kurrent93" <<a href="http://user/SendEmail.jtp?type=node&node=4023132&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> wrote:<br type="attribution">
</p><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">
Hi<br>
<br>
I saw a thread a few days ago asking about how to enable/disable rules using<br>
the guvnor REST Api - only to find that that functionality does not exist.<br>
<br>
What other functionalities are not covered by the REST apis?<br>
<br>
For example, can we add calendars using the REST api?<br>
<br>
What about salience, no-loop, activation group, agenda group, duration?<br>
<br>
We are looking to build a custom UI for editing rules, using the Guvnor REST<br>
apis, and but if there is limited coverage, then we will need to find an<br>
alternative.<br>
<br>
Thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131.html" rel="nofollow" link="external" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="http://user/SendEmail.jtp?type=node&node=4023132&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote><p></p>
<br>_______________________________________________
<br>rules-users mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4023132&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" rel="nofollow" link="external" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a>
        
        
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131p4023132.html" target="_blank" rel="nofollow" link="external">http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131p4023132.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Guvnor REST APIs - what rule features are supported?, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://drools.46999.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></blockquote></div><br></div>
        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-REST-APIs-what-rule-features-are-supported-tp4023131p4023133.html">Re: [rules-users] Guvnor REST APIs - what rule features are supported?</a><br/>
Sent from the <a href="http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html">Drools: User forum mailing list archive</a> at Nabble.com.<br/>