Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4486d2d2
Commit
4486d2d2
authored
Nov 03, 2016
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Reactor 3.0 and start building against SI 5.0 snapshots
Closes gh-7301 See gh-7029
parent
f7618cb4
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
50 additions
and
355 deletions
+50
-355
pom.xml
spring-boot-autoconfigure/pom.xml
+5
-5
ReactorAutoConfiguration.java
.../boot/autoconfigure/reactor/ReactorAutoConfiguration.java
+0
-54
package-info.java
...ingframework/boot/autoconfigure/reactor/package-info.java
+0
-20
spring.factories
...utoconfigure/src/main/resources/META-INF/spring.factories
+0
-1
ReactorAutoConfigurationTests.java
.../autoconfigure/reactor/ReactorAutoConfigurationTests.java
+0
-73
reactor.groovy
spring-boot-cli/samples/reactor.groovy
+0
-48
ReactorCompilerAutoConfiguration.java
...piler/autoconfigure/ReactorCompilerAutoConfiguration.java
+0
-60
org.springframework.boot.cli.compiler.CompilerAutoConfiguration
...ringframework.boot.cli.compiler.CompilerAutoConfiguration
+0
-1
SampleIntegrationTests.java
.../org/springframework/boot/cli/SampleIntegrationTests.java
+0
-11
TestCommandIntegrationTests.java
...springframework/boot/cli/TestCommandIntegrationTests.java
+1
-1
integration_auto_test.groovy
spring-boot-cli/test-samples/integration_auto_test.groovy
+6
-4
jms.groovy
spring-boot-cli/test-samples/jms.groovy
+31
-0
reactor.groovy
spring-boot-cli/test-samples/reactor.groovy
+0
-4
pom.xml
spring-boot-dependencies/pom.xml
+2
-59
pom.xml
spring-boot-docs/pom.xml
+0
-5
SampleIntegrationApplication.java
...java/sample/integration/SampleIntegrationApplication.java
+2
-2
SampleParentContextApplication.java
...in/java/sample/parent/SampleParentContextApplication.java
+2
-2
SampleIntegrationParentApplicationTests.java
...ent/consumer/SampleIntegrationParentApplicationTests.java
+1
-1
pom.xml
spring-boot-starters/spring-boot-starter-integration/pom.xml
+0
-4
No files found.
spring-boot-autoconfigure/pom.xml
View file @
4486d2d2
...
@@ -105,11 +105,6 @@
...
@@ -105,11 +105,6 @@
<artifactId>
cache-api
</artifactId>
<artifactId>
cache-api
</artifactId>
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-context
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<dependency>
<groupId>
io.searchbox
</groupId>
<groupId>
io.searchbox
</groupId>
<artifactId>
jest
</artifactId>
<artifactId>
jest
</artifactId>
...
@@ -645,6 +640,11 @@
...
@@ -645,6 +640,11 @@
<artifactId>
transactions-jms
</artifactId>
<artifactId>
transactions-jms
</artifactId>
<scope>
test
</scope>
<scope>
test
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
com.jayway.jsonpath
</groupId>
<artifactId>
json-path
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<dependency>
<groupId>
mysql
</groupId>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<artifactId>
mysql-connector-java
</artifactId>
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfiguration.java
deleted
100644 → 0
View file @
f7618cb4
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed 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
org
.
springframework
.
boot
.
autoconfigure
.
reactor
;
import
reactor.Environment
;
import
reactor.bus.EventBus
;
import
reactor.spring.context.config.EnableReactor
;
import
org.springframework.boot.autoconfigure.AutoConfigureAfter
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
;
import
org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
/**
* {@link EnableAutoConfiguration Auto-configuration} for Reactor.
*
* @author Dave Syer
*/
@Configuration
@ConditionalOnClass
({
EnableReactor
.
class
,
Environment
.
class
})
@AutoConfigureAfter
(
WebMvcAutoConfiguration
.
class
)
public
class
ReactorAutoConfiguration
{
@Bean
@ConditionalOnMissingBean
(
EventBus
.
class
)
public
EventBus
eventBus
(
Environment
environment
)
{
return
EventBus
.
create
(
environment
);
}
@Configuration
@ConditionalOnMissingBean
(
Environment
.
class
)
@EnableReactor
protected
static
class
ReactorConfiguration
{
}
}
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/reactor/package-info.java
deleted
100644 → 0
View file @
f7618cb4
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed 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.
*/
/**
* Auto-configuration for Project Reactor.
*/
package
org
.
springframework
.
boot
.
autoconfigure
.
reactor
;
spring-boot-autoconfigure/src/main/resources/META-INF/spring.factories
View file @
4486d2d2
...
@@ -72,7 +72,6 @@ org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfigura
...
@@ -72,7 +72,6 @@ org.springframework.boot.autoconfigure.mongo.embedded.EmbeddedMongoAutoConfigura
org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration,\
org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration,\
org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration,\
org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration,\
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration,\
org.springframework.boot.autoconfigure.reactor.ReactorAutoConfiguration,\
org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration,\
org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration,\
org.springframework.boot.autoconfigure.security.SecurityFilterAutoConfiguration,\
org.springframework.boot.autoconfigure.security.SecurityFilterAutoConfiguration,\
org.springframework.boot.autoconfigure.security.FallbackWebSecurityAutoConfiguration,\
org.springframework.boot.autoconfigure.security.FallbackWebSecurityAutoConfiguration,\
...
...
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/reactor/ReactorAutoConfigurationTests.java
deleted
100644 → 0
View file @
f7618cb4
/*
* Copyright 2012-2016 the original author or authors.
*
* Licensed 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
org
.
springframework
.
boot
.
autoconfigure
.
reactor
;
import
org.junit.Test
;
import
reactor.bus.EventBus
;
import
reactor.core.Dispatcher
;
import
reactor.core.dispatch.MpscDispatcher
;
import
reactor.core.dispatch.RingBufferDispatcher
;
import
org.springframework.context.annotation.AnnotationConfigApplicationContext
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
static
org
.
assertj
.
core
.
api
.
Assertions
.
assertThat
;
/**
* Tests for {@link ReactorAutoConfiguration}.
*
* @author Dave Syer
* @author Andy Wilkinson
*/
public
class
ReactorAutoConfigurationTests
{
private
final
AnnotationConfigApplicationContext
context
=
new
AnnotationConfigApplicationContext
();
@Test
public
void
eventBusIsAvailable
()
{
this
.
context
.
register
(
ReactorAutoConfiguration
.
class
);
this
.
context
.
refresh
();
EventBus
eventBus
=
this
.
context
.
getBean
(
EventBus
.
class
);
assertThat
(
eventBus
.
getDispatcher
()).
isInstanceOf
(
RingBufferDispatcher
.
class
);
this
.
context
.
close
();
}
@Test
public
void
customEventBus
()
{
this
.
context
.
register
(
TestConfiguration
.
class
,
ReactorAutoConfiguration
.
class
);
this
.
context
.
refresh
();
EventBus
eventBus
=
this
.
context
.
getBean
(
EventBus
.
class
);
assertThat
(
eventBus
.
getDispatcher
()).
isInstanceOf
(
MpscDispatcher
.
class
);
this
.
context
.
close
();
}
@Configuration
protected
static
class
TestConfiguration
{
@Bean
(
destroyMethod
=
"shutdown"
)
public
Dispatcher
dispatcher
()
{
return
new
MpscDispatcher
(
"test"
);
}
@Bean
public
EventBus
customEventBus
()
{
return
EventBus
.
create
(
dispatcher
());
}
}
}
spring-boot-cli/samples/reactor.groovy
deleted
100644 → 0
View file @
f7618cb4
package
org.test
import
java.util.concurrent.CountDownLatch
@EnableReactor
@Log
class
Runner
implements
CommandLineRunner
{
@Autowired
EventBus
eventBus
private
CountDownLatch
latch
=
new
CountDownLatch
(
1
)
@PostConstruct
void
init
()
{
log
.
info
"Registering consumer"
}
void
run
(
String
...
args
)
{
eventBus
.
notify
(
"hello"
,
Event
.
wrap
(
"Phil"
))
log
.
info
"Notified Phil"
latch
.
await
()
}
@Bean
CountDownLatch
latch
()
{
latch
}
}
@Consumer
@Log
class
Greeter
{
@Autowired
EventBus
eventBus
@Autowired
private
CountDownLatch
latch
@Selector
(
value
=
"hello"
)
void
receive
(
String
data
)
{
log
.
info
"Hello ${data}"
latch
.
countDown
()
}
}
\ No newline at end of file
spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/ReactorCompilerAutoConfiguration.java
deleted
100644 → 0
View file @
f7618cb4
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed 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
org
.
springframework
.
boot
.
cli
.
compiler
.
autoconfigure
;
import
org.codehaus.groovy.ast.ClassNode
;
import
org.codehaus.groovy.control.customizers.ImportCustomizer
;
import
org.springframework.boot.cli.compiler.AstUtils
;
import
org.springframework.boot.cli.compiler.CompilerAutoConfiguration
;
import
org.springframework.boot.cli.compiler.DependencyCustomizer
;
/**
* {@link CompilerAutoConfiguration} for the Reactor.
*
* @author Dave Syer
*/
public
class
ReactorCompilerAutoConfiguration
extends
CompilerAutoConfiguration
{
@Override
public
boolean
matches
(
ClassNode
classNode
)
{
return
AstUtils
.
hasAtLeastOneAnnotation
(
classNode
,
"EnableReactor"
)
||
AstUtils
.
hasAtLeastOneFieldOrMethod
(
classNode
,
"EventBus"
);
}
@Override
public
void
applyDependencies
(
DependencyCustomizer
dependencies
)
{
dependencies
.
ifAnyMissingClasses
(
"reactor.bus.EventBus"
)
.
add
(
"reactor-spring-context"
,
false
).
add
(
"reactor-spring-core"
,
false
)
.
add
(
"reactor-bus"
).
add
(
"reactor-stream"
);
}
@Override
public
void
applyImports
(
ImportCustomizer
imports
)
{
imports
.
addImports
(
"reactor.bus.Bus"
,
"reactor.bus.Event"
,
"reactor.bus.EventBus"
,
"reactor.fn.Function"
,
"reactor.fn.Functions"
,
"reactor.fn.Predicate"
,
"reactor.fn.Predicates"
,
"reactor.fn.Supplier"
,
"reactor.fn.Suppliers"
,
"reactor.spring.context.annotation.Consumer"
,
"reactor.spring.context.annotation.ReplyTo"
,
"reactor.spring.context.annotation.Selector"
,
"reactor.spring.context.annotation.SelectorType"
,
"reactor.spring.context.config.EnableReactor"
)
.
addStarImports
(
"reactor.bus.selector.Selectors"
)
.
addImport
(
"ReactorEnvironment"
,
"reactor.Environment"
);
}
}
spring-boot-cli/src/main/resources/META-INF/services/org.springframework.boot.cli.compiler.CompilerAutoConfiguration
View file @
4486d2d2
...
@@ -3,7 +3,6 @@ org.springframework.boot.cli.compiler.autoconfigure.GroovyTemplatesCompilerAutoC
...
@@ -3,7 +3,6 @@ org.springframework.boot.cli.compiler.autoconfigure.GroovyTemplatesCompilerAutoC
org.springframework.boot.cli.compiler.autoconfigure.SpringMvcCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringMvcCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringBatchCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringBatchCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.RabbitCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.RabbitCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.ReactorCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.CachingCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.CachingCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.JdbcCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.JdbcCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.JmsCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.JmsCompilerAutoConfiguration
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java
View file @
4486d2d2
...
@@ -78,17 +78,6 @@ public class SampleIntegrationTests {
...
@@ -78,17 +78,6 @@ public class SampleIntegrationTests {
assertThat
(
output
).
contains
(
"security.oauth2.client.secret ="
);
assertThat
(
output
).
contains
(
"security.oauth2.client.secret ="
);
}
}
@Test
public
void
reactorSample
()
throws
Exception
{
String
output
=
this
.
cli
.
run
(
"reactor.groovy"
,
"Phil"
);
int
count
=
0
;
while
(!
output
.
contains
(
"Hello Phil"
)
&&
count
++
<
5
)
{
Thread
.
sleep
(
200
);
output
=
this
.
cli
.
getOutput
();
}
assertThat
(
output
).
contains
(
"Hello Phil"
);
}
@Test
@Test
public
void
jobWebSample
()
throws
Exception
{
public
void
jobWebSample
()
throws
Exception
{
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"web.groovy"
,
"foo=bar"
);
String
output
=
this
.
cli
.
run
(
"job.groovy"
,
"web.groovy"
,
"foo=bar"
);
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/TestCommandIntegrationTests.java
View file @
4486d2d2
...
@@ -96,7 +96,7 @@ public class TestCommandIntegrationTests {
...
@@ -96,7 +96,7 @@ public class TestCommandIntegrationTests {
@Test
@Test
public
void
integrationAutoConfigTest
()
throws
Exception
{
public
void
integrationAutoConfigTest
()
throws
Exception
{
String
output
=
this
.
cli
.
test
(
"integration_auto_test.groovy"
,
"
reactor
.groovy"
);
String
output
=
this
.
cli
.
test
(
"integration_auto_test.groovy"
,
"
jms
.groovy"
);
assertThat
(
output
).
contains
(
"OK (1 test)"
);
assertThat
(
output
).
contains
(
"OK (1 test)"
);
}
}
...
...
spring-boot-cli/test-samples/integration_auto_test.groovy
View file @
4486d2d2
@SpringBootTest
(
classes
=
ReactorApplication
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
)
import
org.springframework.jms.core.JmsTemplate
class
RestTests
{
@SpringBootTest
(
classes
=
JmsExample
)
class
JmsTests
{
@Autowired
@Autowired
EventBus
eventBus
JmsTemplate
jmsTemplate
@Test
@Test
void
test
()
{
void
test
()
{
assertNotNull
(
eventBus
)
assertNotNull
(
jmsTemplate
)
}
}
}
}
spring-boot-cli/test-samples/jms.groovy
0 → 100644
View file @
4486d2d2
@Grab
(
"spring-boot-starter-artemis"
)
@Grab
(
"artemis-jms-server"
)
import
java.util.concurrent.CountDownLatch
@Log
@Configuration
@EnableJms
class
JmsExample
implements
CommandLineRunner
{
private
CountDownLatch
latch
=
new
CountDownLatch
(
1
)
@Autowired
JmsTemplate
jmsTemplate
void
run
(
String
...
args
)
{
def
messageCreator
=
{
session
->
session
.
createObjectMessage
(
"Greetings from Spring Boot via Artemis"
)
}
as
MessageCreator
log
.
info
"Sending JMS message..."
jmsTemplate
.
send
(
"spring-boot"
,
messageCreator
)
log
.
info
"Send JMS message, waiting..."
latch
.
await
()
}
@JmsListener
(
destination
=
'spring-boot'
)
def
receive
(
String
message
)
{
log
.
info
"Received ${message}"
latch
.
countDown
()
}
}
spring-boot-cli/test-samples/reactor.groovy
deleted
100644 → 0
View file @
f7618cb4
@Configuration
@EnableReactor
class
ReactorApplication
{
}
spring-boot-dependencies/pom.xml
View file @
4486d2d2
...
@@ -134,8 +134,7 @@
...
@@ -134,8 +134,7 @@
<neo4j-ogm.version>
2.0.5
</neo4j-ogm.version>
<neo4j-ogm.version>
2.0.5
</neo4j-ogm.version>
<postgresql.version>
9.4.1212.jre7
</postgresql.version>
<postgresql.version>
9.4.1212.jre7
</postgresql.version>
<querydsl.version>
4.1.4
</querydsl.version>
<querydsl.version>
4.1.4
</querydsl.version>
<reactor.version>
2.0.8.RELEASE
</reactor.version>
<reactor.version>
3.0.3.RELEASE
</reactor.version>
<reactor-spring.version>
2.0.7.RELEASE
</reactor-spring.version>
<selenium.version>
2.53.1
</selenium.version>
<selenium.version>
2.53.1
</selenium.version>
<sendgrid.version>
2.2.2
</sendgrid.version>
<sendgrid.version>
2.2.2
</sendgrid.version>
<servlet-api.version>
3.1.0
</servlet-api.version>
<servlet-api.version>
3.1.0
</servlet-api.version>
...
@@ -150,8 +149,7 @@
...
@@ -150,8 +149,7 @@
<spring-batch.version>
3.0.7.RELEASE
</spring-batch.version>
<spring-batch.version>
3.0.7.RELEASE
</spring-batch.version>
<spring-data-releasetrain.version>
Ingalls-M1
</spring-data-releasetrain.version>
<spring-data-releasetrain.version>
Ingalls-M1
</spring-data-releasetrain.version>
<spring-hateoas.version>
0.21.0.RELEASE
</spring-hateoas.version>
<spring-hateoas.version>
0.21.0.RELEASE
</spring-hateoas.version>
<spring-integration.version>
4.3.5.BUILD-SNAPSHOT
</spring-integration.version>
<spring-integration.version>
5.0.0.BUILD-SNAPSHOT
</spring-integration.version>
<spring-integration-java-dsl.version>
1.2.0.RELEASE
</spring-integration-java-dsl.version>
<spring-loaded.version>
1.2.6.RELEASE
</spring-loaded.version>
<spring-loaded.version>
1.2.6.RELEASE
</spring-loaded.version>
<spring-mobile.version>
1.1.5.RELEASE
</spring-mobile.version>
<spring-mobile.version>
1.1.5.RELEASE
</spring-mobile.version>
<spring-plugin.version>
1.2.0.RELEASE
</spring-plugin.version>
<spring-plugin.version>
1.2.0.RELEASE
</spring-plugin.version>
...
@@ -862,61 +860,11 @@
...
@@ -862,61 +860,11 @@
<artifactId>
metrics-servlets
</artifactId>
<artifactId>
metrics-servlets
</artifactId>
<version>
${dropwizard-metrics.version}
</version>
<version>
${dropwizard-metrics.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-bus
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-core
</artifactId>
<artifactId>
reactor-core
</artifactId>
<version>
${reactor.version}
</version>
<version>
${reactor.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-groovy
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-groovy-extensions
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-logback
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-net
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-stream
</artifactId>
<version>
${reactor.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-context
</artifactId>
<version>
${reactor-spring.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-core
</artifactId>
<version>
${reactor-spring.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-messaging
</artifactId>
<version>
${reactor-spring.version}
</version>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-webmvc
</artifactId>
<version>
${reactor-spring.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
io.searchbox
</groupId>
<groupId>
io.searchbox
</groupId>
<artifactId>
jest
</artifactId>
<artifactId>
jest
</artifactId>
...
@@ -2088,11 +2036,6 @@
...
@@ -2088,11 +2036,6 @@
</exclusion>
</exclusion>
</exclusions>
</exclusions>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.integration
</groupId>
<artifactId>
spring-integration-java-dsl
</artifactId>
<version>
${spring-integration-java-dsl.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.mobile
</groupId>
<groupId>
org.springframework.mobile
</groupId>
<artifactId>
spring-mobile-device
</artifactId>
<artifactId>
spring-mobile-device
</artifactId>
...
...
spring-boot-docs/pom.xml
View file @
4486d2d2
...
@@ -162,11 +162,6 @@
...
@@ -162,11 +162,6 @@
<artifactId>
metrics-core
</artifactId>
<artifactId>
metrics-core
</artifactId>
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
<dependency>
<groupId>
io.projectreactor.spring
</groupId>
<artifactId>
reactor-spring-context
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<dependency>
<groupId>
io.undertow
</groupId>
<groupId>
io.undertow
</groupId>
<artifactId>
undertow-servlet
</artifactId>
<artifactId>
undertow-servlet
</artifactId>
...
...
spring-boot-samples/spring-boot-sample-integration/src/main/java/sample/integration/SampleIntegrationApplication.java
View file @
4486d2d2
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
package
sample
.
integration
;
package
sample
.
integration
;
import
java.io.File
;
import
java.io.File
;
import
java.util.function.Consumer
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
@@ -25,9 +26,8 @@ import org.springframework.context.annotation.Bean;
...
@@ -25,9 +26,8 @@ import org.springframework.context.annotation.Bean;
import
org.springframework.integration.channel.DirectChannel
;
import
org.springframework.integration.channel.DirectChannel
;
import
org.springframework.integration.dsl.IntegrationFlow
;
import
org.springframework.integration.dsl.IntegrationFlow
;
import
org.springframework.integration.dsl.IntegrationFlows
;
import
org.springframework.integration.dsl.IntegrationFlows
;
import
org.springframework.integration.dsl.Pollers
;
import
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
;
import
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
;
import
org.springframework.integration.dsl.core.Pollers
;
import
org.springframework.integration.dsl.support.Consumer
;
import
org.springframework.integration.file.FileReadingMessageSource
;
import
org.springframework.integration.file.FileReadingMessageSource
;
import
org.springframework.integration.file.FileWritingMessageHandler
;
import
org.springframework.integration.file.FileWritingMessageHandler
;
...
...
spring-boot-samples/spring-boot-sample-parent-context/src/main/java/sample/parent/SampleParentContextApplication.java
View file @
4486d2d2
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
package
sample
.
parent
;
package
sample
.
parent
;
import
java.io.File
;
import
java.io.File
;
import
java.util.function.Consumer
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
...
@@ -26,9 +27,8 @@ import org.springframework.context.annotation.Bean;
...
@@ -26,9 +27,8 @@ import org.springframework.context.annotation.Bean;
import
org.springframework.integration.channel.DirectChannel
;
import
org.springframework.integration.channel.DirectChannel
;
import
org.springframework.integration.dsl.IntegrationFlow
;
import
org.springframework.integration.dsl.IntegrationFlow
;
import
org.springframework.integration.dsl.IntegrationFlows
;
import
org.springframework.integration.dsl.IntegrationFlows
;
import
org.springframework.integration.dsl.Pollers
;
import
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
;
import
org.springframework.integration.dsl.SourcePollingChannelAdapterSpec
;
import
org.springframework.integration.dsl.core.Pollers
;
import
org.springframework.integration.dsl.support.Consumer
;
import
org.springframework.integration.file.FileReadingMessageSource
;
import
org.springframework.integration.file.FileReadingMessageSource
;
import
org.springframework.integration.file.FileWritingMessageHandler
;
import
org.springframework.integration.file.FileWritingMessageHandler
;
...
...
spring-boot-samples/spring-boot-sample-parent-context/src/test/java/sample/parent/consumer/SampleIntegrationParentApplicationTests.java
View file @
4486d2d2
...
@@ -88,7 +88,7 @@ public class SampleIntegrationParentApplicationTests {
...
@@ -88,7 +88,7 @@ public class SampleIntegrationParentApplicationTests {
private
Resource
[]
findResources
()
throws
IOException
{
private
Resource
[]
findResources
()
throws
IOException
{
return
ResourcePatternUtils
return
ResourcePatternUtils
.
getResourcePatternResolver
(
new
DefaultResourceLoader
())
.
getResourcePatternResolver
(
new
DefaultResourceLoader
())
.
getResources
(
"file:target/output/*
*/*.msg
"
);
.
getResources
(
"file:target/output/*
.txt
"
);
}
}
private
String
readResources
(
Resource
[]
resources
)
throws
IOException
{
private
String
readResources
(
Resource
[]
resources
)
throws
IOException
{
...
...
spring-boot-starters/spring-boot-starter-integration/pom.xml
View file @
4486d2d2
...
@@ -30,10 +30,6 @@
...
@@ -30,10 +30,6 @@
<groupId>
org.springframework.integration
</groupId>
<groupId>
org.springframework.integration
</groupId>
<artifactId>
spring-integration-core
</artifactId>
<artifactId>
spring-integration-core
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.integration
</groupId>
<artifactId>
spring-integration-java-dsl
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.integration
</groupId>
<groupId>
org.springframework.integration
</groupId>
<artifactId>
spring-integration-jmx
</artifactId>
<artifactId>
spring-integration-jmx
</artifactId>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment