cxf git commit: Making sure jaxws_spring_boot test runs again
Repository: cxf Updated Branches: refs/heads/3.1.x-fixes 71ed0cb16 -> 0a8ce71c2 Making sure jaxws_spring_boot test runs again Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/0a8ce71c Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/0a8ce71c Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/0a8ce71c Branch: refs/heads/3.1.x-fixes Commit: 0a8ce71c2adfe44ff9903a25ff0b3f758d5be7fc Parents: 71ed0cb Author: Sergey BeryozkinAuthored: Wed Mar 22 13:41:27 2017 + Committer: Sergey Beryozkin Committed: Wed Mar 22 13:52:43 2017 + -- .../release/samples/jaxws_spring_boot/pom.xml | 14 ++-- .../ws/service/SampleWsApplicationTest.java | 81 +++ .../ws/service/SampleWsApplicationTests.java| 82 3 files changed, 89 insertions(+), 88 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cxf/blob/0a8ce71c/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml -- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml index 008f6e0..8dadee0 100644 --- a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml +++ b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml @@ -24,17 +24,19 @@ -org.springframework.boot -spring-boot-starter-test +org.apache.cxf +cxf-spring-boot-starter-jaxws +${project.version} org.springframework.boot -spring-boot-starter-ws +spring-boot-starter-test +test -org.apache.cxf -cxf-spring-boot-starter-jaxws -${project.version} +org.springframework.boot +spring-boot-starter-web-services +test org.slf4j http://git-wip-us.apache.org/repos/asf/cxf/blob/0a8ce71c/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java -- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java new file mode 100644 index 000..13e68eb --- /dev/null +++ b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java @@ -0,0 +1,81 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample.ws.service; + +import static org.hamcrest.Matchers.containsString; + +import java.io.StringReader; + +import javax.xml.transform.stream.StreamResult; +import javax.xml.transform.stream.StreamSource; + +import org.springframework.boot.context.embedded.LocalServerPort; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; +import org.springframework.boot.test.rule.OutputCapture; +import org.springframework.test.context.junit4.SpringRunner; +import org.springframework.ws.client.core.WebServiceTemplate; + +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.assertThat; + +import sample.ws.SampleWsApplication; + + +@RunWith(SpringRunner.class) +@SpringBootTest(classes = SampleWsApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT) +public class SampleWsApplicationTest { + +//CHECKSTYLE:OFF +@Rule +public OutputCapture output = new OutputCapture(); // SUPPRESS CHECKSTYLE +//CHECKSTYLE:ON + +private WebServiceTemplate webServiceTemplate = new WebServiceTemplate(); + +@LocalServerPort +private int port; + +@Before +public
cxf git commit: Making sure jaxws_spring_boot test runs again
Repository: cxf Updated Branches: refs/heads/master d72b3d27a -> d3bf494ef Making sure jaxws_spring_boot test runs again Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d3bf494e Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d3bf494e Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d3bf494e Branch: refs/heads/master Commit: d3bf494ef4987debad986cae87cfe5f095b79090 Parents: d72b3d2 Author: Sergey BeryozkinAuthored: Wed Mar 22 13:41:27 2017 + Committer: Sergey Beryozkin Committed: Wed Mar 22 13:41:27 2017 + -- .../release/samples/jaxws_spring_boot/pom.xml | 14 ++-- .../ws/service/SampleWsApplicationTest.java | 81 .../ws/service/SampleWsApplicationTests.java| 80 --- 3 files changed, 87 insertions(+), 88 deletions(-) -- http://git-wip-us.apache.org/repos/asf/cxf/blob/d3bf494e/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml -- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml index 5bda72c..f74aaec 100644 --- a/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml +++ b/distribution/src/main/release/samples/jaxws_spring_boot/pom.xml @@ -25,21 +25,19 @@ -org.springframework.boot -spring-boot-starter-test +org.apache.cxf +cxf-spring-boot-starter-jaxws +${project.version} org.springframework.boot -spring-boot-test +spring-boot-starter-test +test org.springframework.boot spring-boot-starter-web-services - - -org.apache.cxf -cxf-spring-boot-starter-jaxws -${project.version} +test org.slf4j http://git-wip-us.apache.org/repos/asf/cxf/blob/d3bf494e/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java -- diff --git a/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java new file mode 100644 index 000..13e68eb --- /dev/null +++ b/distribution/src/main/release/samples/jaxws_spring_boot/src/test/java/sample/ws/service/SampleWsApplicationTest.java @@ -0,0 +1,81 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package sample.ws.service; + +import static org.hamcrest.Matchers.containsString; + +import java.io.StringReader; + +import javax.xml.transform.stream.StreamResult; +import javax.xml.transform.stream.StreamSource; + +import org.springframework.boot.context.embedded.LocalServerPort; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.boot.test.context.SpringBootTest.WebEnvironment; +import org.springframework.boot.test.rule.OutputCapture; +import org.springframework.test.context.junit4.SpringRunner; +import org.springframework.ws.client.core.WebServiceTemplate; + +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.runner.RunWith; + +import static org.junit.Assert.assertThat; + +import sample.ws.SampleWsApplication; + + +@RunWith(SpringRunner.class) +@SpringBootTest(classes = SampleWsApplication.class, webEnvironment = WebEnvironment.RANDOM_PORT) +public class SampleWsApplicationTest { + +//CHECKSTYLE:OFF +@Rule +public OutputCapture output = new OutputCapture(); // SUPPRESS CHECKSTYLE +//CHECKSTYLE:ON + +private WebServiceTemplate webServiceTemplate = new WebServiceTemplate(); + +@LocalServerPort +private int port; + +@Before +