Author: cschneider
Date: Thu Jun 27 11:22:09 2013
New Revision: 1497303
URL: http://svn.apache.org/r1497303
Log:
DOSGI-195 Change port to 9090
Modified:
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/AbstractDosgiTest.java
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/TestExportRestService.java
Modified:
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/AbstractDosgiTest.java
URL:
http://svn.apache.org/viewvc/cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/AbstractDosgiTest.java?rev=1497303&r1=1497302&r2=1497303&view=diff
==============================================================================
---
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/AbstractDosgiTest.java
(original)
+++
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/AbstractDosgiTest.java
Thu Jun 27 11:22:09 2013
@@ -115,7 +115,6 @@ public class AbstractDosgiTest {
URL url = new URL(urlSt);
HttpURLConnection con =
(HttpURLConnection)url.openConnection();
status = con.getResponseCode();
- System.out.println("Waiting" + status);
} catch (MalformedURLException e) {
throw new RuntimeException(e.getMessage(), e);
} catch (IOException e) {
Modified:
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/TestExportRestService.java
URL:
http://svn.apache.org/viewvc/cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/TestExportRestService.java?rev=1497303&r1=1497302&r2=1497303&view=diff
==============================================================================
---
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/TestExportRestService.java
(original)
+++
cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/TestExportRestService.java
Thu Jun 27 11:22:09 2013
@@ -46,6 +46,7 @@ public class TestExportRestService exten
public static Option[] configure() throws Exception {
return new Option[] {
MultiBundleTools.getDistroWithDiscovery(),
+ systemProperty("org.osgi.service.http.port").value("9090"),
systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("INFO"),
mavenBundle().groupId("org.apache.servicemix.bundles")
.artifactId("org.apache.servicemix.bundles.junit").version("4.9_2"),
@@ -59,11 +60,11 @@ public class TestExportRestService exten
@Test
public void testEndpointAvailable() throws Exception {
- waitWebPage("http://localhost:8080/greeter/greeter/greeting/Chris");
+ waitWebPage("http://localhost:9090/greeter/greeter/greeting/Chris");
try {
Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());
- GreeterService greeterService =
JAXRSClientFactory.create("http://localhost:8080/greeter",
+ GreeterService greeterService =
JAXRSClientFactory.create("http://localhost:9090/greeter",
GreeterService.class);
GreeterInfo result = greeterService.greetMe("Chris");
GreetingPhrase greeting = result.getGreetings().get(0);