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
1fbf5f5b
Commit
1fbf5f5b
authored
Nov 28, 2017
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Complete the removal of Spring Social starters and auto-configuration
Closes gh-11117
parent
64d02f8b
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
261 deletions
+0
-261
SpringSocialFacebookCompilerAutoConfiguration.java
...figure/SpringSocialFacebookCompilerAutoConfiguration.java
+0
-55
SpringSocialLinkedInCompilerAutoConfiguration.java
...figure/SpringSocialLinkedInCompilerAutoConfiguration.java
+0
-55
SpringSocialTwitterCompilerAutoConfiguration.java
...nfigure/SpringSocialTwitterCompilerAutoConfiguration.java
+0
-54
org.springframework.boot.cli.compiler.CompilerAutoConfiguration
...ringframework.boot.cli.compiler.CompilerAutoConfiguration
+0
-3
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+0
-59
pom.xml
spring-boot-project/spring-boot-docs/pom.xml
+0
-20
appendix-application-properties.adoc
...cs/src/main/asciidoc/appendix-application-properties.adoc
+0
-15
No files found.
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSocialFacebookCompilerAutoConfiguration.java
deleted
100644 → 0
View file @
64d02f8b
/*
* Copyright 2012-2017 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.CompilationFailedException
;
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 Spring Social Facebook.
*
* @author Craig Walls
* @since 1.1.0
*/
public
class
SpringSocialFacebookCompilerAutoConfiguration
extends
CompilerAutoConfiguration
{
@Override
public
boolean
matches
(
ClassNode
classNode
)
{
return
AstUtils
.
hasAtLeastOneFieldOrMethod
(
classNode
,
"Facebook"
);
}
@Override
public
void
applyDependencies
(
DependencyCustomizer
dependencies
)
throws
CompilationFailedException
{
dependencies
.
ifAnyMissingClasses
(
"org.springframework.social.facebook.api.Facebook"
)
.
add
(
"spring-boot-starter-social-facebook"
);
}
@Override
public
void
applyImports
(
ImportCustomizer
imports
)
throws
CompilationFailedException
{
imports
.
addStarImports
(
"org.springframework.social.facebook.api"
);
imports
.
addStarImports
(
"org.springframework.social.config.annotation"
);
}
}
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSocialLinkedInCompilerAutoConfiguration.java
deleted
100644 → 0
View file @
64d02f8b
/*
* Copyright 2012-2017 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.CompilationFailedException
;
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 Spring Social LinkedIn.
*
* @author Craig Walls
* @since 1.1.0
*/
public
class
SpringSocialLinkedInCompilerAutoConfiguration
extends
CompilerAutoConfiguration
{
@Override
public
boolean
matches
(
ClassNode
classNode
)
{
return
AstUtils
.
hasAtLeastOneFieldOrMethod
(
classNode
,
"LinkedIn"
);
}
@Override
public
void
applyDependencies
(
DependencyCustomizer
dependencies
)
throws
CompilationFailedException
{
dependencies
.
ifAnyMissingClasses
(
"org.springframework.social.linkedin.api.LinkedIn"
)
.
add
(
"spring-boot-starter-social-linkedin"
);
}
@Override
public
void
applyImports
(
ImportCustomizer
imports
)
throws
CompilationFailedException
{
imports
.
addStarImports
(
"org.springframework.social.linkedin.api"
);
imports
.
addImports
(
"org.springframework.social.config.annotation.EnableSocial"
);
}
}
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/autoconfigure/SpringSocialTwitterCompilerAutoConfiguration.java
deleted
100644 → 0
View file @
64d02f8b
/*
* Copyright 2012-2017 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.CompilationFailedException
;
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 Spring Social Twitter.
*
* @author Craig Walls
* @since 1.1.0
*/
public
class
SpringSocialTwitterCompilerAutoConfiguration
extends
CompilerAutoConfiguration
{
@Override
public
boolean
matches
(
ClassNode
classNode
)
{
return
AstUtils
.
hasAtLeastOneFieldOrMethod
(
classNode
,
"Twitter"
);
}
@Override
public
void
applyDependencies
(
DependencyCustomizer
dependencies
)
throws
CompilationFailedException
{
dependencies
.
ifAnyMissingClasses
(
"org.springframework.social.twitter.api.Twitter"
)
.
add
(
"spring-boot-starter-social-twitter"
);
}
@Override
public
void
applyImports
(
ImportCustomizer
imports
)
throws
CompilationFailedException
{
imports
.
addStarImports
(
"org.springframework.social.twitter.api"
);
imports
.
addImports
(
"org.springframework.social.config.annotation.EnableSocial"
);
}
}
spring-boot-project/spring-boot-cli/src/main/resources/META-INF/services/org.springframework.boot.cli.compiler.CompilerAutoConfiguration
View file @
1fbf5f5b
...
@@ -10,8 +10,5 @@ org.springframework.boot.cli.compiler.autoconfigure.TransactionManagementCompile
...
@@ -10,8 +10,5 @@ org.springframework.boot.cli.compiler.autoconfigure.TransactionManagementCompile
org.springframework.boot.cli.compiler.autoconfigure.SpringIntegrationCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringIntegrationCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringSecurityCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringSecurityCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringRetryCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringRetryCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringSocialFacebookCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringSocialLinkedInCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringSocialTwitterCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringTestCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringTestCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringWebsocketCompilerAutoConfiguration
org.springframework.boot.cli.compiler.autoconfigure.SpringWebsocketCompilerAutoConfiguration
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
1fbf5f5b
...
@@ -156,10 +156,6 @@
...
@@ -156,10 +156,6 @@
<spring-security.version>
5.0.0.RELEASE
</spring-security.version>
<spring-security.version>
5.0.0.RELEASE
</spring-security.version>
<spring-session.version>
2.0.0.RC2
</spring-session.version>
<spring-session.version>
2.0.0.RC2
</spring-session.version>
<spring-session-data-mongodb.version>
2.0.0.RC2
</spring-session-data-mongodb.version>
<spring-session-data-mongodb.version>
2.0.0.RC2
</spring-session-data-mongodb.version>
<spring-social.version>
2.0.0.M4
</spring-social.version>
<spring-social-facebook.version>
3.0.0.M3
</spring-social-facebook.version>
<spring-social-linkedin.version>
2.0.0.M3
</spring-social-linkedin.version>
<spring-social-twitter.version>
2.0.0.M4
</spring-social-twitter.version>
<spring-ws.version>
3.0.0.RELEASE
</spring-ws.version>
<spring-ws.version>
3.0.0.RELEASE
</spring-ws.version>
<sqlite-jdbc.version>
3.21.0
</sqlite-jdbc.version>
<sqlite-jdbc.version>
3.21.0
</sqlite-jdbc.version>
<statsd-client.version>
3.1.0
</statsd-client.version>
<statsd-client.version>
3.1.0
</statsd-client.version>
...
@@ -478,21 +474,6 @@
...
@@ -478,21 +474,6 @@
<artifactId>
spring-boot-starter-security
</artifactId>
<artifactId>
spring-boot-starter-security
</artifactId>
<version>
${revision}
</version>
<version>
${revision}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-social-facebook
</artifactId>
<version>
${revision}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-social-linkedin
</artifactId>
<version>
${revision}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-social-twitter
</artifactId>
<version>
${revision}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
...
@@ -2702,46 +2683,6 @@
...
@@ -2702,46 +2683,6 @@
<artifactId>
spring-session-jdbc
</artifactId>
<artifactId>
spring-session-jdbc
</artifactId>
<version>
${spring-session.version}
</version>
<version>
${spring-session.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-config
</artifactId>
<version>
${spring-social.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-core
</artifactId>
<version>
${spring-social.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-security
</artifactId>
<version>
${spring-social.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-web
</artifactId>
<version>
${spring-social.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-facebook
</artifactId>
<version>
${spring-social-facebook.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-facebook-web
</artifactId>
<version>
${spring-social-facebook.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-linkedin
</artifactId>
<version>
${spring-social-linkedin.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-twitter
</artifactId>
<version>
${spring-social-twitter.version}
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.ws
</groupId>
<groupId>
org.springframework.ws
</groupId>
<artifactId>
spring-ws-core
</artifactId>
<artifactId>
spring-ws-core
</artifactId>
...
...
spring-boot-project/spring-boot-docs/pom.xml
View file @
1fbf5f5b
...
@@ -737,21 +737,6 @@
...
@@ -737,21 +737,6 @@
<artifactId>
spring-session-data-redis
</artifactId>
<artifactId>
spring-session-data-redis
</artifactId>
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-facebook
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-linkedin
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-twitter
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.data
</groupId>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-cassandra
</artifactId>
<artifactId>
spring-data-cassandra
</artifactId>
...
@@ -827,11 +812,6 @@
...
@@ -827,11 +812,6 @@
<artifactId>
spring-security-web
</artifactId>
<artifactId>
spring-security-web
</artifactId>
<optional>
true
</optional>
<optional>
true
</optional>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.social
</groupId>
<artifactId>
spring-social-config
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.ws
</groupId>
<groupId>
org.springframework.ws
</groupId>
<artifactId>
spring-ws-core
</artifactId>
<artifactId>
spring-ws-core
</artifactId>
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
View file @
1fbf5f5b
...
@@ -446,21 +446,6 @@ content into your application. Rather, pick only the properties that you need.
...
@@ -446,21 +446,6 @@ content into your application. Rather, pick only the properties that you need.
spring.session.redis.flush-mode=on-save # Sessions flush mode.
spring.session.redis.flush-mode=on-save # Sessions flush mode.
spring.session.redis.namespace=spring:session # Namespace for keys used to store sessions.
spring.session.redis.namespace=spring:session # Namespace for keys used to store sessions.
# SPRING SOCIAL ({sc-spring-boot-autoconfigure}/social/SocialWebAutoConfiguration.{sc-ext}[SocialWebAutoConfiguration])
spring.social.auto-connection-views=false # Whether to enable the connection status view for supported providers.
# SPRING SOCIAL FACEBOOK ({sc-spring-boot-autoconfigure}/social/FacebookAutoConfiguration.{sc-ext}[FacebookAutoConfiguration])
spring.social.facebook.app-id= # Your application's Facebook App ID.
spring.social.facebook.app-secret= # Your application's Facebook App Secret.
# SPRING SOCIAL LINKEDIN ({sc-spring-boot-autoconfigure}/social/LinkedInAutoConfiguration.{sc-ext}[LinkedInAutoConfiguration])
spring.social.linkedin.app-id= # Your application's LinkedIn App ID.
spring.social.linkedin.app-secret= # Your application's LinkedIn App Secret.
# SPRING SOCIAL TWITTER ({sc-spring-boot-autoconfigure}/social/TwitterAutoConfiguration.{sc-ext}[TwitterAutoConfiguration])
spring.social.twitter.app-id= # Your application's Twitter App ID.
spring.social.twitter.app-secret= # Your application's Twitter App Secret.
# THYMELEAF ({sc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{sc-ext}[ThymeleafAutoConfiguration])
# THYMELEAF ({sc-spring-boot-autoconfigure}/thymeleaf/ThymeleafAutoConfiguration.{sc-ext}[ThymeleafAutoConfiguration])
spring.thymeleaf.cache=true # Whether to enable template caching.
spring.thymeleaf.cache=true # Whether to enable template caching.
spring.thymeleaf.check-template=true # Whether to check that the template exists before rendering it.
spring.thymeleaf.check-template=true # Whether to check that the template exists before rendering it.
...
...
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