Re: [rules-users] command line utility for importing rules
This is no such command line tool exists at the moment... Cheers, Jervis rbolla wrote: Hi, I'm a systems engineer and I want to import rules to guvnor. I dont want to do this by guvnor web UI (Administration -- import/export). Rather, I want to use a command to upload repository_export.xml file. something like, $java_home/java org.drools.repository.something repository_export.xml Can you help me in finding the command. Thanks, ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] command line utility for importing rules
Or is there a URL like http://localhost/drools-guvnor/xx ? so that I can use 'CURL' to upload a file. Whereever I navigate, all I see is http://localhost/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.html in the address bar. Thanks, -- View this message in context: http://n3.nabble.com/command-line-utility-for-importing-rules-tp65886p67762.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] command line utility for importing rules
The import/export is handled by RepositoryBackupServlet, check its source from [1]. Its URL is sth like: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/backup [1]. http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/server/files/RepositoryBackupServlet.java Cheers, Jervis rbolla wrote: Or is there a URL like http://localhost/drools-guvnor/xx ? so that I can use 'CURL' to upload a file. Whereever I navigate, all I see is http://localhost/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.html in the address bar. Thanks, ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users