 dcc996c006
			
		
	
	dcc996c006
	
	
	
		
			
			Create a maven project structure. One mock webservice should be included. Both Json and XML payload accepted. Configuration of this webservice (response body, response headers, http status code) should be fully configured in a configuration file. Invoication details (headers, payload) should be logged. Closes #T124
		
			
				
	
	
		
			93 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			93 lines
		
	
	
		
			2.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | |
| 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
 | |
| 	<modelVersion>4.0.0</modelVersion>
 | |
| 	<parent>
 | |
| 		<groupId>org.springframework.boot</groupId>
 | |
| 		<artifactId>spring-boot-starter-parent</artifactId>
 | |
| 		<version>2.3.1.RELEASE</version>
 | |
| 		<relativePath/> <!-- lookup parent from repository -->
 | |
| 	</parent>
 | |
| 	<groupId>com.release11.klaus</groupId>
 | |
| 	<artifactId>Klaus</artifactId>
 | |
| 	<version>0.0.1-SNAPSHOT</version>
 | |
| 	<name>Klaus</name>
 | |
| 	<description>Mockup service for integration tests</description>
 | |
| 
 | |
| 	<properties>
 | |
| 		<java.version>14</java.version>
 | |
| 	</properties>
 | |
| 
 | |
| 	<dependencies>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-data-redis</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-thymeleaf</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-web</artifactId>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-devtools</artifactId>
 | |
| 			<scope>runtime</scope>
 | |
| 			<optional>true</optional>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-configuration-processor</artifactId>
 | |
| 			<optional>true</optional>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.projectlombok</groupId>
 | |
| 			<artifactId>lombok</artifactId>
 | |
| 			<optional>true</optional>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.springframework.boot</groupId>
 | |
| 			<artifactId>spring-boot-starter-test</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 			<exclusions>
 | |
| 				<exclusion>
 | |
| 					<groupId>org.junit.vintage</groupId>
 | |
| 					<artifactId>junit-vintage-engine</artifactId>
 | |
| 				</exclusion>
 | |
| 			</exclusions>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>io.projectreactor</groupId>
 | |
| 			<artifactId>reactor-test</artifactId>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>redis.clients</groupId>
 | |
| 			<artifactId>jedis</artifactId>
 | |
| 			<version>3.3.0</version>
 | |
| 		</dependency>
 | |
| 		<dependency>
 | |
| 			<groupId>org.assertj</groupId>
 | |
| 			<artifactId>assertj-core</artifactId>
 | |
| 			<version>3.16.1</version>
 | |
| 			<scope>test</scope>
 | |
| 		</dependency>
 | |
| 	</dependencies>
 | |
| 
 | |
| 	<build>
 | |
| 		<plugins>
 | |
| 			<plugin>
 | |
| 				<groupId>org.springframework.boot</groupId>
 | |
| 				<artifactId>spring-boot-maven-plugin</artifactId>
 | |
| 			</plugin>
 | |
| 		</plugins>
 | |
| 	</build>
 | |
| 
 | |
| </project>
 |