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
9be96c49
Commit
9be96c49
authored
Mar 27, 2019
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish "Use HTTPS for external links wherever possible"
See gh-16316
parent
e401d02c
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
34 additions
and
34 deletions
+34
-34
index.adoc
spring-boot-actuator-docs/src/main/asciidoc/index.adoc
+1
-1
BitronixJtaConfiguration.java
...toconfigure/transaction/jta/BitronixJtaConfiguration.java
+2
-2
DetailedProgressReporterTests.java
...oot/cli/compiler/grape/DetailedProgressReporterTests.java
+2
-2
appendix-executable-jar-format.adoc
...ocs/src/main/asciidoc/appendix-executable-jar-format.adoc
+1
-1
deployment.adoc
spring-boot-docs/src/main/asciidoc/deployment.adoc
+2
-2
getting-started.adoc
spring-boot-docs/src/main/asciidoc/getting-started.adoc
+3
-3
production-ready-features.adoc
...oot-docs/src/main/asciidoc/production-ready-features.adoc
+2
-2
spring-boot-features.adoc
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
+8
-8
WebServiceConfig.java
...t-sample-ws/src/main/java/sample/ws/WebServiceConfig.java
+1
-1
HolidayEndpoint.java
...-ws/src/main/java/sample/ws/endpoint/HolidayEndpoint.java
+1
-1
hr.xsd
...boot-sample-ws/src/main/resources/META-INF/schemas/hr.xsd
+2
-2
SampleWsApplicationTests.java
...-ws/src/test/java/sample/ws/SampleWsApplicationTests.java
+1
-1
README.adoc
spring-boot-starters/README.adoc
+3
-3
CentralDirectoryEndRecord.java
...gframework/boot/loader/jar/CentralDirectoryEndRecord.java
+1
-1
JarEntryData.java
...ava/org/springframework/boot/loader/jar/JarEntryData.java
+3
-3
it-random-port.apt.vm
...-maven-plugin/src/site/apt/examples/it-random-port.apt.vm
+1
-1
No files found.
spring-boot-actuator-docs/src/main/asciidoc/index.adoc
View file @
9be96c49
...
@@ -60,7 +60,7 @@ HAL browser is not active).
...
@@ -60,7 +60,7 @@ HAL browser is not active).
If https://projects.spring.io/spring-hateoas[Spring HATEOAS] is enabled (i.e. if it is
If https://projects.spring.io/spring-hateoas[Spring HATEOAS] is enabled (i.e. if it is
on the classpath by default) then the Actuator endpoint responses are enhanced with
on the classpath by default) then the Actuator endpoint responses are enhanced with
hypermedia in the form of "links". The default media type for responses is
hypermedia in the form of "links". The default media type for responses is
http
://stateless.co/hal_specification.html
[HAL], resulting in each resource having an
http
s://github.com/mikekelly/hal_specification
[HAL], resulting in each resource having an
extra property called "_links". You can change the media type to another one supported by
extra property called "_links". You can change the media type to another one supported by
Spring HATEOAS by providing your own `@EnableHypermedia` annotation and custom providers
Spring HATEOAS by providing your own `@EnableHypermedia` annotation and custom providers
as necessary.
as necessary.
...
...
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java
View file @
9be96c49
/*
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
9
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -42,7 +42,7 @@ import org.springframework.transaction.jta.JtaTransactionManager;
...
@@ -42,7 +42,7 @@ import org.springframework.transaction.jta.JtaTransactionManager;
import
org.springframework.util.StringUtils
;
import
org.springframework.util.StringUtils
;
/**
/**
* JTA Configuration for <A href="https://
docs.codehaus.org/display/BTM/Home
">Bitronix</A>.
* JTA Configuration for <A href="https://
github.com/bitronix/btm
">Bitronix</A>.
*
*
* @author Josh Long
* @author Josh Long
* @author Phillip Webb
* @author Phillip Webb
...
...
spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/DetailedProgressReporterTests.java
View file @
9be96c49
/*
/*
* Copyright 2012-201
3
the original author or authors.
* Copyright 2012-201
9
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -39,7 +39,7 @@ import static org.junit.Assert.assertThat;
...
@@ -39,7 +39,7 @@ import static org.junit.Assert.assertThat;
*/
*/
public
final
class
DetailedProgressReporterTests
{
public
final
class
DetailedProgressReporterTests
{
private
static
final
String
REPOSITORY
=
"http
://my.repository
.com/"
;
private
static
final
String
REPOSITORY
=
"http
s://repo.example
.com/"
;
private
static
final
String
ARTIFACT
=
"org/alpha/bravo/charlie/1.2.3/charlie-1.2.3.jar"
;
private
static
final
String
ARTIFACT
=
"org/alpha/bravo/charlie/1.2.3/charlie-1.2.3.jar"
;
...
...
spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc
View file @
9be96c49
...
@@ -279,6 +279,6 @@ alternatives could be considered:
...
@@ -279,6 +279,6 @@ alternatives could be considered:
* https://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
* https://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
* http
://one-jar.sourceforge.net
[OneJar]
* http
s://sourceforge.net/projects/one-jar/
[OneJar]
spring-boot-docs/src/main/asciidoc/deployment.adoc
View file @
9be96c49
...
@@ -340,8 +340,8 @@ and then configure and start the necessary resources on AWS:
...
@@ -340,8 +340,8 @@ and then configure and start the necessary resources on AWS:
Creating security group boxfuse-sg_axelfontaine/myapp:1.0 ...
Creating security group boxfuse-sg_axelfontaine/myapp:1.0 ...
Launching t2.micro instance of axelfontaine/myapp:1.0 (ami-d23f38cf) in eu-central-1 ...
Launching t2.micro instance of axelfontaine/myapp:1.0 (ami-d23f38cf) in eu-central-1 ...
Instance launched in 00:30.306s -> i-92ef9f53
Instance launched in 00:30.306s -> i-92ef9f53
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at http://52.28.235.61/ ...
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at http
s
://52.28.235.61/ ...
Payload started in 00:29.266s -> http://52.28.235.61/
Payload started in 00:29.266s -> http
s
://52.28.235.61/
Remapping Elastic IP 52.28.233.167 to i-92ef9f53 ...
Remapping Elastic IP 52.28.233.167 to i-92ef9f53 ...
Waiting 15s for AWS to complete Elastic IP Zero Downtime transition ...
Waiting 15s for AWS to complete Elastic IP Zero Downtime transition ...
Deployment completed successfully. axelfontaine/myapp:1.0 is up and running at https://myapp-axelfontaine.boxfuse.io/
Deployment completed successfully. axelfontaine/myapp:1.0 is up and running at https://myapp-axelfontaine.boxfuse.io/
...
...
spring-boot-docs/src/main/asciidoc/getting-started.adoc
View file @
9be96c49
...
@@ -262,8 +262,8 @@ endif::release[]
...
@@ -262,8 +262,8 @@ endif::release[]
[[getting-started-installing-the-cli]]
[[getting-started-installing-the-cli]]
=== Installing the Spring Boot CLI
=== Installing the Spring Boot CLI
The Spring Boot CLI is a command line tool that can be used if you want to quickly
The Spring Boot CLI is a command line tool that can be used if you want to quickly
prototype with Spring. It allows you to run http
s://groovy.codehaus.org/[Groovy] scripts,
prototype with Spring. It allows you to run http
://groovy-lang.org[Groovy] scripts, which
which
means that you have a familiar Java-like syntax, without so much boilerplate code.
means that you have a familiar Java-like syntax, without so much boilerplate code.
You don't need to use the CLI to work with Spring Boot but it's definitely the quickest
You don't need to use the CLI to work with Spring Boot but it's definitely the quickest
way to get a Spring application off the ground.
way to get a Spring application off the ground.
...
@@ -370,7 +370,7 @@ install the Spring Boot CLI is:
...
@@ -370,7 +370,7 @@ install the Spring Boot CLI is:
[[getting-started-cli-command-line-completion]]
[[getting-started-cli-command-line-completion]]
==== Command-line completion
==== Command-line completion
Spring Boot CLI ships with scripts that provide command completion for
Spring Boot CLI ships with scripts that provide command completion for
https://en.wikipedia.org/wiki/Bash_%2
528Unix_shell%25
29[BASH] and
https://en.wikipedia.org/wiki/Bash_%2
8Unix_shell%
29[BASH] and
https://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named
https://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named
`spring`) in any shell, or put it in your personal or system-wide bash completion
`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`
initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash`
...
...
spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
View file @
9be96c49
...
@@ -1191,8 +1191,8 @@ recommendations.
...
@@ -1191,8 +1191,8 @@ recommendations.
[[production-ready-metric-writers-export-to-open-tsdb]]
[[production-ready-metric-writers-export-to-open-tsdb]]
==== Example: Export to Open TSDB
==== Example: Export to Open TSDB
If you provide a `@Bean` of type `OpenTsdbGaugeWriter` and mark it
If you provide a `@Bean` of type `OpenTsdbGaugeWriter` and mark it
`@ExportMetricWriter` metrics are exported to http
://opentsdb.net/[Open TSDB] for
`@ExportMetricWriter` metrics are exported to http
s://github.com/OpenTSDB/opentsdb[Open
aggregation. The `OpenTsdbGaugeWriter` has a `url` property that you need to set
TSDB] for
aggregation. The `OpenTsdbGaugeWriter` has a `url` property that you need to set
to the Open TSDB "`/put`" endpoint, e.g. `http://localhost:4242/api/put`). It also has a
to the Open TSDB "`/put`" endpoint, e.g. `http://localhost:4242/api/put`). It also has a
`namingStrategy` that you can customize or configure to make the metrics match the data
`namingStrategy` that you can customize or configure to make the metrics match the data
structure you need on the server. By default it just passes through the metric name as an
structure you need on the server. By default it just passes through the metric name as an
...
...
spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
View file @
9be96c49
...
@@ -558,10 +558,10 @@ For example, the following YAML document:
...
@@ -558,10 +558,10 @@ For example, the following YAML document:
----
----
environments:
environments:
dev:
dev:
url: http
s://dev.bar
.com
url: http
://dev.example
.com
name: Developer Setup
name: Developer Setup
prod:
prod:
url: http
s://foo.bar
.com
url: http
://another.example
.com
name: My Cool App
name: My Cool App
----
----
...
@@ -569,9 +569,9 @@ Would be transformed into these properties:
...
@@ -569,9 +569,9 @@ Would be transformed into these properties:
[source,properties,indent=0]
[source,properties,indent=0]
----
----
environments.dev.url=http
s://dev.bar
.com
environments.dev.url=http
://dev.example
.com
environments.dev.name=Developer Setup
environments.dev.name=Developer Setup
environments.prod.url=http
s://foo.bar
.com
environments.prod.url=http
://another.example
.com
environments.prod.name=My Cool App
environments.prod.name=My Cool App
----
----
...
@@ -582,16 +582,16 @@ for example this YAML:
...
@@ -582,16 +582,16 @@ for example this YAML:
----
----
my:
my:
servers:
servers:
- dev.
bar
.com
- dev.
example
.com
-
foo.bar
.com
-
another.example
.com
----
----
Would be transformed into these properties:
Would be transformed into these properties:
[source,properties,indent=0]
[source,properties,indent=0]
----
----
my.servers[0]=dev.
bar
.com
my.servers[0]=dev.
example
.com
my.servers[1]=
foo.bar
.com
my.servers[1]=
another.example
.com
----
----
To bind to properties like that using the Spring `DataBinder` utilities (which is what
To bind to properties like that using the Spring `DataBinder` utilities (which is what
...
...
spring-boot-samples/spring-boot-sample-ws/src/main/java/sample/ws/WebServiceConfig.java
View file @
9be96c49
...
@@ -45,7 +45,7 @@ public class WebServiceConfig extends WsConfigurerAdapter {
...
@@ -45,7 +45,7 @@ public class WebServiceConfig extends WsConfigurerAdapter {
DefaultWsdl11Definition
wsdl11Definition
=
new
DefaultWsdl11Definition
();
DefaultWsdl11Definition
wsdl11Definition
=
new
DefaultWsdl11Definition
();
wsdl11Definition
.
setPortTypeName
(
"HumanResource"
);
wsdl11Definition
.
setPortTypeName
(
"HumanResource"
);
wsdl11Definition
.
setLocationUri
(
"/holidayService/"
);
wsdl11Definition
.
setLocationUri
(
"/holidayService/"
);
wsdl11Definition
.
setTargetNamespace
(
"http
://mycompany
.com/hr/definitions"
);
wsdl11Definition
.
setTargetNamespace
(
"http
s://company.example
.com/hr/definitions"
);
wsdl11Definition
.
setSchema
(
countriesSchema
);
wsdl11Definition
.
setSchema
(
countriesSchema
);
return
wsdl11Definition
;
return
wsdl11Definition
;
}
}
...
...
spring-boot-samples/spring-boot-sample-ws/src/main/java/sample/ws/endpoint/HolidayEndpoint.java
View file @
9be96c49
...
@@ -38,7 +38,7 @@ import org.springframework.ws.server.endpoint.annotation.RequestPayload;
...
@@ -38,7 +38,7 @@ import org.springframework.ws.server.endpoint.annotation.RequestPayload;
@Endpoint
@Endpoint
public
class
HolidayEndpoint
{
public
class
HolidayEndpoint
{
private
static
final
String
NAMESPACE_URI
=
"http
://mycompany
.com/hr/schemas"
;
private
static
final
String
NAMESPACE_URI
=
"http
s://company.example
.com/hr/schemas"
;
private
XPathExpression
<
Element
>
startDateExpression
;
private
XPathExpression
<
Element
>
startDateExpression
;
private
XPathExpression
<
Element
>
endDateExpression
;
private
XPathExpression
<
Element
>
endDateExpression
;
...
...
spring-boot-samples/spring-boot-sample-ws/src/main/resources/META-INF/schemas/hr.xsd
View file @
9be96c49
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:hr=
"http
://mycompany
.com/hr/schemas"
xmlns:hr=
"http
s://company.example
.com/hr/schemas"
elementFormDefault=
"qualified"
elementFormDefault=
"qualified"
targetNamespace=
"http
://mycompany
.com/hr/schemas"
>
targetNamespace=
"http
s://company.example
.com/hr/schemas"
>
<xs:element
name=
"HolidayRequest"
>
<xs:element
name=
"HolidayRequest"
>
<xs:complexType>
<xs:complexType>
<xs:all>
<xs:all>
...
...
spring-boot-samples/spring-boot-sample-ws/src/test/java/sample/ws/SampleWsApplicationTests.java
View file @
9be96c49
...
@@ -56,7 +56,7 @@ public class SampleWsApplicationTests {
...
@@ -56,7 +56,7 @@ public class SampleWsApplicationTests {
@Test
@Test
public
void
testSendingHolidayRequest
()
{
public
void
testSendingHolidayRequest
()
{
final
String
request
=
"<hr:HolidayRequest xmlns:hr=\"http
://mycompany
.com/hr/schemas\">"
final
String
request
=
"<hr:HolidayRequest xmlns:hr=\"http
s://company.example
.com/hr/schemas\">"
+
" <hr:Holiday>"
+
" <hr:StartDate>2013-10-20</hr:StartDate>"
+
" <hr:Holiday>"
+
" <hr:StartDate>2013-10-20</hr:StartDate>"
+
" <hr:EndDate>2013-11-22</hr:EndDate>"
+
" </hr:Holiday>"
+
" <hr:EndDate>2013-11-22</hr:EndDate>"
+
" </hr:Holiday>"
+
" <hr:Employee>"
+
" <hr:Number>1</hr:Number>"
+
" <hr:Employee>"
+
" <hr:Number>1</hr:Number>"
...
...
spring-boot-starters/README.adoc
View file @
9be96c49
...
@@ -25,10 +25,10 @@ do as they were designed before this was clarified.
...
@@ -25,10 +25,10 @@ do as they were designed before this was clarified.
| Central Authentication Service (CAS) client
| Central Authentication Service (CAS) client
| https://github.com/Unicon/cas-client-autoconfig-support
| https://github.com/Unicon/cas-client-autoconfig-support
| http
://modelmapper.org
/[ModelMapper]
| http
s://github.com/modelmapper/modelmapper
/[ModelMapper]
| https://github.com/jmnarloch/modelmapper-spring-boot-starter
| https://github.com/jmnarloch/modelmapper-spring-boot-starter
| https://
secondmarket.github.io/mongeez/
[Mongeez]
| https://
github.com/mongeez/mongeez
[Mongeez]
| https://github.com/hzpz/mongeez-spring-boot-starter/
| https://github.com/hzpz/mongeez-spring-boot-starter/
| https://ha-jdbc.github.io/[HA JDBC]
| https://ha-jdbc.github.io/[HA JDBC]
...
@@ -58,7 +58,7 @@ do as they were designed before this was clarified.
...
@@ -58,7 +58,7 @@ do as they were designed before this was clarified.
| https://www.google.com/recaptcha[Google's reCAPTCHA]
| https://www.google.com/recaptcha[Google's reCAPTCHA]
| https://github.com/mkopylec/recaptcha-spring-boot-starter
| https://github.com/mkopylec/recaptcha-spring-boot-starter
| http
://www.mybatis.org/mybatis-3/[Myb
atis]
| http
s://github.com/mybatis/mybatis-3[MyB
atis]
| https://github.com/mybatis/mybatis-spring-boot
| https://github.com/mybatis/mybatis-spring-boot
| https://wicket.apache.org/[Apache Wicket]
| https://wicket.apache.org/[Apache Wicket]
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/CentralDirectoryEndRecord.java
View file @
9be96c49
...
@@ -24,7 +24,7 @@ import org.springframework.boot.loader.data.RandomAccessData;
...
@@ -24,7 +24,7 @@ import org.springframework.boot.loader.data.RandomAccessData;
* A ZIP File "End of central directory record" (EOCD).
* A ZIP File "End of central directory record" (EOCD).
*
*
* @author Phillip Webb
* @author Phillip Webb
* @see <a href="https://en.wikipedia.org/wiki/Zip_%2
528file_format%25
29">Zip File Format</a>
* @see <a href="https://en.wikipedia.org/wiki/Zip_%2
8file_format%
29">Zip File Format</a>
*/
*/
class
CentralDirectoryEndRecord
{
class
CentralDirectoryEndRecord
{
...
...
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/jar/JarEntryData.java
View file @
9be96c49
/*
/*
* Copyright 2012-201
5
the original author or authors.
* Copyright 2012-201
9
the original author or authors.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* you may not use this file except in compliance with the License.
...
@@ -156,8 +156,8 @@ public final class JarEntryData {
...
@@ -156,8 +156,8 @@ public final class JarEntryData {
/**
/**
* Decode MS-DOS Date Time details. See
* Decode MS-DOS Date Time details. See
* <a href="http
://mindprod.com/jgloss/zip.html">mindprod.com/jgloss/zip.html</a> for
* <a href="http
s://docs.microsoft.com/en-gb/windows/desktop/api/winbase/nf-winbase-dosdatetimetofiletime">
* more details of the format.
*
Microsoft's documentation</a> for
more details of the format.
* @param date the date part
* @param date the date part
* @param time the time part
* @param time the time part
* @return a {@link Calendar} containing the decoded date.
* @return a {@link Calendar} containing the decoded date.
...
...
spring-boot-tools/spring-boot-maven-plugin/src/site/apt/examples/it-random-port.apt.vm
View file @
9be96c49
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
port to the integration test itself.
port to the integration test itself.
The example below showcases how you could achieve the same feature using the
The example below showcases how you could achieve the same feature using the
{{{https://
mojo.code
haus.org/build-helper-maven-plugin/}build-helper-plugin}}:
{{{https://
www.mojo
haus.org/build-helper-maven-plugin/}build-helper-plugin}}:
---
---
<project>
<project>
...
...
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