juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r819366 - in /webservices/juddi/trunk/juddi-console/uddi-portlets/src/main: java/org/apache/juddi/portlets/client/ java/org/apache/juddi/portlets/public/ resources/ resources/META-INF/
Date Sun, 27 Sep 2009 18:33:20 GMT
Author: kstam
Date: Sun Sep 27 18:33:19 2009
New Revision: 819366

URL: http://svn.apache.org/viewvc?rev=819366&view=rev
Log:
JUDDI-201

Added:
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/bindingtemplate.png
  (with props)
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/endpointlive.png
  (with props)
Removed:
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/uddi.properties
Modified:
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/DetailPanel.java
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/Images.java
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/PublisherListPanel.java
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/UDDIBrowser.java
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/uddiportlets.css
    webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/META-INF/uddi.xml

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/DetailPanel.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/DetailPanel.java?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/DetailPanel.java
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/DetailPanel.java
Sun Sep 27 18:33:19 2009
@@ -24,7 +24,8 @@
 
 	public DetailPanel() {
 		detailPanel = this;
-		//detailPanel.setStylePrimaryName("t");
+		detailPanel.setStyleName("detail-panel");
+		detailPanel.setWidth("100%");
 		table.addTableListener(this);
 		detailPanel.add(table);
 	}
