You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by jf...@apache.org on 2009/05/19 23:52:07 UTC
svn commit: r776484 - in
/webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp:
WEB-INF/install/ index.jsp
Author: jfaath
Date: Tue May 19 21:52:06 2009
New Revision: 776484
URL: http://svn.apache.org/viewvc?rev=776484&view=rev
Log:
cleaning up axis web module for new install process
Added:
webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/index.jsp
Removed:
webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/WEB-INF/install/
Added: webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/index.jsp?rev=776484&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/index.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-axis/src/main/webapp/index.jsp Tue May 19 21:52:06 2009
@@ -0,0 +1,92 @@
+<%@ page session="false" %>
+<%@ page import="java.util.List,
+ org.apache.juddi.config.Install,
+ javax.xml.bind.JAXBException,
+ org.uddi.v3_service.DispositionReportFaultMessage,
+ org.apache.juddi.config.AppConfig,
+ org.apache.juddi.config.Property,
+ org.uddi.api_v3.BusinessEntity,
+ org.uddi.api_v3.Name,
+ org.uddi.api_v3.Description,
+ java.io.IOException,
+ org.apache.juddi.config.Release"
+%>
+
+<!-- index.jsp -->
+<html>
+<head>
+<title>Apache jUDDI Registry</title>
+<link rel="stylesheet" href="juddi.css" />
+</head>
+<body>
+<div class="header" align="right"><a href="http://ws.apache.org/juddi/" target="_top">jUDDI@Apache</a></div>
+<h1>Apache jUDDI version <%= Release.getRegistryVersion() %></h1>
+
+
+<h3><em>Welcome</em> to Apache jUDDI!</h3>
+<ul>
+ <li><a href="/pluto/portal/jUDDI">jUDDI Portal</a></li>
+ <li><a href="services">View</a> service listing</li>
+ <li><a href="http://ws.apache.org/juddi/">Visit</a> the Apache-jUDDI Home Page</li>
+</ul>
+
+<div class="install">
+ <h4>jUDDI Installation</h4>
+ <div class="content">
+<%
+ // This will tirgger the install process...
+ String rootPartition = AppConfig.getConfiguration().getString(Property.JUDDI_ROOT_PARTITION);
+ String nodeId = AppConfig.getConfiguration().getString(Property.JUDDI_NODE_ID);
+ String nodeName = "";
+ String nodeDescription = "";
+
+ BusinessEntity be = Install.getNodeBusinessEntity(nodeId);
+
+ if (be != null) {
+ Name n = (Name) be.getName().get(0);
+ if (n != null)
+ nodeName = n.getValue();
+
+ List descList = be.getDescription();
+ if (descList != null && descList.size() > 0) {
+ Description d = (Description) descList.get(0);
+ if (d != null)
+ nodeDescription = d.getValue();
+ }
+ }
+%>
+ <div>jUDDI has been successfully installed!</div>
+ <p />
+ <h3>Node Information</h3>
+ <table>
+ <tr>
+ <td><b>Root Partition:</b></td>
+ <td><%= rootPartition %></td>
+ </tr>
+ <tr>
+ <td><b>Node Id:</b></td>
+ <td><%= nodeId %></td>
+ </tr>
+ <tr>
+ <td><b>Name:</b></td>
+ <td><%= nodeName %></td>
+ </tr>
+ <tr>
+ <td><b>Description:</b></td>
+ <td><%= nodeDescription %></td>
+ </tr>
+ </table>
+ </div>
+</div>
+
+<hr />
+<table width="100%" border="0">
+ <tr>
+ <td height="50" align="center" valign="bottom" nowrap>
+ <div class="footer"> </div>
+ </td>
+ </tr>
+</table>
+
+</body>
+</html>
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org