Hello,<br><br>&gt;Q1 : How can Drools runtime (Knowledge builder / base) gets/collects
    *.brl, .drl files from Guvnor (using REST api, ....) ?<br>
    <br>It should be possible to use KnowledgeBuilder with URL resources to retrieve *source* from Guvnor&#39;s REST API. Many Guvnor assets are stored in an internal format (BRL, GDST, SCENARIO) that are not understood by Drools Expert. Retrieving the source will return DRL for the assets, which of course is understood by Drools Expert. <br>
<br>&gt;Q2 : How can drools runtime being informed that rules have been
    modified in Guvnor Repo ? <br><br>This might prove useful: <a href="https://community.jboss.org/wiki/PublishDroolsArtifactsFromAProductionEnvironment">https://community.jboss.org/wiki/PublishDroolsArtifactsFromAProductionEnvironment</a><br>

    <br>&gt;Q4 : Is it a good practice to access Guvnor from Drools runtime or
    better to export from Guvnor a package and import it in Drools
    runtime (Can we import guvnor package in Drools runtime) ?<br>
    <br>Drools Expert can load Guvnor&#39;s &quot;packages&quot; (which are just a compiled and serialized KnowledgeBase). The benefit of using this over source DRL is that it has been pro-compiled.<br><br>The &quot;package&quot; can be either exported from Guvnor or retrieved with REST or a KnowledgeAgent and changesets.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 12 February 2013 10:12, Charles Moulliard <span dir="ltr">&lt;<a href="mailto:cmoulliard@redhat.com" target="_blank">cmoulliard@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I have different questions concerning drools &amp; guvnor.<br>
    <br>
    Q1 : How can Drools runtime (Knowledge builder / base) gets/collects
    *.brl, .drl files from Guvnor (using REST api, ....) ?<br>
    Q2 : How can drools runtime being informed that rules have been
    modified in Guvnor Repo ? <br>
    Q2 : Is there a document describing best practices to setup
    knowledge base (how many rules / base, ...) and sessions to be
    created ?<br>
    Q3 : Is it a good practice to access Guvnor from Drools runtime or
    better to export from Guvnor a package and import it in Drools
    runtime (Can we import guvnor package in Drools runtime) ?<br>
    <br>
    Regards,<span class="HOEnZb"><font color="#888888"><br>
    <br>
    <div>-- <br>
      <div style="line-height:1.5em">Ir. Charles Moulliard<br>
        <span style="font-weight:bold;color:#808080">Sr. Enterprise
          Architect / Apache Committer</span> | <span style="color:#e41b17;font-weight:bold" href="http://www.redhat.com">RedHat,
          Inc</span><br>
        <span style="color:#808080">FuseSource is now part of Red Hat</span><br>
        <a href="mailto:cmoullia@redhat.com" target="_blank">cmoullia@redhat.com</a> | mobile: <a href="tel:%2B32%20473%20604%20014" value="+32473604014" target="_blank">+32 473 604 014</a> | <a href="http://www.redhat.com" target="_blank">RedHat.com</a><br>

        skype: cmoulliard | twitter: @cmoulliard<br>
        blog: <a href="http://cmoulliard.blogspot.com" target="_blank">cmoulliard.blogspot.com</a>
      </div>
    </div>
  </font></span></div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br></blockquote></div><br>