juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r786893 - in /webservices/juddi/branches/v3_trunk/juddi-war: ./ index.jsp juddi.css pom.xml src/ src/main/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/WEB-INF/web.xml
Date Sat, 20 Jun 2009 19:45:12 GMT
Author: tcunning
Date: Sat Jun 20 19:45:11 2009
New Revision: 786893

URL: http://svn.apache.org/viewvc?rev=786893&view=rev
Log:
JUDDI-188
Add a vanilla juddi-war that does not include persistence settings or 
ws settings.

Added:
    webservices/juddi/branches/v3_trunk/juddi-war/
    webservices/juddi/branches/v3_trunk/juddi-war/index.jsp
    webservices/juddi/branches/v3_trunk/juddi-war/juddi.css
    webservices/juddi/branches/v3_trunk/juddi-war/pom.xml
    webservices/juddi/branches/v3_trunk/juddi-war/src/
    webservices/juddi/branches/v3_trunk/juddi-war/src/main/
    webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/
    webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/
    webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/web.xml

Added: webservices/juddi/branches/v3_trunk/juddi-war/index.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-war/index.jsp?rev=786893&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-war/index.jsp (added)
+++ webservices/juddi/branches/v3_trunk/juddi-war/index.jsp Sat Jun 20 19:45:11 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">&nbsp;</div>
+        </td>
+    </tr>
+</table>
+
+</body>
+</html>

Added: webservices/juddi/branches/v3_trunk/juddi-war/juddi.css
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-war/juddi.css?rev=786893&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-war/juddi.css (added)
+++ webservices/juddi/branches/v3_trunk/juddi-war/juddi.css Sat Jun 20 19:45:11 2009
@@ -0,0 +1,157 @@
+body {
+  margin:      0px 10px 10px 10px;
+  font-family: "Trebuchet MS", sans-serif;
+  font-size:   10pt;
+  background:  #FFF;
+  color:       #000;
+}
+
+h1 {
+	font-family: "Trebuchet MS", sans-serif;
+	background: #00005A;
+	font-weight: normal;
+	color: White;
+	padding: 5px 10px;
+	margin: 0px -10px 10px -10px;
+}
+
+h2 {
+	font-family: "Trebuchet MS", sans-serif;
+	color: #00005A;
+}
+
+h3 {
+	font-family: "Trebuchet MS", sans-serif;
+	color: #00005A;
+}
+
+h4 {
+	font-family: "Trebuchet MS", sans-serif;
+	color: #00005A;
+}
+
+.sidebar {
+	border: 1px solid #00005A;
+	background: #EEE;
+	padding: 5px;
+} 
+
+pre.code_sample {
+  background: #EEE;
+  padding: 5px;
+}
+
+dt {
+  font-weight: bold;
+}
+
+dl {
+  margin-left: 3em;
+}
+
+td {
+  font-size:   10pt;
+}
+
+DIV.announcement dl {
+  margin-left: 0px;
+}
+
+div.LINK {
+  margin: 0px -10px;
+  padding: 2px 10px;
+  color: #000;
+  font-size: 10pt;
+}
+
+div.LINK A {
+  color: #6d0000;
+  text-decoration: none;
+}
+
+div.LINK A:hover {
+  color: #006200;
+  text-decoration: underline;
+}
+
+div.NAV {
+  background: #000;
+  margin: 0px -10px;
+  padding: 2px 10px;
+  color: #CCC;
+  font-size: 12pt;
+  font-weight: bold;
+}
+
+div.NAV A {
+  color: #CCC;
+  text-decoration: none;
+}
+
+div.NAV A:hover {
+  color: #FFF;
+}
+
+.msgs {
+	background-color: #FFD;
+	color: #005500;
+}
+
+.ednote {
+  color: #999;
+  font-style: italic;
+}
+
+.cvs_id {
+  color: #999;
+  font-size: 8pt;
+  border-top: solid 1px #999;
+}
+
+.author {
+  font-size: 14pt;
+  font-style: italic;
+}
+
+var {
+  font-style: italic;
+  color: #900;
+}
+
+div.footer { 
+  color: #666699; margin: 0px -10px; padding: 2px 10px; font-size: 8pt; font-weight: normal;

+}
+
+div.footer a {
+  color: #666699; text-decoration: none; 
+}
+
+div.footer a:hover { 
+  color: #666699; text-decoration: underline; 
+}
+
+div.header { 
+  background: #000;
+  margin: 0px -10px;
+  padding: 2px 10px;
+  color: #CCC;
+  font-size: 8pt;
+  font-weight: bold;
+}
+
+div.header a {
+  color: #CCC;
+  text-decoration: none;
+}
+
+div.header a:hover { 
+  color: #FFF;
+}
+
+div.error {
+  color: #F00;
+}
+
+div.install {width:650px; background-color: #00005a;}
+div.install h4 {margin:0; padding:0; color: #fff;}
+div.install .content {margin:0; padding:4px 4px 0 4px; border-style:solid; border-color:#bbb;
border-width:0 1px 1px 1px; background-color: #fff;}

Added: webservices/juddi/branches/v3_trunk/juddi-war/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-war/pom.xml?rev=786893&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-war/pom.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-war/pom.xml Sat Jun 20 19:45:11 2009
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Copyright 2001-2009 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ *
+ */ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.juddi</groupId>
+    <artifactId>juddi-parent</artifactId>
+    <version>3.0.0.SNAPSHOT</version>
+  </parent>
+  <groupId>org.apache.juddi</groupId>
+  <artifactId>juddi-war</artifactId>
+  <packaging>war</packaging>
+  <version>3.0.0.SNAPSHOT</version>
+  <name>jUDDI Axis2 Deployment</name>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <artifactId>juddi-core</artifactId>
+      <groupId>org.apache.juddi</groupId>
+      <version>3.0.0.SNAPSHOT</version> 
+        <exclusions>
+          <exclusion>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+          </exclusion>
+        </exclusions>
+       </dependency>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+            <version>1.1.1</version>
+        </dependency>
+  </dependencies>
+  <build>
+    <finalName>juddi</finalName>
+  </build>
+</project>

Added: webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/web.xml?rev=786893&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/web.xml (added)
+++ webservices/juddi/branches/v3_trunk/juddi-war/src/main/webapp/WEB-INF/web.xml Sat Jun
20 19:45:11 2009
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+ -->
+<!DOCTYPE web-app PUBLIC 
+	"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
+	"http://java.sun.com/dtd/web-app_2_3.dtd">
+
+<web-app>
+
+  <display-name>jUDDI</display-name>
+  <description>
+    jUDDI is Java-based implmementation of a UDDI version 2.0 registry.
+  </description>
+
+    <servlet>
+        <servlet-name>AxisServlet</servlet-name>
+        <display-name>Apache-Axis Servlet</display-name>
+        <servlet-class>
+            org.apache.axis2.transport.http.AxisServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+  <servlet-mapping>
+    <servlet-name>AxisServlet</servlet-name>
+    <url-pattern>/services/*</url-pattern>
+  </servlet-mapping>
+
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>index.jsp</welcome-file>
+    <welcome-file>index.html</welcome-file>
+  </welcome-file-list>
+
+  <resource-ref>
+    <description>jUDDI DataSource</description>
+    <res-ref-name>jdbc/juddiDB</res-ref-name>
+    <res-type>javax.sql.DataSource</res-type>
+    <res-auth>Container</res-auth>
+    <res-sharing-scope>Shareable</res-sharing-scope>
+  </resource-ref>
+  
+</web-app>



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message