JBoss Tools SVN: r41720 - branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-05 12:57:54 -0400 (Tue, 05 Jun 2012)
New Revision: 41720
Modified:
branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
Log:
JBIDE-12097 to cr1
Modified: branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java
===================================================================
--- branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2012-06-05 14:51:12 UTC (rev 41719)
+++ branches/jbosstools-3.3.x/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/v7/JBoss7ManagerServicePoller.java 2012-06-05 16:57:54 UTC (rev 41720)
@@ -195,7 +195,7 @@
} catch (JBoss7ManangerConnectException e) {
return true;
} catch (Exception e) {
- return false;
+ return true;
}
}
13 years, 4 months
JBoss Tools SVN: r41719 - trunk/documentation/whatsnew/openshift.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-06-05 10:51:12 -0400 (Tue, 05 Jun 2012)
New Revision: 41719
Removed:
trunk/documentation/whatsnew/openshift/openshift-console.png
Modified:
trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html
Log:
[JBIDE-11950] writing N&N for openshift
Deleted: trunk/documentation/whatsnew/openshift/openshift-console.png
===================================================================
(Binary files differ)
Modified: trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html 2012-06-05 14:48:56 UTC (rev 41718)
+++ trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html 2012-06-05 14:51:12 UTC (rev 41719)
@@ -62,7 +62,7 @@
<b>Lazy loading users</b>
</td>
<td valign="top" align="left">
- In Beta3 the OpenShift Explorer was too eager when loading the users you had. It was annoying you by triggering the secure storage password prompt too early.
+ In Beta3 the OpenShift Explorer was too eager when loading the users you had. It was prompting users to enter the secure storage password far too early.
We fixed this in CR1.
<p>
<small>
@@ -82,7 +82,7 @@
</p>
<p>
<small>
- <a href="https://issues.jboss.org/browse/JBIDE-12006">Related Jira</a>
+ <a href="https://issues.jboss.org/browse/JBIDE-11791">Related Jira</a>
</small>
</p>
@@ -93,8 +93,8 @@
<b>Application details</b>
</td>
<td valign="top" align="left">
- You can now inspect a given application in all details from the context-menu in the OpenShift Explorer.
- <p>
+ You can now inspect a given application in all details by choosing "Details" in the OpenShift Explorer context-menu.
+ It will report you the application name, type, embedded cartridges, web and git URL. URLs are clickable and launch a browser to the given internet address.<p>
<img src="images/application-details-menu.png" alt="application details menu" />
</p>
<p>
@@ -120,11 +120,10 @@
<b>Handling timeouts gracefully</b>
</td>
<td>
- Previously a user would not be notified when the application wizard had timed out.
- Instead a user had to cancel the application wizard and use the import wizard to have the application
- added to their workspace. A new dialog box has since been added that asks a user if they wish to
- continue waiting for the remote application to become reachable or to close the wizard.
- This ensures that the user knows what state the wizard is in.
+ Previously a user ran into an error dialog when the application wizard had timed out.
+ He then could only cancel the creation wizard and use the import wizard to add the application to his workspace.
+ <br />A new dialog box has since been added that asks a user if he'd wish to continue waiting for the remote
+ application to become reachable or to close the wizard. This ensures that the user doesn't get stuck while creating and importing his OpenShift application.
<p>
<img src="images/keep-waiting.png" alt="keep waiting" />
</p>
@@ -159,7 +158,7 @@
<td valign="top">
OpenShift gears constrain the resources an application may consume. A small (standard) gear offers 512MB of RAM and 1GB of disk storage.
You may leverage more RAM and disk space by choosing a large gear. Standard user may currently only choose small gears though.
- OpenShift may now also scale applications. It will then bundle several gears and offer even more resources to your application. JBoss Tools
+ <br />OpenShift may now also scale applications. It will then bundle several gears and offer even more resources to your application. <br />JBoss Tools
now offers you both options at creation time. You may choose among available gears and enable scaling when you create your application.
<p><img src="images/gears-and-scaling.png" alt="gear and scaling"/></p>
<p>
@@ -198,16 +197,16 @@
</td>
<td>
The former incarnation of the rhc command line tools used a fixed key name for SSH connections.
- The SSH configuration contained libra_id_rsa hard coded into the file /user/.ssh/config for SSH connections to OpenShift.
- This caused issues for users who already used a different SHH configuration. The rhc command line tools no longer include hard code keys,
- and instead uses the existing libra_id_rsa key or suggests using rsa_id if a key does not exist.
+ The SSH configuration contained "libra_id_rsa" hard coded into the file /user/.ssh/config for SSH connections to OpenShift.
+ This caused issues for users who already used a different SSH configuration. The rhc command line tools no longer include hard code keys,
+ and instead uses the existing "libra_id_rsa" key or suggests using rsa_id if a key does not exist.
This behaviour has been replicated in the tooling.
<p>
<img src="images/domain-ssh-key.png" alt="ssh key" />
</p>
<p>
<small>
- <a href="https://issues.jboss.org/browse/JBIDE-11314">Related Jira</a>
+ <a href="https://issues.jboss.org/browse/JBIDE-12031">Related Jira</a>
</small>
</p>
13 years, 4 months
JBoss Tools SVN: r41718 - in trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test: src/org/jboss/tools/bpel/ui/bot/test/suite and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: apodhrad
Date: 2012-06-05 10:48:56 -0400 (Tue, 05 Jun 2012)
New Revision: 41718
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java
Log:
BPEL bot tests: setting the correct version of old bpel plugin
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath 2012-06-05 12:48:48 UTC (rev 41717)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/.classpath 2012-06-05 14:48:56 UTC (rev 41718)
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry exported="true" kind="lib" path="lib/xmlunit-1.3.jar"/>
<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="lib" path="/home/apodhrad/Downloads/hamcrest-all-1.1.jar"/>
+ <classpathentry exported="true" kind="lib" path="lib/xmlunit-1.3.jar"/>
+ <classpathentry kind="src" path="src/"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java 2012-06-05 12:48:48 UTC (rev 41717)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELTest.java 2012-06-05 14:48:56 UTC (rev 41718)
@@ -14,7 +14,6 @@
import org.eclipse.swtbot.swt.finder.widgets.SWTBotShell;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTree;
import org.eclipse.swtbot.swt.finder.widgets.SWTBotTreeItem;
-import org.jboss.tools.bpel.ui.bot.test.AssignActivityTest;
import org.jboss.tools.bpel.ui.bot.test.OdeDeployTest;
import org.jboss.tools.ui.bot.ext.SWTTestExt;
import org.jboss.tools.ui.bot.ext.helper.ContextMenuHelper;
@@ -25,6 +24,8 @@
public class BPELTest extends SWTTestExt {
+ public static final Version JBT_3_2_BPEL_VERSION = new Version(0, 6, 2);
+
public static void prepare() {
log.info("BPEL All Test started...");
@@ -122,7 +123,7 @@
}
protected void createNewBpelProcess(String project, String name, String type, boolean isAbstract, Version version) {
- if (version.toString().startsWith("0.8.0")) {
+ if (version.compareTo(JBT_3_2_BPEL_VERSION) == 1) {
bot.textWithLabel("Process Name:").setText(name);
bot.comboBoxWithLabel("Namespace:").setText("http://eclipse.org/bpel/sample");
if (isAbstract) {
13 years, 4 months
JBoss Tools SVN: r41717 - branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-05 08:48:48 -0400 (Tue, 05 Jun 2012)
New Revision: 41717
Modified:
branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
JBIDE-12079 to cr1
Modified: branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
--- branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-05 12:37:55 UTC (rev 41716)
+++ branches/jbosstools-3.3.x/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-05 12:48:48 UTC (rev 41717)
@@ -70,14 +70,18 @@
String destProjName = ExpressServerUtils.getExpressDeployProject(behaviour.getServer());
IProject destProj = ResourcesPlugin.getWorkspace().getRoot().getProject(destProjName);
- if( destProj != null ) {
- if( destProj.exists() ) {
+ boolean allSubModulesPublished = areAllPublished(behaviour);
+ if( destProj != null && destProj.exists()) {
+ String destinationFolder = ExpressServerUtils.getExpressDeployFolder(behaviour.getServer());
+ IContainer destFolder = "".equals(destinationFolder) ? destProj : (IContainer)destProj.findMember(new Path(destinationFolder));
+ if( allSubModulesPublished || (destFolder != null && destFolder.isAccessible())) {
refreshProject(destProj, submon(monitor, 100));
commitAndPushProject(destProj, behaviour, submon(monitor, 100));
- }
+ } // else ignore. (one or more modules not published AND magic folder doesn't exist
+ // The previous exception will be propagated.
}
- return areAllPublished(behaviour) ? IServer.PUBLISH_STATE_NONE : IServer.PUBLISH_STATE_INCREMENTAL;
+ return allSubModulesPublished ? IServer.PUBLISH_STATE_NONE : IServer.PUBLISH_STATE_INCREMENTAL;
}
protected boolean areAllPublished(DeployableServerBehavior behaviour) {
@@ -104,22 +108,20 @@
return -1;
if( module.length > 1 )
- return 0;
+ return IServer.PUBLISH_STATE_UNKNOWN;
// Magic Project
String destProjName = ExpressServerUtils.getExpressDeployProject(behaviour.getServer());
if( isInDestProjectTree(destProjName, module))
return IServer.PUBLISH_STATE_NONE;
+ // Cannot be null, checked for in publishStart
IProject destProj = ResourcesPlugin.getWorkspace().getRoot().getProject(destProjName);
-
if( destProj.equals(module[module.length-1].getProject()))
- return 0;
+ return IServer.PUBLISH_STATE_NONE;
String destinationFolder = ExpressServerUtils.getExpressDeployFolder(behaviour.getServer());
-
IContainer destFolder = "".equals(destinationFolder) ? destProj : (IContainer)destProj.findMember(new Path(destinationFolder));
-
if( destFolder == null || !destFolder.isAccessible()) {
StringBuffer missingPath = new StringBuffer("");
if(destFolder==null) {
@@ -289,12 +291,13 @@
return ret[0];
}
- @Override
public IPublishCopyCallbackHandler getCallbackHandler(IPath path,
IServer server) {
- // TODO Auto-generated method stub
return null;
}
+ public IPublishCopyCallbackHandler getCallbackHandler(IPath deployPath, IPath tmpFolder, IServer server) {
+ return null;
+ }
public String getPublishDefaultRootFolder(IServer server) {
IDeployableServer s = ServerConverter.getDeployableServer(server);
@@ -313,5 +316,4 @@
final int ticks, final int style ) {
return ( parent == null ? new NullProgressMonitor() : new SubProgressMonitor( parent, ticks, style ) );
}
-
}
13 years, 4 months
JBoss Tools SVN: r41716 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2012-06-05 08:37:55 -0400 (Tue, 05 Jun 2012)
New Revision: 41716
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
Log:
JBIDE-12079 to trunk
Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-05 10:52:06 UTC (rev 41715)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/core/behaviour/ExpressPublishMethod.java 2012-06-05 12:37:55 UTC (rev 41716)
@@ -70,14 +70,18 @@
String destProjName = ExpressServerUtils.getExpressDeployProject(behaviour.getServer());
IProject destProj = ResourcesPlugin.getWorkspace().getRoot().getProject(destProjName);
- if( destProj != null ) {
- if( destProj.exists() ) {
+ boolean allSubModulesPublished = areAllPublished(behaviour);
+ if( destProj != null && destProj.exists()) {
+ String destinationFolder = ExpressServerUtils.getExpressDeployFolder(behaviour.getServer());
+ IContainer destFolder = "".equals(destinationFolder) ? destProj : (IContainer)destProj.findMember(new Path(destinationFolder));
+ if( allSubModulesPublished || (destFolder != null && destFolder.isAccessible())) {
refreshProject(destProj, submon(monitor, 100));
commitAndPushProject(destProj, behaviour, submon(monitor, 100));
- }
+ } // else ignore. (one or more modules not published AND magic folder doesn't exist
+ // The previous exception will be propagated.
}
- return areAllPublished(behaviour) ? IServer.PUBLISH_STATE_NONE : IServer.PUBLISH_STATE_INCREMENTAL;
+ return allSubModulesPublished ? IServer.PUBLISH_STATE_NONE : IServer.PUBLISH_STATE_INCREMENTAL;
}
protected boolean areAllPublished(DeployableServerBehavior behaviour) {
@@ -104,22 +108,20 @@
return -1;
if( module.length > 1 )
- return 0;
+ return IServer.PUBLISH_STATE_UNKNOWN;
// Magic Project
String destProjName = ExpressServerUtils.getExpressDeployProject(behaviour.getServer());
if( isInDestProjectTree(destProjName, module))
return IServer.PUBLISH_STATE_NONE;
+ // Cannot be null, checked for in publishStart
IProject destProj = ResourcesPlugin.getWorkspace().getRoot().getProject(destProjName);
-
if( destProj.equals(module[module.length-1].getProject()))
- return 0;
+ return IServer.PUBLISH_STATE_NONE;
String destinationFolder = ExpressServerUtils.getExpressDeployFolder(behaviour.getServer());
-
IContainer destFolder = "".equals(destinationFolder) ? destProj : (IContainer)destProj.findMember(new Path(destinationFolder));
-
if( destFolder == null || !destFolder.isAccessible()) {
StringBuffer missingPath = new StringBuffer("");
if(destFolder==null) {
@@ -289,12 +291,13 @@
return ret[0];
}
- @Override
public IPublishCopyCallbackHandler getCallbackHandler(IPath path,
IServer server) {
- // TODO Auto-generated method stub
return null;
}
+ public IPublishCopyCallbackHandler getCallbackHandler(IPath deployPath, IPath tmpFolder, IServer server) {
+ return null;
+ }
public String getPublishDefaultRootFolder(IServer server) {
IDeployableServer s = ServerConverter.getDeployableServer(server);
@@ -313,5 +316,4 @@
final int ticks, final int style ) {
return ( parent == null ? new NullProgressMonitor() : new SubProgressMonitor( parent, ticks, style ) );
}
-
}
13 years, 4 months
JBoss Tools SVN: r41715 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test: src/org/jboss/tools/ws/ui/bot/test and 2 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-05 06:52:06 -0400 (Tue, 05 Jun 2012)
New Revision: 41715
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java
Removed:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
Log:
renaming ApplicationPathAnnotationTest + removing unused fields from RESTfulTestBase
Property changes on: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test
___________________________________________________________________
Modified: svn:ignore
- target
buildlog.latest.txt
bin
build
*.class
screenshots
.springBeans
+ target
buildlog.latest.txt
bin
build
*.class
screenshots
.springBeans
todo.txt
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java 2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/WSAllBotTests.java 2012-06-05 10:52:06 UTC (rev 41715)
@@ -18,7 +18,7 @@
import org.jboss.tools.ws.ui.bot.test.rest.QueryAnnotationSupportTest;
import org.jboss.tools.ws.ui.bot.test.rest.completion.RESTfulCompletionTest;
import org.jboss.tools.ws.ui.bot.test.rest.explorer.RESTfulExplorerTest;
-import org.jboss.tools.ws.ui.bot.test.rest.validation.ApplicationPathParameterTest;
+import org.jboss.tools.ws.ui.bot.test.rest.validation.ApplicationPathAnnotationTest;
import org.jboss.tools.ws.ui.bot.test.rest.validation.RESTfulValidationTest;
import org.jboss.tools.ws.ui.bot.test.sample.test.SampleRESTWebServiceTest;
import org.jboss.tools.ws.ui.bot.test.sample.test.SampleSoapWebServiceTest;
@@ -66,7 +66,7 @@
DefaultValueAnnotationSupportTest.class,
RESTfulValidationTest.class,
RESTfulCompletionTest.class,
- ApplicationPathParameterTest.class,
+ ApplicationPathAnnotationTest.class,
BottomUpWSTest.class,
TopDownWSTest.class,
WsClientTest.class,
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/RESTfulTestBase.java 2012-06-05 10:52:06 UTC (rev 41715)
@@ -141,8 +141,7 @@
protected void assertExpectedPathOfService(SWTBotTreeItem service,
String expectedPath) {
String path = restfulWizard.getPathForRestFulService(service);
- assertEquals("Expected path: " + expectedPath + " <--> found path: "
- + path, expectedPath, path);
+ assertEquals("Failure when comparing paths = ", expectedPath, path);
}
protected void assertCoundOfValidationErrors(String projectName,
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathAnnotationTest.java 2012-06-05 10:52:06 UTC (rev 41715)
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2010-2012 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.tools.ws.ui.bot.test.rest.validation;
+
+import org.jboss.tools.ws.ui.bot.test.rest.RESTfulTestBase;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+public class ApplicationPathAnnotationTest extends RESTfulTestBase {
+
+ @Override
+ public String getWsProjectName() {
+ return "restApplication1";
+ }
+
+ @Before
+ public void setup() {
+
+ }
+
+ @After
+ public void cleanup() {
+ projectExplorer.deleteAllProjects();
+ }
+
+ @Test
+ public void testMultipleAppClasses() {
+
+ }
+
+ @Test
+ public void testWebXmlApplicationOption() {
+
+ }
+
+}
Deleted: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java 2012-06-05 10:51:01 UTC (rev 41714)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/validation/ApplicationPathParameterTest.java 2012-06-05 10:52:06 UTC (rev 41715)
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010-2012 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.tools.ws.ui.bot.test.rest.validation;
-
-import org.jboss.tools.ws.ui.bot.test.rest.RESTfulTestBase;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-
-public class ApplicationPathParameterTest extends RESTfulTestBase {
-
- @Override
- public String getWsProjectName() {
- return "restApplication1";
- }
-
- @Before
- public void setup() {
-
- }
-
- @After
- public void cleanup() {
- projectExplorer.deleteAllProjects();
- }
-
- @Test
- public void testMultipleAppClasses() {
-
- }
-
- @Test
- public void testWebXmlApplicationOption() {
-
- }
-
-}
13 years, 4 months
JBoss Tools SVN: r41714 - trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-05 06:51:01 -0400 (Tue, 05 Jun 2012)
New Revision: 41714
Modified:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/DefaultValueAnnotationSupportTest.java
Log:
default test now test Path param and Matrix param as well as Query param
Modified: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/DefaultValueAnnotationSupportTest.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/DefaultValueAnnotationSupportTest.java 2012-06-05 10:50:07 UTC (rev 41713)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/src/org/jboss/tools/ws/ui/bot/test/rest/DefaultValueAnnotationSupportTest.java 2012-06-05 10:51:01 UTC (rev 41714)
@@ -17,12 +17,9 @@
public class DefaultValueAnnotationSupportTest extends RESTfulTestBase {
- private String projectName = "default1";
-
- @Override
- protected String getWsProjectName() {
- return projectName;
- }
+ private String queryParam = "param";
+ private String defaultValue = "abc";
+ private String queryParamType = "java.lang.String";
@Override
public void cleanup() {
@@ -32,15 +29,11 @@
@Test
public void testQueryParamDefaultValue() {
- String queryParam = "param";
- String defaultValue = "abc";
- String queryParamType = "java.lang.String";
-
/* prepare project */
- importRestWSProject(getWsProjectName());
+ importRestWSProject("default1");
/* get JAX-RS REST explorer for the project */
- restfulWizard = new RESTFullExplorerWizard(getWsProjectName());
+ restfulWizard = new RESTFullExplorerWizard("default1");
SWTBotTreeItem[] restServices = restfulWizard.getAllRestServices();
/* test JAX-RS REST explorer */
@@ -52,13 +45,38 @@
}
@Test
- public void testPathParamDefaultValue() {
+ public void testMatrixParamDefaultValue() {
+ /* prepare project */
+ importRestWSProject("default2");
+
+ /* get JAX-RS REST explorer for the project */
+ restfulWizard = new RESTFullExplorerWizard("default2");
+ SWTBotTreeItem[] restServices = restfulWizard.getAllRestServices();
+
+ /* test JAX-RS REST explorer */
+ assertCountOfRESTServices(restServices, 1);
+ assertExpectedPathOfService(restServices[0],
+ "/rest:" + queryParam + "={" + queryParam + ":" +
+ queryParamType + "=" + defaultValue + "}");
}
@Test
- public void testMatrixParamDefaultValue() {
+ public void testPathParamDefaultValue() {
+
+ /* prepare project */
+ importRestWSProject("default3");
+ /* get JAX-RS REST explorer for the project */
+ restfulWizard = new RESTFullExplorerWizard("default3");
+ SWTBotTreeItem[] restServices = restfulWizard.getAllRestServices();
+
+ /* test JAX-RS REST explorer */
+ assertCountOfRESTServices(restServices, 1);
+ assertExpectedPathOfService(restServices[0],
+ "/rest/{" + queryParam + ":" +
+ queryParamType + "=" + defaultValue + "}");
+
}
}
13 years, 4 months
JBoss Tools SVN: r41713 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2: .settings and 7 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-05 06:50:07 -0400 (Tue, 05 Jun 2012)
New Revision: 41713
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.classpath
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.project
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/.jsdtscope
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.jdt.core.prefs
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.component
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/META-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/META-INF/MANIFEST.MF
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/WEB-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/WEB-INF/lib/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/test/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/test/RestService.java
Log:
new resource projects for DefaultAnnotation test
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.classpath
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.classpath (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.classpath 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1.0 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.project
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.project (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.project 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>default2</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.ws.jaxrs.metamodelBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.jboss.tools.ws.jaxrs.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/.jsdtscope
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/.jsdtscope (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/.jsdtscope 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.jdt.core.prefs 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,7 @@
+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
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.component 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="default2">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="default2"/>
+ <property name="java-output-path" value="/default2/build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.0 Runtime "/>
+ <fixed facet="jst.web"/>
+ <fixed facet="java"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/WebContent/META-INF/MANIFEST.MF 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/test/RestService.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/test/RestService.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/src/org/rest/test/RestService.java 2012-06-05 10:50:07 UTC (rev 41713)
@@ -0,0 +1,16 @@
+package org.rest.test;
+
+import javax.ws.rs.DefaultValue;
+import javax.ws.rs.GET;
+import javax.ws.rs.MatrixParam;
+import javax.ws.rs.Path;
+
+@Path("/rest")
+public class RestService {
+
+ @GET
+ public void method(@MatrixParam("param") @DefaultValue("abc") java.lang.String parameter) {
+
+ }
+
+}
\ No newline at end of file
13 years, 4 months
JBoss Tools SVN: r41712 - in trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects: default2 and 9 other directories.
by jbosstools-commits@lists.jboss.org
Author: jjankovi
Date: 2012-06-05 06:49:36 -0400 (Tue, 05 Jun 2012)
New Revision: 41712
Added:
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default2/build/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.classpath
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.project
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/.jsdtscope
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.jdt.core.prefs
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.component
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.container
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.name
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/META-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/META-INF/MANIFEST.MF
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/WEB-INF/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/WEB-INF/lib/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/build/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/test/
trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/test/RestService.java
Log:
new resource projects for DefaultAnnotation test
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.classpath
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.classpath (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.classpath 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+ <attributes>
+ <attribute name="owner.project.facets" value="java"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1.0 Runtime ">
+ <attributes>
+ <attribute name="owner.project.facets" value="jst.web"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.project
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.project (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.project 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>default2</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.ws.jaxrs.metamodelBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.jboss.tools.ws.jaxrs.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/.jsdtscope
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/.jsdtscope (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/.jsdtscope 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="WebContent"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.jdt.core.prefs (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.jdt.core.prefs 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,7 @@
+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
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.component 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="default2">
+ <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
+ <property name="context-root" value="default2"/>
+ <property name="java-output-path" value="/default2/build/classes"/>
+ </wb-module>
+</project-modules>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.common.project.facet.core.xml 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="JBoss 7.1.0 Runtime "/>
+ <fixed facet="jst.web"/>
+ <fixed facet="java"/>
+ <fixed facet="wst.jsdt.web"/>
+ <installed facet="java" version="1.6"/>
+ <installed facet="jst.web" version="3.0"/>
+ <installed facet="wst.jsdt.web" version="1.0"/>
+</faceted-project>
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.container
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.container (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.container 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.name
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.name (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/.settings/org.eclipse.wst.jsdt.ui.superType.name 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1 @@
+Window
\ No newline at end of file
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/META-INF/MANIFEST.MF
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/META-INF/MANIFEST.MF (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/WebContent/META-INF/MANIFEST.MF 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Added: trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/test/RestService.java
===================================================================
--- trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/test/RestService.java (rev 0)
+++ trunk/ws/tests/org.jboss.tools.ws.ui.bot.test/resources/projects/default3/src/org/rest/test/RestService.java 2012-06-05 10:49:36 UTC (rev 41712)
@@ -0,0 +1,17 @@
+package org.rest.test;
+
+import javax.ws.rs.DefaultValue;
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+
+@Path("/rest")
+public class RestService {
+
+ @GET
+ @Path("/{id}")
+ public void method(@PathParam("id") @DefaultValue("abc") java.lang.String parameter) {
+
+ }
+
+}
\ No newline at end of file
13 years, 4 months
JBoss Tools SVN: r41711 - in trunk/documentation/whatsnew/openshift: images and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: adietish
Date: 2012-06-05 06:39:40 -0400 (Tue, 05 Jun 2012)
New Revision: 41711
Added:
trunk/documentation/whatsnew/openshift/images/application-details-menu.png
trunk/documentation/whatsnew/openshift/images/application-details.png
trunk/documentation/whatsnew/openshift/images/domain-ssh-key.png
trunk/documentation/whatsnew/openshift/images/refresh-user.png
trunk/documentation/whatsnew/openshift/images/server-adapter-actions.png
Modified:
trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html
Log:
[JBIDE-11950] writing N&N for openshift
Added: trunk/documentation/whatsnew/openshift/images/application-details-menu.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/openshift/images/application-details-menu.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/openshift/images/application-details.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/openshift/images/application-details.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/openshift/images/domain-ssh-key.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/openshift/images/domain-ssh-key.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/openshift/images/refresh-user.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/openshift/images/refresh-user.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/documentation/whatsnew/openshift/images/server-adapter-actions.png
===================================================================
(Binary files differ)
Property changes on: trunk/documentation/whatsnew/openshift/images/server-adapter-actions.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html
===================================================================
--- trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html 2012-06-05 10:28:03 UTC (rev 41710)
+++ trunk/documentation/whatsnew/openshift/openshift-news-2.3.0.CR1.html 2012-06-05 10:39:40 UTC (rev 41711)
@@ -29,7 +29,7 @@
<p align="right">
<a href="../index.html">< Main Index</a> <a
- href="../maven/maven-news-3.3.0.Beta3.html">Maven Tools ></a>
+ href="../maven/maven-news-3.3.0.CR1.html">Maven Tools ></a>
</p>
<table border="0" cellpadding="10" cellspacing="0" width="80%">
@@ -46,20 +46,89 @@
<b>Plenty of bugfixes</b>
</td>
<td valign="top">
- As always when getting closer to GA, we very much focus on fixing bugs.
+ As always when getting closer to GA, we very much focus on fixing bugs and stabilizing what we provide.
We tackled a total of 82 issues and improvements in the CR1 iteration.
</td>
</tr>
<tr>
<td colspan="2">
<hr />
+ <h3>OpenShift Explorer</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>Lazy loading users</b>
+ </td>
+ <td valign="top" align="left">
+ In Beta3 the OpenShift Explorer was too eager when loading the users you had. It was annoying you by triggering the secure storage password prompt too early.
+ We fixed this in CR1.
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-12006">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>Refresh a <br />user</b></td>
+ <td valign="top" align="left">
+ We now offer you to refresh your user in the OpenShift Explorer context menu. This allows you recover from errors that may have occurred while working with the paas.
+ <p>
+ <img src="images/refresh-user.png" alt="refresh user" />
+ </p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-12006">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>Application details</b>
+ </td>
+ <td valign="top" align="left">
+ You can now inspect a given application in all details from the context-menu in the OpenShift Explorer.
+ <p>
+ <img src="images/application-details-menu.png" alt="application details menu" />
+ </p>
+ <p>
+ <img src="images/application-details.png" alt="application details" />
+ </p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11629">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
<h3>OpenShift Application Wizards</h3>
<hr />
</td>
</tr>
<tr>
<td valign="top" align="left">
- <b>Handling timeouts gracefully</b><p>
+ <b>Handling timeouts gracefully</b>
+ </td>
+ <td>
+ Previously a user would not be notified when the application wizard had timed out.
+ Instead a user had to cancel the application wizard and use the import wizard to have the application
+ added to their workspace. A new dialog box has since been added that asks a user if they wish to
+ continue waiting for the remote application to become reachable or to close the wizard.
+ This ensures that the user knows what state the wizard is in.
+ <p>
+ <img src="images/keep-waiting.png" alt="keep waiting" />
+ </p>
+ <p>
<small>
<a href="https://issues.jboss.org/browse/JBIDE-11314">Related Jira</a>
</small>
@@ -100,7 +169,77 @@
</p>
</td>
- </tr> </table>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>No user validation required</b>
+ </td>
+ <td>
+ If you launch the OpenShift application wizard from central or from the new wizards, you'll have to provide your credentials and have them validated.
+ This is no longer required if you launch the wizard from the OpenShift Explorer.
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11222">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>OpenShift Domain Wizards</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>Defaulting to id_rsa</b>
+ </td>
+ <td>
+ The former incarnation of the rhc command line tools used a fixed key name for SSH connections.
+ The SSH configuration contained libra_id_rsa hard coded into the file /user/.ssh/config for SSH connections to OpenShift.
+ This caused issues for users who already used a different SHH configuration. The rhc command line tools no longer include hard code keys,
+ and instead uses the existing libra_id_rsa key or suggests using rsa_id if a key does not exist.
+ This behaviour has been replicated in the tooling.
+ <p>
+ <img src="images/domain-ssh-key.png" alt="ssh key" />
+ </p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11314">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr />
+ <h3>OpenShift Server Adapter</h3>
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="left">
+ <b>Application actions</b>
+ </td>
+ <td>
+ JBoss Tools allows you look at the log and the environment variables of a given OpenShift application.
+ You may also configure the forwarded ports within a wizard dedicated to this task. Until Beta3 you'd had to go
+ to the OpenShift Explorer to find these actions. Since CR1 you'll now also find them in the server adapter.
+ <p>
+ <img src="images/server-adapter-actions.png" alt="application actions" />
+ </p>
+ <p>
+ <small>
+ <a href="https://issues.jboss.org/browse/JBIDE-11841">Related Jira</a>
+ </small>
+ </p>
+
+ </td>
+ </tr>
+ </table>
</body>
</html>
13 years, 4 months