diff options
Diffstat (limited to 'java/management/client/console')
19 files changed, 0 insertions, 1800 deletions
diff --git a/java/management/client/console/brokers_management.jsp b/java/management/client/console/brokers_management.jsp deleted file mode 100644 index f307006ac1..0000000000 --- a/java/management/client/console/brokers_management.jsp +++ /dev/null @@ -1,209 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.List"%> -<%@page import="java.util.*"%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Brokers Management"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top"> - <fieldset> - <legend>Connected Brokers</legend> - <table width="100%" cellspacing="1"> - <tr> - <th nowrap="nowrap" align="center">Host</th> - <th nowrap="nowrap" align="center" >Port</th> - <th nowrap="nowrap" align="center">Virtual Host</th> - <th nowrap="nowrap" align="center">Username</th> - <th nowrap="nowrap" align="center">Initial Pool Capacity</th> - <th nowrap="nowrap" align="center">Max Pool Capacity</th> - <th nowrap="nowrap" align="center">Max Wait Timeout</th> - </tr> - <c:forEach var="broker" items="${model}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.host}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.port}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.virtualHost}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.username}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.initialPoolCapacity}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.maxPoolCapacity}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${broker.maxWaitTimeout}"/></td> - </tr> - </c:forEach> - </table> - </fieldset> - </td> - </tr> - <tr> - <td> - <form name="form" action="<%=request.getContextPath()%>/brokers_management" method="post"> - <fieldset> - <legend>New Broker Connection Data</legend> - <table> - <tr> - <td> - Host : - </td> - <td> - <input type="text" name="host"/> - </td> - <td style="font-size: x-small;"> - The hostname where the broker is running. - </td> - </tr> - <tr> - <td> - Port : - </td> - <td> - <input type="text" name="port"/> - </td> - <td style="font-size: x-small;"> - The port number where the broker is running. - </td> - </tr> - <tr> - <td> - Virtual Host : - </td> - <td> - <input type="text" name="virtualHost"/> - </td> - <td style="font-size: x-small;"> - The virtual host name. - </td> - </tr> - <tr> - <td> - Username : - </td> - <td> - <input type="text" name="username"/> - </td> - <td style="font-size: x-small;"> - The username used for estabilish connection with broker. - </td> - </tr> - <tr> - <td> - Password : - </td> - <td> - <input type="text" name="password"/> - </td> - <td style="font-size: x-small;"> - The password used for estabilish connection with broker. - </td> - </tr> - <tr> - <td> - Initial Pool Capacity : - </td> - <td> - <input type="text" name="initialCapacity"/> - </td> - <td style="font-size: x-small;"> - The number of connections that must be immediately opened. - </td> - </tr> - <tr> - <td> - Max Pool Capacity : - </td> - <td> - <input type="text" name="maxCapacity"/> - </td> - <td style="font-size: x-small;"> - The maximum number of open connections. - </td> - </tr> - <tr> - <td> - Max Wait Timeout : - </td> - <td> - <input type="text" name="maxWaitTimeout"/> - </td> - <td style="font-size: x-small;"> - The maximum amount of time that a client will wait for obtaining a connection. - </td> - </tr> - <tr> - <td colspan="3" align="center"> - <input type="submit" value="Connect"/> - </td> - </tr> - </table> - </fieldset> - </td> - </form> - </tr> - <tr> - <td nowrap style="font-size: x-small; font-weight: bold; color=red;"> - <ul> - <c:forEach var="errorMessage" items="${errors}"> - <li><span style="font-size: medium; font-weight: bold; color:red;">${errorMessage}</span></li> - </c:forEach> - </ul> - </td> - </tr> - - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/console.jsp b/java/management/client/console/console.jsp deleted file mode 100644 index d1a207fe32..0000000000 --- a/java/management/client/console/console.jsp +++ /dev/null @@ -1,122 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="System Overview"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div class="panel" align="justify" style="height:500px; overflow-y:auto;"> - <span class="bodytext"> - <table width="100%" border="0"> - <tr> - <td valign="top" nowrap align="center"> - <fieldset> - <legend>QMan</legend> - <table cellspacing="2"> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold;" align="center">Version</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.version}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Version Name</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.versionName}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Start Date</td></tr> - <tr> - <td style="font-size: xx-small;" align="center"> - <fmt:formatDate - value="${requestScope.model.startDate}" - pattern="MM/dd/yyyy hh:mm:ss"/> - </td> - </tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Host</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.host}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Port</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.port}</td></tr> - </table> - </fieldset> - <fieldset> - <legend>Operating System</legend> - <table cellspacing="2"> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold;" align="center">Name</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.osName}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Version</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.osVersion}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Arch</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.archName}</td></tr> - <tr><td><br /></td></tr> - <tr><td style="color: #006633; font-size: xx-small; font-weight:bold" align="center">Processors</td></tr> - <tr><td style="font-size: xx-small;" align="center">${requestScope.model.processors}</td></tr> - </table> - </fieldset> - </td> - <td valign="top"> - <fieldset> - <legend>JVM Environment</legend> - <table cellspacing="5"> - <tr> - <td valign="top"> - <h4 style="color: #006633; font-size: xx-small">Boot Classpath : - <p/> - <c:forEach var="entry" items="${model.bootClasspath}"> - <c:out value="${entry}"/>; - <br/> - </c:forEach> - </h4> - </td> - <td valign="top"> - <h4 style="color: #006633; font-size: xx-small"> - Input Arguments : - <p/> - <c:forEach var="argument" items="${model.inputArguments}"> - <c:out value="${argument}"/>; - <br/> - </c:forEach> - </h4> - </td> - </tr> - </table> - </fieldset> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/error_page.jsp b/java/management/client/console/error_page.jsp deleted file mode 100644 index 73d2f9edc3..0000000000 --- a/java/management/client/console/error_page.jsp +++ /dev/null @@ -1,59 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Error Page"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div class="panel" align="justify" style="height:500px; overflow-y:auto;"> - <span class="bodytext"> - <table width="100%"> - <tr><td nowrap style="font-weight: bold;"> - We are not able to satify your request because an error has happened. - <br>Message : ${errorMessage} - </td></tr> - <tr><td nowrap style="font-size: xx-small; font-weight: bold;"> - <c:forEach var="stackTrace" items="${exception.stackTrace}"> - ${stackTrace} - <br> - </c:forEach> - </td></tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/fragments/header.jsp b/java/management/client/console/fragments/header.jsp deleted file mode 100644 index b401fee7a0..0000000000 --- a/java/management/client/console/fragments/header.jsp +++ /dev/null @@ -1,36 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<div id="header" align="center"> - <div id="pagetitle"> - <div id="asf-header" align="left"> - <table width="100%"> - <tr> - <td align="left"><img src="images/qpid-logo.png" height="100" width="200" /></td> - <td align="right"><img src="images/asf-logo.png" height="69" width="225" /></td> - </tr> - </table> - </div> - <div id="title" class="titletext" align="right"> - <span class="bluetitle"><%=request.getParameter("title")%></span> - </div> - </div> -</div> diff --git a/java/management/client/console/fragments/menu.jsp b/java/management/client/console/fragments/menu.jsp deleted file mode 100644 index 6924fd5d43..0000000000 --- a/java/management/client/console/fragments/menu.jsp +++ /dev/null @@ -1,31 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<div id="menu" align="center"> - <div id="linksmenu" align="left"> - <a href="<%=request.getContextPath()%>/console"> > System Overview</a> - <a href="<%=request.getContextPath()%>/brokers_management"> > Brokers Management</a> - <a href="<%=request.getContextPath()%>/resources_management"> > Resources Management</a> - <a> > Subscriptions Management</a> - <a> > System Health</a> - <a href="<%=request.getContextPath()%>/logging_configuration"> > Logging Configuration</a> - </div> -</div> diff --git a/java/management/client/console/images/asf-logo.png b/java/management/client/console/images/asf-logo.png Binary files differdeleted file mode 100644 index d824fab768..0000000000 --- a/java/management/client/console/images/asf-logo.png +++ /dev/null diff --git a/java/management/client/console/images/menu.gif b/java/management/client/console/images/menu.gif Binary files differdeleted file mode 100644 index 9946e8e231..0000000000 --- a/java/management/client/console/images/menu.gif +++ /dev/null diff --git a/java/management/client/console/images/menuleft.gif b/java/management/client/console/images/menuleft.gif Binary files differdeleted file mode 100644 index f986ecfc27..0000000000 --- a/java/management/client/console/images/menuleft.gif +++ /dev/null diff --git a/java/management/client/console/images/menuright.gif b/java/management/client/console/images/menuright.gif Binary files differdeleted file mode 100644 index afdd8bd04b..0000000000 --- a/java/management/client/console/images/menuright.gif +++ /dev/null diff --git a/java/management/client/console/images/qpid-logo.png b/java/management/client/console/images/qpid-logo.png Binary files differdeleted file mode 100644 index 5f4ccc3081..0000000000 --- a/java/management/client/console/images/qpid-logo.png +++ /dev/null diff --git a/java/management/client/console/images/style.css b/java/management/client/console/images/style.css deleted file mode 100644 index a32682fa2f..0000000000 --- a/java/management/client/console/images/style.css +++ /dev/null @@ -1,202 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ - -body -{ - margin-left: 0px; - margin-top: 0px; - margin-right: 0px; - margin-bottom: 0px; -} - -tr th { - padding: 4px 8px 4px 8px; - background: #5E7796; - border: 1px solid #CCC; - color:#b8ce83; - font-size: smaller; -} - -fieldset -{ - font-size: xx-small; -} - -#header -{ - width:1024px; -} - -#content -{ - width:1024px; -} - -#contenttext -{ - float:left; width:824px; - background-color:#FFFFFF; - border-left:solid 1px #999999; border-right:solid 1px #999999; - border-bottom:solid 1px #999999; border-top:dotted 1px #CCCCCC; - min-height:360px; -} - -#asf-header -{ - float:left; - width:1007px; - height:110px; - background-color:#FFFFFF; - border-right:solid 1px #999999; - border-left:solid 1px #999999; -} - -#pagetitle -{ - position:relative; - float:left; - width:1024px; - height:110px; - background-color:#FFFFFF; -} - -#title -{ - position:absolute; - right:20px; - bottom:0px; - width:1008px; -} - -#menu -{ - float:left; width: 190px; margin: 0 0 0 -7px; -} - -.panel{ - padding:12px; - margin: 5px; - padding:10px; -} - -.bodytext { - font: 0.7em Tahoma, sans-serif; - color: #666666; -} - -.titletext { - font: 0.7em Tahoma, sans-serif; - font-size:36px; - font-weight:bold; - color: #CCCCCC; -} - -.orangelogotext { - font: 0.7em Tahoma, sans-serif; - font-size:36px; - font-weight:bold; - color:#FF9900; -} -.orangetitle { - font: 0.7em Tahoma, sans-serif; - font-size:24px; - font-weight:bold; - color:#FF9900; -} - -.bluetitle { - font: 0.7em Tahoma, sans-serif; - font-size:24px; - font-weight:bold; - color:#369; -} - -#linksmenu a{ - float:right; - width:183px; - height:20px; - background-color:#5E7796; - border-left:solid 1px #FFFFFF; - border-bottom:solid 1px #FFFFFF; - font: 0.7em Tahoma, sans-serif; - font-size: 11px; - font-weight:bold; - color: #FFFFFF; - text-decoration:none; - padding-top:5px; -} -#linksmenu a:hover -{ - background-color:#336; -} - - -#wsdmmenu -{ - float:left; - position: relative; - width: 600px; - font-size:75%; - margin: 0 0 0px 5px; - line-height:normal; -} - -#wsdmmenu ul -{ - margin:0; - padding:0px 0px 0 0px; - list-style: none; -} - -#wsdmmenu li -{ - display:inline; - margin:0; - padding:0; -} - -#wsdmmenu a { - float:left; - background: url(menuleft.gif) no-repeat left top; - margin:0; - padding:0 0 0 4px; - text-decoration:none; -} - -#wsdmmenu a span { - float:left; - display:block; - background: url(menuright.gif) no-repeat right top; - padding:5px 15px 4px 6px; - color:#888; -} - -#wsdmmenu a span {float:none;} - -#wsdmmenu a:hover -{ - background-position:0% -42px; -} - -#wsdmmenu a:hover span -{ - background-position:100% -42px; -} diff --git a/java/management/client/console/jmx_perspective.jsp b/java/management/client/console/jmx_perspective.jsp deleted file mode 100644 index 5d276a0edc..0000000000 --- a/java/management/client/console/jmx_perspective.jsp +++ /dev/null @@ -1,157 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.List"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - JMX Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>ObjectName</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <fieldset> - <legend>Attributes</legend> - <table width="100%" cellspacing="1"> - <tr> - <th>Name</th> - <th>Type</th> - <th>Value</th> - <th>Access</th> - </tr> - <c:forEach var="attribute" items="${metadata.attributes}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${attribute.writable}"> - <c:set var="access" scope="page" value="RW"/> - </c:when> - <c:otherwise> - <c:set var="access" scope="page" value="RO"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attribute.name}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attribute.type}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attributes[attribute.name]}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${access}"/></td> - </tr> - </c:forEach> - </table> - </fieldset> - </td> - <td valign="top"> - <fieldset> - <legend>Operations</legend> - <table width="100%" cellspacing="0"> - <tr> - <th>Name</th> - <th>Arguments</th> - </tr> - - <c:forEach var="operation" items="${metadata.operations}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${operation.name}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - <ul> - <c:forEach var="argument" items="${operation.signature}"> - <li> - <c:out value="${argument.name}"/> (<c:out value="${argument.type}"/>) - </li> - </c:forEach> - </ul> - </td> - </tr> - </c:forEach> - </fieldset> - </td> - </tr> - </table> - </span> - </div> - </div> - - - - - - - - - - - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/logging_configuration.jsp b/java/management/client/console/logging_configuration.jsp deleted file mode 100644 index 89f10567fa..0000000000 --- a/java/management/client/console/logging_configuration.jsp +++ /dev/null @@ -1,241 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Logging Configuration"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div class="panel" align="justify" style="height:500px; overflow-y:auto;"> - <span class="bodytext"> - <form method="post" name="form" action="<%=request.getContextPath() %>/logging_configuration"> - <table> - <tr> - <td> - <fieldset> - <legend>WSDL & RDM Debugger</legend> - <table> - <tr> - <td> - <c:choose> - <c:when test="${wsdlDebugEnabled}"> - <c:set var="checked" scope="page" value="checked"/> - </c:when> - <c:otherwise> - <c:set var="checked" scope="page" value=""/> - </c:otherwise> - </c:choose> - <input type="checkbox" ${checked} name="wsdlDebugEnabled" /> - </td> - <td nowrap style="font-size: x-small;"> - When this flag is checked all WSDL and RMD messages are written on log file (or console depending on your configuration.) - </td> - </tr> - </table> - </fieldset> - </td> - </tr> - - <tr> - <td> - <fieldset> - <legend>SOAP Messages Debugger</legend> - <table> - - <tr> - <td> - <c:choose> - <c:when test="${soapDebugEnabled}"> - <c:set var="checked" scope="page" value="checked"/> - </c:when> - <c:otherwise> - <c:set var="checked" scope="page" value=""/> - </c:otherwise> - </c:choose> - <input ${checked} type="checkbox" name="soapDebugEnabled"/> - </td> - <td nowrap style="font-size: x-small;"> - When this flag is checked all SOAP messages (requests & responses) are written on log file (or console depending on your configuration.) - </td> - </tr> - </table> - </fieldset> - </td> - </tr> - - <tr> - <td> - <fieldset> - <legend>QMan Logger Level</legend> - <table> - <tr> - <td> - <c:choose> - <c:when test="${qmanLogLevel == 'DEBUG'}"> - <c:set var="qmanDebug" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="qmanDebug" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${qmanLogLevel == 'INFO'}"> - <c:set var="qmanInfo" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="qmanInfo" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${qmanLogLevel == 'WARN'}"> - <c:set var="qmanWarn" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="qmanWarn" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${qmanLogLevel == 'ERROR'}"> - <c:set var="qmanError" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="qmanError" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${qmanLogLevel == 'FATAL'}"> - <c:set var="qmanFatal" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="qmanFatal" scope="page" value=""/> - </c:otherwise> - </c:choose> - - <select name="qmanLogLevel"> - <option ${qmanDebug} value="DEBUG">DEBUG</option> - <option ${qmanWarn} value="WARN">WARNING</option> - <option ${qmanInfo} value="INFO">INFO</option> - <option ${qmanError} value="ERROR">ERROR</option> - <option ${qmanFatal} value="FATAL">FATAL</option> - </select> - </td> - <td nowrap style="font-size: x-small;"> - This is the current priority level set for QMan module (and sub-modules). Note that a WARNING level is recomended in production. - </td> - </tr> - </table> - </fieldset> - </td> - </tr> - - <tr> - <td> - <fieldset> - <legend>Web Server Logger Level</legend> - <table> - - <tr> - <td> - <c:choose> - <c:when test="${webServerLogLevel == 'DEBUG'}"> - <c:set var="webServerDebug" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="webServerDebug" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${webServerLogLevel == 'INFO'}"> - <c:set var="webServerInfo" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="webServerInfo" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${webServerLogLevel == 'WARN'}"> - <c:set var="webServerWarn" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="webServerWarn" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${webServerLogLevel == 'ERROR'}"> - <c:set var="webServerError" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="webServerError" scope="page" value=""/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${webServerLogLevel == 'FATAL'}"> - <c:set var="webServerFatal" scope="page" value="selected='true'"/> - </c:when> - <c:otherwise> - <c:set var="webServerFatal" scope="page" value=""/> - </c:otherwise> - </c:choose> - - <select name="webServerLogLevel"> - <option ${webServerDebug} value="DEBUG" >DEBUG</option> - <option ${webServerWarn} value="WARN">WARNING</option> - <option ${webServerInfo} value="INFO">INFO</option> - <option ${webServerError} value="ERROR">ERROR</option> - <option ${webServerFatak} value="FATAL">FATAL</option> - </select> - </td> - <td nowrap style="font-size: x-small; "> - This is the current priority level set for QMan module (and sub-modules). Note that a WARNING level is recomended in production. - </td> - </tr> - </table> - </fieldset> - </td> - </tr> - <tr> - <td> - <input type="submit" value="Submit" title="Submit"/> - </td> - </tr> - </table> - <br/></br> - <span style="fony-size: medium; color: red; font-weight: bold">Note that in general a DEBUG level is not reccommended in production (especially for WSDL and SOAP debugger).</span> - </form> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/resources_management.jsp b/java/management/client/console/resources_management.jsp deleted file mode 100644 index 4a6f9efed6..0000000000 --- a/java/management/client/console/resources_management.jsp +++ /dev/null @@ -1,105 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.List"%> - -<% - BrokerModel model = (BrokerModel) request.getAttribute("model"); -%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resources Management"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <% if (model != null) {%> - <li><a href="#"><span>${model.id}</span></a></li> - <%} %> - </ul> - </div> - <br /> - <div class="panel" align="justify" style="height:500px; overflow-y:auto;"> - <span class="bodytext"> - <table width="100%" border="0" cellpadding="1" cellspacing="2"> -<% - if (model != null ){ - Set<String> categoryNames = model.getCategoryNames(); - for(String categoryName : categoryNames) - { - List<ObjectName> categoryObjects = model.getCategory(categoryName); -%> - <tr> - <td valign="top" nowrap align="left"> - <fieldset> - <legend><%=categoryName%></legend> - <h4 style="color: #006633; font-size: xx-small"> - <ul> - <% - for (ObjectName objectName : categoryObjects) - {%> - - <li> - <a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=<%=objectName%>"> - <%=objectName.getKeyProperty(Names.OBJECT_ID)%> - </a> - </li> - <% - } - %> - </ul> - </fieldset> - </td> - </tr> -<% - } - } else { -%> -<table><tr> -<td nowrap style="font-weight: bold;" >Sorry, but it seems that QMan is not connected with any broker...</td> -</tr> -</table> -<% - } -%> - </table> - </span> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/tbd.jsp b/java/management/client/console/tbd.jsp deleted file mode 100644 index 3c1c87a7b0..0000000000 --- a/java/management/client/console/tbd.jsp +++ /dev/null @@ -1,48 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="TBD"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div class="panel" align="justify" style="height:500px; overflow-y:auto;"> - <span class="bodytext"> - Sorry, this feature is not yet available! - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/wsdm_operations_perspective.jsp b/java/management/client/console/wsdm_operations_perspective.jsp deleted file mode 100644 index 50f67c4492..0000000000 --- a/java/management/client/console/wsdm_operations_perspective.jsp +++ /dev/null @@ -1,174 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.*"%> -<% - Map<String,String> java2Xml = new HashMap<String,String>(); -java2Xml.put(UUID.class.getName(),"qman:uuid"); -java2Xml.put(Long.class.getName(),"xsd:long"); -java2Xml.put(long.class.getName(),"xsd:long"); -java2Xml.put(Boolean.class.getName(),"xsd:boolean"); -java2Xml.put(boolean.class.getName(),"xsd:boolean"); -java2Xml.put(Double.class.getName(),"xsd:double"); -java2Xml.put(double.class.getName(),"xsd:double"); -java2Xml.put(Float.class.getName(),"xsd:float"); -java2Xml.put(float.class.getName(),"xsd:float"); -java2Xml.put(Integer.class.getName(),"xsd:integer"); -java2Xml.put(int.class.getName(),"xsd:integer"); -java2Xml.put(Short.class.getName(),"xsd:short"); -java2Xml.put(short.class.getName(),"xsd:short"); -java2Xml.put(String.class.getName(),"xsd:string"); -java2Xml.put(URI.class.getName(),"xsd:anyURI"); -java2Xml.put(Date.class.getName(),"xsd:dateTime"); -java2Xml.put(QName.class.getName(),"xsd:QName"); -java2Xml.put(Element.class.getName(),"xsd:element"); -java2Xml.put(byte[].class.getName(),"xsd:base64Binary"); -java2Xml.put(Long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(Boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(Double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(Float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(Integer[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(int[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(Short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(String[].class.getName(),"qman:arrayOfString"); -java2Xml.put(URI[].class.getName(),"qman:arrayOfURI"); -java2Xml.put(Date[].class.getName(),"qman:arrayOfDate"); -java2Xml.put(Map.class.getName(),"qman:map"); -java2Xml.put(HashMap.class.getName(),"qman:map"); - -pageContext.setAttribute("types",java2Xml); -%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - WS-DM Operations Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?wsresourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>Resource ID</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <div id="wsdmmenu" align="left" style="font-size: small;"> - <ul> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>Properties</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_operations_perspective?resourceId=${resourceId}""><span>Operations</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_wsdl_perspective?resourceId=${resourceId}""><span>WSDL</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_rmd_perspective?resourceId=${resourceId}""><span>RDM</span></a></li> - </ul> - </div> - </td> - </tr> - <tr> - <td valign="top"> - <fieldset> - <legend>Attributes</legend> - <table width="100%" cellspacing="1"> - <tr> - <th nowrap="nowrap" align="center">Name</th> - <th nowrap="nowrap" align="center">Arguments</th> - <th nowrap="nowrap" align="center">Faults</th> - </tr> - <c:forEach var="operation" items="${metadata.operations}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${operation.name}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - <ul> - <c:forEach var="argument" items="${operation.signature}"> - <li> - <c:out value="${argument.name}"/> (<c:out value="${types[argument.type]}"/>) - </li> - </c:forEach> - </ul> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - <ul> - <li>qman:EntityInstanceNotFoundFault</li> - <li>qman:OperationInvocationFault</li> - <li>qman:QManFault</li> - </ul> - </td> - </tr> - </c:forEach> - </table> - </fieldset> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/wsdm_properties_perspective.jsp b/java/management/client/console/wsdm_properties_perspective.jsp deleted file mode 100644 index 7769abc71c..0000000000 --- a/java/management/client/console/wsdm_properties_perspective.jsp +++ /dev/null @@ -1,218 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.List"%> -<%@page import="java.util.*"%> - -<% - Map<String,String> java2Xml = new HashMap<String,String>(); -java2Xml.put(UUID.class.getName(),"qman:uuid"); -java2Xml.put(Long.class.getName(),"xsd:long"); -java2Xml.put(long.class.getName(),"xsd:long"); -java2Xml.put(Boolean.class.getName(),"xsd:boolean"); -java2Xml.put(boolean.class.getName(),"xsd:boolean"); -java2Xml.put(Double.class.getName(),"xsd:double"); -java2Xml.put(double.class.getName(),"xsd:double"); -java2Xml.put(Float.class.getName(),"xsd:float"); -java2Xml.put(float.class.getName(),"xsd:float"); -java2Xml.put(Integer.class.getName(),"xsd:integer"); -java2Xml.put(int.class.getName(),"xsd:integer"); -java2Xml.put(Short.class.getName(),"xsd:short"); -java2Xml.put(short.class.getName(),"xsd:short"); -java2Xml.put(String.class.getName(),"xsd:string"); -java2Xml.put(URI.class.getName(),"xsd:anyURI"); -java2Xml.put(Date.class.getName(),"xsd:dateTime"); -java2Xml.put(QName.class.getName(),"xsd:QName"); -java2Xml.put(Element.class.getName(),"xsd:element"); -java2Xml.put(byte[].class.getName(),"xsd:base64Binary"); -java2Xml.put(Long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(long[].class.getName(),"qman:arrayOfLong"); -java2Xml.put(Boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(boolean[].class.getName(),"qman:arrayOfBoolean"); -java2Xml.put(Double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(double[].class.getName(),"qman:arrayOfDouble"); -java2Xml.put(Float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(float[].class.getName(),"qman:arrayOfFloat"); -java2Xml.put(Integer[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(int[].class.getName(),"qman:arrayOfInteger"); -java2Xml.put(Short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(short[].class.getName(),"qman:arrayOfShort"); -java2Xml.put(String[].class.getName(),"qman:arrayOfString"); -java2Xml.put(URI[].class.getName(),"qman:arrayOfURI"); -java2Xml.put(Date[].class.getName(),"qman:arrayOfDate"); -java2Xml.put(Map.class.getName(),"qman:map"); -java2Xml.put(HashMap.class.getName(),"qman:map"); - -pageContext.setAttribute("types",java2Xml); -%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - WS-DM Properties Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>Resource ID</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <div id="wsdmmenu" align="left" style="font-size: small;"> - <ul> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>Properties</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_operations_perspective?resourceId=${resourceId}""><span>Operations</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_wsdl_perspective?resourceId=${resourceId}""><span>WSDL</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_rmd_perspective?resourceId=${resourceId}""><span>RDM</span></a></li> - </ul> - </div> - </td> - </tr> - <tr> - <td valign="top"> - <fieldset> - <legend>Attributes</legend> - <table width="100%" cellspacing="1"> - <tr> - <th nowrap="nowrap" align="center">Name</th> - <th nowrap="nowrap" align="center" >Type</th> - <th nowrap="nowrap" align="center">Value</th> - <th nowrap="nowrap" align="center">Mutable</th> - <th nowrap="nowrap" align="center">Access</th> - <th nowrap="nowrap" align="center">Valid Values</th> - <th nowrap="nowrap" align="center">Static Values</th> - <th nowrap="nowrap" align="center">Initial Values</th> - </tr> - <c:forEach var="attribute" items="${metadata.attributes}" varStatus="rowCounter"> - <c:choose> - <c:when test="${rowCounter.count % 2 == 0}"> - <c:set var="bgcolor" scope="page" value="EAEAEA"/> - </c:when> - <c:otherwise> - <c:set var="bgcolor" scope="page" value="FFFFFF"/> - </c:otherwise> - </c:choose> - <c:choose> - <c:when test="${attribute.writable}"> - <c:set var="access" scope="page" value="RW"/> - </c:when> - <c:otherwise> - <c:set var="access" scope="page" value="RO"/> - </c:otherwise> - </c:choose> - <tr> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attribute.name}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${types[attribute.type]}"/></td> - <td style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${attributes[attribute.name]}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - √ - <%-- - <c:out value="${attribute.mutable}"/> - --%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"><c:out value="${access}"/></td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.validValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.staticValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - <td nowrap style="font-size: xx-small; font-weight: bold;" bgcolor="${bgcolor}"> - N.A. -<%-- - <ul> - <c:forEach var="value" items="${attribute.initialValues}"> - <li> - <c:out value="${value}"/> - </li> - </c:forEach> - </ul> ---%> - </td> - </tr> - </c:forEach> - </table> - </fieldset> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/wsdm_rmd_perspective.jsp b/java/management/client/console/wsdm_rmd_perspective.jsp deleted file mode 100644 index 083732668b..0000000000 --- a/java/management/client/console/wsdm_rmd_perspective.jsp +++ /dev/null @@ -1,99 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix="c"%> -<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%> - -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.*"%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - WS-DM RMD Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?wsresourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>Resource ID</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <div id="wsdmmenu" align="left" style="font-size: small;"> - <ul> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>Properties</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_operations_perspective?resourceId=${resourceId}""><span>Operations</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_wsdl_perspective?resourceId=${resourceId}""><span>WSDL</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_rmd_perspective?resourceId=${resourceId}""><span>RDM</span></a></li> - </ul> - </div> - </td> - </tr> - <tr> - <td valign="top"> - <div class="panel" align="left" style="height:500px; width=200px; overflow-y:auto; font-size: smaller; font-weight:bold;"> - <pre> <c:out value="${rmd}" /> </pre> - </div> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> diff --git a/java/management/client/console/wsdm_wsdl_perspective.jsp b/java/management/client/console/wsdm_wsdl_perspective.jsp deleted file mode 100644 index 0674c51a97..0000000000 --- a/java/management/client/console/wsdm_wsdl_perspective.jsp +++ /dev/null @@ -1,99 +0,0 @@ -<!-- - - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - ---> - -<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> -<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix="c"%> -<%@ taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%> - -<%@page import="org.apache.qpid.management.web.action.BrokerModel"%> -<%@page import="java.util.Set"%> -<%@page import="javax.management.ObjectName"%> -<%@page import="org.apache.qpid.management.Names"%> -<%@page import="java.util.*"%> -<%@page import="java.net.URI"%> -<%@page import="javax.xml.namespace.QName"%> -<%@page import="org.w3c.dom.Element"%> -<html> - <head> - <link rel="stylesheet" href="<%=request.getContextPath()%>/images/style.css" type="text/css" /> - <title>QMan Administration Console</title> - </head> - <body> - <div id="page" align="center"> - <jsp:include page="/fragments/header.jsp"> - <jsp:param name="title" value="Resource Management - WS-DM WSDL Perspective"/> - </jsp:include> - - <div id="content" align="center"> - <jsp:include page="/fragments/menu.jsp"/> - - <div id="contenttext"> - <div id="wsdmmenu" align="left"> - <ul> - <li><a href="<%=request.getContextPath()%>/jmx_perspective?resourceId=${resourceId}"><span>JMX</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>WS-DM</span></a></li> - </ul> - </div> - <br /> - <div class="panel" align="justify"> - <span class="bodytext"> - <table width="100%"> - <tr> - <td valign="top" colspan="2"> - <fieldset> - <legend>Resource ID</legend> - <ul> - <c:forEach var="property" items="${nameAttributes}"> - <li style="color : black;"> - <c:out value="${property}"/> - </li> - </c:forEach> - </ul> - </fieldset> - </td> - </tr> - <tr> - <td valign="top"> - <div id="wsdmmenu" align="left" style="font-size: small;"> - <ul> - <li><a href="<%=request.getContextPath()%>/wsdm_properties_perspective?resourceId=${resourceId}"><span>Properties</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_operations_perspective?resourceId=${resourceId}""><span>Operations</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_wsdl_perspective?resourceId=${resourceId}""><span>WSDL</span></a></li> - <li><a href="<%=request.getContextPath()%>/wsdm_rmd_perspective?resourceId=${resourceId}""><span>RDM</span></a></li> - </ul> - </div> - </td> - </tr> - <tr> - <td valign="top"> - <div class="panel" align="left" style="height:500px; width=200px; overflow-y:auto; font-size: smaller; font-weight:bold;"> - <pre> <c:out value="${wsdl}" /> </pre> - </div> - </td> - </tr> - </table> - </span> - </div> - </div> - </div> - </div> - </body> -</html> |