csc/Hanlon — pull request #148 by sankarvema (2014-08-12 08:45:52+00:00)
Title: Fixes Issue 125 - Hanlon client config contains unnecessary parameters

After separating Hanlon into cli and web components, we created hanlon_client.conf to manage client side configuration parameters. Most of the parameter belonging server side logic are removed from client config except for image_path and persist_xxxx set. Client code models were using parameter due to entangled code where client is implementing the code logic or server and client code blocks are placed in single file. To remove these parameters we needed another code refactor which is addressed in this pull request.

This pull request completely removes the above said parameters by...
*. Removing db interfaces where not required and isolating the dbinit to server line of code execution
*. Removing cli/hanlon config db_check command which is not required at client end
*. Moving local image path building logic from client end to server
*. Extending hanlon image rest api end point by adding local_image_path parameter