juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcunn...@apache.org
Subject svn commit: r771174 - in /webservices/juddi/branches/v3_trunk/juddi-console: juddi-portal/pluto/WEB-INF/ uddi-portlets/src/main/java/org/apache/juddi/portlets/ uddi-portlets/src/main/java/org/apache/juddi/portlets/public/ uddi-portlets/src/main/java/or...
Date Mon, 04 May 2009 04:50:25 GMT
Author: tcunning
Date: Mon May  4 04:50:23 2009
New Revision: 771174

URL: http://svn.apache.org/viewvc?rev=771174&view=rev
Log:
JUDDI-196
Initial commit of start of the Subscription Listener portlet.

Added:
    webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/UDDISubscriptionNotification.gwt.xml
    webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/UDDISubscriptionNotification.html
    webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
Modified:
    webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
    webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/portlet.xml
    webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/web.xml

Modified: webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml?rev=771174&r1=771173&r2=771174&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/juddi-portal/pluto/WEB-INF/pluto-portal-driver-config.xml
Mon May  4 04:50:23 2009
@@ -46,6 +46,7 @@
     <page name="jUDDI" uri="/WEB-INF/themes/pluto-default-theme.jsp">
       <portlet context="/uddi-portlets" name="UDDIBrowserPortlet"/>
       <portlet context="/uddi-portlets" name="UDDISearchPortlet"/>
+      <portlet context="/uddi-portlets" name="UDDISubscriptionNotificationPortlet"/>
     </page>
     <page name="Pluto Admin" uri="/WEB-INF/themes/pluto-default-theme.jsp">
       <portlet context="/pluto" name="PlutoPageAdmin"/>

Added: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/UDDISubscriptionNotification.gwt.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/UDDISubscriptionNotification.gwt.xml?rev=771174&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/UDDISubscriptionNotification.gwt.xml
(added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/UDDISubscriptionNotification.gwt.xml
Mon May  4 04:50:23 2009
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?><module>
+
+      <!-- Inherit the core Web Toolkit stuff.                        -->
+      <inherits name="com.google.gwt.user.User"/>   	
+    
+      <!-- Specify the app entry point class.                         -->
+      <entry-point class="org.apache.juddi.portlets.client.UDDISubscriptionNotification"/>
+    
+      <!-- Specify the application specific style sheet.              -->
+      <stylesheet src="uddiportlets.css"/>
+	
+	  <servlet class="org.apache.juddi.portlets.server.service.SecurityServiceImpl"    path="/security"/>
+	  <servlet class="org.apache.juddi.portlets.server.service.InquiryServiceImpl"     path="/inquiry"/>
+	  <servlet class="org.apache.juddi.portlets.server.service.PublicationServiceImpl" path="/publication"/>
+	 
+</module>
\ No newline at end of file

Added: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/UDDISubscriptionNotification.html
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/UDDISubscriptionNotification.html?rev=771174&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/UDDISubscriptionNotification.html
(added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/UDDISubscriptionNotification.html
Mon May  4 04:50:23 2009
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!-- /*
+ * 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.
+ *
+ */ -->
+
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <title>UDDI Subscription Notification</title>
+    <!--                                           -->
+    <!-- This script loads your compiled module.   -->
+    <!-- If you add any GWT meta tags, they must   -->
+    <!-- be added before this line.                -->
+    <!--                                           -->
+    <script type="text/javascript" language="javascript" src="org.apache.juddi.portlets.UDDISubscriptionNotification.nocache.js"></script>
+  </head>
+  <body>
+    <div id="search"></div>
+  </body>
+</html>

Added: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java?rev=771174&view=auto
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
(added)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/server/UDDISubscriptionNotificationPortlet.java
Mon May  4 04:50:23 2009
@@ -0,0 +1,34 @@
+package org.apache.juddi.portlets.server;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+
+import javax.portlet.GenericPortlet;
+import javax.portlet.PortletException;
+import javax.portlet.PortletSecurityException;
+import javax.portlet.RenderRequest;
+import javax.portlet.RenderResponse;
+
+public class UDDISubscriptionNotificationPortlet extends GenericPortlet 
+{
+	protected void doView(RenderRequest renderRequest, RenderResponse renderResponse) 
+		throws PortletException, PortletSecurityException, IOException
+	{		
+	  renderResponse.setContentType("text/html");
+	  PrintWriter writer = renderResponse.getWriter();
+	  writer.println("<script type='text/javascript' language='javascript' src='" 
+		  + renderRequest.getContextPath() 
+		  + "/org.apache.juddi.portlets.UDDISubscriptionNotification/org.apache.juddi.portlets.UDDISubscriptionNotification.nocache.js'></script>");
+	  writer.println("<div id=\"search\"></div>");
+	  writer.close();
+	}
+
+	protected void doHelp(RenderRequest renderRequest, RenderResponse renderResponse) 
+		throws PortletException, PortletSecurityException, IOException
+	{
+	  renderResponse.setContentType("text/html");
+	  PrintWriter writer = renderResponse.getWriter();
+	  writer.write("Help");
+	  writer.close();
+	}
+}

Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/portlet.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/portlet.xml?rev=771174&r1=771173&r2=771174&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/portlet.xml
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/portlet.xml
Mon May  4 04:50:23 2009
@@ -30,4 +30,18 @@
 			<title>UDDISearch Portlet</title>
 	    </portlet-info>
 	</portlet>
-</portlet-app>
\ No newline at end of file
+
+        <portlet>
+        <description>UDDI Subscription Notification as a portlet app</description>
+               <portlet-name>UDDISubscriptionNotificationPortlet</portlet-name>
+               <display-name>UDDISubscriptionNotification Portlet</display-name>
+               <portlet-class>org.apache.juddi.portlets.server.UDDISubscriptionNotificationPortlet</portlet-class>
+               <supports>
+                    <mime-type>text/html</mime-type>
+                    <portlet-mode>VIEW</portlet-mode>
+                </supports>
+                <portlet-info>
+                     <title>UDDISubscriptionNotification Portlet</title>
+                </portlet-info>
+          </portlet>
+</portlet-app>

Modified: webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/web.xml?rev=771174&r1=771173&r2=771174&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/web.xml
(original)
+++ webservices/juddi/branches/v3_trunk/juddi-console/uddi-portlets/src/main/webapp/WEB-INF/web.xml
Mon May  4 04:50:23 2009
@@ -27,6 +27,16 @@
 		</init-param>
 		<load-on-startup>1</load-on-startup>
 	</servlet>
+
+	<servlet>
+		<servlet-name>UDDISubscriptionNotificationPortlet</servlet-name>
+		<servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
+		<init-param>
+			<param-name>portlet-name</param-name>
+			<param-value>UDDISubscriptionNotificationPortlet</param-value>
+		</init-param>
+		<load-on-startup>1</load-on-startup>
+	</servlet>
 	
 	<servlet-mapping>
 		<servlet-name>UDDIBrowserPortlet</servlet-name>
@@ -39,4 +49,10 @@
 		<url-pattern>/PlutoInvoker/UDDISearchPortlet
 		</url-pattern>
 	</servlet-mapping>
+
+	<servlet-mapping>
+		<servlet-name>UDDISubscriptionNotificationPortlet</servlet-name>
+		<url-pattern>/PlutoInvoker/UDDISubscriptionNotificationPortlet
+		</url-pattern>
+	</servlet-mapping>
 </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