<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013/9/26 0:24, Sean Su wrote:<br>
</div>
<blockquote
cite="mid:CA+tN6x_deTthKgS1w_j-z2xk0B=2796rK3TZo66yvQ=wS4vcGg@mail.gmail.com"
type="cite">
<div dir="ltr">Does anyone know if we have the public API to
export the Guvnor rule repository in the format (xml, or zip
version) that we can manually retrieve by going to
"Administration/ImportExport" section?<br>
</div>
</blockquote>
No, I am afraid we do not have such API. But, the repo import/export
in 5.5 (and earlier versions) is severed by this servlet:
<a class="moz-txt-link-freetext" href="https://github.com/droolsjbpm/guvnor/blob/5.5.x/guvnor-webapp-core/src/main/java/org/drools/guvnor/server/files/RepositoryBackupServlet.java">https://github.com/droolsjbpm/guvnor/blob/5.5.x/guvnor-webapp-core/src/main/java/org/drools/guvnor/server/files/RepositoryBackupServlet.java</a><br>
You should be able to call this servlet directly as long as you have
provided this servlet with parameters it requires and set Basic
authentication correctly. <br>
<br>
Cheers,<br>
Jervis<br>
<blockquote
cite="mid:CA+tN6x_deTthKgS1w_j-z2xk0B=2796rK3TZo66yvQ=wS4vcGg@mail.gmail.com"
type="cite">
<div dir="ltr">
<br>
Thanks<br>
<br>
Sean<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
</blockquote>
<br>
</body>
</html>