Hi All,
I had created a new rule in Decision Table, built the package and created
the snapshot using rest api calls from my application.
Then I tried to create KnowledgeBase using changeset.xml using the code
below,
UrlResource urlResourceObj = new UrlResource(new
URL(guvnorUrl+"/org.drools.guvnor.Guvnor/package/com.lsi.sort/LATEST/ChangeSet.xml"));
agent.applyChangeSet(urlResourceObj);
but the package url in the changeset.xml which is,
http://localhost:8080/guvnor/org.drools.guvnor.Guvnor/package/com.lsi.sor...
doesn t contain the new rule which is added through Rest API call. But when
I retrieve the source code of the package using Rest API call,
http://localhost:8080/guvnor/rest/packages/com.lsi.sort/source
am able to get the New rule.
Can anyone explain whether this is the intended behaviour or there is no
sync between Rest Api call and the url in changeset.xml.
Am using Guvnor 5.4.0.Final
Thanks,
Prasanna Venkataraman.
--
View this message in context:
http://drools.46999.n3.nabble.com/No-synchronization-in-Guvnor-between-Re...
Sent from the Drools: User forum mailing list archive at
Nabble.com.