@@ -44,8 +45,7 @@
 					detailPanel.add(table);
 					int row = 0;
 					for (Service service : business.getServices()) {
-						//table.getFlexCellFormatter().setColSpan(row, 0, 2);
-						table.setText(row++, 0, "service");
+						table.getCellFormatter().addStyleName(row, 1, "ListHeader");
 						table.setHTML(row, 0, UDDIBrowser.images.service().getHTML());
 						table.setText(row++, 1, service.getName());
 						table.setHTML(row, 0, UDDIBrowser.images.key().getHTML());
@@ -74,12 +74,8 @@
 					table = new FlexTable();
 					detailPanel.add(table);
 					table.addTableListener(detailPanel);
-					//table.setBorderWidth(1);
-					//table.setStyleName("portlet-form-field-label");
 					int row = 0;
-					table.getFlexCellFormatter().setColSpan(row, 0, 2);
-					table.setTitle("business");
-					table.setText(row++, 0, "business");
+					table.getCellFormatter().addStyleName(row, 1, "ListHeader");
 					table.setHTML(row, 0, UDDIBrowser.images.business().getHTML());
 					table.setText(row++, 1, business.getName());
 					table.setHTML(row, 0, UDDIBrowser.images.key().getHTML());
@@ -111,31 +107,34 @@
 					table = new FlexTable();
 					table.setWidth("100%");
 					table.setCellSpacing(0);
-					table.setBorderWidth(0);
+					table.setCellPadding(4);
 					detailPanel.add(table);
 					table.addTableListener(detailPanel);
-					//table.setBorderWidth(1);
-					//table.setStyleName("portlet-form-field-label");
 					int row = 0;
-					table.getFlexCellFormatter().setColSpan(row, 0, 2);
-					table.setTitle("service");
-					table.setHTML(row++, 0, UDDIBrowser.images.service().getHTML() + " service - " + service.getName());
+					table.getCellFormatter().addStyleName(row, 1, "ListHeader");
+					table.setHTML(row, 0, UDDIBrowser.images.service().getHTML());
+					table.setHTML(row++, 1, service.getName());
 					table.setHTML(row, 0, UDDIBrowser.images.key().getHTML());
 					table.setText(row++, 1, service.getKey());
 					table.setHTML(row, 0, UDDIBrowser.images.description().getHTML());
 					table.setText(row++, 1, service.getDescription());
 					
 					for (ServiceBinding serviceBinding : service.getServiceBindings()) {
-						table.getFlexCellFormatter().setColSpan(row, 0, 2);
-						table.setText(row++, 0, "binding");
-						table.setHTML(row, 0, UDDIBrowser.images.key().getHTML());
-						table.setText(row++, 1, serviceBinding.getKey());
-						table.setHTML(row, 0, UDDIBrowser.images.description().getHTML());
-						table.setText(row++, 1,  serviceBinding.getDescription());
-						table.setText(row, 0, serviceBinding.getUrlType());
-						table.setHTML(row++, 1, new HTML("<a href='" 
+						
+						table.setHTML(row, 0, UDDIBrowser.images.bindingtemplate().getHTML());
+						table.setText(row++, 1, "Binding Template");
+						
+						int bindingRow = 0;
+						FlexTable bindingtable = new FlexTable();
+						bindingtable.setHTML(bindingRow, 0, UDDIBrowser.images.key().getHTML());
+						bindingtable.setText(bindingRow++, 1, serviceBinding.getKey());
+						bindingtable.setHTML(bindingRow, 0, UDDIBrowser.images.description().getHTML());
+						bindingtable.setText(bindingRow++, 1,  serviceBinding.getDescription());
+						bindingtable.setHTML(bindingRow, 0, UDDIBrowser.images.endpointlive().getHTML());
+						bindingtable.setHTML(bindingRow++, 1, new HTML("<a href='" 
 								+ serviceBinding.getAccessPoint() + "'>" 
 								+ serviceBinding.getAccessPoint() + "</a>").getHTML());
+						table.setHTML(row, 1, bindingtable.toString());
 					}
 				} else {
 					Window.alert("error: " + response.getMessage() 

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/Images.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/Images.java?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/Images.java
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/Images.java
Sun Sep 27 18:33:19 2009
@@ -11,6 +11,8 @@
 	AbstractImagePrototype description();
 	AbstractImagePrototype service();
 	AbstractImagePrototype services();
+	AbstractImagePrototype bindingtemplate();
+	AbstractImagePrototype endpointlive();
 	
 	AbstractImagePrototype create();
 	AbstractImagePrototype save();

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/PublisherListPanel.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/PublisherListPanel.java?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/PublisherListPanel.java
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/PublisherListPanel.java
Sun Sep 27 18:33:19 2009
@@ -43,9 +43,6 @@
 
 	private void initTable() {
 		
-		for (int row=0; row<table.getRowCount(); row++) {
-			table.removeRow(row);
-		}
 		// Create the header row.
 		table.setText(0, 0, "Publisher Id");
 		table.setText(0, 1, "Publisher Name");
@@ -53,14 +50,14 @@
 		
 
 		// Initialize the rest of the rows.
-		for (int i = 0; i < VISIBLE_PUBLISHER_COUNT; ++i) {
-			table.setText(i + 1, 0, "");
-			table.setText(i + 1, 1, "");
-			table.getCellFormatter().setWordWrap(i + 1, 0, false);
-			table.getCellFormatter().setWordWrap(i + 1, 1, false);
-			table.getFlexCellFormatter().setColSpan(i + 1, 1, 1);
-		}
-		selectRow(0);
+//		for (int i = 0; i < VISIBLE_PUBLISHER_COUNT; ++i) {
+//			table.setText(i + 1, 0, "");
+//			table.setText(i + 1, 1, "");
+//			table.getCellFormatter().setWordWrap(i + 1, 0, false);
+//			table.getCellFormatter().setWordWrap(i + 1, 1, false);
+//			table.getFlexCellFormatter().setColSpan(i + 1, 1, 1);
+//		}
+//		selectRow(0);
 	}
 
 	/**
@@ -89,7 +86,7 @@
 						}
 					}
 				} else {
-					Window.alert("error: " + response.getMessage() + ". Make sure the UDDI server is up
and running.");
+					Window.alert("error: " + response.getMessage());
 				}
 			}
 				});

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/UDDIBrowser.java
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/UDDIBrowser.java?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/UDDIBrowser.java
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/UDDIBrowser.java
Sun Sep 27 18:33:19 2009
@@ -51,6 +51,8 @@
 		
 		detailPanel = new DetailPanel();
 		detailPanel.setVisible(false);
+        detailPanel.setWidth("100%");
+        detailPanel.setStyleName("detail-panel");
 		dockPanel.add(detailPanel,DockPanel.CENTER);
 		
 		RootPanel.get("browser").add(dockPanel);

Added: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/bindingtemplate.png
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/bindingtemplate.png?rev=819366&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/bindingtemplate.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/endpointlive.png
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/endpointlive.png?rev=819366&view=auto
==============================================================================
Binary file - no diff available.

Propchange: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/client/endpointlive.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/uddiportlets.css
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/uddiportlets.css?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/uddiportlets.css
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/java/org/apache/juddi/portlets/public/uddiportlets.css
Sun Sep 27 18:33:19 2009
@@ -29,7 +29,6 @@
 }
 
 .gwt-Tree .gwt-TreeItem {
- font-size: 80%;
  padding: 1px 3px 0 3px;
  cursor: hand;
  cursor: pointer;
@@ -39,12 +38,12 @@
 .gwt-Tree {
  overflow:auto;
  margin-right:25px;
- height:150px;
+ width:250px;
 }
 
 
 .gwt-Tree .gwt-TreeItem-selected {
-  background: #ccc;
+  background: #eee;
 }
 
 .List {

Modified: webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/META-INF/uddi.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/META-INF/uddi.xml?rev=819366&r1=819365&r2=819366&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/META-INF/uddi.xml
(original)
+++ webservices/juddi/trunk/juddi-console/uddi-portlets/src/main/resources/META-INF/uddi.xml
Sun Sep 27 18:33:19 2009
@@ -40,7 +40,7 @@
 			-->
 		</node>
 		<node>
-			<name>node2</name>
+			<name>med</name>
 			<description>jUDDI node in other Department</description>
 			<proxyTransport>org.apache.juddi.v3.client.transport.JAXWSTransport</proxyTransport>
 			<custodyTransferUrl>http://med:8080/juddiv3/services/custody-transfer?wsdl</custodyTransferUrl>
@@ -48,10 +48,19 @@
 	        <publishUrl>http://med:8080/juddiv3/services/publish?wsdl</publishUrl>
 	        <securityUrl>http://med:8080/juddiv3/services/security?wsdl</securityUrl>
 			<subscriptionUrl>http://med:8080/juddiv3/services/subscription?wsdl</subscriptionUrl>
-			<subscriptionListenerUrl>http://localhost:8080/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
+			<subscriptionListenerUrl>http://med:8080/juddiv3/services/subscription-listener?wsdl</subscriptionListenerUrl>
 			<juddiApiUrl>http://med:8080/juddiv3/services/juddi-api?wsdl</juddiApiUrl>
 		</node>
 	</nodes>
+	<clerks>
+	   <clerk name="default" node="default" publisher="root" password="root"/>
+       <clerk name="medroot" node="med"     publisher="root" password="root"/>
+   </clerks> 
+   <xregister onStartUp="true">
+       <service bindingKey="uddi:juddi.apache.org:servicebindings-subscriptionlistener-ws"
fromClerk="default" toClerk="medroot"/>
+   </xregister>
+	
+	
 	
 	
 </uddi>
\ No newline at end of file



---------------------------------------------------------------------
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