modules/enterprise/gui/portal-war/src/main/webapp/admin/test/control.jsp | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit fa1d59755426ed42ac85b2a36a874dc12aeeed75
Author: John Mazzitelli <mazz(a)redhat.com>
Date: Sat Nov 28 12:05:47 2009 -0500
opps... forgot to fix the control.jsp to call the new API
diff --git a/modules/enterprise/gui/portal-war/src/main/webapp/admin/test/control.jsp
b/modules/enterprise/gui/portal-war/src/main/webapp/admin/test/control.jsp
index 2c47b0a..25f3e25 100644
--- a/modules/enterprise/gui/portal-war/src/main/webapp/admin/test/control.jsp
+++ b/modules/enterprise/gui/portal-war/src/main/webapp/admin/test/control.jsp
@@ -24,7 +24,9 @@
<%@ page import="org.rhq.enterprise.server.system.SystemManagerLocal" %>
<%@ page import="org.rhq.enterprise.server.auth.SubjectManagerLocal" %>
<%@ page import="org.rhq.enterprise.server.support.SupportManagerLocal"
%>
-<%@page
import="org.rhq.enterprise.server.plugin.ServerPluginsLocal"%><html>
+<%@page import="org.rhq.enterprise.server.plugin.ServerPluginsLocal"%>
+<%@page import="org.rhq.core.domain.plugin.PluginKey"%>
+<%@page
import="org.rhq.core.domain.plugin.PluginDeploymentType"%><html>
<%@ page import="org.rhq.enterprise.server.util.LookupUtil" %>
<%@ page
import="org.rhq.enterprise.server.scheduler.jobs.DataPurgeJob"%>
@@ -203,7 +205,8 @@
else if ("purgeServerPlugin".equals(mode))
{
String serverPluginName = request.getParameter("serverPluginName");
- serverPlugins.purgeServerPlugin(subjectManager.getOverlord(),
serverPluginName);
+ PluginKey key = new PluginKey(PluginDeploymentType.SERVER,
"not-needed", serverPluginName);
+ serverPlugins.purgeServerPlugin(subjectManager.getOverlord(), key);
result = "OK - you can now try to re-register a plugin with the name
[" + serverPluginName + "]";
}
else if ("typeManagerRemote".equals(mode))
Show replies by date