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
81459eff
Commit
81459eff
authored
Jan 03, 2018
by
dreis2211
Committed by
Andy Wilkinson
Feb 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use HTTPS URLs where applicable
parent
00489c74
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
167 additions
and
161 deletions
+167
-161
.settings-template.xml
.settings-template.xml
+9
-9
CONTRIBUTING.adoc
CONTRIBUTING.adoc
+3
-3
README.adoc
README.adoc
+11
-11
SUPPORT.adoc
SUPPORT.adoc
+1
-1
pom.xml
pom.xml
+4
-4
README.adoc
spring-boot-project/spring-boot-actuator/README.adoc
+1
-1
springboot.rb
...t-project/spring-boot-cli/src/main/homebrew/springboot.rb
+1
-1
RepositoryConfigurationFactory.java
...ork/boot/cli/compiler/RepositoryConfigurationFactory.java
+2
-2
pom.xml
spring-boot-project/spring-boot-dependencies/pom.xml
+1
-1
ClassPathFileSystemWatcherTests.java
...t/devtools/classpath/ClassPathFileSystemWatcherTests.java
+1
-1
ChangeableUrlsTests.java
...gframework/boot/devtools/restart/ChangeableUrlsTests.java
+6
-0
pom.xml
spring-boot-project/spring-boot-docs/pom.xml
+5
-5
appendix-executable-jar-format.adoc
...ocs/src/main/asciidoc/appendix-executable-jar-format.adoc
+1
-1
build-tool-plugins.adoc
...pring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
+2
-2
deployment.adoc
...roject/spring-boot-docs/src/main/asciidoc/deployment.adoc
+10
-10
documentation-overview.adoc
...g-boot-docs/src/main/asciidoc/documentation-overview.adoc
+4
-4
getting-started.adoc
...t/spring-boot-docs/src/main/asciidoc/getting-started.adoc
+26
-26
howto.adoc
...oot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
+7
-7
index.adoc
...oot-project/spring-boot-docs/src/main/asciidoc/index.adoc
+23
-23
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+2
-2
spring-boot-features.adoc
...ing-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+28
-28
using-spring-boot.adoc
...spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
+6
-6
README.adoc
spring-boot-project/spring-boot-starters/README.adoc
+3
-3
ivysettings.xml
...ot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml
+3
-3
index.adoc
...ls/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc
+1
-1
ivysettings.xml
spring-boot-samples/spring-boot-sample-ant/ivysettings.xml
+3
-3
README.adoc
...ng-boot-samples/spring-boot-sample-data-neo4j/README.adoc
+1
-1
README.adoc
...g-boot-samples/spring-boot-sample-webservices/README.adoc
+2
-2
No files found.
.settings-template.xml
View file @
81459eff
...
...
@@ -7,7 +7,7 @@
<repositories>
<repository>
<id>
spring-ext
</id>
<url>
http://repo.spring.io/ext-release-local/
</url>
<url>
http
s
://repo.spring.io/ext-release-local/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
...
...
@@ -18,7 +18,7 @@
<repository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/milestone
</url>
<url>
http
s
://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -26,7 +26,7 @@
<repository>
<id>
spring-snapshots
</id>
<name>
Spring Snapshots
</name>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http
s
://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
...
...
@@ -54,7 +54,7 @@
<pluginRepository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/milestone
</url>
<url>
http
s
://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -62,7 +62,7 @@
<pluginRepository>
<id>
spring-snapshots
</id>
<name>
Spring Snapshots
</name>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http
s
://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
...
...
@@ -74,7 +74,7 @@
<repositories>
<repository>
<id>
spring-ext
</id>
<url>
http://repo.spring.io/ext-release-local/
</url>
<url>
http
s
://repo.spring.io/ext-release-local/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
...
...
@@ -95,7 +95,7 @@
<repository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/milestone
</url>
<url>
http
s
://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -113,7 +113,7 @@
<pluginRepository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http
s
://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -125,7 +125,7 @@
<repositories>
<repository>
<id>
spring-ext
</id>
<url>
http://repo.spring.io/ext-release-local/
</url>
<url>
http
s
://repo.spring.io/ext-release-local/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
...
...
CONTRIBUTING.adoc
View file @
81459eff
...
...
@@ -14,8 +14,8 @@ unacceptable behavior to spring-code-of-conduct@pivotal.io.
== Using GitHub issues
We use GitHub issues to track bugs and enhancements. If you have a general usage question
please ask on http://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
broader community monitor the http://stackoverflow.com/tags/spring-boot[`spring-boot`]
please ask on http
s
://stackoverflow.com[Stack Overflow]. The Spring Boot team and the
broader community monitor the http
s
://stackoverflow.com/tags/spring-boot[`spring-boot`]
tag.
If you are reporting a bug, please help to speed up problem diagnosis by providing as much
...
...
@@ -73,7 +73,7 @@ should also work without issue.
=== Building from source
To build the source you will need to install
http://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
http
s
://maven.apache.org/run-maven/index.html[Apache Maven] v3.2.3 or above and JDK 1.8.
...
...
README.adoc
View file @
81459eff
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]
:docs: http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
:docs: http
s
://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
Spring Boot makes it easy to create Spring-powered, production-grade applications and
services with absolute minimum fuss. It takes an opinionated view of the Spring platform
...
...
@@ -62,12 +62,12 @@ Having trouble with Spring Boot? We'd like to help!
{docs}/htmlsingle/#howto[How-to's] -- they provide solutions to the most common
questions.
* Learn the Spring basics -- Spring Boot builds on many other Spring projects, check
the http://spring.io[spring.io] web-site for a wealth of reference documentation. If
you are just starting out with Spring, try one of the http://spring.io/guides[guides].
the http
s
://spring.io[spring.io] web-site for a wealth of reference documentation. If
you are just starting out with Spring, try one of the http
s
://spring.io/guides[guides].
* If you are upgrading, read the https://github.com/spring-projects/spring-boot/wiki[release notes]
for upgrade instructions and "new and noteworthy" features.
* Ask a question - we monitor http://stackoverflow.com[stackoverflow.com] for questions
tagged with http://stackoverflow.com/tags/spring-boot[`spring-boot`].
* Ask a question - we monitor http
s
://stackoverflow.com[stackoverflow.com] for questions
tagged with http
s
://stackoverflow.com/tags/spring-boot[`spring-boot`].
* Report bugs with Spring Boot at https://github.com/spring-projects/spring-boot/issues[github.com/spring-projects/spring-boot/issues].
...
...
@@ -93,7 +93,7 @@ requests. If you want to raise an issue, please follow the recommendations below
== Building from Source
You don't need to build from source to use Spring Boot (binaries in
http://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
http
s
://repo.spring.io[repo.spring.io]), but if you want to try out the latest and
greatest, Spring Boot can be easily built with the
https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.
...
...
@@ -103,7 +103,7 @@ https://github.com/takari/maven-wrapper[maven wrapper]. You also need JDK 1.8.
----
If you want to build with the regular `mvn` command, you will need
http://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
http
s
://maven.apache.org/run-maven/index.html[Maven v3.2.1 or above].
NOTE: You may need to increase the amount of memory available to Maven by setting
a `MAVEN_OPTS` environment variable with the value `-Xmx512m`. Remember
...
...
@@ -231,16 +231,16 @@ be built with maven and run by invoking `java -jar target/<sample>.jar`.
== Guides
The http://spring.io/[spring.io] site contains several guides that show how to use Spring
The http
s
://spring.io/[spring.io] site contains several guides that show how to use Spring
Boot step-by-step:
* http://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot] is a
* http
s
://spring.io/guides/gs/spring-boot/[Building an Application with Spring Boot] is a
very basic guide that shows you how to create a simple application, run it and add some
management services.
* http://spring.io/guides/gs/actuator-service/[Building a RESTful Web Service with Spring
* http
s
://spring.io/guides/gs/actuator-service/[Building a RESTful Web Service with Spring
Boot Actuator] is a guide to creating a REST web service and also shows how the server
can be configured.
* http://spring.io/guides/gs/convert-jar-to-war/[Converting a Spring Boot JAR Application
* http
s
://spring.io/guides/gs/convert-jar-to-war/[Converting a Spring Boot JAR Application
to a WAR] shows you how to run applications in a web server as a WAR file.
...
...
SUPPORT.adoc
View file @
81459eff
...
...
@@ -13,7 +13,7 @@ problem.
== Stack Overflow
The Spring Boot community monitors the
http://stackoverflow.com/tags/spring-boot[`spring-boot`] tag on Stack Overflow. Before
http
s
://stackoverflow.com/tags/spring-boot[`spring-boot`] tag on Stack Overflow. Before
asking a question, please familiar yourself with Stack Overflow's
https://stackoverflow.com/help/how-to-ask[advice on how to ask a good question].
...
...
pom.xml
View file @
81459eff
...
...
@@ -81,7 +81,7 @@
<repository>
<id>
spring-milestone
</id>
<name>
Spring Milestone
</name>
<url>
http://repo.spring.io/milestone
</url>
<url>
http
s
://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -89,7 +89,7 @@
<repository>
<id>
spring-snapshot
</id>
<name>
Spring Snapshot
</name>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http
s
://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
...
...
@@ -114,7 +114,7 @@
<pluginRepository>
<id>
spring-milestone
</id>
<name>
Spring Milestone
</name>
<url>
http://repo.spring.io/milestone
</url>
<url>
http
s
://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
...
...
@@ -122,7 +122,7 @@
<pluginRepository>
<id>
spring-snapshot
</id>
<name>
Spring Snapshot
</name>
<url>
http://repo.spring.io/snapshot
</url>
<url>
http
s
://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
...
...
spring-boot-project/spring-boot-actuator/README.adoc
View file @
81459eff
...
...
@@ -4,7 +4,7 @@ Spring Boot Actuator includes a number of additional features to help you monito
manage your application when it's pushed to production. You can choose to manage and
monitor your application using HTTP or JMX endpoints. Auditing, health and metrics
gathering can be automatically applied to your application. The
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
http
s
://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready[user guide]
covers the features in more detail.
== Enabling the Actuator
...
...
spring-boot-project/spring-boot-cli/src/main/homebrew/springboot.rb
View file @
81459eff
require
'formula'
class
Springboot
<
Formula
homepage
'http://projects.spring.io/spring-boot/'
homepage
'http
s
://projects.spring.io/spring-boot/'
url
'https://repo.spring.io/${repo}/org/springframework/boot/spring-boot-cli/${project.version}/spring-boot-cli-${project.version}-bin.tar.gz'
version
'${project.version}'
sha256
'${checksum}'
...
...
spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/RepositoryConfigurationFactory.java
View file @
81459eff
...
...
@@ -45,10 +45,10 @@ public final class RepositoryConfigurationFactory {
"central"
,
URI
.
create
(
"https://repo.maven.apache.org/maven2/"
),
false
);
private
static
final
RepositoryConfiguration
SPRING_MILESTONE
=
new
RepositoryConfiguration
(
"spring-milestone"
,
URI
.
create
(
"http://repo.spring.io/milestone"
),
false
);
"spring-milestone"
,
URI
.
create
(
"http
s
://repo.spring.io/milestone"
),
false
);
private
static
final
RepositoryConfiguration
SPRING_SNAPSHOT
=
new
RepositoryConfiguration
(
"spring-snapshot"
,
URI
.
create
(
"http://repo.spring.io/snapshot"
),
true
);
"spring-snapshot"
,
URI
.
create
(
"http
s
://repo.spring.io/snapshot"
),
true
);
private
RepositoryConfigurationFactory
()
{
}
...
...
spring-boot-project/spring-boot-dependencies/pom.xml
View file @
81459eff
...
...
@@ -12,7 +12,7 @@
<packaging>
pom
</packaging>
<name>
Spring Boot Dependencies
</name>
<description>
Spring Boot Dependencies
</description>
<url>
http://projects.spring.io/spring-boot/
</url>
<url>
http
s
://projects.spring.io/spring-boot/
</url>
<licenses>
<license>
<name>
Apache License, Version 2.0
</name>
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/classpath/ClassPathFileSystemWatcherTests.java
View file @
81459eff
...
...
@@ -70,7 +70,7 @@ public class ClassPathFileSystemWatcherTests {
Map
<
String
,
Object
>
properties
=
new
HashMap
<>();
File
folder
=
this
.
temp
.
newFolder
();
List
<
URL
>
urls
=
new
ArrayList
<>();
urls
.
add
(
new
URL
(
"http://spring.io"
));
urls
.
add
(
new
URL
(
"http
s
://spring.io"
));
urls
.
add
(
folder
.
toURI
().
toURL
());
properties
.
put
(
"urls"
,
urls
);
MapPropertySource
propertySource
=
new
MapPropertySource
(
"test"
,
properties
);
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/ChangeableUrlsTests.java
View file @
81459eff
...
...
@@ -63,6 +63,12 @@ public class ChangeableUrlsTests {
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)).
isEmpty
();
}
@Test
public
void
httpsUrl
()
throws
Exception
{
URL
url
=
new
URL
(
"https://spring.io"
);
assertThat
(
ChangeableUrls
.
fromUrls
(
url
)).
isEmpty
();
}
@Test
public
void
skipsUrls
()
throws
Exception
{
ChangeableUrls
urls
=
ChangeableUrls
.
fromUrls
(
makeUrl
(
"spring-boot"
),
...
...
spring-boot-project/spring-boot-docs/pom.xml
View file @
81459eff
...
...
@@ -911,11 +911,11 @@
<quiet>
true
</quiet>
<stylesheetfile>
${basedir}/src/main/javadoc/spring-javadoc.css
</stylesheetfile>
<links>
<link>
http://docs.oracle.com/javase/8/docs/api/
</link>
<link>
http://docs.oracle.com/javaee/7/api/
</link>
<link>
http://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/
</link>
<link>
http://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/
</link>
<link>
http://tomcat.apache.org/tomcat-8.5-doc/api/
</link>
<link>
http
s
://docs.oracle.com/javase/8/docs/api/
</link>
<link>
http
s
://docs.oracle.com/javaee/7/api/
</link>
<link>
http
s
://docs.spring.io/spring-framework/docs/${spring.version}/javadoc-api/
</link>
<link>
http
s
://docs.spring.io/spring-security/site/docs/${spring-security.version}/api/
</link>
<link>
http
s
://tomcat.apache.org/tomcat-8.5-doc/api/
</link>
<link>
http://download.eclipse.org/jetty/stable-9/apidocs/
</link>
<link>
http://www.thymeleaf.org/apidocs/thymeleaf/${thymeleaf.version}/
</link>
</links>
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc
View file @
81459eff
...
...
@@ -328,7 +328,7 @@ consider a different logging implementation.
If the preceding restrictions mean that you cannot use Spring Boot Loader, consider the
following alternatives:
* http://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
* http
s
://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
* http://one-jar.sourceforge.net[OneJar]
spring-boot-project/spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
View file @
81459eff
...
...
@@ -86,11 +86,11 @@ If you use a milestone or snapshot release, you also need to add the appropriate
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>http
s
://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>http
s
://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
----
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
81459eff
...
...
@@ -46,10 +46,10 @@ deploy stand-alone executable jar applications as well as traditional `.war` pac
applications.
Once you have built your application (by using, for example, `mvn clean package`) and have
http
://docs.cloudfoundry.org/devguide/installcf
/install-go-cli.html[installed the `cf`
http
s://docs.cloudfoundry.org/cf-cli
/install-go-cli.html[installed the `cf`
command line tool], deploy your application by using the `cf push` command, substituting
the path to your compiled `.jar`. Be sure to have
http
://docs.cloudfoundry.org/devguide/installcf/whats-new-v6
.html#login[logged in with
http
s://docs.cloudfoundry.org/cf-cli/getting-started
.html#login[logged in with
your `cf` command line client] before pushing an application. The following line shows
using the `cf push` command to deploy an application:
...
...
@@ -61,9 +61,9 @@ using the `cf push` command to deploy an application:
NOTE: In the preceding example, we substitute `acloudyspringtime` for whatever value you
give `cf` as the name of your application.
See the http
://docs.cloudfoundry.org/devguide/installcf/whats-new-v6
.html#push[`cf push`
See the http
s://docs.cloudfoundry.org/cf-cli/getting-started
.html#push[`cf push`
documentation] for more options. If there is a Cloud Foundry
http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html[`manifest.yml`]
http
s
://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html[`manifest.yml`]
file present in the same directory, it is considered.
At this point, `cf` starts uploading your application, producing output similar to the
...
...
@@ -152,7 +152,7 @@ information (such as database credentials). See the
{dc-spring-boot}/cloud/CloudFoundryVcapEnvironmentPostProcessor.html['`CloudFoundryVcapEnvironmentPostProcessor`']
Javadoc for complete details.
TIP: The http://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connectors] project
TIP: The http
s
://cloud.spring.io/spring-cloud-connectors/[Spring Cloud Connectors] project
is a better fit for tasks such as configuring a DataSource. Spring Boot includes
auto-configuration support and a `spring-boot-starter-cloud-connectors` starter.
...
...
@@ -199,8 +199,8 @@ deployments is to `git push` the code to production, as shown in the following e
-----> Executing: mvn -B -DskipTests=true clean install
[INFO] Scanning for projects...
Downloading: http://repo.spring.io/...
Downloaded: http://repo.spring.io/... (818 B at 1.8 KB/sec)
Downloading: http
s
://repo.spring.io/...
Downloaded: http
s
://repo.spring.io/... (818 B at 1.8 KB/sec)
....
Downloaded: http://s3pository.heroku.com/jvm/... (152 KB at 595.3 KB/sec)
[INFO] Installing /tmp/build_0c35a5d2-a067-4abc-a232-14b1fb7a8229/target/...
...
...
@@ -261,7 +261,7 @@ simplest option: AWS Elastic Beanstalk.
==== AWS Elastic Beanstalk
As described in the official
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Java.html[Elastic
http
s
://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Java.html[Elastic
Beanstalk Java guide], there are two main options to deploy a Java application. You can
either use the "`Tomcat Platform`" or the "`Java SE platform`".
...
...
@@ -307,7 +307,7 @@ best to upload the binaries instead. To do so, add lines similar to the followin
By default an Elastic Beanstalk environment is load balanced. The load balancer has a
significant cost. To avoid that cost, set the environment type to "`Single instance`", as
described in
http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-create-wizard.html#environments-create-wizard-capacity[the
http
s
://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environments-create-wizard.html#environments-create-wizard-capacity[the
Amazon documentation]. You can also create single instance environments by using the CLI
and the following command:
...
...
@@ -847,7 +847,7 @@ application.
[[deployment-whats-next]]
== What to Read Next
Check out the http://www.cloudfoundry.com/[Cloud Foundry],
Check out the http
s
://www.cloudfoundry.com/[Cloud Foundry],
https://www.heroku.com/[Heroku], https://www.openshift.com[OpenShift], and
https://boxfuse.com[Boxfuse] web sites for more information about the kinds of features
that a PaaS can offer. These are just four of the most popular Java PaaS providers. Since
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/documentation-overview.adoc
View file @
81459eff
...
...
@@ -33,10 +33,10 @@ If you have trouble with Spring Boot, we would like to help.
* Try the <<howto.adoc#howto, How-to documents>>. They provide solutions to the most
common questions.
* Learn the Spring basics. Spring Boot builds on many other Spring projects. Check the
http://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
starting out with Spring, try one of the http://spring.io/guides[guides].
* Ask a question. We monitor http://stackoverflow.com[stackoverflow.com] for questions
tagged with http://stackoverflow.com/tags/spring-boot[`spring-boot`].
http
s
://spring.io[spring.io] web-site for a wealth of reference documentation. If you are
starting out with Spring, try one of the http
s
://spring.io/guides[guides].
* Ask a question. We monitor http
s
://stackoverflow.com[stackoverflow.com] for questions
tagged with http
s
://stackoverflow.com/tags/spring-boot[`spring-boot`].
* Report bugs with Spring Boot at https://github.com/spring-projects/spring-boot/issues.
NOTE: All of Spring Boot is open source, including the documentation. If you find
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc
View file @
81459eff
...
...
@@ -38,7 +38,7 @@ configuration).
[[getting-started-system-requirements]]
== System Requirements
Spring Boot {spring-boot-version} requires http://www.java.com[Java 8] and
Spring Boot {spring-boot-version} requires http
s
://www.java.com[Java 8] and
{spring-reference}[Spring Framework {spring-version}] or above. Explicit build support is
provided for Maven 3.2+ and Gradle 4.
...
...
@@ -68,7 +68,7 @@ You can also deploy Spring Boot applications to any Servlet 3.0+ compatible cont
[[getting-started-installing-spring-boot]]
== Installing Spring Boot
Spring Boot can be used with "`classic`" Java development tools or installed as a command
line tool. Either way, you need http://www.java.com[Java SDK v1.8] or higher. Before you
line tool. Either way, you need http
s
://www.java.com[Java SDK v1.8] or higher. Before you
begin, you should check your current Java installation by using the following command:
[indent=0]
...
...
@@ -98,7 +98,7 @@ tool that supports dependency management (such as Maven or Gradle).
[[getting-started-maven-installation]]
==== Maven Installation
Spring Boot is compatible with Apache Maven 3.2 or above. If you do not already have
Maven installed, you can follow the instructions at http://maven.apache.org.
Maven installed, you can follow the instructions at http
s
://maven.apache.org.
TIP: On many operating systems, Maven can be installed with a package manager. If you use
OSX Homebrew, try `brew install maven`. Ubuntu users can run
...
...
@@ -156,22 +156,22 @@ ifeval::["{spring-boot-repo}" != "release"]
<repositories>
<repository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>http
s
://repo.spring.io/snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>http
s
://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>http
s
://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>http
s
://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
endif::[]
...
...
@@ -189,7 +189,7 @@ scope.
[[getting-started-gradle-installation]]
==== Gradle Installation
Spring Boot is compatible with Gradle 4. If you do not already have Gradle installed, you
can follow the instructions at http
://www.
gradle.org/.
can follow the instructions at http
s://
gradle.org/.
Spring Boot dependencies can be declared by using the `org.springframework.boot` `group`.
Typically, your project declares dependencies to one or more
...
...
@@ -219,8 +219,8 @@ ifeval::["{spring-boot-repo}" != "release"]
buildscript {
repositories {
jcenter()
maven { url 'http://repo.spring.io/snapshot' }
maven { url 'http://repo.spring.io/milestone' }
maven { url 'http
s
://repo.spring.io/snapshot' }
maven { url 'http
s
://repo.spring.io/milestone' }
}
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:{spring-boot-version}'
...
...
@@ -240,8 +240,8 @@ endif::[]
repositories {
jcenter()
ifeval::["{spring-boot-repo}" != "release"]
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
maven { url "http
s
://repo.spring.io/snapshot" }
maven { url "http
s
://repo.spring.io/milestone" }
endif::[]
}
...
...
@@ -268,11 +268,11 @@ quickest way to get a Spring application off the ground.
==== Manual Installation
You can download the Spring CLI distribution from the Spring software repository:
* http://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip]
* http://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz]
* http
s
://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.zip[spring-boot-cli-{spring-boot-version}-bin.zip]
* http
s
://repo.spring.io/{spring-boot-repo}/org/springframework/boot/spring-boot-cli/{spring-boot-version}/spring-boot-cli-{spring-boot-version}-bin.tar.gz[spring-boot-cli-{spring-boot-version}-bin.tar.gz]
Cutting edge
http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot
http
s
://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/[snapshot
distributions] are also available.
Once downloaded, follow the
...
...
@@ -367,8 +367,8 @@ Spring Boot CLI by using the following command:
[[getting-started-cli-command-line-completion]]
==== Command-line Completion
The Spring Boot CLI includes scripts that provide command completion for the
http://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and
http
://en.wikipedia.org/wiki/Zsh
[zsh] shells. You can `source` the script (also named
http
s
://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and
http
s://en.wikipedia.org/wiki/Z_shell
[zsh] shells. You can `source` the script (also named
`spring`) in any shell or put it in your personal or system-wide bash completion
initialization. On a Debian system, the system-wide scripts are in
`/shell-completion/bash` and all scripts in that directory are executed when a new shell
...
...
@@ -448,8 +448,8 @@ most IDEs support it.
[TIP]
====
The http://spring.io[spring.io] web site contains many "`Getting Started`"
http://spring.io/guides[guides] that use Spring Boot. If you need to solve a specific
The http
s
://spring.io[spring.io] web site contains many "`Getting Started`"
http
s
://spring.io/guides[guides] that use Spring Boot. If you need to solve a specific
problem, check there first.
You can shortcut the steps below by going to https://start.spring.io and choosing the
...
...
@@ -512,22 +512,22 @@ ifeval::["{spring-boot-repo}" != "release"]
<repositories>
<repository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>http
s
://repo.spring.io/snapshot</url>
<snapshots><enabled>true</enabled></snapshots>
</repository>
<repository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>http
s
://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-snapshots</id>
<url>http://repo.spring.io/snapshot</url>
<url>http
s
://repo.spring.io/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-milestones</id>
<url>http://repo.spring.io/milestone</url>
<url>http
s
://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
endif::[]
...
...
@@ -804,12 +804,12 @@ As before, to exit the application, press `ctrl-c`.
== What to Read Next
Hopefully, this section provided some of the Spring Boot basics and got you on your way
to writing your own applications. If you are a task-oriented type of developer, you might
want to jump over to http://spring.io and check out some of the
http://spring.io/guides/[getting started] guides that solve specific "`How do I do that
want to jump over to http
s
://spring.io and check out some of the
http
s
://spring.io/guides/[getting started] guides that solve specific "`How do I do that
with Spring?`" problems. We also have Spring Boot-specific
"`<<howto.adoc#howto, How-to>>`" reference documentation.
The http://github.com/{github-repo}[Spring Boot repository] also has a
The http
s
://github.com/{github-repo}[Spring Boot repository] also has a
{github-code}/spring-boot-samples[bunch of samples] you can run. The samples are
independent of the rest of the code (that is, you do not need to build the rest to run or
use the samples).
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc
View file @
81459eff
...
...
@@ -8,7 +8,7 @@ that often arise when using Spring Boot. Its coverage is not exhaustive, but it
does cover quite a lot.
If you have a specific problem that we do not cover here, you might want to check out
http://stackoverflow.com/tags/spring-boot[stackoverflow.com] to see if someone has
http
s
://stackoverflow.com/tags/spring-boot[stackoverflow.com] to see if someone has
already provided an answer. This is also a great place to ask new questions (please use
the `spring-boot` tag).
...
...
@@ -363,7 +363,7 @@ token of the `maven-resources-plugins` has been changed from `+${*}+` to `@` (th
`@maven.token@` instead of `${maven.token}`) to prevent conflicts with Spring-style
placeholders. If you have enabled Maven filtering for the `application.properties`
directly, you may want to also change the default filter token to use
http://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other
http
s
://maven.apache.org/plugins/maven-resources-plugin/resources-mojo.html#delimiters[other
delimiters].
NOTE: In this specific case, the port binding works in a PaaS environment such as Heroku
...
...
@@ -779,7 +779,7 @@ operating system.
The library folder must be made available, if not already, to the JVM library path. You
can do so with a JVM argument such as
`-Djava.library.path=/usr/local/opt/tomcat-native/lib`. More on this in the
http://tomcat.apache.org/tomcat-8.5-doc/apr.html[official Tomcat documentation].
http
s
://tomcat.apache.org/tomcat-8.5-doc/apr.html[official Tomcat documentation].
Starting Tomcat 8.5.x without that native support logs the following error:
...
...
@@ -2100,7 +2100,7 @@ You can also switch off the initialization explicitly by setting
[[howto-use-a-higher-level-database-migration-tool]]
=== Use a Higher-level Database Migration Tool
Spring Boot supports two higher-level migration tools: http://flywaydb.org/[Flyway]
Spring Boot supports two higher-level migration tools: http
s
://flywaydb.org/[Flyway]
and http://www.liquibase.org/[Liquibase].
[[howto-execute-flyway-database-migrations-on-startup]]
...
...
@@ -2132,7 +2132,7 @@ Boot calls `Flyway.migrate()` to perform the database migration. If you would li
more control, provide a `@Bean` that implements
{sc-spring-boot-autoconfigure}/flyway/FlywayMigrationStrategy.{sc-ext}[`FlywayMigrationStrategy`].
Flyway supports SQL and Java http://flywaydb.org/documentation/callbacks.html[callbacks].
Flyway supports SQL and Java http
s
://flywaydb.org/documentation/callbacks.html[callbacks].
To use SQL-based callbacks, place the callback scripts in the `classpath:db/migration`
folder. To use Java-based callbacks, create one or more beans that implement
`FlywayCallback` or, preferably, extend `BaseFlywayCallback`. Any such beans are
...
...
@@ -2339,7 +2339,7 @@ it switches off the default webapp security settings in Spring Boot.
If you provide a `@Bean` of type `AuthenticationManager`, `AuthenticationProvider`,
or `UserDetailsService`, the default `@Bean` for `InMemoryUserDetailsManager` is not
created, so you have the full feature set of Spring Security available (such as
http://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-authentication[various
http
s
://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-authentication[various
authentication options]).
The easiest way to add user accounts is to provide your own `UserDetailsService` bean.
...
...
@@ -2955,7 +2955,7 @@ a Spring Boot application. To do so, throw away the code that creates your
`ApplicationContext` and replace it with calls to `SpringApplication` or
`SpringApplicationBuilder`. Spring MVC web applications are generally amenable to first
creating a deployable war application and then migrating it later to an executable war
or jar. See the http://spring.io/guides/gs/convert-jar-to-war/[Getting
or jar. See the http
s
://spring.io/guides/gs/convert-jar-to-war/[Getting
Started Guide on Converting a jar to a war].
To create a deployable war by extending `SpringBootServletInitializer` (for example, in a
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/index.adoc
View file @
81459eff
...
...
@@ -10,8 +10,8 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
:spring-boot-repo: snapshot
:github-tag: master
:spring-boot-docs-version: current
:spring-boot-docs: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/reference
:spring-boot-docs-current: http://docs.spring.io/spring-boot/docs/current/reference
:spring-boot-docs: http
s
://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/reference
:spring-boot-docs-current: http
s
://docs.spring.io/spring-boot/docs/current/reference
:github-repo: spring-projects/spring-boot
:github-raw: https://raw.github.com/{github-repo}/{github-tag}
:github-code: https://github.com/{github-repo}/tree/{github-tag}
...
...
@@ -27,7 +27,7 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
:sc-spring-boot-test: {github-code}/spring-boot-project/spring-boot-test/src/main/java/org/springframework/boot/test
:sc-spring-boot-test-autoconfigure: {github-code}/spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure
:dc-ext: html
:dc-root: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/api
:dc-root: http
s
://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/api
:dc-spring-boot: {dc-root}/org/springframework/boot
:dc-spring-boot-autoconfigure: {dc-root}/org/springframework/boot/autoconfigure
:dc-spring-boot-actuator: {dc-root}/org/springframework/boot/actuate
...
...
@@ -35,35 +35,35 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
:dc-spring-boot-test-autoconfigure: {dc-root}/org/springframework/boot/test/autoconfigure
:dependency-management-plugin: https://github.com/spring-gradle-plugins/dependency-management-plugin
:dependency-management-plugin-documentation: {dependency-management-plugin}/blob/master/README.md
:spring-boot-actuator-api: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/actuator-api/
:spring-boot-maven-plugin-site: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/maven-plugin
:spring-boot-gradle-plugin: http://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/gradle-plugin
:spring-reference: http://docs.spring.io/spring/docs/{spring-docs-version}/spring-framework-reference/
:spring-rest-docs: http://projects.spring.io/spring-restdocs/
:spring-integration: http://projects.spring.io/spring-integration/
:spring-boot-actuator-api: http
s
://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/actuator-api/
:spring-boot-maven-plugin-site: http
s
://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/maven-plugin
:spring-boot-gradle-plugin: http
s
://docs.spring.io/spring-boot/docs/{spring-boot-docs-version}/gradle-plugin
:spring-reference: http
s
://docs.spring.io/spring/docs/{spring-docs-version}/spring-framework-reference/
:spring-rest-docs: http
s
://projects.spring.io/spring-restdocs/
:spring-integration: http
s
://projects.spring.io/spring-integration/
:spring-session: https://projects.spring.io/spring-session/
:spring-framework: http://projects.spring.io/spring-framework/
:spring-security: http://projects.spring.io/spring-security/
:spring-data-jpa: http://projects.spring.io/spring-data-jpa/
:spring-security-reference: http://docs.spring.io/spring-security/site/docs/{spring-security-docs-version}/reference/htmlsingle
:spring-security-oauth2-reference: http://projects.spring.io/spring-security-oauth/docs/oauth2.html
:spring-webservices-reference: http://docs.spring.io/spring-ws/docs/{spring-webservices-docs-version}/reference/
:spring-javadoc: http://docs.spring.io/spring/docs/{spring-docs-version}/javadoc-api/org/springframework
:spring-amqp-javadoc: http://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp
:spring-batch-javadoc: http://docs.spring.io/spring-batch/apidocs/org/springframework/batch
:spring-data-javadoc: http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa
:spring-data-commons-javadoc: http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data
:spring-data-mongo-javadoc: http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb
:spring-data-mongo: http://projects.spring.io/spring-data-mongodb/
:spring-data: http://projects.spring.io/spring-data/
:spring-data-rest-javadoc: http://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest
:gradle-userguide: http://www.gradle.org/docs/current/userguide
:spring-security-reference: http
s
://docs.spring.io/spring-security/site/docs/{spring-security-docs-version}/reference/htmlsingle
:spring-security-oauth2-reference: http
s
://projects.spring.io/spring-security-oauth/docs/oauth2.html
:spring-webservices-reference: http
s
://docs.spring.io/spring-ws/docs/{spring-webservices-docs-version}/reference/
:spring-javadoc: http
s
://docs.spring.io/spring/docs/{spring-docs-version}/javadoc-api/org/springframework
:spring-amqp-javadoc: http
s
://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp
:spring-batch-javadoc: http
s
://docs.spring.io/spring-batch/apidocs/org/springframework/batch
:spring-data-javadoc: http
s
://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa
:spring-data-commons-javadoc: http
s
://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data
:spring-data-mongo-javadoc: http
s
://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb
:spring-data-mongo: http
s
://projects.spring.io/spring-data-mongodb/
:spring-data: http
s
://projects.spring.io/spring-data/
:spring-data-rest-javadoc: http
s
://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest
:gradle-userguide: http
s
://www.gradle.org/docs/current/userguide
:propdeps-plugin: https://github.com/spring-projects/gradle-plugins/tree/master/propdeps-plugin
:ant-manual: http://ant.apache.org/manual
:code-examples: ../java/org/springframework/boot
:test-examples: ../../test/java/org/springframework/boot
:gradle-user-guide: https://docs.gradle.org/4.2.1/userguide
:hibernate-documentation: http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
:hibernate-documentation: http
s
://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
:jetty-documentation: https://www.eclipse.org/jetty/documentation/9.4.x
:tomcat-documentation: https://tomcat.apache.org/tomcat-8.5-doc
// ======================================================================================
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
81459eff
...
...
@@ -464,8 +464,8 @@ The following example remaps `/actuator/health` to `/healthcheck`:
[[production-ready-endpoint-cors]]
=== CORS Support
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing]
(CORS) is a http://www.w3.org/TR/cors/[W3C specification] that lets you specify in a
http
s
://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing]
(CORS) is a http
s
://www.w3.org/TR/cors/[W3C specification] that lets you specify in a
flexible way what kind of cross-domain requests are authorized. If you use Spring MVC or
Spring WebFlux, Actuator's web endpoints can be configured to support such scenarios.
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
81459eff
...
...
@@ -1383,7 +1383,7 @@ See "<<boot-features-external-config-profile-specific-properties>>" for details.
Spring Boot uses http://commons.apache.org/logging[Commons Logging] for all internal
logging but leaves the underlying log implementation open. Default configurations are
provided for
http://docs.oracle.com/javase/8/docs/api/java/util/logging/package-summary.html[Java Util
http
s
://docs.oracle.com/javase/8/docs/api/java/util/logging/package-summary.html[Java Util
Logging], http://logging.apache.org/log4j/2.x/[Log4J2], and
http://logback.qos.ch/[Logback]. In each case, loggers are pre-configured to use console
output with optional file output also available.
...
...
@@ -1813,7 +1813,7 @@ The following code shows a typical `@RestController` that serves JSON data:
Spring MVC is part of the core Spring Framework, and detailed information is available in
the {spring-reference}web.html#mvc[reference documentation]. There are also several
guides that cover Spring MVC available at http://spring.io/guides.
guides that cover Spring MVC available at http
s
://spring.io/guides.
...
...
@@ -2117,10 +2117,10 @@ integrations.
Spring Boot includes auto-configuration support for the following templating engines:
* http://freemarker.org/docs/[FreeMarker]
* http
s
://freemarker.org/docs/[FreeMarker]
* http://docs.groovy-lang.org/docs/next/html/documentation/template-engines.html#_the_markuptemplateengine[Groovy]
* http://www.thymeleaf.org[Thymeleaf]
* http://mustache.github.io/[Mustache]
* http
s
://mustache.github.io/[Mustache]
TIP: If possible, JSPs should be avoided. There are several
<<boot-features-jsp-limitations, known limitations>> when using them with embedded
...
...
@@ -2333,9 +2333,9 @@ described earlier.
[[boot-features-cors]]
==== CORS Support
http://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing]
http
s
://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-origin resource sharing]
(CORS) is a http://www.w3.org/TR/cors/[W3C specification] implemented by
http://caniuse.com/#feat=cors[most browsers] that lets you specify in a flexible
http
s
://caniuse.com/#feat=cors[most browsers] that lets you specify in a flexible
way what kind of cross-domain requests are authorized, instead of using some less secure
and less powerful approaches such as IFRAME or JSONP.
...
...
@@ -2373,7 +2373,7 @@ defined by registering a `WebMvcConfigurer` bean with a customized
Spring WebFlux is the new reactive web framework introduced in Spring Framework 5.0.
Unlike Spring MVC, it does not require the Servlet API, is fully asynchronous and
non-blocking, and implements the http://www.reactive-streams.org/[Reactive Streams]
specification through http://projectreactor.io/[the Reactor project].
specification through http
s
://projectreactor.io/[the Reactor project].
Spring WebFlux comes in two flavors: functional and annotation-based. The
annotation-based one is quite close to the Spring MVC model, as shown in the
...
...
@@ -3358,9 +3358,9 @@ started. It provides the following key dependencies:
* Spring ORMs: Core ORM support from the Spring Framework.
TIP: We do not go into too many details of JPA or {spring-data}[Spring Data] here. You can
follow the http://spring.io/guides/gs/accessing-data-jpa/["`Accessing Data with JPA`"]
guide from http://spring.io and read the {spring-data-jpa}[Spring Data JPA] and
http://hibernate.org/orm/documentation/[Hibernate] reference documentation.
follow the http
s
://spring.io/guides/gs/accessing-data-jpa/["`Accessing Data with JPA`"]
guide from http
s
://spring.io and read the {spring-data-jpa}[Spring Data JPA] and
http
s
://hibernate.org/orm/documentation/[Hibernate] reference documentation.
...
...
@@ -3652,19 +3652,19 @@ complete control of the jOOQ configuration.
== Working with NoSQL Technologies
Spring Data provides additional projects that help you access a variety of NoSQL
technologies, including:
http://projects.spring.io/spring-data-mongodb/[MongoDB],
http://projects.spring.io/spring-data-neo4j/[Neo4J],
http
s
://projects.spring.io/spring-data-mongodb/[MongoDB],
http
s
://projects.spring.io/spring-data-neo4j/[Neo4J],
https://github.com/spring-projects/spring-data-elasticsearch/[Elasticsearch],
http://projects.spring.io/spring-data-solr/[Solr],
http://projects.spring.io/spring-data-redis/[Redis],
http://projects.spring.io/spring-data-gemfire/[Gemfire],
http://projects.spring.io/spring-data-cassandra/[Cassandra],
http://projects.spring.io/spring-data-couchbase/[Couchbase] and
http://projects.spring.io/spring-data-ldap/[LDAP].
http
s
://projects.spring.io/spring-data-solr/[Solr],
http
s
://projects.spring.io/spring-data-redis/[Redis],
http
s
://projects.spring.io/spring-data-gemfire/[Gemfire],
http
s
://projects.spring.io/spring-data-cassandra/[Cassandra],
http
s
://projects.spring.io/spring-data-couchbase/[Couchbase] and
http
s
://projects.spring.io/spring-data-ldap/[LDAP].
Spring Boot provides auto-configuration for Redis, MongoDB, Neo4j, Elasticsearch, Solr
Cassandra, Couchbase, and LDAP. You can make use of the other projects, but you must
configure them yourself. Refer to the appropriate reference documentation at
http://projects.spring.io/spring-data[projects.spring.io/spring-data].
http
s
://projects.spring.io/spring-data[projects.spring.io/spring-data].
...
...
@@ -3861,7 +3861,7 @@ in the following example:
TIP: You can customize document scanning locations by using the `@EntityScan` annotation.
TIP: For complete details of Spring Data MongoDB, including its rich object mapping
technologies, refer to its http://projects.spring.io/spring-data-mongodb/[reference
technologies, refer to its http
s
://projects.spring.io/spring-data-mongodb/[reference
documentation].
...
...
@@ -4016,7 +4016,7 @@ The following example shows an interface definition for a Neo4j repository:
----
TIP: For complete details of Spring Data Neo4j, including its rich object mapping
technologies, refer to the http://projects.spring.io/spring-data-neo4j/[reference
technologies, refer to the http
s
://projects.spring.io/spring-data-neo4j/[reference
documentation].
...
...
@@ -4025,7 +4025,7 @@ documentation].
=== Gemfire
https://github.com/spring-projects/spring-data-gemfire[Spring Data Gemfire] provides
convenient Spring-friendly tools for accessing the
http://pivotal.io/big-data/pivotal-gemfire#details[Pivotal Gemfire] data management
http
s
://pivotal.io/big-data/pivotal-gemfire#details[Pivotal Gemfire] data management
platform. There is a `spring-boot-starter-data-gemfire` "`Starter`" for collecting the
dependencies in a convenient way. There is currently no auto-configuration support for
Gemfire, but you can enable Spring Data Repositories with a
...
...
@@ -4080,7 +4080,7 @@ You could take the JPA example from earlier and, assuming that `City` is now a
`@SolrDocument` class rather than a JPA `@Entity`, it works in the same way.
TIP: For complete details of Spring Data Solr, refer to the
http://projects.spring.io/spring-data-solr/[reference documentation].
http
s
://projects.spring.io/spring-data-solr/[reference documentation].
...
...
@@ -4169,7 +4169,7 @@ now an Elasticsearch `@Document` class rather than a JPA `@Entity`, it works in
way.
TIP: For complete details of Spring Data Elasticsearch, refer to the
http://docs.spring.io/spring-data/elasticsearch/docs/[reference documentation].
http
s
://docs.spring.io/spring-data/elasticsearch/docs/[reference documentation].
...
...
@@ -4227,7 +4227,7 @@ limited than the JPA repositories discussed earlier and needs to annotate finder
with `@Query`.
TIP: For complete details of Spring Data Cassandra, refer to the
http://docs.spring.io/spring-data/cassandra/docs/[reference documentation].
http
s
://docs.spring.io/spring-data/cassandra/docs/[reference documentation].
...
...
@@ -4283,7 +4283,7 @@ Check the `spring.couchbase.env.*` properties for more details.
==== Spring Data Couchbase Repositories
Spring Data includes repository support for Couchbase. For complete details of Spring
Data Couchbase, refer to the
http://docs.spring.io/spring-data/couchbase/docs/current/reference/html/[reference
http
s
://docs.spring.io/spring-data/couchbase/docs/current/reference/html/[reference
documentation].
You can inject an auto-configured `CouchbaseTemplate` instance as you would with any
...
...
@@ -4379,7 +4379,7 @@ If you need to customize connection settings, you can use the `spring.ldap.base`
==== Spring Data LDAP Repositories
Spring Data includes repository support for LDAP. For complete details of Spring
Data LDAP, refer to the
http://docs.spring.io/spring-data/ldap/docs/1.0.x/reference/html/[reference
http
s
://docs.spring.io/spring-data/ldap/docs/1.0.x/reference/html/[reference
documentation].
You can also inject an auto-configured `LdapTemplate` instance as you would with any
...
...
@@ -5087,7 +5087,7 @@ See {sc-spring-boot-autoconfigure}/amqp/RabbitProperties.{sc-ext}[`RabbitPropert
for more of the supported options.
TIP: See
http://spring.io/blog/2010/06/14/understanding-amqp-the-protocol-used-by-rabbitmq/[Understanding
http
s
://spring.io/blog/2010/06/14/understanding-amqp-the-protocol-used-by-rabbitmq/[Understanding
AMQP, the protocol used by RabbitMQ] for more details.
...
...
spring-boot-project/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc
View file @
81459eff
...
...
@@ -63,7 +63,7 @@ https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html[res
filtering].
* Sensible plugin configuration (http://www.mojohaus.org/exec-maven-plugin/[exec plugin],
https://github.com/ktoso/maven-git-commit-id-plugin[Git commit ID], and
http://maven.apache.org/plugins/maven-shade-plugin/[shade]).
http
s
://maven.apache.org/plugins/maven-shade-plugin/[shade]).
* Sensible resource filtering for `application.properties` and `application.yml`
including profile-specific files (for example, `application-dev.properties` and
`application-dev.yml`)
...
...
@@ -600,8 +600,8 @@ users can select `Import...` -> `Existing Maven Projects` from the `File` menu.
If you cannot directly import your project into your IDE, you may be able to generate IDE
metadata by using a build plugin. Maven includes plugins for
http://maven.apache.org/plugins/maven-eclipse-plugin/[Eclipse] and
http://maven.apache.org/plugins/maven-idea-plugin/[IDEA]. Gradle offers plugins for
http
s
://maven.apache.org/plugins/maven-eclipse-plugin/[Eclipse] and
http
s
://maven.apache.org/plugins/maven-idea-plugin/[IDEA]. Gradle offers plugins for
{gradle-user-guide}/userguide.html[various IDEs].
TIP: If you accidentally run a web application twice, you see a "`Port already in use`"
...
...
@@ -679,7 +679,7 @@ shown in the following example:
Since Spring Boot applications are just plain Java applications, JVM hot-swapping should
work out of the box. JVM hot swapping is somewhat limited with the bytecode that it can
replace. For a more complete solution,
http://zeroturnaround.com/software/jrebel/[JRebel] can be used.
http
s
://zeroturnaround.com/software/jrebel/[JRebel] can be used.
The
`spring-boot-devtools` module also includes support for quick application restarts.
...
...
@@ -810,7 +810,7 @@ populated.
If you find that restarts are not quick enough for your applications or you encounter
classloading issues, you could consider reloading technologies such as
http://zeroturnaround.com/software/jrebel/[JRebel] from ZeroTurnaround. These work by
http
s
://zeroturnaround.com/software/jrebel/[JRebel] from ZeroTurnaround. These work by
rewriting classes as they are loaded to make them more amenable to reloading.
****
...
...
@@ -948,7 +948,7 @@ authors.
The `spring-boot-devtools` module includes an embedded LiveReload server that can be used
to trigger a browser refresh when a resource is changed. LiveReload browser extensions
are freely available for Chrome, Firefox and Safari from
http://livereload.com/extensions/[livereload.com].
http
s
://livereload.com/extensions/[livereload.com].
If you do not want to start the LiveReload server when your application runs, you can set
the `spring.devtools.livereload.enabled` property to `false`.
...
...
spring-boot-project/spring-boot-starters/README.adoc
View file @
81459eff
...
...
@@ -8,14 +8,14 @@ JPA for database access just include the `spring-boot-starter-data-jpa` dependen
your project, and you are good to go.
For complete details see the
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation]
http
s
://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation]
== Community Contributions
If you create a starter for a technology that is not already in the standard list we can
list it here. Just send a pull request for this page.
WARNING: While the
http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation]
http
s
://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-starter[reference documentation]
mentions that 3rd party starters should not start with `spring-boot`, some starters
do as they were designed before this was clarified.
...
...
@@ -145,7 +145,7 @@ do as they were designed before this was clarified.
| http://restfb.com/[RestFB] Messenger
| https://github.com/marsbits/restfbmessenger
| http://projects.spring.io/spring-batch/[Spring Batch] (Advanced usage)
| http
s
://projects.spring.io/spring-batch/[Spring Batch] (Advanced usage)
| https://github.com/codecentric/spring-boot-starter-batch-web
| SSH Daemon
...
...
spring-boot-project/spring-boot-tools/spring-boot-antlib/src/it/sample/ivysettings.xml
View file @
81459eff
...
...
@@ -8,9 +8,9 @@
<ivy
pattern=
"${user.home}/.m2/[organisation]/[module]/[revision]/[module]-[revision].pom"
/>
</filesystem>
<ibiblio
name=
"ibiblio"
m2compatible=
"true"
/>
<ibiblio
name=
"spring-
milestones"
m2compatible=
"true"
root=
"http
://repo.spring.io/release"
/>
<ibiblio
name=
"spring-milestones"
m2compatible=
"true"
root=
"http://repo.spring.io/milestone"
/>
<ibiblio
name=
"spring-snapshots"
m2compatible=
"true"
root=
"http://repo.spring.io/snapshot"
/>
<ibiblio
name=
"spring-
releases"
m2compatible=
"true"
root=
"https
://repo.spring.io/release"
/>
<ibiblio
name=
"spring-milestones"
m2compatible=
"true"
root=
"http
s
://repo.spring.io/milestone"
/>
<ibiblio
name=
"spring-snapshots"
m2compatible=
"true"
root=
"http
s
://repo.spring.io/snapshot"
/>
</chain>
</resolvers>
</ivysettings>
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc
View file @
81459eff
...
...
@@ -9,7 +9,7 @@ Andy Wilkinson
:hide-uri-scheme:
:dependency-management-plugin: https://github.com/spring-gradle-plugins/dependency-management-plugin
:dependency-management-plugin-documentation: {dependency-management-plugin}/blob/master/README.md
:gradle-userguide: http
://www.gradle.org/docs
/current/userguide
:gradle-userguide: http
s://docs.gradle.org
/current/userguide
:gradle-dsl: https://docs.gradle.org/current/dsl
:application-plugin: {gradle-userguide}/application_plugin.html
:groovy-plugin: {gradle-userguide}/groovy_plugin.html
...
...
spring-boot-samples/spring-boot-sample-ant/ivysettings.xml
View file @
81459eff
...
...
@@ -8,9 +8,9 @@
<ivy
pattern=
"${user.home}/.m2/repository/[organisation]/[module]/[revision]/[module]-[revision].pom"
/>
</filesystem>
<ibiblio
name=
"ibiblio"
m2compatible=
"true"
/>
<ibiblio
name=
"spring-
milestones"
m2compatible=
"true"
root=
"http
://repo.spring.io/release"
/>
<ibiblio
name=
"spring-milestones"
m2compatible=
"true"
root=
"http://repo.spring.io/milestone"
/>
<ibiblio
name=
"spring-snapshots"
m2compatible=
"true"
root=
"http://repo.spring.io/snapshot"
/>
<ibiblio
name=
"spring-
releases"
m2compatible=
"true"
root=
"https
://repo.spring.io/release"
/>
<ibiblio
name=
"spring-milestones"
m2compatible=
"true"
root=
"http
s
://repo.spring.io/milestone"
/>
<ibiblio
name=
"spring-snapshots"
m2compatible=
"true"
root=
"http
s
://repo.spring.io/snapshot"
/>
</chain>
</resolvers>
</ivysettings>
spring-boot-samples/spring-boot-sample-data-neo4j/README.adoc
View file @
81459eff
...
...
@@ -12,5 +12,5 @@ spring.data.neo4j.password=secret
You can also locally add the embedded driver to embed Neo4j instead. Note
that Spring Boot does not provide dependency management for that GPL-licensed
library, see
http://docs.spring.io/spring-data/neo4j/docs/4.2.x/reference/html/#reference.getting_started.driver[the official documentation]
http
s
://docs.spring.io/spring-data/neo4j/docs/4.2.x/reference/html/#reference.getting_started.driver[the official documentation]
for more details.
spring-boot-samples/spring-boot-sample-webservices/README.adoc
View file @
81459eff
== Spring Boot - Samples - Web Services
This sample project demonstrates how to use http://projects.spring.io/spring-ws/[Spring Web Services]
This sample project demonstrates how to use http
s
://projects.spring.io/spring-ws/[Spring Web Services]
with Spring Boot. It is an implementation of the
http://docs.spring.io/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint[Holiday Request sample]
http
s
://docs.spring.io/spring-ws/site/reference/html/tutorial.html#tutorial.implementing.endpoint[Holiday Request sample]
in the Spring Web Services reference guide.
The sample uses Maven. It can be built and run from the command line:
...
...
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