curl - How to make a PMML persistent model using openscoring? -


i using openscoring web service score pmml models. however, not getting how store model. using curl -x put --data-binary @decisiontreeiris.pmml -h "content-type: text/xml" http://localhost:8080/openscoring/model/decisiontreeiris put model on server before model querying. concern when stop webserver , starts again, model no longer exists. there way store these model can query using post anytime after restarting server?

starting openscoring version 1.1.3, can use model auto-deployment directory option. use command-line argument --deploy-dir tell openscoring server start watching specified directory. then, can 1) deploy model copying pmml file auto-deploy directory , 2) undeploy auto-deployed model deleting pmml file auto-deploy directory. there no need deal curl put , delete commands anymore.

however, please notice --deploy-dir command-line argument has been renamed --model-dir in github trunk.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -