[Ovirt-devel] [PATCH server 4/4] * app/controllers/host_controller.rb: factor biz logic out
Scott Seago
sseago at redhat.com
Tue May 5 15:46:24 UTC 2009
David Lutterkort wrote:
> The business logic is now in HostService.
>
> The main functional difference is that svc_list filters the host list by
> permission.
> ---
> src/app/controllers/host_controller.rb | 125 +++++++++++++-------------------
> src/app/services/host_service.rb | 119 ++++++++++++++++++++++++++++++
> 2 files changed, 168 insertions(+), 76 deletions(-)
> create mode 100644 src/app/services/host_service.rb
>
Did some preliminary testing of this, and it looks good in general.
ACK
More information about the ovirt-devel
mailing list