Make it explicit that stream does not depend on a web server
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||
<wrapper.version>1.0.10.RELEASE</wrapper.version>
|
||||
<wrapper.version>1.0.11.BUILD-SNAPSHOT</wrapper.version>
|
||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
||||
</properties>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
boms.spring-cloud-dependencies: org.springframework.cloud:spring-cloud-dependencies:Finchley.M8
|
||||
exclusions.spring-cloud-function-web: org.springframework.cloud:spring-cloud-starter-function-web
|
||||
exclusions.rabbit-http-client: com.rabbitmq:http-client
|
||||
dependencies.spring-cloud-function-stream: org.springframework.cloud:spring-cloud-function-stream
|
||||
dependencies.spring-cloud-stream-rabbit: org.springframework.cloud:spring-cloud-starter-stream-rabbit
|
||||
@@ -1,4 +1,4 @@
|
||||
spring.cloud.stream.bindings.input.destination: foos
|
||||
spring.cloud.stream.bindings.output.destination: bars
|
||||
spring.cloud.function.stream.default-route: uppercase
|
||||
spring.cloud.function.stream.processor.name: uppercase
|
||||
management.security.enabled: false
|
||||
@@ -1,3 +1,4 @@
|
||||
boms.spring-cloud-dependencies: org.springframework.cloud:spring-cloud-dependencies:Edgware.RELEASE
|
||||
dependencies.spring-cloud-function-stream: org.springframework.cloud:spring-cloud-function-stream
|
||||
dependencies.spring-cloud-stream-rabbit: org.springframework.cloud:spring-cloud-starter-stream-rabbit
|
||||
exclusions.spring-cloud-function-web: org.springframework.cloud:spring-cloud-starter-function-web
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
spring.cloud.function.stream.default-route: uppercase
|
||||
spring.cloud.function.stream.processor.name: uppercase
|
||||
spring.cloud.function.scan.packages: com.example.functions
|
||||
@@ -26,6 +26,16 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-stream</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
|
||||
@@ -50,8 +50,7 @@ import reactor.core.publisher.Flux;
|
||||
*
|
||||
*/
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = { "debug=true",
|
||||
"spring.autoconfigure.exclude=org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration"})
|
||||
@SpringBootTest(webEnvironment = WebEnvironment.RANDOM_PORT, properties = "spring.autoconfigure.exclude=org.springframework.cloud.stream.test.binder.TestSupportBinderAutoConfiguration")
|
||||
@ContextConfiguration(classes = TestApplicationConfiguration.class)
|
||||
public class SingletonTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user