|
From: <rm...@hy...> - 2007-03-25 04:26:02
|
Author: rmorgan Date: 2007-03-24 20:26:00 -0800 (Sat, 24 Mar 2007) New Revision: 3878 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=3878 Modified: trunk/ui_plugins/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy Log: Adjust for livedata API change. Modified: trunk/ui_plugins/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy =================================================================== --- trunk/ui_plugins/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy 2007-03-25 04:25:34 UTC (rev 3877) +++ trunk/ui_plugins/rendit_sys/org/hyperic/hq/ui/rendit/helpers/LiveDataHelper.groovy 2007-03-25 04:26:00 UTC (rev 3878) @@ -4,7 +4,7 @@ import org.hyperic.util.config.ConfigResponse import org.hyperic.hq.livedata.server.session.LiveDataManagerEJBImpl import org.hyperic.hq.livedata.shared.LiveDataResult -import org.json.JSONArray +import org.hyperic.hq.livedata.shared.LiveDataCommand class LiveDataHelper extends BaseHelper @@ -21,9 +21,10 @@ LiveDataResult getData(AppdefResourceValue resource, String command, config) - { - dataMan.getData(userVal, resource.entityId, command, - config as ConfigResponse) + { + LiveDataCommand cmd = new LiveDataCommand(resource.entityId, command, + config as ConfigResponse) + dataMan.getData(userVal, cmd) } } |