From: <jt...@hy...> - 2008-02-27 23:51:25
|
Author: jtravis Date: 2008-02-27 15:51:22 -0800 (Wed, 27 Feb 2008) New Revision: 7931 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=7931 Modified: trunk/ui_plugins/nagiup/app/NagiupController.groovy Log: getServicesView() now directly takes the prototype of the resources you're trying to view Modified: trunk/ui_plugins/nagiup/app/NagiupController.groovy =================================================================== --- trunk/ui_plugins/nagiup/app/NagiupController.groovy 2008-02-27 23:50:36 UTC (rev 7930) +++ trunk/ui_plugins/nagiup/app/NagiupController.groovy 2008-02-27 23:51:22 UTC (rev 7931) @@ -13,7 +13,8 @@ private final NAGIUP_SCHEMA = [ getData: {pageInfo, params -> - AppdefBossEJBImpl.one.getServicesView(user, 'Nagios Plugin', + def proto = resourceHelper.findResourcePrototype('Nagios Plugin') + AppdefBossEJBImpl.one.getServicesView(user, proto, 'nagiosHost', 'Return Code', pageInfo) }, |