New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a sample that illustrates using multiple DataSources #415
Conversation
This PR adds a sample that illustrates the use of multiple DataSources in a single Spring Cloud Task application. Resolves spring-cloud#413
<parent> | ||
<groupId>org.springframework.boot</groupId> | ||
<artifactId>spring-boot-starter-parent</artifactId> | ||
<version>2.0.0.RELEASE</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use 2.0.1.RELEASE.
@@ -0,0 +1,31 @@ | |||
/* | |||
* Copyright 2017 the original author or authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2018... Can't believe it myself ;-)
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.cloud.task.configuration.EnableTask; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add author
|
||
== Requirements: | ||
|
||
* Java 7 or Above |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java 8 or above.
LGTM . Will fix comments above on merge. |
Polished, Merged, Squashed. |
This PR adds a sample that illustrates the use of multiple DataSources
in a single Spring Cloud Task application.
Resolves #413