File tree Expand file tree Collapse file tree 7 files changed +18
-13
lines changed
cxf-spring-boot-starter-samples
src/test/java/de/codecentric/cxf/endpoint Expand file tree Collapse file tree 7 files changed +18
-13
lines changed Original file line number Diff line number Diff line change 1212.studio
1313target
1414
15+ .gradle
16+
1517# Apple #
1618.DS_Store
1719
Original file line number Diff line number Diff line change 55
66 <groupId >de.codecentric.soap</groupId >
77 <artifactId >cxf-boot-simple-client</artifactId >
8- <version >2.4 .0-SNAPSHOT</version >
8+ <version >2.5 .0-SNAPSHOT</version >
99 <packaging >jar</packaging >
1010
1111 <description >Demo project for using cxf-spring-boot-starter</description >
1212
1313 <parent >
1414 <groupId >org.springframework.boot</groupId >
1515 <artifactId >spring-boot-starter-parent</artifactId >
16- <version >2.4.5 </version >
16+ <version >2.5.2 </version >
1717 </parent >
1818
1919 <properties >
2727 <dependency >
2828 <groupId >de.codecentric</groupId >
2929 <artifactId >cxf-spring-boot-starter</artifactId >
30- <version >2.4.1 </version >
30+ <version >2.5.0-SNAPSHOT </version >
3131 </dependency >
3232 <dependency >
3333 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 55
66 <groupId >de.codecentric.soap</groupId >
77 <artifactId >cxf-boot-simple</artifactId >
8- <version >2.4 .0-SNAPSHOT</version >
8+ <version >2.5 .0-SNAPSHOT</version >
99 <packaging >jar</packaging >
1010
1111 <name >cxf-boot-simple</name >
1414 <parent >
1515 <groupId >org.springframework.boot</groupId >
1616 <artifactId >spring-boot-starter-parent</artifactId >
17- <version >2.4.5 </version >
17+ <version >2.5.0 </version >
1818 </parent >
1919
2020 <properties >
2626 <dependency >
2727 <groupId >de.codecentric</groupId >
2828 <artifactId >cxf-spring-boot-starter</artifactId >
29- <version >2.4.1 </version >
29+ <version >2.5.0-SNAPSHOT </version >
3030 </dependency >
3131 <dependency >
3232 <groupId >org.springframework.boot</groupId >
Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >de.codecentric</groupId >
66 <artifactId >cxf-spring-boot-starter-reactor</artifactId >
7- <version >2.4 .0-SNAPSHOT</version >
7+ <version >2.5 .0-SNAPSHOT</version >
88 </parent >
99 <artifactId >cxf-spring-boot-starter-samples</artifactId >
1010
Original file line number Diff line number Diff line change 44 <parent >
55 <groupId >de.codecentric</groupId >
66 <artifactId >cxf-spring-boot-starter-reactor</artifactId >
7- <version >2.4 .0-SNAPSHOT</version >
7+ <version >2.5 .0-SNAPSHOT</version >
88 </parent >
99 <artifactId >cxf-spring-boot-starter</artifactId >
1010 <description >Boot starter for SOAP-Webservices with Apache CXF using JAX-WS & JAXB with Annotations only</description >
1818 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
1919
2020 <!-- Project dependencies -->
21- <spring .boot.version>2.4.5 </spring .boot.version>
21+ <spring .boot.version>2.5.2 </spring .boot.version>
2222 <cxf-spring-boot-starter-maven-plugin .version>2.3.0.RELEASE</cxf-spring-boot-starter-maven-plugin .version>
2323 <cxf .version>3.4.4</cxf .version>
2424 <jakarta .activation.version>2.0.1</jakarta .activation.version>
Original file line number Diff line number Diff line change 77import org .junit .jupiter .api .Test ;
88import org .springframework .beans .factory .annotation .Autowired ;
99import org .springframework .boot .test .context .SpringBootTest ;
10+ import org .springframework .boot .web .server .LocalServerPort ;
1011
1112import static org .hamcrest .MatcherAssert .assertThat ;
1213
1314@ SpringBootTest (
1415 classes =TestApplication .class ,
15- webEnvironment = SpringBootTest .WebEnvironment .DEFINED_PORT ,
16- properties = { "server.port:8098" }
16+ webEnvironment = SpringBootTest .WebEnvironment .RANDOM_PORT
1717 )
1818public class WeatherServiceRelativeUrlTest {
1919
20+ @ LocalServerPort
21+ private int port ;
22+
2023 @ Autowired
2124 private SoapRawClient soapRawClient ;
2225
2326 @ Test
2427 public void should_return_a_relative_url () throws Exception {
2528 final String response = Request
26- .Get ("http://localhost:8098 /soap-api/Weather?wsdl" )
29+ .Get ("http://localhost:" + port + " /soap-api/Weather?wsdl" )
2730 .execute ()
2831 .returnContent ()
2932 .asString ();
Original file line number Diff line number Diff line change 55 <groupId >de.codecentric</groupId >
66 <artifactId >cxf-spring-boot-starter-reactor</artifactId >
77 <name >cxf-spring-boot-starter-reactor</name >
8- <version >2.4 .0-SNAPSHOT</version >
8+ <version >2.5 .0-SNAPSHOT</version >
99
1010 <description >Reactor Maven project for the cxf-spring-boot-starter</description >
1111 <packaging >pom</packaging >
You can’t perform that action at this time.
0 commit comments