JBoss Tools SVN: r36742 - in trunk/as/plugins: org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling and 11 other directories.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2011-11-29 14:04:50 -0500 (Tue, 29 Nov 2011)
New Revision: 36742
Added:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/INeedCredentials.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IProvideCredentials.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerProvider.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/WebPortPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IPollerFailureHandler.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/PollThread.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/AS7ManagementDetails.java
trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerFailureHandler.exsd
trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/plugin.xml
trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/JMXPoller.java
trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/AS71Manager.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
Log:
JBIDE-10224 - further work on credential callback usecase, required changes to poller API
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/ExtensionManager.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -30,9 +30,9 @@
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.IServerType;
import org.jboss.ide.eclipse.as.core.server.IJBossServerPublisher;
-import org.jboss.ide.eclipse.as.core.server.IPollerFailureHandler;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
import org.jboss.ide.eclipse.as.core.server.IServerAlreadyStartedHandler;
-import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
/**
@@ -55,7 +55,7 @@
private HashMap<String, ServerStatePollerType> pollers;
/** The map of pollerID -> PollerObject */
- private HashMap<String, IPollerFailureHandler> pollerFailureHandlers;
+ private HashMap<String, IProvideCredentials> credentialProviders;
/** The method used to load / instantiate the pollers */
public void loadPollers() {
@@ -123,14 +123,14 @@
}
/** The method used to load / instantiate the failure handlers */
- public void loadFailureHandler() {
- pollerFailureHandlers = new HashMap<String, IPollerFailureHandler>();
+ public void loadCredentialProviders() {
+ credentialProviders = new HashMap<String, IProvideCredentials>();
IExtensionRegistry registry = Platform.getExtensionRegistry();
IConfigurationElement[] cf = registry.getConfigurationElementsFor(JBossServerCorePlugin.PLUGIN_ID, "pollerFailureHandler"); //$NON-NLS-1$
for( int i = 0; i < cf.length; i++ ) {
try {
- pollerFailureHandlers.put(cf[i].getAttribute("id"), //$NON-NLS-1$
- (IPollerFailureHandler)cf[i].createExecutableExtension("class")); //$NON-NLS-1$
+ credentialProviders.put(cf[i].getAttribute("id"), //$NON-NLS-1$
+ (IProvideCredentials)cf[i].createExecutableExtension("class")); //$NON-NLS-1$
} catch( CoreException e ) {
// TODO ERROR LOG
} catch( ClassCastException cce ) {
@@ -139,17 +139,17 @@
}
}
- public IPollerFailureHandler[] getPollerFailureHandlers() {
- if( pollerFailureHandlers == null )
- loadFailureHandler();
- Collection<IPollerFailureHandler> c = pollerFailureHandlers.values();
- return c.toArray(new IPollerFailureHandler[c.size()]);
+ public IProvideCredentials[] getCredentialProviders() {
+ if( credentialProviders == null )
+ loadCredentialProviders();
+ Collection<IProvideCredentials> c = credentialProviders.values();
+ return c.toArray(new IProvideCredentials[c.size()]);
}
- public IPollerFailureHandler getFirstPollFailureHandler(IServerStatePoller poller, String action, List<String> requiredProperties) {
- IPollerFailureHandler[] handlers = getPollerFailureHandlers();
+ public IProvideCredentials getFirstCredentialProvider(IServerProvider serverProvider, List<String> requiredProperties) {
+ IProvideCredentials[] handlers = getCredentialProviders();
for( int i = 0; i < handlers.length; i++ ) {
- if( handlers[i].accepts(poller, action, requiredProperties)) {
+ if( handlers[i].accepts(serverProvider, requiredProperties)) {
return handlers[i];
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/ProcessTerminatedPoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
+ * Copyright (c) 2011 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
@@ -18,7 +18,6 @@
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
import org.jboss.ide.eclipse.as.core.server.internal.DelegatingServerBehavior;
import org.jboss.ide.eclipse.as.core.server.internal.IProcessProvider;
-import org.jboss.ide.eclipse.as.core.server.internal.PollThread;
import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
/**
@@ -37,10 +36,6 @@
private ServerStatePollerType type;
private IServer server;
- @Deprecated
- public void beginPolling(IServer server, boolean expectedState, PollThread pollThread) {
- }
-
public void beginPolling(IServer server, boolean expectedState) {
this.server = server;
}
@@ -71,10 +66,10 @@
return false;
}
- public void failureHandled(Properties properties) {
+ public void provideCredentials(Properties properties) {
}
- public List getRequiredProperties() {
+ public List<String> getRequiredProperties() {
return null;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/TimeoutPoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 Red Hat, Inc.
+ * Copyright (c) 2011 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is made available under the terms of the
* Eclipse Public License v1.0 which accompanies this distribution,
@@ -32,10 +32,6 @@
private IServer server;
private ServerStatePollerType type;
- @Deprecated
- public void beginPolling(IServer server, boolean expectedState, PollThread pollThread) {
- }
-
public void beginPolling(IServer server, boolean expectedState) {
this.expectedState = expectedState;
this.server = server;
@@ -69,18 +65,10 @@
return (getServer().getStopTimeout()-3) * 1000;
}
- public boolean supportsShutdown() {
- return true;
+ public void provideCredentials(Properties properties) {
}
- public boolean supportsStartup() {
- return true;
- }
-
- public void failureHandled(Properties properties) {
- }
-
- public List getRequiredProperties() {
+ public List<String> getRequiredProperties() {
return null;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/WebPortPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/WebPortPoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/extensions/polling/WebPortPoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
package org.jboss.ide.eclipse.as.core.extensions.polling;
import java.io.FileNotFoundException;
@@ -16,7 +26,6 @@
import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller2;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
-import org.jboss.ide.eclipse.as.core.server.internal.PollThread;
import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
import org.jboss.ide.eclipse.as.core.util.ServerConverter;
@@ -29,10 +38,6 @@
private boolean state;
private boolean expectedState;
- @Deprecated
- public void beginPolling(IServer server, boolean expectedState, PollThread pollTread) throws Exception {
- }
-
public void beginPolling(IServer server, boolean expectedState) {
this.server = server;
this.canceled = done = false;
@@ -59,6 +64,9 @@
done = true;
state = expectedState;
}
+ try {
+ Thread.sleep(100);
+ } catch(InterruptedException ie) {} // ignore
}
}
@@ -75,21 +83,26 @@
}
private static boolean onePing(String url) {
+ URLConnection conn = null;
try {
URL pingUrl = new URL(url);
- URLConnection conn = pingUrl.openConnection();
+ conn = pingUrl.openConnection();
((HttpURLConnection)conn).getResponseCode();
return true;
} catch( FileNotFoundException fnfe ) {
return true;
} catch (MalformedURLException e) {
- // Should NEVER happen since hte URL's are hand-crafted, but whatever
+ // Should NEVER happen since the URL's are hand-crafted, but whatever
Status s = new Status(IStatus.ERROR, JBossServerCorePlugin.PLUGIN_ID, e.getMessage(), e);
JBossServerCorePlugin.getDefault().log(s);
} catch (IOException e) {
// Does not need to be logged
return false;
- }
+ } finally {
+ if( conn != null ) {
+ ((HttpURLConnection)conn).disconnect();
+ }
+ }
return false;
}
@@ -120,7 +133,7 @@
return new ArrayList<String>();
}
- public void failureHandled(Properties properties) {
+ public void provideCredentials(Properties properties) {
}
public void cancel(int type) {
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/INeedCredentials.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/INeedCredentials.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/INeedCredentials.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -0,0 +1,31 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server;
+
+import java.util.List;
+import java.util.Properties;
+
+public interface INeedCredentials extends IServerProvider {
+
+ /**
+ * Get a list of required properties for these credentials
+ * Ex: username, password, security realm, etc
+ * @return
+ */
+ public List<String> getRequiredProperties();
+
+ /**
+ * Provides the required credentials to the INeedCredentials object
+ * @param credentials A property map, mapping each String property to a String value
+ */
+ public void provideCredentials(Properties credentials);
+
+}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IPollerFailureHandler.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IPollerFailureHandler.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IPollerFailureHandler.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -10,13 +10,10 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server;
-import java.util.List;
/**
* @author rob.stryker <rob.stryker(a)redhat.com>
- *
+ * @deprecated
*/
-public interface IPollerFailureHandler {
- public boolean accepts(IServerStatePoller poller, String action, List<String> requiredProperties);
- public void handle(IServerStatePoller poller, String action, List<String> requiredProperties);
+public interface IPollerFailureHandler extends IProvideCredentials {
}
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IProvideCredentials.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IProvideCredentials.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IProvideCredentials.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -0,0 +1,34 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server;
+
+import java.util.List;
+
+public interface IProvideCredentials {
+ /**
+ * Acknowledges whether the provider can or cannot provide credentials for this server
+ *
+ * @param serverProvider an object to provide a server
+ * @param requiredProperties a list of required properties
+ *
+ * @return true if this provider can handle this server; false otherwise
+ */
+ public boolean accepts(IServerProvider serverProvider, List<String> requiredProperties);
+
+ /**
+ * Handles the fetching / requesting and subsequent delivery of these credentials
+ *
+ * @param inNeed the object requiring access to the credentials
+ * @param requiredProperties a list of required properties
+ *
+ */
+ public void handle(INeedCredentials inNeed, List<String> requiredProperties);
+}
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerProvider.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerProvider.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.core.server;
+
+import org.eclipse.wst.server.core.IServer;
+
+public interface IServerProvider {
+ public IServer getServer();
+}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/IServerStatePoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -10,9 +10,6 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server;
-import java.util.List;
-import java.util.Properties;
-
import org.eclipse.wst.server.core.IServer;
import org.jboss.ide.eclipse.as.core.extensions.events.IEventCodes;
import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
@@ -22,7 +19,7 @@
* @author Rob Stryker
*
*/
-public interface IServerStatePoller {
+public interface IServerStatePoller extends INeedCredentials {
public static final int POLLING_CODE = IEventCodes.POLLING_CODE;
public static final int POLLER_MASK = IEventCodes.POLLER_MASK;
@@ -55,7 +52,6 @@
* expected to launch own thread
*/
public void beginPolling(IServer server, boolean expectedState) throws PollingException;
- public IServer getServer();
public boolean isComplete() throws PollingException, RequiresInfoException;
/**
@@ -71,9 +67,7 @@
* clean up any resources / processes. Will ALWAYS be called
*/
public void cleanup();
- public List<String> getRequiredProperties();
- public void failureHandled(Properties properties);
-
+
/**
* Cancel the polling.
* @param type CANCEL or TIMEOUT_REACHED
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/PollThread.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/PollThread.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/PollThread.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -19,7 +19,7 @@
import org.jboss.ide.eclipse.as.core.Messages;
import org.jboss.ide.eclipse.as.core.extensions.events.IEventCodes;
import org.jboss.ide.eclipse.as.core.extensions.events.ServerLogger;
-import org.jboss.ide.eclipse.as.core.server.IPollerFailureHandler;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller.PollingException;
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller.RequiresInfoException;
@@ -137,7 +137,7 @@
// This way each request for new info is checked only once.
if (!rie.getChecked()) {
rie.setChecked();
- firePollerFailureHandler(expectedState, poller);
+ fireRequestCredentials(expectedState, poller);
}
}
stateStartedOrStopped = checkServerState();
@@ -307,12 +307,10 @@
return STATE_STOPPED;
}
- public static void firePollerFailureHandler(boolean expectedState, IServerStatePoller poller) {
- String action = expectedState == IServerStatePoller.SERVER_UP ? SERVER_STARTING
- : SERVER_STOPPING;
- IPollerFailureHandler handler = ExtensionManager
- .getDefault().getFirstPollFailureHandler(poller,
- action, poller.getRequiredProperties());
- handler.handle(poller, action, poller.getRequiredProperties());
+ public static void fireRequestCredentials(boolean expectedState, IServerStatePoller poller) {
+ IProvideCredentials handler = ExtensionManager
+ .getDefault().getFirstCredentialProvider(poller,
+ poller.getRequiredProperties());
+ handler.handle(poller, poller.getRequiredProperties());
}
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -55,8 +55,8 @@
public void beginPolling(IServer server, boolean expectedState) throws PollingException {
try {
this.service = JBoss7ManagerUtil.getService(server);
+ this.server = server;
this.managementDetails = createManagementDetails();
- this.server = server;
this.expectedState = expectedState;
launchPollingThread();
} catch(InvalidSyntaxException e) {
@@ -177,7 +177,7 @@
return requiredProperties == null ? new ArrayList<String>() : requiredProperties;
}
- public void failureHandled(Properties properties) {
+ public void provideCredentials(Properties properties) {
requiredPropertiesReturned = properties;
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/AS7ManagementDetails.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/AS7ManagementDetails.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/v7/management/AS7ManagementDetails.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -10,11 +10,20 @@
******************************************************************************/
package org.jboss.ide.eclipse.as.core.server.v7.management;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Properties;
+
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.wst.server.core.IServer;
+import org.jboss.ide.eclipse.as.core.ExtensionManager;
+import org.jboss.ide.eclipse.as.core.server.INeedCredentials;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
import org.jboss.ide.eclipse.as.core.server.internal.v7.JBoss7Server;
-public class AS7ManagementDetails {
+public class AS7ManagementDetails implements IServerProvider {
private IServer server;
private String hardHost = null;
private int hardPort = -1;
@@ -50,6 +59,50 @@
}
public String[] handleCallbacks(String[] prompts) throws UnsupportedOperationException {
- return new String[0];
+ ArrayList<String> requiredProperties = new ArrayList<String>();
+ requiredProperties.addAll(Arrays.asList(prompts));
+ IProvideCredentials handler = ExtensionManager
+ .getDefault().getFirstCredentialProvider(this, requiredProperties);
+ if( handler == null )
+ throw new UnsupportedOperationException();
+ final Properties[] returnedProps = new Properties[1];
+ final Boolean[] gotProps = new Boolean[1];
+ returnedProps[0] = null;
+ gotProps[0] = false;
+
+ INeedCredentials needs = new INeedCredentials() {
+ public IServer getServer() {
+ return AS7ManagementDetails.this.getServer();
+ }
+ public List<String> getRequiredProperties() {
+ // ignore
+ return null;
+ }
+ public void provideCredentials(Properties credentials) {
+ returnedProps[0] = credentials;
+ gotProps[0] = true;
+ }
+ };
+ handler.handle(needs, requiredProperties);
+
+ while( !gotProps[0]) {
+ try {
+ Thread.sleep(100);
+ } catch(InterruptedException ie) {
+ // ignore
+ }
+ }
+
+ if( returnedProps[0] == null )
+ return new String[0];
+
+ String[] rets = new String[prompts.length];
+ for( int i = 0; i < rets.length; i++ ) {
+ rets[i] = (String)returnedProps[0].get(prompts[i]);
+ }
+ return rets;
}
+ public IServer getServer() {
+ return server;
+ }
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerFailureHandler.exsd
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerFailureHandler.exsd 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/schema/pollerFailureHandler.exsd 2011-11-29 19:04:50 UTC (rev 36742)
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.jboss.ide.eclipse.as.core">
+<schema targetNamespace="org.jboss.ide.eclipse.as.core" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.jboss.ide.eclipse.as.core" id="pollerFailureHandler" name="org.jboss.ide.eclipse.as.core.runtime.server."/>
@@ -11,6 +11,11 @@
</annotation>
<element name="extension">
+ <annotation>
+ <appInfo>
+ <meta.element />
+ </appInfo>
+ </annotation>
<complexType>
<sequence>
<element ref="pollerHandler" minOccurs="1" maxOccurs="unbounded"/>
@@ -57,7 +62,7 @@
</documentation>
<appInfo>
- <meta.attribute kind="java" basedOn=":org.jboss.ide.eclipse.as.core.server.IPollerFailureHandler"/>
+ <meta.attribute kind="java" basedOn=":org.jboss.ide.eclipse.as.core.server.IProvideCredentials"/>
</appInfo>
</annotation>
</attribute>
@@ -100,13 +105,5 @@
</documentation>
</annotation>
- <annotation>
- <appInfo>
- <meta.section type="copyright"/>
- </appInfo>
- <documentation>
-
- </documentation>
- </annotation>
</schema>
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/plugin.xml 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/plugin.xml 2011-11-29 19:04:50 UTC (rev 36742)
@@ -25,6 +25,13 @@
supportsStartup="true"/>
</extension>
+ <extension
+ point="org.jboss.ide.eclipse.as.core.pollerFailureHandler">
+ <pollerHandler
+ class="org.jboss.ide.eclipse.as.jmx.integration.SecurityFailureHandler"
+ id="org.jboss.ide.eclipse.as.ui.launch.jmxSecurityCredentialProvider">
+ </pollerHandler>
+ </extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
@@ -42,9 +49,9 @@
id="org.jboss.ide.eclipse.as.ui.extensions.jmx"
icon="$nl$/icons/jmeth_obj.gif"
activeByDefault="false"
- priority="low">
+ priority="low"
contentProvider="org.jboss.ide.eclipse.as.jmx.integration.JMXProvider$ContentProvider"
- labelProvider="org.jboss.ide.eclipse.as.jmx.integration.JMXProvider$LabelProvider"
+ labelProvider="org.jboss.ide.eclipse.as.jmx.integration.JMXProvider$LabelProvider">
<triggerPoints>
<instanceof
value="org.eclipse.wst.server.core.IServer">
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/JMXPoller.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/JMXPoller.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/JMXPoller.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -30,7 +30,6 @@
import org.jboss.ide.eclipse.as.core.extensions.events.IEventCodes;
import org.jboss.ide.eclipse.as.core.extensions.events.ServerLogger;
import org.jboss.ide.eclipse.as.core.server.IServerStatePoller2;
-import org.jboss.ide.eclipse.as.core.server.internal.PollThread;
import org.jboss.ide.eclipse.as.core.server.internal.ServerStatePollerType;
import org.jboss.ide.eclipse.as.core.util.IJBossRuntimeConstants;
import org.jboss.tools.jmx.core.IJMXRunnable;
@@ -213,7 +212,7 @@
return done;
}
- public void failureHandled(Properties properties) {
+ public void provideCredentials(Properties properties) {
if( properties == null ) {
requiredPropertiesReturned = IGNORED_PROPERTIES;
} else
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.jmx.integration/src/org/jboss/ide/eclipse/as/jmx/integration/SecurityFailureHandler.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -11,62 +11,28 @@
package org.jboss.ide.eclipse.as.jmx.integration;
import java.util.List;
-import java.util.Properties;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jface.window.Window;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
import org.eclipse.wst.server.core.IServer;
-import org.eclipse.wst.server.core.IServerWorkingCopy;
-import org.jboss.ide.eclipse.as.core.server.IPollerFailureHandler;
-import org.jboss.ide.eclipse.as.core.server.IServerStatePoller;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
import org.jboss.ide.eclipse.as.core.util.ServerConverter;
-import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
-import org.jboss.ide.eclipse.as.ui.Messages;
-import org.jboss.ide.eclipse.as.ui.dialogs.RequiredCredentialsDialog;
+import org.jboss.ide.eclipse.as.ui.launch.UserPassCredentialProvider;
/**
*
* @author rob.stryker <rob.stryker(a)redhat.com>
*
*/
-public class SecurityFailureHandler implements IPollerFailureHandler {
+public class SecurityFailureHandler extends UserPassCredentialProvider implements IProvideCredentials {
- public boolean accepts(IServerStatePoller poller, String action,
- List requiredProperties) {
- if( poller.getPollerType().getId().equals(JMXPoller.POLLER_ID))
+ @Override
+ public boolean accepts(IServerProvider serverProvider,
+ List<String> requiredProperties) {
+ IServer s = serverProvider.getServer();
+ JBossServer jbs = ServerConverter.getJBossServer(s);
+ if( jbs != null && jbs.hasJMXProvider())
return true;
return false;
}
-
- public void handle(final IServerStatePoller poller, String action, List requiredProperties) {
- Display.getDefault().asyncExec(new Runnable() {
- public void run() {
- IServer server = poller.getServer();
- IServerWorkingCopy copy = server.createWorkingCopy();
- JBossServer jbs = ServerConverter.getJBossServer(copy);
- RequiredCredentialsDialog d = new RequiredCredentialsDialog(new Shell(), jbs);
- if( d.open() == Window.OK) {
- if( d.getSave() ) {
- jbs.setPassword(d.getPass());
- jbs.setUsername(d.getUser());
- try {
- copy.save(false, null);
- } catch( CoreException ce ) {
- JBossServerUIPlugin.log(Messages.ServerSaveFailed, ce);
- }
- }
-
- Properties p = new Properties();
- p.put(JMXPoller.REQUIRED_USER, d.getUser());
- p.put(JMXPoller.REQUIRED_PASS, d.getPass());
- poller.failureHandled(p);
- } else {
- poller.failureHandled(null);
- }
- }
- });
- }
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -60,6 +60,7 @@
private ServerDeploymentManager manager;
private AS7ManagementDetails details;
+ @Deprecated
public AS7Manager(String host) throws UnknownHostException {
this(new AS7ManagementDetails(host, MGMT_PORT));
}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/AS71Manager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/AS71Manager.java 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as71/src/org/jboss/ide/eclipse/as/internal/management/as71/AS71Manager.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -38,6 +38,7 @@
import javax.security.auth.callback.NameCallback;
import javax.security.auth.callback.PasswordCallback;
import javax.security.auth.callback.UnsupportedCallbackException;
+import javax.security.sasl.RealmChoiceCallback;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osgi.util.NLS;
@@ -66,6 +67,7 @@
private ServerDeploymentManager manager;
private AS7ManagementDetails details;
+ @Deprecated
public AS71Manager(String host) throws UnknownHostException {
this(new AS7ManagementDetails(host, MGMT_PORT));
}
@@ -92,7 +94,10 @@
NameCallback name = null;
PasswordCallback pass = null;
for (Callback current : callbacks) {
- if (current instanceof NameCallback) {
+ if (current instanceof RealmChoiceCallback) {
+ throw new UnsupportedCallbackException(current, "Realm choice not currently supported.");
+ }
+ if (current instanceof NameCallback) {
name = (NameCallback) current;
} else if (current instanceof PasswordCallback) {
pass = (PasswordCallback) current;
Added: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java (rev 0)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/launch/UserPassCredentialProvider.java 2011-11-29 19:04:50 UTC (rev 36742)
@@ -0,0 +1,82 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.ide.eclipse.as.ui.launch;
+
+import java.util.List;
+import java.util.Properties;
+
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jface.window.Window;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.wst.server.core.IServer;
+import org.eclipse.wst.server.core.IServerWorkingCopy;
+import org.jboss.ide.eclipse.as.core.server.INeedCredentials;
+import org.jboss.ide.eclipse.as.core.server.IProvideCredentials;
+import org.jboss.ide.eclipse.as.core.server.IServerProvider;
+import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
+import org.jboss.ide.eclipse.as.core.util.ServerConverter;
+import org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin;
+import org.jboss.ide.eclipse.as.ui.Messages;
+import org.jboss.ide.eclipse.as.ui.dialogs.RequiredCredentialsDialog;
+
+/**
+ *
+ * @author rob.stryker <rob.stryker(a)redhat.com>
+ *
+ */
+public class UserPassCredentialProvider implements IProvideCredentials {
+
+ @Override
+ public boolean accepts(IServerProvider serverProvider,
+ List<String> requiredProperties) {
+ IServer s = serverProvider.getServer();
+ JBossServer jbs = ServerConverter.getJBossServer(s);
+ if( jbs != null && !jbs.hasJMXProvider())
+ return true;
+ return false;
+ }
+
+ /**
+ * This class assumes that the first two required credentials will be
+ * a simple user / pass combination
+ *
+ */
+ public void handle(final INeedCredentials inNeed,
+ final List<String> requiredProperties) {
+ Display.getDefault().asyncExec(new Runnable() {
+ public void run() {
+ IServer server = inNeed.getServer();
+ IServerWorkingCopy copy = server.createWorkingCopy();
+ JBossServer jbs = ServerConverter.getJBossServer(copy);
+ RequiredCredentialsDialog d = new RequiredCredentialsDialog(new Shell(), jbs);
+ if( d.open() == Window.OK) {
+ if( d.getSave() ) {
+ jbs.setPassword(d.getPass());
+ jbs.setUsername(d.getUser());
+ try {
+ copy.save(false, null);
+ } catch( CoreException ce ) {
+ JBossServerUIPlugin.log(Messages.ServerSaveFailed, ce);
+ }
+ }
+
+ Properties p = new Properties();
+ p.put(requiredProperties.get(0), d.getUser());
+ p.put(requiredProperties.get(1), d.getPass());
+ inNeed.provideCredentials(p);
+ } else {
+ inNeed.provideCredentials(null);
+ }
+ }
+ });
+ }
+}
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-11-29 18:11:06 UTC (rev 36741)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2011-11-29 19:04:50 UTC (rev 36742)
@@ -241,7 +241,7 @@
<extension
point="org.jboss.ide.eclipse.as.core.pollerFailureHandler">
<pollerHandler
- class="org.jboss.ide.eclipse.as.ui.launch.SecurityFailureHandler"
+ class="org.jboss.ide.eclipse.as.ui.launch.UserPassCredentialProvider"
id="org.jboss.ide.eclipse.as.ui.launch.securityPollerHandler">
</pollerHandler>
</extension>
12 years, 5 months
JBoss Tools SVN: r36741 - /.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2011-11-29 13:11:06 -0500 (Tue, 29 Nov 2011)
New Revision: 36741
Removed:
com.hp.common/
Log:
removing bogus content
12 years, 5 months
JBoss Tools SVN: r36740 - in trunk/build: aggregate/site and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-29 12:43:46 -0500 (Tue, 29 Nov 2011)
New Revision: 36740
Modified:
trunk/build/aggregate/site/index.html
trunk/build/aggregate/site/jbosstools-directory.xml
trunk/build/publish.sh
Log:
add .md5 file for build.properties file; collect source site into /all/ folder
Modified: trunk/build/aggregate/site/index.html
===================================================================
--- trunk/build/aggregate/site/index.html 2011-11-29 17:11:29 UTC (rev 36739)
+++ trunk/build/aggregate/site/index.html 2011-11-29 17:43:46 UTC (rev 36740)
@@ -1,6 +1,6 @@
<html>
<head>
-<title>JBoss Tools - Core Nightly Build Update Site</title>
+<title>JBoss Tools - Core - Nightly Build Update Site</title>
<style>
@import url("http://download.jboss.org/jbosstools/updates/web/site.css");
</style>
@@ -21,7 +21,7 @@
<tr>
<td>      </td>
<td>
- <h2 class="title">JBoss Tools - Core Nightly Build Update Site</h2>
+ <h2 class="title">JBoss Tools - Core - Nightly Build Update Site</h2>
<table width="100%">
<tr class="header">
<td class="sub-header" width="100%"><span>Latest Build</span></td>
@@ -80,8 +80,8 @@
</th>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.ide.eclipse.archives.feature_3.2.1.v20111123-1056-H540-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.archives.feature</a></td>
- <td><span style="font-size:x-small">3.2.1.v20111123-1056-H540-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.ide.eclipse.archives.feature_3.2.1.v20111128-2123-H549-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.archives.feature</a></td>
+ <td><span style="font-size:x-small">3.2.1.v20111128-2123-H549-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -89,8 +89,8 @@
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.ide.eclipse.as.feature_2.3.0.v20111123-1119-H853-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.as.feature</a></td>
- <td><span style="font-size:x-small">2.3.0.v20111123-1119-H853-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.ide.eclipse.as.feature_2.3.0.v20111129-1349-H864-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.as.feature</a></td>
+ <td><span style="font-size:x-small">2.3.0.v20111129-1349-H864-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -98,8 +98,8 @@
WebTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.ide.eclipse.freemarker.feature_1.2.0.v20111123-1107-H507-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.freemarker.feature</a></td>
- <td><span style="font-size:x-small">1.2.0.v20111123-1107-H507-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.ide.eclipse.freemarker.feature_1.2.0.v20111129-1517-H517-M5.jar" style="font-size:x-small">org.jboss.ide.eclipse.freemarker.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20111129-1517-H517-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -107,15 +107,15 @@
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.birt.feature_1.3.0.v20111123-1103-H539-M5.jar" style="font-size:x-small">org.jboss.tools.birt.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111123-1103-H539-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.birt.feature_1.3.0.v20111129-1517-H549-M5.jar" style="font-size:x-small">org.jboss.tools.birt.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-1517-H549-M5</span></td>
<td><span style="font-size:x-small">
|
ReportTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.cdi.feature_1.2.0.v20111123-1202-H698-M5.jar" style="font-size:x-small">org.jboss.tools.cdi.feature</a></td>
- <td><span style="font-size:x-small">1.2.0.v20111123-1202-H698-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.cdi.feature_1.2.0.v20111128-2202-H705-M5.jar" style="font-size:x-small">org.jboss.tools.cdi.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20111128-2202-H705-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -125,8 +125,8 @@
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.cdi.seam.feature_1.2.0.v20111123-1202-H698-M5.jar" style="font-size:x-small">org.jboss.tools.cdi.seam.feature</a></td>
- <td><span style="font-size:x-small">1.2.0.v20111123-1202-H698-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.cdi.seam.feature_1.2.0.v20111128-2202-H705-M5.jar" style="font-size:x-small">org.jboss.tools.cdi.seam.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20111128-2202-H705-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -136,107 +136,105 @@
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.central.discovery.feature_1.0.0.v20111121-1536-H50-M5.jar" style="font-size:x-small">org.jboss.tools.central.discovery.feature</a></td>
- <td><span style="font-size:x-small">1.0.0.v20111121-1536-H50-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.central.discovery.feature_1.0.0.v20111129-1654-M5.jar" style="font-size:x-small">org.jboss.tools.central.discovery.feature</a></td>
+ <td><span style="font-size:x-small">1.0.0.v20111129-1654-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.central.feature_1.0.0.v20111121-1536-H50-M5.jar" style="font-size:x-small">org.jboss.tools.central.feature</a></td>
- <td><span style="font-size:x-small">1.0.0.v20111121-1536-H50-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.central.feature_1.0.0.v20111129-1654-M5.jar" style="font-size:x-small">org.jboss.tools.central.feature</a></td>
+ <td><span style="font-size:x-small">1.0.0.v20111129-1654-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.core.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.core.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.core.feature_3.3.0.v20111128-1935-H580-M5.jar" style="font-size:x-small">org.jboss.tools.common.core.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-1935-H580-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.feature_3.3.0.v20111128-1935-H580-M5.jar" style="font-size:x-small">org.jboss.tools.common.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-1935-H580-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.jdt.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.jdt.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.jdt.feature_3.3.0.v20111129-1446-H581-M5.jar" style="font-size:x-small">org.jboss.tools.common.jdt.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111129-1446-H581-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.mylyn.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.mylyn.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.mylyn.feature_3.3.0.v20111129-1446-H581-M5.jar" style="font-size:x-small">org.jboss.tools.common.mylyn.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111129-1446-H581-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.text.ext.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.text.ext.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.text.ext.feature_3.3.0.v20111128-1935-H580-M5.jar" style="font-size:x-small">org.jboss.tools.common.text.ext.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-1935-H580-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.ui.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.ui.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.ui.feature_3.3.0.v20111128-1935-H580-M5.jar" style="font-size:x-small">org.jboss.tools.common.ui.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-1935-H580-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.common.verification.feature_3.3.0.v20111123-1023-H573-M5.jar" style="font-size:x-small">org.jboss.tools.common.verification.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1023-H573-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.common.verification.feature_3.3.0.v20111128-1935-H580-M5.jar" style="font-size:x-small">org.jboss.tools.common.verification.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-1935-H580-M5</span></td>
<td></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.community.project.examples.feature_1.2.1.v20111121-1457-H478-M5.jar" style="font-size:x-small">org.jboss.tools.community.project.examples.feature</a></td>
- <td><span style="font-size:x-small">1.2.1.v20111121-1457-H478-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.community.central.feature_1.0.0.v20111129-1654-M5.jar" style="font-size:x-small">org.jboss.tools.community.central.feature</a></td>
+ <td><span style="font-size:x-small">1.0.0.v20111129-1654-M5</span></td>
<td><span style="font-size:x-small">
|
- AbridgedTools</span><span style="font-size:x-small">
- |
- GeneralTools</span></td>
+ AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.deltacloud.feature_1.0.1.v20111123-1135-H760-M5.jar" style="font-size:x-small">org.jboss.tools.deltacloud.feature</a></td>
- <td><span style="font-size:x-small">1.0.1.v20111123-1135-H760-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.community.project.examples.feature_1.2.1.v20111129-0333-H483-M5.jar" style="font-size:x-small">org.jboss.tools.community.project.examples.feature</a></td>
+ <td><span style="font-size:x-small">1.2.1.v20111129-0333-H483-M5</span></td>
<td><span style="font-size:x-small">
|
- CloudTools</span></td>
+ AbridgedTools</span><span style="font-size:x-small">
+ |
+ GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.forge.feature_1.0.0.v20111123-1050-H369-M5.jar" style="font-size:x-small">org.jboss.tools.forge.feature</a></td>
- <td><span style="font-size:x-small">1.0.0.v20111123-1050-H369-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.deltacloud.feature_1.0.1.v20111129-1534-H771-M5.jar" style="font-size:x-small">org.jboss.tools.deltacloud.feature</a></td>
+ <td><span style="font-size:x-small">1.0.1.v20111129-1534-H771-M5</span></td>
<td><span style="font-size:x-small">
|
- WebTools</span></td>
+ CloudTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.gwt.feature_1.0.2.v20111122-1931-H322-M5.jar" style="font-size:x-small">org.jboss.tools.gwt.feature</a></td>
- <td><span style="font-size:x-small">1.0.2.v20111122-1931-H322-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.forge.feature_1.0.0.v20111128-2128-H377-M5.jar" style="font-size:x-small">org.jboss.tools.forge.feature</a></td>
+ <td><span style="font-size:x-small">1.0.0.v20111128-2128-H377-M5</span></td>
<td><span style="font-size:x-small">
|
- GeneralTools</span></td>
+ WebTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.jmx.feature_1.2.0.v20111123-1105-H499-M5.jar" style="font-size:x-small">org.jboss.tools.jmx.feature</a></td>
- <td><span style="font-size:x-small">1.2.0.v20111123-1105-H499-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.gwt.feature_1.0.2.v20111128-2123-H331-M5.jar" style="font-size:x-small">org.jboss.tools.gwt.feature</a></td>
+ <td><span style="font-size:x-small">1.0.2.v20111128-2123-H331-M5</span></td>
<td><span style="font-size:x-small">
|
- AbridgedTools</span><span style="font-size:x-small">
- |
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.jsf.feature_3.3.0.v20111123-1249-H532-M5.jar" style="font-size:x-small">org.jboss.tools.jsf.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1249-H532-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.jmx.feature_1.2.0.v20111128-2126-H506-M5.jar" style="font-size:x-small">org.jboss.tools.jmx.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20111128-2126-H506-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
- WebTools</span></td>
+ GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.jst.feature_3.3.0.v20111123-1128-H647-M5.jar" style="font-size:x-small">org.jboss.tools.jst.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1128-H647-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.jsf.feature_3.3.0.v20111129-0054-H539-M5.jar" style="font-size:x-small">org.jboss.tools.jsf.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111129-0054-H539-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -244,15 +242,17 @@
WebTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.cdi.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.cdi.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.jst.feature_3.3.0.v20111128-2130-H656-M5.jar" style="font-size:x-small">org.jboss.tools.jst.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-2130-H656-M5</span></td>
<td><span style="font-size:x-small">
|
- MavenTools</span></td>
+ AbridgedTools</span><span style="font-size:x-small">
+ |
+ WebTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.cdi.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.cdi.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -260,66 +260,76 @@
MavenTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.hibernate.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.hibernate.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span><span style="font-size:x-small">
+ |
MavenTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.jaxrs.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jaxrs.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.hibernate.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.hibernate.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span><span style="font-size:x-small">
+ |
MavenTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.jbosspackaging.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jbosspackaging.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.jaxrs.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jaxrs.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
MavenTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.jsf.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jsf.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.jbosspackaging.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jbosspackaging.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
MavenTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.portlet.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.portlet.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.jsf.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.jsf.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span><span style="font-size:x-small">
+ |
MavenTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.project.examples.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.project.examples.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.portlet.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.portlet.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span><span style="font-size:x-small">
+ |
MavenTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.maven.seam.feature_1.3.0.v20111122-1616-H479-M5.jar" style="font-size:x-small">org.jboss.tools.maven.seam.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111122-1616-H479-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.project.examples.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.project.examples.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span><span style="font-size:x-small">
+ |
MavenTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.openshift.egit.integration.feature_2.3.0.v20111123-1141-H62-M5.jar" style="font-size:x-small">org.jboss.tools.openshift.egit.integration.feature</a></td>
- <td><span style="font-size:x-small">2.3.0.v20111123-1141-H62-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.maven.seam.feature_1.3.0.v20111129-0422-H481-M5.jar" style="font-size:x-small">org.jboss.tools.maven.seam.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0422-H481-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
- CloudTools</span></td>
+ MavenTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.openshift.express.feature_2.3.0.v20111123-1141-H62-M5.jar" style="font-size:x-small">org.jboss.tools.openshift.express.feature</a></td>
- <td><span style="font-size:x-small">2.3.0.v20111123-1141-H62-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.openshift.egit.integration.feature_2.3.0.v20111129-0828-H71-M5.jar" style="font-size:x-small">org.jboss.tools.openshift.egit.integration.feature</a></td>
+ <td><span style="font-size:x-small">2.3.0.v20111129-0828-H71-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -327,115 +337,124 @@
CloudTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.portlet.feature_1.2.0.v20111122-1559-H416-M5.jar" style="font-size:x-small">org.jboss.tools.portlet.feature</a></td>
- <td><span style="font-size:x-small">1.2.0.v20111122-1559-H416-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.openshift.express.feature_2.3.0.v20111129-0828-H71-M5.jar" style="font-size:x-small">org.jboss.tools.openshift.express.feature</a></td>
+ <td><span style="font-size:x-small">2.3.0.v20111129-0828-H71-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
- WebTools</span></td>
+ CloudTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.project.examples.feature_1.2.1.v20111121-1457-H478-M5.jar" style="font-size:x-small">org.jboss.tools.project.examples.feature</a></td>
- <td><span style="font-size:x-small">1.2.1.v20111121-1457-H478-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.portlet.feature_1.2.0.v20111129-0317-H422-M5.jar" style="font-size:x-small">org.jboss.tools.portlet.feature</a></td>
+ <td><span style="font-size:x-small">1.2.0.v20111129-0317-H422-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
- GeneralTools</span></td>
+ WebTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.richfaces.feature_3.3.0.v20111123-1249-H532-M5.jar" style="font-size:x-small">org.jboss.tools.richfaces.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1249-H532-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.project.examples.feature_1.2.1.v20111129-0333-H483-M5.jar" style="font-size:x-small">org.jboss.tools.project.examples.feature</a></td>
+ <td><span style="font-size:x-small">1.2.1.v20111129-0333-H483-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
- WebTools</span></td>
+ GeneralTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.runtime.as.detector.feature_1.3.0.v20111121-1526-H482-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.as.detector.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111121-1526-H482-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.richfaces.feature_3.3.0.v20111129-0054-H539-M5.jar" style="font-size:x-small">org.jboss.tools.richfaces.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111129-0054-H539-M5</span></td>
<td><span style="font-size:x-small">
|
- AbridgedTools</span></td>
+ AbridgedTools</span><span style="font-size:x-small">
+ |
+ WebTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.runtime.core.feature_1.3.0.v20111121-1526-H482-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.core.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111121-1526-H482-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.runtime.as.detector.feature_1.3.0.v20111129-0359-H485-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.as.detector.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0359-H485-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.runtime.feature_1.3.0.v20111121-1526-H482-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111121-1526-H482-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.runtime.core.feature_1.3.0.v20111129-0359-H485-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.core.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0359-H485-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.runtime.seam.detector.feature_1.3.0.v20111121-1526-H482-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.seam.detector.feature</a></td>
- <td><span style="font-size:x-small">1.3.0.v20111121-1526-H482-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.runtime.feature_1.3.0.v20111129-0359-H485-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0359-H485-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.seam.feature_3.3.0.v20111122-1926-H674-M5.jar" style="font-size:x-small">org.jboss.tools.seam.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111122-1926-H674-M5</span></td>
+ <td class="rowLine"><a href="features/org.jboss.tools.runtime.seam.detector.feature_1.3.0.v20111129-0359-H485-M5.jar" style="font-size:x-small">org.jboss.tools.runtime.seam.detector.feature</a></td>
+ <td><span style="font-size:x-small">1.3.0.v20111129-0359-H485-M5</span></td>
<td><span style="font-size:x-small">
|
+ AbridgedTools</span></td>
+ </tr>
+ <tr style="background-color:
							#FFFFFF
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.seam.feature_3.3.0.v20111129-0200-H683-M5.jar" style="font-size:x-small">org.jboss.tools.seam.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111129-0200-H683-M5</span></td>
+ <td><span style="font-size:x-small">
+ |
AbridgedTools</span><span style="font-size:x-small">
|
WebTools</span></td>
</tr>
- <tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.struts.feature_3.3.0.v20111122-1825-H439-M5.jar" style="font-size:x-small">org.jboss.tools.struts.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111122-1825-H439-M5</span></td>
+ <tr style="background-color:
							#EEEEEE
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.struts.feature_3.3.0.v20111128-2242-H446-M5.jar" style="font-size:x-small">org.jboss.tools.struts.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-2242-H446-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
WebTools</span></td>
</tr>
- <tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.usage.feature_1.1.0.v20111123-1038-H459-M5.jar" style="font-size:x-small">org.jboss.tools.usage.feature</a></td>
- <td><span style="font-size:x-small">1.1.0.v20111123-1038-H459-M5</span></td>
+ <tr style="background-color:
							#FFFFFF
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.usage.feature_1.1.0.v20111128-2116-H463-M5.jar" style="font-size:x-small">org.jboss.tools.usage.feature</a></td>
+ <td><span style="font-size:x-small">1.1.0.v20111128-2116-H463-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span></td>
</tr>
- <tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.vpe.feature_3.3.0.v20111123-1152-H615-M5.jar" style="font-size:x-small">org.jboss.tools.vpe.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1152-H615-M5</span></td>
+ <tr style="background-color:
							#EEEEEE
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.vpe.feature_3.3.0.v20111128-2152-H622-M5.jar" style="font-size:x-small">org.jboss.tools.vpe.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-2152-H622-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
WebTools</span></td>
</tr>
- <tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.ws.feature_1.2.2.v20111122-1538-H623-M5.jar" style="font-size:x-small">org.jboss.tools.ws.feature</a></td>
- <td><span style="font-size:x-small">1.2.2.v20111122-1538-H623-M5</span></td>
+ <tr style="background-color:
							#FFFFFF
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.ws.feature_1.2.2.v20111129-1613-H633-M5.jar" style="font-size:x-small">org.jboss.tools.ws.feature</a></td>
+ <td><span style="font-size:x-small">1.2.2.v20111129-1613-H633-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
WebTools</span></td>
</tr>
- <tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.jboss.tools.ws.jaxrs.feature_1.2.2.v20111122-1538-H623-M5.jar" style="font-size:x-small">org.jboss.tools.ws.jaxrs.feature</a></td>
- <td><span style="font-size:x-small">1.2.2.v20111122-1538-H623-M5</span></td>
+ <tr style="background-color:
							#EEEEEE
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.ws.jaxrs.feature_1.2.2.v20111129-1613-H633-M5.jar" style="font-size:x-small">org.jboss.tools.ws.jaxrs.feature</a></td>
+ <td><span style="font-size:x-small">1.2.2.v20111129-1613-H633-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
|
WebTools</span></td>
</tr>
- <tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.jboss.tools.xulrunner.feature_3.3.0.v20111123-1152-H615-M5.jar" style="font-size:x-small">org.jboss.tools.xulrunner.feature</a></td>
- <td><span style="font-size:x-small">3.3.0.v20111123-1152-H615-M5</span></td>
+ <tr style="background-color:
							#FFFFFF
						">
+ <td class="rowLine"><a href="features/org.jboss.tools.xulrunner.feature_3.3.0.v20111128-2152-H622-M5.jar" style="font-size:x-small">org.jboss.tools.xulrunner.feature</a></td>
+ <td><span style="font-size:x-small">3.3.0.v20111128-2152-H622-M5</span></td>
<td></td>
</tr>
<tr style="background-color:#DDDDDD">
@@ -447,8 +466,8 @@
</th>
</tr>
<tr style="background-color:
							#EEEEEE
						">
- <td class="rowLine"><a href="features/org.hibernate.eclipse.feature_3.4.0.v20111123-1130-H568-M5.jar" style="font-size:x-small">org.hibernate.eclipse.feature</a></td>
- <td><span style="font-size:x-small">3.4.0.v20111123-1130-H568-M5</span></td>
+ <td class="rowLine"><a href="features/org.hibernate.eclipse.feature_3.4.0.v20111129-1546-H579-M5.jar" style="font-size:x-small">org.hibernate.eclipse.feature</a></td>
+ <td><span style="font-size:x-small">3.4.0.v20111129-1546-H579-M5</span></td>
<td><span style="font-size:x-small">
|
AbridgedTools</span><span style="font-size:x-small">
@@ -460,8 +479,8 @@
GeneralTools</span></td>
</tr>
<tr style="background-color:
							#FFFFFF
						">
- <td class="rowLine"><a href="features/org.mozilla.xulrunner.feature_1.9.218.v20111108-1929-Beta1.jar" style="font-size:x-small">org.mozilla.xulrunner.feature</a></td>
- <td><span style="font-size:x-small">1.9.218.v20111108-1929-Beta1</span></td>
+ <td class="rowLine"><a href="features/org.mozilla.xulrunner.feature_1.9.218.v20111123-2024-H140-M5.jar" style="font-size:x-small">org.mozilla.xulrunner.feature</a></td>
+ <td><span style="font-size:x-small">1.9.218.v20111123-2024-H140-M5</span></td>
<td></td>
</tr>
<tr style="background-color:#DDDDDD">
Modified: trunk/build/aggregate/site/jbosstools-directory.xml
===================================================================
--- trunk/build/aggregate/site/jbosstools-directory.xml 2011-11-29 17:11:29 UTC (rev 36739)
+++ trunk/build/aggregate/site/jbosstools-directory.xml 2011-11-29 17:43:46 UTC (rev 36740)
@@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<directory xmlns="http://www.eclipse.org/mylyn/discovery/directory/">
-<entry url="plugins/org.jboss.tools.central.discovery_1.0.0.v20111121-1536-H50-M5.jar" permitCategories="true"/>
+<entry url="plugins/org.jboss.tools.central.discovery_1.0.0.v20111129-1654-M5.jar" permitCategories="true"/>
</directory>
Modified: trunk/build/publish.sh
===================================================================
--- trunk/build/publish.sh 2011-11-29 17:11:29 UTC (rev 36739)
+++ trunk/build/publish.sh 2011-11-29 17:43:46 UTC (rev 36740)
@@ -92,6 +92,7 @@
echo "HUDSON_SLAVE = $(uname -a)" >> ${STAGINGDIR}/logs/${METAFILE}
echo "RELEASE = ${RELEASE}" >> ${STAGINGDIR}/logs/${METAFILE}
echo "ZIPSUFFIX = ${ZIPSUFFIX}" >> ${STAGINGDIR}/logs/${METAFILE}
+z=${STAGINGDIR}/logs/${METAFILE}; for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
#echo "$z ..."
if [[ $z != "" ]] && [[ -f $z ]] ; then
@@ -167,7 +168,8 @@
for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
mv $z ${z}.MD5 ${STAGINGDIR}/components
done
-
+
+ # TODO :: JBIDE-9870 When we have a -Update-Sources- zip, this can be removed
mkdir -p ${STAGINGDIR}/all/sources
# unpack component source zips like jbosstools-pi4soa-3.1_trunk-Sources-SNAPSHOT.zip or jbosstools-3.2_trunk.component--ws-Sources-SNAPSHOT.zip
for z in $(find ${WORKSPACE}/sources/aggregate/site/zips -name "*Sources*.zip"); do
@@ -183,7 +185,6 @@
-x \*docs\* -x \*reference\* -x \*releng\* -x \*.git\* -x \*/lib/\*.jar
popd
rm -fr ${STAGINGDIR}/all/sources
-
z=${STAGINGDIR}/all/${SRCSNAME}; for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
# JBIDE-7444 get aggregate metadata xml properties file
@@ -192,6 +193,13 @@
fi
fi
+# JBIDE-9870 check if there's a sources update site and rename it if found (note, bottests-site/site/sources won't work; use bottests-site/souces)
+for z in $(find ${WORKSPACE}/sources/aggregate/*/sources/target/ -name "site_assembly.zip"); do
+ echo "Collect sources from update site in $z"
+ mv $z ${STAGINGDIR}/all/${SRCSNAME/-Sources-/-Update-Sources-}
+ for m in $(md5sum ${z}); do if [[ $m != ${z} ]]; then echo $m > ${z}.MD5; fi; done
+done
+
# generate list of zips in this job
METAFILE=zip.list.txt
echo "ALL_ZIPS = \\" >> ${STAGINGDIR}/logs/${METAFILE}
12 years, 5 months
JBoss Tools SVN: r36739 - trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/marker.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2011-11-29 12:11:29 -0500 (Tue, 29 Nov 2011)
New Revision: 36739
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/marker/DisableFaceletHTMLValidatorResolutionGenerator.java
Log:
"Disable Facelet HTML Validator" quick fix https://issues.jboss.org/browse/JBIDE-9366
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/marker/DisableFaceletHTMLValidatorResolutionGenerator.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/marker/DisableFaceletHTMLValidatorResolutionGenerator.java 2011-11-29 16:52:56 UTC (rev 36738)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/marker/DisableFaceletHTMLValidatorResolutionGenerator.java 2011-11-29 17:11:29 UTC (rev 36739)
@@ -29,6 +29,7 @@
IMarkerResolutionGenerator2 {
private static final String ATTRIBUTE_NAME = "ValidationId";
public static final String VALIDATOR_ID = "org.eclipse.jst.jsf.facelet.ui.FaceletHTMLValidator";
+ private static final String MESSAGE = "converter id is not registered.";
public IMarkerResolution[] getResolutions(IMarker marker) {
if(isNeedToCreate(marker)){
@@ -55,8 +56,9 @@
}
private boolean isNeedToCreate(IMarker marker){
+ String message = marker.getAttribute(IMarker.MESSAGE, "");
String attribute = marker.getAttribute(ATTRIBUTE_NAME, "");
- if(attribute.equals(VALIDATOR_ID) && marker.getResource() instanceof IFile){
+ if(attribute.equals(VALIDATOR_ID) && marker.getResource() instanceof IFile && message.endsWith(MESSAGE)){
return true;
}
return false;
12 years, 5 months
JBoss Tools SVN: r36738 - trunk/bpmn/tests.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-29 11:52:56 -0500 (Tue, 29 Nov 2011)
New Revision: 36738
Modified:
trunk/bpmn/tests/pom.xml
Log:
move org.eclipse.bpmn2.tests to jbpm/tests/
Modified: trunk/bpmn/tests/pom.xml
===================================================================
--- trunk/bpmn/tests/pom.xml 2011-11-29 16:50:47 UTC (rev 36737)
+++ trunk/bpmn/tests/pom.xml 2011-11-29 16:52:56 UTC (rev 36738)
@@ -12,7 +12,6 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
- <module>org.eclipse.bpmn2.tests</module>
<module>org.jboss.tools.bpmn.ui.bot.test</module>
</modules>
</project>
12 years, 5 months
JBoss Tools SVN: r36737 - trunk/jbpm/tests.
by jbosstools-commits@lists.jboss.org
Author: nickboldt
Date: 2011-11-29 11:50:47 -0500 (Tue, 29 Nov 2011)
New Revision: 36737
Modified:
trunk/jbpm/tests/pom.xml
Log:
add org.eclipse.bpmn2.tests to test aggregator as it's been moved here from trunk/bpmn/tests/org.eclipse.bpmn2.tests/
Modified: trunk/jbpm/tests/pom.xml
===================================================================
--- trunk/jbpm/tests/pom.xml 2011-11-29 16:47:13 UTC (rev 36736)
+++ trunk/jbpm/tests/pom.xml 2011-11-29 16:50:47 UTC (rev 36737)
@@ -19,6 +19,7 @@
<module>org.jboss.tools.jbpm.convert.test</module>
<module>org.jbpm.gd.jpdl.test</module>
<module>org.jboss.tools.jbpm.ui.bot.test</module>
+ <module>org.eclipse.bpmn2.tests</module>
</modules>
</project>
12 years, 5 months
JBoss Tools SVN: r36735 - trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2011-11-29 11:00:15 -0500 (Tue, 29 Nov 2011)
New Revision: 36735
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java
Log:
[JBIDE-10275] added constructor so that AS7ManagerIntegrationTest compiles again
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java 2011-11-29 15:15:12 UTC (rev 36734)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.management.as7/src/org/jboss/ide/eclipse/as/internal/management/as7/AS7Manager.java 2011-11-29 16:00:15 UTC (rev 36735)
@@ -64,6 +64,10 @@
this(new AS7ManagementDetails(host, MGMT_PORT));
}
+ public AS7Manager(String host, int port) throws UnknownHostException {
+ this(new AS7ManagementDetails(host, port));
+ }
+
public AS7Manager(AS7ManagementDetails details) throws UnknownHostException {
this.details = details;
this.client = ModelControllerClient.Factory.create(details.getHost(), details.getManagementPort());
12 years, 5 months
JBoss Tools SVN: r36734 - in workspace/bfitzpat/org.jboss.tools.uddi.core: META-INF and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2011-11-29 10:15:12 -0500 (Tue, 29 Nov 2011)
New Revision: 36734
Added:
workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/
workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/MANIFEST.MF
Log:
JBIDE-6411 - Working on some UDDI/SAP SR support and stashing in workspace for now
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/MANIFEST.MF
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/MANIFEST.MF (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/MANIFEST.MF 2011-11-29 15:15:12 UTC (rev 36734)
@@ -0,0 +1,280 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: UDDI Core
+Bundle-SymbolicName: org.jboss.tools.uddi.core;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.uddi.core.Activator
+Bundle-Vendor: JBoss by Red Hat
+Require-Bundle: org.eclipse.core.runtime
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Bundle-ActivationPolicy: lazy
+Bundle-ClassPath: .,
+ META-INF/,
+ lib/commons-collections-3.2.1.jar,
+ lib/commons-configuration-1.5.jar,
+ lib/commons-lang-2.3.jar,
+ lib/commons-logging-1.1.jar,
+ lib/cxf-api-2.3.1.jar,
+ lib/cxf-common-utilities-2.3.1.jar,
+ lib/cxf-rt-bindings-soap-2.3.1.jar,
+ lib/cxf-rt-core-2.3.1.jar,
+ lib/cxf-rt-databinding-jaxb-2.3.1.jar,
+ lib/cxf-rt-frontend-jaxws-2.3.1.jar,
+ lib/cxf-rt-frontend-simple-2.3.1.jar,
+ lib/cxf-rt-transports-http-2.3.1.jar,
+ lib/cxf-rt-ws-addr-2.3.1.jar,
+ lib/cxf-tools-common-2.3.1.jar,
+ lib/jaxr-api-1.0.jar,
+ lib/juddi-client-3.1.3-SNAPSHOT.jar,
+ lib/juddi-client-extras-3.1.3-SNAPSHOT.jar,
+ lib/juddi-core-3.1.3-SNAPSHOT.jar,
+ lib/log4j-1.2.12.jar,
+ lib/neethi-2.0.4.jar,
+ lib/uddi-ws-3.1.3-SNAPSHOT.jar,
+ lib/wsdl4j-1.6.2.jar,
+ lib/XmlSchema-1.4.7.jar
+Export-Package: com.ibm.wsdl,
+ com.ibm.wsdl.extensions,
+ com.ibm.wsdl.extensions.http,
+ com.ibm.wsdl.extensions.mime,
+ com.ibm.wsdl.extensions.schema,
+ com.ibm.wsdl.extensions.soap,
+ com.ibm.wsdl.extensions.soap12,
+ com.ibm.wsdl.factory,
+ com.ibm.wsdl.util,
+ com.ibm.wsdl.util.xml,
+ com.ibm.wsdl.xml,
+ javax.wsdl,
+ javax.wsdl.extensions,
+ javax.wsdl.extensions.http,
+ javax.wsdl.extensions.mime,
+ javax.wsdl.extensions.schema,
+ javax.wsdl.extensions.soap,
+ javax.wsdl.extensions.soap12,
+ javax.wsdl.factory,
+ javax.wsdl.xml,
+ javax.xml.registry,
+ javax.xml.registry.infomodel,
+ org.apache.commons.collections,
+ org.apache.commons.collections.bag,
+ org.apache.commons.collections.bidimap,
+ org.apache.commons.collections.buffer,
+ org.apache.commons.collections.collection,
+ org.apache.commons.collections.comparators,
+ org.apache.commons.collections.functors,
+ org.apache.commons.collections.iterators,
+ org.apache.commons.collections.keyvalue,
+ org.apache.commons.collections.list,
+ org.apache.commons.collections.map,
+ org.apache.commons.collections.set,
+ org.apache.commons.configuration,
+ org.apache.commons.configuration.beanutils,
+ org.apache.commons.configuration.event,
+ org.apache.commons.configuration.interpol,
+ org.apache.commons.configuration.plist,
+ org.apache.commons.configuration.reloading,
+ org.apache.commons.configuration.tree,
+ org.apache.commons.configuration.tree.xpath,
+ org.apache.commons.configuration.web,
+ org.apache.commons.lang,
+ org.apache.commons.lang.builder,
+ org.apache.commons.lang.enums,
+ org.apache.commons.lang.exception,
+ org.apache.commons.lang.math,
+ org.apache.commons.lang.mutable,
+ org.apache.commons.lang.text,
+ org.apache.commons.lang.time,
+ org.apache.commons.logging,
+ org.apache.commons.logging.impl,
+ org.apache.cxf,
+ org.apache.cxf.annotations,
+ org.apache.cxf.attachment,
+ org.apache.cxf.binding,
+ org.apache.cxf.binding.soap,
+ org.apache.cxf.binding.soap.interceptor,
+ org.apache.cxf.binding.soap.jms.interceptor,
+ org.apache.cxf.binding.soap.model,
+ org.apache.cxf.binding.soap.saaj,
+ org.apache.cxf.binding.soap.spring,
+ org.apache.cxf.binding.soap.tcp,
+ org.apache.cxf.binding.soap.tcp.frames,
+ org.apache.cxf.binding.soap.wsdl11,
+ org.apache.cxf.bus,
+ org.apache.cxf.bus.extension,
+ org.apache.cxf.bus.resource,
+ org.apache.cxf.bus.spring,
+ org.apache.cxf.buslifecycle,
+ org.apache.cxf.catalog,
+ org.apache.cxf.clustering,
+ org.apache.cxf.clustering.spring,
+ org.apache.cxf.common,
+ org.apache.cxf.common.annotation,
+ org.apache.cxf.common.classloader,
+ org.apache.cxf.common.commands,
+ org.apache.cxf.common.i18n,
+ org.apache.cxf.common.injection,
+ org.apache.cxf.common.logging,
+ org.apache.cxf.common.security,
+ org.apache.cxf.common.util,
+ org.apache.cxf.common.xmlschema,
+ org.apache.cxf.configuration,
+ org.apache.cxf.configuration.jsse,
+ org.apache.cxf.configuration.jsse.spring,
+ org.apache.cxf.configuration.security,
+ org.apache.cxf.configuration.spring,
+ org.apache.cxf.continuations,
+ org.apache.cxf.databinding,
+ org.apache.cxf.databinding.source,
+ org.apache.cxf.databinding.source.mime,
+ org.apache.cxf.databinding.stax,
+ org.apache.cxf.endpoint,
+ org.apache.cxf.endpoint.dynamic,
+ org.apache.cxf.extension,
+ org.apache.cxf.feature,
+ org.apache.cxf.frontend,
+ org.apache.cxf.frontend.spring,
+ org.apache.cxf.headers,
+ org.apache.cxf.helpers,
+ org.apache.cxf.interceptor,
+ org.apache.cxf.interceptor.security,
+ org.apache.cxf.io,
+ org.apache.cxf.jaxb,
+ org.apache.cxf.jaxb.attachment,
+ org.apache.cxf.jaxb.io,
+ org.apache.cxf.jaxws,
+ org.apache.cxf.jaxws.binding,
+ org.apache.cxf.jaxws.binding.http,
+ org.apache.cxf.jaxws.binding.soap,
+ org.apache.cxf.jaxws.context,
+ org.apache.cxf.jaxws.endpoint.dynamic,
+ org.apache.cxf.jaxws.handler,
+ org.apache.cxf.jaxws.handler.logical,
+ org.apache.cxf.jaxws.handler.soap,
+ org.apache.cxf.jaxws.interceptors,
+ org.apache.cxf.jaxws.javaee,
+ org.apache.cxf.jaxws.spi,
+ org.apache.cxf.jaxws.spring,
+ org.apache.cxf.jaxws.support,
+ org.apache.cxf.jaxws22,
+ org.apache.cxf.jaxws22.spi,
+ org.apache.cxf.jaxws22.spring,
+ org.apache.cxf.jca.outbound,
+ org.apache.cxf.logging,
+ org.apache.cxf.management,
+ org.apache.cxf.management.annotation,
+ org.apache.cxf.message,
+ org.apache.cxf.phase,
+ org.apache.cxf.resource,
+ org.apache.cxf.security,
+ org.apache.cxf.security.transport,
+ org.apache.cxf.service,
+ org.apache.cxf.service.factory,
+ org.apache.cxf.service.invoker,
+ org.apache.cxf.service.model,
+ org.apache.cxf.simple,
+ org.apache.cxf.staxutils,
+ org.apache.cxf.test,
+ org.apache.cxf.tools.common,
+ org.apache.cxf.tools.common.dom,
+ org.apache.cxf.tools.common.extensions.soap,
+ org.apache.cxf.tools.common.model,
+ org.apache.cxf.tools.common.toolspec,
+ org.apache.cxf.tools.common.toolspec.parser,
+ org.apache.cxf.tools.util,
+ org.apache.cxf.tools.validator,
+ org.apache.cxf.transport,
+ org.apache.cxf.transport.http,
+ org.apache.cxf.transport.http.gzip,
+ org.apache.cxf.transport.http.policy,
+ org.apache.cxf.transport.http.spring,
+ org.apache.cxf.transport.http_jaxws_spi,
+ org.apache.cxf.transport.https,
+ org.apache.cxf.transport.servlet,
+ org.apache.cxf.transports.http,
+ org.apache.cxf.transports.http.configuration,
+ org.apache.cxf.version,
+ org.apache.cxf.workqueue,
+ org.apache.cxf.ws.addressing,
+ org.apache.cxf.ws.addressing.policy,
+ org.apache.cxf.ws.addressing.soap,
+ org.apache.cxf.ws.addressing.spring,
+ org.apache.cxf.ws.addressing.v200403,
+ org.apache.cxf.ws.addressing.v200408,
+ org.apache.cxf.ws.addressing.wsdl,
+ org.apache.cxf.ws.policy,
+ org.apache.cxf.ws.policy.builder.jaxb,
+ org.apache.cxf.ws.policy.builder.primitive,
+ org.apache.cxf.ws.policy.builder.xml,
+ org.apache.cxf.ws.policy.util,
+ org.apache.cxf.wsdl,
+ org.apache.cxf.wsdl.http,
+ org.apache.cxf.wsdl11,
+ org.apache.juddi,
+ org.apache.juddi.api.impl,
+ org.apache.juddi.api.util,
+ org.apache.juddi.api_v3,
+ org.apache.juddi.config,
+ org.apache.juddi.cryptor,
+ org.apache.juddi.jaxb,
+ org.apache.juddi.keygen,
+ org.apache.juddi.mapping,
+ org.apache.juddi.model,
+ org.apache.juddi.query,
+ org.apache.juddi.query.util,
+ org.apache.juddi.rmi,
+ org.apache.juddi.subscription,
+ org.apache.juddi.subscription.notify,
+ org.apache.juddi.v3.annotations,
+ org.apache.juddi.v3.auth,
+ org.apache.juddi.v3.client,
+ org.apache.juddi.v3.client.config,
+ org.apache.juddi.v3.client.embed,
+ org.apache.juddi.v3.client.i18n,
+ org.apache.juddi.v3.client.mapping,
+ org.apache.juddi.v3.client.transport,
+ org.apache.juddi.v3.client.transport.wrapper,
+ org.apache.juddi.v3.error,
+ org.apache.juddi.v3_service,
+ org.apache.juddi.validation,
+ org.apache.log4j,
+ org.apache.log4j.chainsaw,
+ org.apache.log4j.config,
+ org.apache.log4j.helpers,
+ org.apache.log4j.jdbc,
+ org.apache.log4j.jmx,
+ org.apache.log4j.lf5,
+ org.apache.log4j.lf5.util,
+ org.apache.log4j.lf5.viewer,
+ org.apache.log4j.lf5.viewer.categoryexplorer,
+ org.apache.log4j.lf5.viewer.configure,
+ org.apache.log4j.net,
+ org.apache.log4j.nt,
+ org.apache.log4j.or,
+ org.apache.log4j.or.jms,
+ org.apache.log4j.or.sax,
+ org.apache.log4j.spi,
+ org.apache.log4j.varia,
+ org.apache.log4j.xml,
+ org.apache.neethi,
+ org.apache.neethi.builders,
+ org.apache.neethi.builders.xml,
+ org.apache.neethi.util,
+ org.apache.ws.commons.schema,
+ org.apache.ws.commons.schema.constants,
+ org.apache.ws.commons.schema.extensions,
+ org.apache.ws.commons.schema.resolver,
+ org.apache.ws.commons.schema.tools,
+ org.apache.ws.commons.schema.utils,
+ org.jboss.tools.uddi.core,
+ org.uddi,
+ org.uddi.api_v3,
+ org.uddi.custody_v3,
+ org.uddi.policy_v3,
+ org.uddi.policy_v3_instanceparms,
+ org.uddi.repl_v3,
+ org.uddi.sub_v3,
+ org.uddi.subr_v3,
+ org.uddi.v3_service,
+ org.uddi.vs_v3,
+ org.uddi.vscache_v3,
+ org.w3._2000._09.xmldsig_
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/META-INF/MANIFEST.MF
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 5 months
JBoss Tools SVN: r36733 - in workspace/bfitzpat: org.jboss.tools.uddi.core and 21 other directories.
by jbosstools-commits@lists.jboss.org
Author: bfitzpat
Date: 2011-11-29 10:10:53 -0500 (Tue, 29 Nov 2011)
New Revision: 36733
Added:
workspace/bfitzpat/.project
workspace/bfitzpat/org.jboss.tools.uddi.core/
workspace/bfitzpat/org.jboss.tools.uddi.core/.classpath
workspace/bfitzpat/org.jboss.tools.uddi.core/.project
workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/
workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/org.eclipse.jdt.core.prefs
workspace/bfitzpat/org.jboss.tools.uddi.core/build.properties
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/XmlSchema-1.4.7.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-collections-3.2.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-configuration-1.5.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-lang-2.3.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-logging-1.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-api-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-common-utilities-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-bindings-soap-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-core-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-databinding-jaxb-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-jaxws-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-simple-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-transports-http-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-ws-addr-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-tools-common-2.3.1.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/jaxr-api-1.0.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-3.1.3-SNAPSHOT.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-extras-3.1.3-SNAPSHOT.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-core-3.1.3-SNAPSHOT.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/log4j-1.2.12.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/neethi-2.0.4.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/uddi-ws-3.1.3-SNAPSHOT.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/lib/wsdl4j-1.6.2.jar
workspace/bfitzpat/org.jboss.tools.uddi.core/plugin.xml
workspace/bfitzpat/org.jboss.tools.uddi.core/src/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/Activator.java
workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/UDDIPreferenceInitializer.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/
workspace/bfitzpat/org.jboss.tools.uddi.ui/.classpath
workspace/bfitzpat/org.jboss.tools.uddi.ui/.project
workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/
workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/org.eclipse.jdt.core.prefs
workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/
workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/MANIFEST.MF
workspace/bfitzpat/org.jboss.tools.uddi.ui/build.properties
workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/
workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/business.gif
workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/sample.gif
workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/service.gif
workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/tmodel.gif
workspace/bfitzpat/org.jboss.tools.uddi.ui/plugin.xml
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/Activator.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnection.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnectionFactory.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/NameSorter.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/RegistryView.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeObject.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeParent.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewContentProvider.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewLabelProvider.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizard.java
workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizardPage.java
Log:
JBIDE-6411 - Working on some UDDI/SAP SR support and stashing in workspace for now
Added: workspace/bfitzpat/.project
===================================================================
--- workspace/bfitzpat/.project (rev 0)
+++ workspace/bfitzpat/.project 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>bfitzpat</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Property changes on: workspace/bfitzpat/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/.classpath
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/.classpath (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/.classpath 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-collections-3.2.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-configuration-1.5.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-lang-2.3.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-api-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-common-utilities-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-bindings-soap-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-core-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-databinding-jaxb-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-frontend-jaxws-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-frontend-simple-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-transports-http-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-rt-ws-addr-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/cxf-tools-common-2.3.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/jaxr-api-1.0.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/juddi-client-3.1.3-SNAPSHOT.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/juddi-client-extras-3.1.3-SNAPSHOT.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/juddi-core-3.1.3-SNAPSHOT.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/log4j-1.2.12.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/neethi-2.0.4.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/uddi-ws-3.1.3-SNAPSHOT.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/wsdl4j-1.6.2.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/XmlSchema-1.4.7.jar"/>
+ <classpathentry exported="true" kind="lib" path="META-INF/"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/.project
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/.project (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/.project 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.uddi.core</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/org.eclipse.jdt.core.prefs 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,8 @@
+#Mon Oct 24 09:45:14 MDT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/build.properties
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/build.properties (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/build.properties 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,34 @@
+source.. = src/
+output.. = bin/
+bin.includes = .,\
+ META-INF/,\
+ lib/commons-collections-3.2.1.jar,\
+ lib/commons-configuration-1.5.jar,\
+ lib/commons-lang-2.3.jar,\
+ lib/commons-logging-1.1.jar,\
+ lib/cxf-api-2.3.1.jar,\
+ lib/cxf-common-utilities-2.3.1.jar,\
+ lib/cxf-rt-bindings-soap-2.3.1.jar,\
+ lib/cxf-rt-core-2.3.1.jar,\
+ lib/cxf-rt-databinding-jaxb-2.3.1.jar,\
+ lib/cxf-rt-frontend-jaxws-2.3.1.jar,\
+ lib/cxf-rt-frontend-simple-2.3.1.jar,\
+ lib/cxf-rt-transports-http-2.3.1.jar,\
+ lib/cxf-rt-ws-addr-2.3.1.jar,\
+ lib/cxf-tools-common-2.3.1.jar,\
+ lib/jaxr-api-1.0.jar,\
+ lib/juddi-client-3.1.3-SNAPSHOT.jar,\
+ lib/juddi-client-extras-3.1.3-SNAPSHOT.jar,\
+ lib/juddi-core-3.1.3-SNAPSHOT.jar,\
+ lib/log4j-1.2.12.jar,\
+ lib/neethi-2.0.4.jar,\
+ lib/uddi-ws-3.1.3-SNAPSHOT.jar,\
+ lib/wsdl4j-1.6.2.jar,\
+ lib/XmlSchema-1.4.7.jar,\
+ plugin.xml
+src.includes = src/,\
+ build.properties,\
+ META-INF/,\
+ .settings/,\
+ .project,\
+ .classpath
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/build.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/XmlSchema-1.4.7.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/XmlSchema-1.4.7.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-collections-3.2.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-collections-3.2.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-configuration-1.5.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-configuration-1.5.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-lang-2.3.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-lang-2.3.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-logging-1.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/commons-logging-1.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-api-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-api-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-common-utilities-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-common-utilities-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-bindings-soap-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-bindings-soap-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-core-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-core-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-databinding-jaxb-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-databinding-jaxb-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-jaxws-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-jaxws-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-simple-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-frontend-simple-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-transports-http-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-transports-http-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-ws-addr-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-rt-ws-addr-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-tools-common-2.3.1.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/cxf-tools-common-2.3.1.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/jaxr-api-1.0.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/jaxr-api-1.0.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-3.1.3-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-3.1.3-SNAPSHOT.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-extras-3.1.3-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-client-extras-3.1.3-SNAPSHOT.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-core-3.1.3-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/juddi-core-3.1.3-SNAPSHOT.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/log4j-1.2.12.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/log4j-1.2.12.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/neethi-2.0.4.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/neethi-2.0.4.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/uddi-ws-3.1.3-SNAPSHOT.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/uddi-ws-3.1.3-SNAPSHOT.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/wsdl4j-1.6.2.jar
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/lib/wsdl4j-1.6.2.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/plugin.xml
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/plugin.xml (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/plugin.xml 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.core.runtime.preferences">
+ <initializer
+ class="org.jboss.tools.uddi.core.UDDIPreferenceInitializer">
+ </initializer>
+ </extension>
+
+</plugin>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/plugin.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/Activator.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/Activator.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/Activator.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,329 @@
+package org.jboss.tools.uddi.core;
+
+import java.util.ArrayList;
+
+import org.apache.cxf.common.WSDLConstants;
+import org.apache.cxf.endpoint.Client;
+import org.apache.cxf.frontend.ClientProxy;
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.interceptor.LoggingOutInterceptor;
+import org.apache.juddi.v3.client.ClassUtil;
+import org.apache.juddi.v3.client.config.ClientConfig;
+import org.apache.juddi.v3.client.config.UDDIClerkManager;
+import org.apache.juddi.v3.client.config.UDDIClientContainer;
+import org.apache.juddi.v3.client.transport.Transport;
+import org.osgi.framework.BundleActivator;
+import org.osgi.framework.BundleContext;
+import org.uddi.api_v3.AuthToken;
+import org.uddi.api_v3.BusinessInfo;
+import org.uddi.api_v3.BusinessList;
+import org.uddi.api_v3.FindBusiness;
+import org.uddi.api_v3.FindQualifiers;
+import org.uddi.api_v3.FindService;
+import org.uddi.api_v3.FindTModel;
+import org.uddi.api_v3.GetAuthToken;
+import org.uddi.api_v3.Name;
+import org.uddi.api_v3.ServiceInfo;
+import org.uddi.api_v3.ServiceList;
+import org.uddi.api_v3.TModelInfo;
+import org.uddi.api_v3.TModelList;
+import org.uddi.v3_service.UDDIInquiryPortType;
+import org.uddi.v3_service.UDDISecurityPortType;
+
+public class Activator implements BundleActivator {
+
+ private static BundleContext context;
+
+ static BundleContext getContext() {
+ return context;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext bundleContext) throws Exception {
+ Activator.context = bundleContext;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext bundleContext) throws Exception {
+ Activator.context = null;
+ }
+
+ public static void getAuthToken( String uddiNode) {
+ UDDISecurityPortType security = getSecurityPort(uddiNode);
+ GetAuthToken getAuthToken = new GetAuthToken();
+ getAuthToken.setUserID("sruser");
+ getAuthToken.setCred("eswork123");
+ try {
+ AuthToken authToken = security.getAuthToken(getAuthToken);
+ System.out.println ("AUTHTOKEN = "
+ + authToken.getAuthInfo());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ public static AuthToken getAuthToken( UDDISecurityPortType security ) {
+ GetAuthToken getAuthToken = new GetAuthToken();
+ getAuthToken.setUserID("sruser");
+ getAuthToken.setCred("eswork123");
+ try {
+ AuthToken authToken = security.getAuthToken(getAuthToken);
+ System.out.println ("AUTHTOKEN = "
+ + authToken.getAuthInfo());
+ return authToken;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public static UDDISecurityPortType getSecurityPort ( String uddiNode ) {
+ try {
+ ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+ getClientConfig();
+ String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+ Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+ if (transportClass!=null) {
+ Transport transport = (Transport) transportClass.
+ getConstructor(String.class).newInstance(uddiNode);
+ UDDISecurityPortType security = transport.getUDDISecurityService();
+ return security;
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public static UDDIInquiryPortType getInquiryPort ( String uddiNode ) {
+ try {
+ ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+ getClientConfig();
+ String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+ Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+ if (transportClass!=null) {
+ Transport transport = (Transport) transportClass.
+ getConstructor(String.class).newInstance(uddiNode);
+ UDDIInquiryPortType inquiry = transport.getUDDIInquiryService();
+ return inquiry;
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return null;
+ }
+
+ public static String[] getBusinesses2(String uddiNode) throws Exception {
+
+ ArrayList<String> stringList = new ArrayList<String>();
+ UDDIInquiryPortType inquiry = null;
+ UDDISecurityPortType security = null;
+ AuthToken token = null;
+ try {
+ ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+ getClientConfig();
+ String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+ Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+ if (transportClass!=null) {
+ Transport transport = (Transport) transportClass.
+ getConstructor(String.class).newInstance(uddiNode);
+ inquiry = transport.getUDDIInquiryService();
+ security = transport.getUDDISecurityService();
+
+ Client client = ClientProxy.getClient(security);
+ client.getOutInterceptors().add(new LoggingOutInterceptor());
+ client.getInInterceptors().add(new LoggingInInterceptor());
+
+ GetAuthToken getAuthToken = new GetAuthToken();
+ getAuthToken.setUserID("sruser");
+ getAuthToken.setCred("eswork123");
+ try {
+ token = security.getAuthToken(getAuthToken);
+ System.out.println ("AUTHTOKEN = "
+ + token.getAuthInfo());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ FindBusiness fb = new FindBusiness();
+ fb.setAuthInfo(token.getAuthInfo());
+ fb.setMaxRows(10);
+ Name name = new Name();
+ name.setValue("%");
+ FindQualifiers fq = new FindQualifiers();
+ fq.getFindQualifier().add("orLikeKeys");
+ fq.getFindQualifier().add("caseInsensitiveMatch");
+ fq.getFindQualifier().add("approximateMatch");
+ fb.setFindQualifiers(fq);
+ fb.getName().add(name);
+ BusinessList bl = inquiry.findBusiness(fb);
+ for (BusinessInfo bi : bl.getBusinessInfos().getBusinessInfo()) {
+ if (!bi.getName().isEmpty()) {
+ stringList.add(bi.getName().get(0).getValue());
+// for (int i = 0; i < bi.getName().size(); i++)
+// System.out.println("Business Name: " + bi.getName().get(i).getValue());
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+ public static String[] getServices2(String uddiNode) throws Exception {
+
+ ArrayList<String> stringList = new ArrayList<String>();
+ UDDIInquiryPortType inquiry = null;
+ UDDISecurityPortType security = null;
+ AuthToken token = null;
+ try {
+// UDDIClerkManager mgr = new UDDIClerkManager()
+ ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+ getClientConfig();
+ String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+ Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+ if (transportClass!=null) {
+ Transport transport = (Transport) transportClass.
+ getConstructor(String.class).newInstance(uddiNode);
+ inquiry = transport.getUDDIInquiryService();
+ security = transport.getUDDISecurityService();
+
+ Client client = ClientProxy.getClient(security);
+ client.getOutInterceptors().add(new LoggingOutInterceptor());
+ client.getInInterceptors().add(new LoggingInInterceptor());
+
+ GetAuthToken getAuthToken = new GetAuthToken();
+ getAuthToken.setUserID("sruser");
+ getAuthToken.setCred("eswork123");
+ try {
+ token = security.getAuthToken(getAuthToken);
+ System.out.println ("AUTHTOKEN = "
+ + token.getAuthInfo());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ FindService fs = new FindService();
+ fs.setMaxRows(10);
+ Name name = new Name();
+ name.setValue("%");
+ FindQualifiers fq = new FindQualifiers();
+ fq.getFindQualifier().add("orLikeKeys");
+ fq.getFindQualifier().add("caseInsensitiveMatch");
+ fq.getFindQualifier().add("approximateMatch");
+ fs.setFindQualifiers(fq);
+ fs.getName().add(name);
+ ServiceList bl = inquiry.findService(fs);
+ for (ServiceInfo si : bl.getServiceInfos().getServiceInfo()) {
+ if (!si.getName().isEmpty()) {
+ stringList.add(si.getName().get(0).getValue());
+ for (int i = 0; i < si.getName().size(); i++)
+ System.out.println("Service Name: " + si.getName().get(i).getValue());
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+ public static String[] getBusinesses(String uddiNode) throws Exception {
+ UDDIInquiryPortType inquiry = getInquiryPort(uddiNode);
+ UDDISecurityPortType security = getSecurityPort(uddiNode);
+ getAuthToken(security);
+
+ FindBusiness fb = new FindBusiness();
+ fb.setMaxRows(10);
+ Name name = new Name();
+ name.setValue("%");
+ FindQualifiers fq = new FindQualifiers();
+ fq.getFindQualifier().add("orLikeKeys");
+ fq.getFindQualifier().add("caseInsensitiveMatch");
+ fq.getFindQualifier().add("approximateMatch");
+ fb.setFindQualifiers(fq);
+ fb.getName().add(name);
+ BusinessList bl = inquiry.findBusiness(fb);
+ ArrayList<String> stringList = new ArrayList<String>();
+ for (BusinessInfo bi : bl.getBusinessInfos().getBusinessInfo()) {
+ if (!bi.getName().isEmpty()) {
+ stringList.add(bi.getName().get(0).getValue());
+ for (int i = 0; i < bi.getName().size(); i++)
+ System.out.println("Business Name: " + bi.getName().get(i).getValue());
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+ public static String[] getBusinesses(UDDIInquiryPortType inquiry) throws Exception {
+ FindBusiness fb = new FindBusiness();
+ fb.setMaxRows(10);
+ Name name = new Name();
+ name.setValue("%");
+ FindQualifiers fq = new FindQualifiers();
+ fq.getFindQualifier().add("orLikeKeys");
+ fq.getFindQualifier().add("caseInsensitiveMatch");
+ fq.getFindQualifier().add("approximateMatch");
+ fb.setFindQualifiers(fq);
+ fb.getName().add(name);
+ BusinessList bl = inquiry.findBusiness(fb);
+ ArrayList<String> stringList = new ArrayList<String>();
+ for (BusinessInfo bi : bl.getBusinessInfos().getBusinessInfo()) {
+ if (!bi.getName().isEmpty()) {
+ stringList.add(bi.getName().get(0).getValue());
+ for (int i = 0; i < bi.getName().size(); i++)
+ System.out.println("Business Name: " + bi.getName().get(i).getValue());
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+ public static String[] getServices(UDDIInquiryPortType inquiry) throws Exception {
+ FindService fs = new FindService();
+ fs.setMaxRows(10);
+ Name name = new Name();
+ name.setValue("%");
+ FindQualifiers fq = new FindQualifiers();
+ fq.getFindQualifier().add("orLikeKeys");
+ fq.getFindQualifier().add("caseInsensitiveMatch");
+ fq.getFindQualifier().add("approximateMatch");
+ fs.setFindQualifiers(fq);
+ fs.getName().add(name);
+ ServiceList bl = inquiry.findService(fs);
+ ArrayList<String> stringList = new ArrayList<String>();
+ for (ServiceInfo si : bl.getServiceInfos().getServiceInfo()) {
+ if (!si.getName().isEmpty()) {
+ stringList.add(si.getName().get(0).getValue());
+ for (int i = 0; i < si.getName().size(); i++)
+ System.out.println("Service Name: " + si.getName().get(i).getValue());
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+ public static String[] getTModels(UDDIInquiryPortType inquiry) throws Exception {
+ FindTModel fs = new FindTModel();
+ Name name = new Name();
+ name.setValue("%");
+ fs.setName(name);
+ TModelList bl = inquiry.findTModel(fs);
+ ArrayList<String> stringList = new ArrayList<String>();
+ if (bl.getTModelInfos() != null && bl.getTModelInfos().getTModelInfo().size() > 0) {
+ for (TModelInfo si : bl.getTModelInfos().getTModelInfo()) {
+ if (si.getName().getValue().length() > 0) {
+ stringList.add(si.getName().getValue());
+ System.out.println("TModelInfo Name: " + si.getName().getValue());
+ }
+ }
+ }
+ return (String[]) stringList.toArray(new String[stringList.size()]);
+ }
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/Activator.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/UDDIPreferenceInitializer.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/UDDIPreferenceInitializer.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/UDDIPreferenceInitializer.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,14 @@
+package org.jboss.tools.uddi.core;
+
+import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
+
+public class UDDIPreferenceInitializer extends AbstractPreferenceInitializer {
+
+ public UDDIPreferenceInitializer() {
+ }
+
+ @Override
+ public void initializeDefaultPreferences() {
+ }
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.core/src/org/jboss/tools/uddi/core/UDDIPreferenceInitializer.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/.classpath
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/.classpath (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/.classpath 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/.project
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/.project (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/.project 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.uddi.ui</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/org.eclipse.jdt.core.prefs 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,8 @@
+#Mon Oct 24 09:48:54 MDT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/MANIFEST.MF
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/MANIFEST.MF (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/MANIFEST.MF 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Ui
+Bundle-SymbolicName: org.jboss.tools.uddi.ui; singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-Activator: org.jboss.tools.uddi.ui.Activator
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.uddi.core;bundle-version="1.0.0",
+ org.eclipse.datatools.connectivity;bundle-version="1.2.3",
+ org.eclipse.datatools.connectivity.ui;bundle-version="1.2.1",
+ org.eclipse.datatools.connectivity.ui.dse;bundle-version="1.1.4"
+Bundle-ActivationPolicy: lazy
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/META-INF/MANIFEST.MF
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/build.properties
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/build.properties (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/build.properties 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,16 @@
+source.. = src/
+output.. = bin/
+bin.includes = plugin.xml,\
+ META-INF/,\
+ .,\
+ icons/,\
+ resources/
+src.includes = resources/,\
+ plugin.xml,\
+ icons/,\
+ build.properties,\
+ META-INF/,\
+ .settings/,\
+ .project,\
+ .classpath,\
+ src/
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/build.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/business.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/business.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/sample.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/sample.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/service.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/service.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/tmodel.gif
===================================================================
(Binary files differ)
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/icons/tmodel.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/plugin.xml
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/plugin.xml (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/plugin.xml 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+ <extension
+ point="org.eclipse.ui.views">
+ <category
+ name="JBoss UDDI"
+ id="org.jboss.tools.uddi.ui">
+ </category>
+ <view
+ name="UDDI Registries"
+ icon="icons/sample.gif"
+ category="org.jboss.tools.uddi.ui"
+ class="org.jboss.tools.uddi.ui.view.RegistryView"
+ id="org.jboss.tools.uddi.ui.view.RegistryView">
+ </view>
+ </extension>
+ <extension
+ point="org.eclipse.datatools.connectivity.connectionProfile">
+ <connectionFactory
+ class="org.jboss.tools.uddi.ui.connection.JUDDIConnectionFactory"
+ id="org.apache.juddi.v3.client.transport.Transport"
+ name="JUDDI Connection Factory"
+ profile="org.jboss.tools.uddi.ui.juddi">
+ </connectionFactory>
+ <connectionProfile
+ category="org.jboss.tools.uddi.ui.juddi.category"
+ icon="icons/service.gif"
+ id="org.jboss.tools.uddi.ui.juddi"
+ name="JUDDI Connection Profile"
+ pingFactory="org.jboss.tools.uddi.ui.connection.JUDDIConnectionFactory">
+ </connectionProfile>
+ <category
+ id="org.jboss.tools.uddi.ui.juddi.category"
+ name="UDDI">
+ </category>
+ <newWizard
+ class="org.jboss.tools.uddi.ui.wizard.NewJUDDIConnectionWizard"
+ description="Creates a new JUDDI Connection Profile"
+ icon="icons/service.gif"
+ id="org.jboss.tools.uddi.ui.juddi.newwizard"
+ name="JUDDI Connection Profile"
+ profile="org.jboss.tools.uddi.ui.juddi">
+ </newWizard>
+ </extension>
+
+</plugin>
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/plugin.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/Activator.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/Activator.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/Activator.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,61 @@
+package org.jboss.tools.uddi.ui;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.jboss.tools.uddi.ui"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given
+ * plug-in relative path
+ *
+ * @param path the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/Activator.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnection.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnection.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnection.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,174 @@
+package org.jboss.tools.uddi.ui.connection;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.Properties;
+
+import org.eclipse.datatools.connectivity.IConnectionProfile;
+import org.eclipse.datatools.connectivity.Version;
+import org.eclipse.datatools.connectivity.VersionProviderConnection;
+import org.uddi.api_v3.AuthToken;
+import org.uddi.api_v3.GetAuthToken;
+import org.uddi.v3_service.UDDIInquiryPortType;
+import org.uddi.v3_service.UDDISecurityPortType;
+import org.apache.cxf.endpoint.Client;
+import org.apache.cxf.frontend.ClientProxy;
+import org.apache.cxf.interceptor.LoggingInInterceptor;
+import org.apache.cxf.interceptor.LoggingOutInterceptor;
+import org.apache.juddi.v3.client.ClassUtil;
+import org.apache.juddi.v3.client.config.ClientConfig;
+import org.apache.juddi.v3.client.config.UDDIClientContainer;
+import org.apache.juddi.v3.client.config.UDDINode;
+import org.apache.juddi.v3.client.transport.SAPRegistryJAXWSTransport;
+import org.apache.juddi.v3.client.transport.Transport;
+
+public class JUDDIConnection extends VersionProviderConnection {
+
+ private Transport rawTransport = null;
+ private String inquiryURL;
+ private String securityURL;
+ private boolean needsAuthentication;
+
+ public JUDDIConnection(IConnectionProfile profile, Class<?> factoryClass) {
+ super(profile, factoryClass);
+ }
+
+ public void connect() {
+ Properties props =
+ getConnectionProfile().getBaseProperties();
+ inquiryURL = (String) props.get("inquiry");
+ securityURL = (String) props.get("security");
+ Boolean convert = (Boolean) props.get("needsAuthentication");
+ needsAuthentication = convert.booleanValue();
+
+ String filepath = createTemporaryUDDIXMLFile();
+ System.out.println(filepath);
+
+ try {
+// ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+// getClientConfig();
+ ClientConfig config = new ClientConfig(filepath);
+ String clazz = config.getUDDINode(getConnectionProfile().getName()).getProxyTransport();
+ String managerName = config.getManagerName();
+ Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+ if (transportClass!=null) {
+ UDDINode node = config.getUDDINode(getConnectionProfile().getName());
+ SAPRegistryJAXWSTransport transport = new SAPRegistryJAXWSTransport(managerName, getConnectionProfile().getName());
+
+// Transport transport = (Transport) transportClass.
+// getConstructor(String.class, String.class).newInstance("temp-uddi", getConnectionProfile().getName());
+ UDDIInquiryPortType inquiry = transport.getUDDIInquiryService();
+ UDDISecurityPortType security = transport.getUDDISecurityService();
+
+ Client client = ClientProxy.getClient(security);
+ client.getOutInterceptors().add(new LoggingOutInterceptor());
+ client.getInInterceptors().add(new LoggingInInterceptor());
+
+ GetAuthToken getAuthToken = new GetAuthToken();
+ getAuthToken.setUserID("sruser");
+ getAuthToken.setCred("eswork123");
+ try {
+ AuthToken token = security.getAuthToken(getAuthToken);
+ System.out.println ("AUTHTOKEN = "
+ + token.getAuthInfo());
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+
+ System.out.println(props.toString());
+ }
+
+ private String createTemporaryUDDIXMLFile() {
+ try {
+ // Create temp file.
+ File temp = File.createTempFile("udditemp", ".xml");
+
+ // Delete temp file when program exits.
+ temp.deleteOnExit();
+
+ // Write to temp file
+ BufferedWriter out = new BufferedWriter(new FileWriter(temp));
+ String xml = getUDDIXML();
+ out.write(xml);
+ out.close();
+
+ return temp.getAbsolutePath();
+ } catch (IOException e) {
+ }
+ return null;
+ }
+
+ private String getUDDIXML() {
+ StringBuffer buffer = new StringBuffer();
+ buffer.append("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>");
+ buffer.append("<uddi>");
+ buffer.append("<reloadDelay>5000</reloadDelay>");
+ buffer.append("<manager name=\"temp-uddi\">");
+ buffer.append("<nodes>");
+ buffer.append("<node>");
+ buffer.append("<name>" + getConnectionProfile().getName() + "</name>");
+ buffer.append("<description>" + getConnectionProfile().getDescription() + "</description>");
+ buffer.append("<proxyTransport>org.apache.juddi.v3.client.transport.SAPRegistryJAXWSTransport</proxyTransport>");
+ buffer.append("<inquiryUrl>" + inquiryURL + "</inquiryUrl>");
+ buffer.append("<securityUrl>" + securityURL + "</securityUrl>");
+ buffer.append("</node>");
+ buffer.append("</nodes>");
+ buffer.append("<clerks registerOnStartup=\"false\">");
+ buffer.append("<xregister></xregister>");
+ buffer.append("</clerks>");
+ buffer.append("</manager>");
+ buffer.append("</uddi>");
+ System.out.println(buffer.toString());
+ return buffer.toString();
+ }
+
+ @Override
+ public Object getRawConnection() {
+ return rawTransport;
+ }
+
+ @Override
+ public void close() {
+ if (rawTransport != null) {
+ rawTransport = null;
+ }
+ }
+
+ @Override
+ public Throwable getConnectException() {
+ return null;
+ }
+
+ @Override
+ public Version getProviderVersion() {
+ return null;
+ }
+
+ @Override
+ public String getProviderName() {
+ return null;
+ }
+
+ @Override
+ public Version getTechnologyVersion() {
+ return null;
+ }
+
+ @Override
+ public String getTechnologyName() {
+ return null;
+ }
+
+ @Override
+ protected String getTechnologyRootKey() {
+ return null;
+ }
+
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnection.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnectionFactory.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnectionFactory.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnectionFactory.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,16 @@
+package org.jboss.tools.uddi.ui.connection;
+
+import org.eclipse.datatools.connectivity.IConnection;
+import org.eclipse.datatools.connectivity.IConnectionProfile;
+import org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnectionFactory;
+
+public class JUDDIConnectionFactory extends JDBCConnectionFactory {
+
+ @Override
+ public IConnection createConnection(IConnectionProfile profile) {
+ JUDDIConnection connection = new JUDDIConnection(profile, getClass());
+ connection.connect();
+ return connection;
+ }
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/connection/JUDDIConnectionFactory.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/NameSorter.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/NameSorter.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/NameSorter.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,6 @@
+package org.jboss.tools.uddi.ui.view;
+
+import org.eclipse.jface.viewers.ViewerSorter;
+
+class NameSorter extends ViewerSorter {
+}
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/NameSorter.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/RegistryView.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/RegistryView.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/RegistryView.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,168 @@
+package org.jboss.tools.uddi.ui.view;
+
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.part.*;
+import org.eclipse.jface.viewers.*;
+import org.eclipse.jface.action.*;
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.ui.*;
+import org.eclipse.swt.widgets.Menu;
+import org.eclipse.swt.SWT;
+
+
+/**
+ * This sample class demonstrates how to plug-in a new
+ * workbench view. The view shows data obtained from the
+ * model. The sample creates a dummy model on the fly,
+ * but a real implementation would connect to the model
+ * available either in this or another plug-in (e.g. the workspace).
+ * The view is connected to the model using a content provider.
+ * <p>
+ * The view uses a label provider to define how model
+ * objects should be presented in the view. Each
+ * view can present the same model objects using
+ * different labels and icons, if needed. Alternatively,
+ * a single label provider can be shared between views
+ * in order to ensure that objects of the same type are
+ * presented in the same way everywhere.
+ * <p>
+ */
+
+public class RegistryView extends ViewPart {
+
+ /**
+ * The ID of the view as specified by the extension.
+ */
+ public static final String ID = "org.jboss.tools.uddi.ui.view.RegistryView";
+
+ private TreeViewer viewer;
+ private DrillDownAdapter drillDownAdapter;
+ private Action action1;
+ private Action action2;
+ private Action doubleClickAction;
+
+ /*
+ * The content provider class is responsible for
+ * providing objects to the view. It can wrap
+ * existing objects in adapters or simply return
+ * objects as-is. These objects may be sensitive
+ * to the current input of the view, or ignore
+ * it and always show the same content
+ * (like Task List, for example).
+ */
+
+ /**
+ * The constructor.
+ */
+ public RegistryView() {
+ }
+
+ /**
+ * This is a callback that will allow us
+ * to create the viewer and initialize it.
+ */
+ public void createPartControl(Composite parent) {
+ viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
+ drillDownAdapter = new DrillDownAdapter(viewer);
+ viewer.setContentProvider(new ViewContentProvider(this));
+ viewer.setLabelProvider(new ViewLabelProvider());
+ viewer.setSorter(new NameSorter());
+ viewer.setInput(getViewSite());
+ makeActions();
+ hookContextMenu();
+ hookDoubleClickAction();
+ contributeToActionBars();
+ }
+
+ private void hookContextMenu() {
+ MenuManager menuMgr = new MenuManager("#PopupMenu");
+ menuMgr.setRemoveAllWhenShown(true);
+ menuMgr.addMenuListener(new IMenuListener() {
+ public void menuAboutToShow(IMenuManager manager) {
+ RegistryView.this.fillContextMenu(manager);
+ }
+ });
+ Menu menu = menuMgr.createContextMenu(viewer.getControl());
+ viewer.getControl().setMenu(menu);
+ getSite().registerContextMenu(menuMgr, viewer);
+ }
+
+ private void contributeToActionBars() {
+ IActionBars bars = getViewSite().getActionBars();
+ fillLocalPullDown(bars.getMenuManager());
+ fillLocalToolBar(bars.getToolBarManager());
+ }
+
+ private void fillLocalPullDown(IMenuManager manager) {
+ manager.add(action1);
+ manager.add(new Separator());
+ manager.add(action2);
+ }
+
+ private void fillContextMenu(IMenuManager manager) {
+ manager.add(action1);
+ manager.add(action2);
+ manager.add(new Separator());
+ drillDownAdapter.addNavigationActions(manager);
+ // Other plug-ins can contribute there actions here
+ manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
+ }
+
+ private void fillLocalToolBar(IToolBarManager manager) {
+ manager.add(action1);
+ manager.add(action2);
+ manager.add(new Separator());
+ drillDownAdapter.addNavigationActions(manager);
+ }
+
+ private void makeActions() {
+ action1 = new Action() {
+ public void run() {
+ showMessage("Action 1 executed");
+ }
+ };
+ action1.setText("Action 1");
+ action1.setToolTipText("Action 1 tooltip");
+ action1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().
+ getImageDescriptor(ISharedImages.IMG_OBJS_INFO_TSK));
+
+ action2 = new Action() {
+ public void run() {
+ showMessage("Action 2 executed");
+ }
+ };
+ action2.setText("Action 2");
+ action2.setToolTipText("Action 2 tooltip");
+ action2.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages().
+ getImageDescriptor(ISharedImages.IMG_OBJS_INFO_TSK));
+ doubleClickAction = new Action() {
+ public void run() {
+ ISelection selection = viewer.getSelection();
+ Object obj = ((IStructuredSelection)selection).getFirstElement();
+ showMessage("Double-click detected on "+obj.toString());
+ }
+ };
+ }
+
+ private void hookDoubleClickAction() {
+ viewer.addDoubleClickListener(new IDoubleClickListener() {
+ public void doubleClick(DoubleClickEvent event) {
+ doubleClickAction.run();
+ }
+ });
+ }
+ private void showMessage(String message) {
+ MessageDialog.openInformation(
+ viewer.getControl().getShell(),
+ "UDDI Registries",
+ message);
+ }
+
+ /**
+ * Passing the focus request to the viewer's control.
+ */
+ public void setFocus() {
+ viewer.getControl().setFocus();
+ }
+}
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/RegistryView.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeObject.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeObject.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeObject.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,34 @@
+package org.jboss.tools.uddi.ui.view;
+
+import org.eclipse.core.runtime.IAdaptable;
+
+class TreeObject implements IAdaptable {
+ private String name;
+ private TreeParent parent;
+ private Object raw;
+
+ public TreeObject(String name) {
+ this.name = name;
+ }
+ public String getName() {
+ return name;
+ }
+ public void setParent(TreeParent parent) {
+ this.parent = parent;
+ }
+ public TreeParent getParent() {
+ return parent;
+ }
+ public String toString() {
+ return getName();
+ }
+ public Object getAdapter(@SuppressWarnings("rawtypes") Class key) {
+ return null;
+ }
+ public Object getRaw() {
+ return raw;
+ }
+ public void setRaw ( Object raw ) {
+ this.raw = raw;
+ }
+}
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeObject.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeParent.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeParent.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeParent.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,25 @@
+package org.jboss.tools.uddi.ui.view;
+
+import java.util.ArrayList;
+
+class TreeParent extends TreeObject {
+ private ArrayList<TreeObject> children;
+ public TreeParent(String name) {
+ super(name);
+ children = new ArrayList<TreeObject>();
+ }
+ public void addChild(TreeObject child) {
+ children.add(child);
+ child.setParent(this);
+ }
+ public void removeChild(TreeObject child) {
+ children.remove(child);
+ child.setParent(null);
+ }
+ public TreeObject [] getChildren() {
+ return (TreeObject [])children.toArray(new TreeObject[children.size()]);
+ }
+ public boolean hasChildren() {
+ return children.size()>0;
+ }
+}
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/TreeParent.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewContentProvider.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewContentProvider.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewContentProvider.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,268 @@
+package org.jboss.tools.uddi.ui.view;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import org.eclipse.jface.viewers.ILazyTreeContentProvider;
+import org.eclipse.jface.viewers.IStructuredContentProvider;
+import org.eclipse.jface.viewers.ITreeContentProvider;
+import org.eclipse.jface.viewers.Viewer;
+import org.jboss.tools.uddi.core.Activator;
+
+class ViewContentProvider implements IStructuredContentProvider,
+ ITreeContentProvider {
+
+ /**
+ *
+ */
+ private final RegistryView registryView;
+
+ /**
+ * @param registryView
+ */
+ ViewContentProvider(RegistryView registryView) {
+ this.registryView = registryView;
+ }
+ private TreeParent invisibleRoot;
+
+ public void inputChanged(Viewer v, Object oldInput, Object newInput) {
+ }
+ public void dispose() {
+ }
+ public Object[] getElements(Object parent) {
+ if (parent.equals(this.registryView.getViewSite())) {
+ if (invisibleRoot==null) initialize();
+ return getChildren(invisibleRoot);
+ }
+ return getChildren(parent);
+ }
+ public Object getParent(Object child) {
+ if (child instanceof TreeObject) {
+ return ((TreeObject)child).getParent();
+ }
+ return null;
+ }
+ public Object [] getChildren(Object parent) {
+ if (parent instanceof TreeParent) {
+ TreeParent tp = (TreeParent) parent;
+ if (tp.getParent() != null) {// && tp.getParent().getRaw() instanceof UDDIDetails) {
+// UDDIDetails details = (UDDIDetails) tp.getParent().getRaw();
+ if (tp.getName().equals("Businesses")) {
+ try {
+ String uddiRepo = tp.getParent().getName();
+// UDDIInquiryPortType inquiry = Activator.getInquiryPort(uddiRepo);
+// Activator.getAuthToken(uddiRepo);
+ String[] businessNames = Activator.getBusinesses2(uddiRepo);
+ for (int i = 0; i < businessNames.length; i++) {
+ TreeObject business = new TreeObject(businessNames[i]);
+ tp.addChild(business);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ else if (tp.getName().equals("Services")) {
+ try {
+ String uddiRepo = tp.getParent().getName();
+ String[] serviceNames = Activator.getServices2(uddiRepo);
+ for (int i = 0; i < serviceNames.length; i++) {
+ TreeObject service = new TreeObject(serviceNames[i]);
+ tp.addChild(service);
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ else if (tp.getName().equals("tModels")) {
+ try {
+ String uddiRepo = tp.getParent().getName();
+// UDDIInquiryPortType inquiry = Activator.getInquiryPort(uddiRepo);
+// Activator.getAuthToken(uddiRepo);
+// String[] tModelNamesNames = Activator.getTModels(inquiry);
+// for (int i = 0; i < tModelNamesNames.length; i++) {
+// TreeObject tModel = new TreeObject(tModelNamesNames[i]);
+// tp.addChild(tModel);
+// }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ return ((TreeParent)parent).getChildren();
+ }
+ return new Object[0];
+ }
+ public boolean hasChildren(Object parent) {
+ if (parent instanceof TreeParent) {
+ TreeParent tp = (TreeParent) parent;
+ if (tp.getName().equals("Businesses")) {
+ return true;
+ }
+ if (tp.getName().equals("Services")) {
+ return true;
+ }
+ if (tp.getName().equals("tModels")) {
+ return true;
+ }
+ return ((TreeParent)parent).hasChildren();
+ }
+ return false;
+ }
+
+// public String[] getBusinesses(UDDIInquiryPortType inquiry) throws Exception {
+// FindBusiness fb = new FindBusiness();
+// fb.setMaxRows(10);
+// Name name = new Name();
+// name.setValue("%");
+// FindQualifiers fq = new FindQualifiers();
+// fq.getFindQualifier().add("orLikeKeys");
+// fq.getFindQualifier().add("caseInsensitiveMatch");
+// fq.getFindQualifier().add("approximateMatch");
+// fb.setFindQualifiers(fq);
+// fb.getName().add(name);
+// BusinessList bl = inquiry.findBusiness(fb);
+// ArrayList<String> stringList = new ArrayList<String>();
+// for (BusinessInfo bi : bl.getBusinessInfos().getBusinessInfo()) {
+// if (!bi.getName().isEmpty()) {
+// stringList.add(bi.getName().get(0).getValue());
+// for (int i = 0; i < bi.getName().size(); i++)
+// System.out.println("Business Name: " + bi.getName().get(i).getValue());
+// }
+// }
+// return (String[]) stringList.toArray(new String[stringList.size()]);
+// }
+//
+// public String[] getServices(UDDIInquiryPortType inquiry) throws Exception {
+// FindService fs = new FindService();
+// fs.setMaxRows(10);
+// Name name = new Name();
+// name.setValue("%");
+// FindQualifiers fq = new FindQualifiers();
+// fq.getFindQualifier().add("orLikeKeys");
+// fq.getFindQualifier().add("caseInsensitiveMatch");
+// fq.getFindQualifier().add("approximateMatch");
+// fs.setFindQualifiers(fq);
+// fs.getName().add(name);
+// ServiceList bl = inquiry.findService(fs);
+// ArrayList<String> stringList = new ArrayList<String>();
+// for (ServiceInfo si : bl.getServiceInfos().getServiceInfo()) {
+// if (!si.getName().isEmpty()) {
+// stringList.add(si.getName().get(0).getValue());
+// for (int i = 0; i < si.getName().size(); i++)
+// System.out.println("Service Name: " + si.getName().get(i).getValue());
+// }
+// }
+// return (String[]) stringList.toArray(new String[stringList.size()]);
+// }
+//
+// public String[] getTModels(UDDIInquiryPortType inquiry) throws Exception {
+// FindTModel fs = new FindTModel();
+// Name name = new Name();
+// name.setValue("%");
+// fs.setName(name);
+// TModelList bl = inquiry.findTModel(fs);
+// ArrayList<String> stringList = new ArrayList<String>();
+// if (bl.getTModelInfos() != null && bl.getTModelInfos().getTModelInfo().size() > 0) {
+// for (TModelInfo si : bl.getTModelInfos().getTModelInfo()) {
+// if (si.getName().getValue().length() > 0) {
+// stringList.add(si.getName().getValue());
+// System.out.println("TModelInfo Name: " + si.getName().getValue());
+// }
+// }
+// }
+// return (String[]) stringList.toArray(new String[stringList.size()]);
+// }
+
+/*
+ * We will set up a dummy model to initialize tree heararchy.
+ * In a real code, you will connect to a real model and
+ * expose its hierarchy.
+ */
+ private void initialize() {
+
+ String[] nodes = new String[] { "default", "esb" };
+ TreeParent root = new TreeParent("Registries");
+ for (int i = 0; i < nodes.length; i++) {
+ TreeParent node = getUDDINode(nodes[i]);
+ if (node != null)
+ root.addChild(node);
+ }
+ invisibleRoot = new TreeParent("");
+ invisibleRoot.addChild(root);
+
+ }
+
+// private UDDIInquiryPortType getInquiryPort ( String uddiNode ) {
+// try {
+// ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+// getClientConfig();
+// String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+// Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+// if (transportClass!=null) {
+// Transport transport = (Transport) transportClass.
+// getConstructor(String.class).newInstance(uddiNode);
+// UDDIInquiryPortType inquiry = transport.getUDDIInquiryService();
+// return inquiry;
+// }
+// } catch (Exception e) {
+// e.printStackTrace();
+// }
+// return null;
+// }
+
+ private TreeParent getUDDINode(String uddiNode) {
+// try {
+// ClientConfig config = UDDIClientContainer.getUDDIClerkManager(null).
+// getClientConfig();
+// String clazz = config.getUDDINode(uddiNode).getProxyTransport();
+// Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
+// if (transportClass!=null) {
+// Transport transport = (Transport) transportClass.
+// getConstructor(String.class).newInstance(uddiNode);
+// UDDIInquiryPortType inquiry = transport.getUDDIInquiryService();
+// UDDISecurityPortType security = transport.getUDDISecurityService();
+// if (uddiRegistries == null)
+// uddiRegistries = new HashMap<String, UDDIInquiryPortType>();
+// uddiRegistries.put(uddiNode, inquiry);
+//// UDDIDetails details = new UDDIDetails();
+//// details.inquiry = inquiry;
+//// details.security = security;
+ TreeParent node = new TreeParent(uddiNode);
+ TreeParent businesses = new TreeParent("Businesses");
+ TreeParent services = new TreeParent("Services");
+ TreeParent tModels = new TreeParent("tModels");
+ node.addChild(businesses);
+ node.addChild(services);
+ node.addChild(tModels);
+// node.setRaw(details);
+ return node;
+// }
+// } catch (Exception e) {
+// e.printStackTrace();
+// }
+// return null;
+ }
+
+ class UDDIDetails {
+// private UDDIInquiryPortType inquiry = null;
+// private UDDISecurityPortType security = null;
+// public UDDIInquiryPortType getInquiry() {
+// return inquiry;
+// }
+// public void setInquiry(UDDIInquiryPortType inquiry) {
+// this.inquiry = inquiry;
+// }
+// public UDDISecurityPortType getSecurity() {
+// return security;
+// }
+// public void setSecurity(UDDISecurityPortType security) {
+// this.security = security;
+// }
+ }
+
+ public void updateElement(Object parent, int index) {
+ }
+
+ public void updateChildCount(Object element, int currentChildCount) {
+ }
+ }
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewContentProvider.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewLabelProvider.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewLabelProvider.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewLabelProvider.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,67 @@
+package org.jboss.tools.uddi.ui.view;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.ui.ISharedImages;
+import org.eclipse.ui.PlatformUI;
+import org.jboss.tools.uddi.ui.Activator;
+import org.jboss.tools.uddi.ui.view.ViewContentProvider.UDDIDetails;
+
+class ViewLabelProvider extends LabelProvider {
+
+ private ImageDescriptor SERVICE_IMG_DESC = null;
+ private ImageDescriptor BUSINESS_IMG_DESC = null;
+ private ImageDescriptor TMODEL_IMG_DESC = null;
+
+ private Image SERVICE_IMG = null;
+ private Image BUSINESS_IMG = null;
+ private Image TMODEL_IMG = null;
+
+ private void initialize() {
+ this.SERVICE_IMG_DESC = Activator.getImageDescriptor("icons\\service.gif");
+ this.SERVICE_IMG = SERVICE_IMG_DESC.createImage();
+ this.BUSINESS_IMG_DESC = Activator.getImageDescriptor("icons\\business.gif");
+ this.BUSINESS_IMG = BUSINESS_IMG_DESC.createImage();
+ this.TMODEL_IMG_DESC = Activator.getImageDescriptor("icons\\tmodel.gif");
+ this.TMODEL_IMG = TMODEL_IMG_DESC.createImage();
+ }
+
+ public String getText(Object obj) {
+ return obj.toString();
+ }
+
+ public Image getImage(Object obj) {
+ if (this.SERVICE_IMG == null)
+ initialize();
+ String imageKey = ISharedImages.IMG_OBJ_ELEMENT;
+ if (obj instanceof TreeObject) {
+ TreeObject to = (TreeObject) obj;
+ if (to.getParent() != null && to.getParent().getName().contains("Businesses")) {
+ return BUSINESS_IMG;
+ }
+ if (to.getParent() != null && to.getParent().getName().contains("Services")) {
+ return SERVICE_IMG;
+ }
+ if (to.getParent() != null && to.getParent().getName().contains("tModels")) {
+ return TMODEL_IMG;
+ }
+ }
+ if (obj instanceof TreeParent) {
+ if (((TreeParent)obj).getRaw() != null && ((TreeParent)obj).getRaw() instanceof UDDIDetails) {
+ // do nothing, use object key
+ }
+ else
+ imageKey = ISharedImages.IMG_OBJ_FOLDER;
+ }
+ return PlatformUI.getWorkbench().getSharedImages().getImage(imageKey);
+ }
+
+ @Override
+ public void dispose() {
+ this.BUSINESS_IMG.dispose();
+ this.SERVICE_IMG.dispose();
+ this.TMODEL_IMG.dispose();
+ super.dispose();
+ }
+}
\ No newline at end of file
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/view/ViewLabelProvider.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizard.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizard.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizard.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,27 @@
+package org.jboss.tools.uddi.ui.wizard;
+
+import java.util.Properties;
+
+import org.eclipse.datatools.connectivity.ui.wizards.NewConnectionProfileWizard;
+import org.eclipse.jface.wizard.IWizard;
+
+public class NewJUDDIConnectionWizard extends NewConnectionProfileWizard
+ implements IWizard {
+
+ private NewJUDDIConnectionWizardPage page;
+
+ public NewJUDDIConnectionWizard() {
+ }
+
+ @Override
+ public void addCustomPages() {
+ this.page = new NewJUDDIConnectionWizardPage("NewJUDDIConnectionWizard.NewJUDDIConnectionWizardPage");
+ this.addPage(this.page);
+ }
+
+ @Override
+ public Properties getProfileProperties() {
+ return this.page.getPageProperties();
+ }
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizard.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizardPage.java
===================================================================
--- workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizardPage.java (rev 0)
+++ workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizardPage.java 2011-11-29 15:10:53 UTC (rev 36733)
@@ -0,0 +1,102 @@
+package org.jboss.tools.uddi.ui.wizard;
+
+import java.util.Properties;
+
+import org.eclipse.datatools.connectivity.ui.wizards.ConnectionProfileDetailsPage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+
+public class NewJUDDIConnectionWizardPage extends
+ ConnectionProfileDetailsPage {
+
+ private boolean needsAuthentication = false;
+ private String inquiryURL;
+ private String securityURL;
+ private Label securityURLLabel;
+ private Text securityURLText;
+ private Button needsAuthenticationCheck;
+ private Text inquiryURLText;
+ private Label inquiryURLLabel;
+
+ private String defaultInquiry = "http://sr.esworkplace.sap.com:80/uddi/api/inquiry";
+ private String defaultSecurity = "http://sr.esworkplace.sap.com:80/uddi/api/security";
+
+ public NewJUDDIConnectionWizardPage(String wizardPageName) {
+ super(wizardPageName);
+ this.setTitle("Provide UDDI Details");
+ this.setMessage("Provide the Inquiry URL, specify whether the registry requires authentication, and if so provide a Security URL");
+ }
+
+ @Override
+ public void createCustomControl(Composite parent) {
+ Composite composite = new Composite(parent, SWT.NONE);
+ GridLayout gl = new GridLayout();
+ gl.numColumns = 2;
+ composite.setLayout(gl);
+
+ inquiryURLLabel = new Label(composite, SWT.NONE);
+ inquiryURLLabel.setText("Inquiry URL:");
+
+ inquiryURLText = new Text(composite, SWT.BORDER);
+ GridData inquiryURLGD = new GridData(GridData.FILL_HORIZONTAL);
+ inquiryURLText.setLayoutData(inquiryURLGD);
+ inquiryURLText.addModifyListener(new ModifyListener() {
+ @Override
+ public void modifyText(ModifyEvent e) {
+ NewJUDDIConnectionWizardPage.this.inquiryURL = NewJUDDIConnectionWizardPage.this.inquiryURLText.getText();
+ }
+ });
+ inquiryURLText.setText(defaultInquiry);
+
+ needsAuthenticationCheck = new Button(composite, SWT.CHECK);
+ needsAuthenticationCheck.setLayoutData(new GridData(SWT.LEFT, SWT.None, true, false, 2, 1));
+ needsAuthenticationCheck.setText("Needs Authentication");
+ needsAuthenticationCheck.setSelection(needsAuthentication);
+ needsAuthenticationCheck.addSelectionListener(new SelectionAdapter(){
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ NewJUDDIConnectionWizardPage.this.needsAuthentication = NewJUDDIConnectionWizardPage.this.needsAuthenticationCheck.getSelection();
+ handleUpdateValidationCheckState();
+ }
+ });
+
+ securityURLLabel = new Label(composite, SWT.NONE);
+ securityURLLabel.setLayoutData(new GridData());
+ securityURLLabel.setText("Security URL:");
+
+ securityURLText = new Text(composite, SWT.BORDER);
+ securityURLText.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+ securityURLText.addModifyListener(new ModifyListener() {
+ @Override
+ public void modifyText(ModifyEvent e) {
+ NewJUDDIConnectionWizardPage.this.securityURL = NewJUDDIConnectionWizardPage.this.securityURLText.getText();
+ }
+ });
+ securityURLText.setText(defaultSecurity);
+
+ handleUpdateValidationCheckState();
+ }
+
+ private void handleUpdateValidationCheckState() {
+ this.securityURLLabel.setEnabled(this.needsAuthentication);
+ this.securityURLText.setEnabled(this.needsAuthentication);
+ }
+
+ public Properties getPageProperties() {
+ Properties pageProps = new Properties();
+ pageProps.put("inquiry", inquiryURL);
+ pageProps.put("security", securityURL);
+ pageProps.put("needsAuthentication", needsAuthentication);
+ return pageProps;
+ }
+
+}
Property changes on: workspace/bfitzpat/org.jboss.tools.uddi.ui/src/org/jboss/tools/uddi/ui/wizard/NewJUDDIConnectionWizardPage.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
12 years, 5 months