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
b442d3b9
Commit
b442d3b9
authored
Jun 04, 2019
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.5.x' into 2.0.x
parents
5fba43aa
80d8a5cf
Changes
31
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
44 additions
and
32 deletions
+44
-32
actuator-docs-index.html
...autoconfigure/src/test/resources/actuator-docs-index.html
+1
-0
V1__init.sql
...utoconfigure/src/test/resources/db/migration/V1__init.sql
+1
-0
actuator-docs-index.html
...boot-actuator/src/test/resources/actuator-docs-index.html
+1
-0
V1__init.sql
...oot-actuator/src/test/resources/db/migration/V1__init.sql
+1
-0
V2__update.sql
...t-actuator/src/test/resources/db/migration/V2__update.sql
+1
-0
V3__update.sql
...t-actuator/src/test/resources/db/migration/V3__update.sql
+1
-0
ThymeleafReactiveAutoConfigurationTests.java
...re/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
+4
-4
ThymeleafServletAutoConfigurationTests.java
...ure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
+4
-4
non-annotated.xml
...re/src/test/resources/META-INF/mappings/non-annotated.xml
+1
-1
city.sql
...ect/spring-boot-autoconfigure/src/test/resources/city.sql
+1
-1
custom.html
...configure/src/test/resources/custom-templates/custom.html
+1
-0
V1__init.sql
...utoconfigure/src/test/resources/db/migration/V1__init.sql
+1
-0
non-annotated-data.sql
...utoconfigure/src/test/resources/db/non-annotated-data.sql
+1
-1
V1__init.sql
...toconfigure/src/test/resources/db/vendors/h2/V1__init.sql
+1
-0
foo_de.html
...nfigure/src/test/resources/mustache-templates/foo_de.html
+1
-0
error.mustache
...nfigure/src/test/resources/templates/error/error.mustache
+3
-3
template.html
...-autoconfigure/src/test/resources/templates/template.html
+1
-1
index.html
...-autoconfigure/src/test/resources/welcome-page/index.html
+1
-0
service.wsdl
...g-boot-autoconfigure/src/test/resources/wsdl/service.wsdl
+6
-7
types.xsd
...ring-boot-autoconfigure/src/test/resources/wsdl/types.xsd
+1
-1
.file
...ng-boot-cli/src/test/resources/resource-matcher/two/.file
+1
-0
example.script
...pring-boot-loader-tools/src/test/resources/example.script
+1
-1
MANIFEST.MF
...-boot-loader/src/test/resources/root/META-INF/MANIFEST.MF
+1
-0
MustacheViewTests.java
...work/boot/web/reactive/result/view/MustacheViewTests.java
+1
-1
MustacheViewTests.java
...ingframework/boot/web/servlet/view/MustacheViewTests.java
+1
-1
spring.factories
.../spring-boot/src/test/resources/META-INF/spring.factories
+1
-1
application-withwebapplicationtype.yml
...src/test/resources/application-withwebapplicationtype.yml
+1
-1
template.html
...ringframework/boot/web/reactive/result/view/template.html
+1
-1
template.html
...s/org/springframework/boot/web/servlet/view/template.html
+1
-1
testnegatedprofiles.yml
...ct/spring-boot/src/test/resources/testnegatedprofiles.yml
+1
-1
launch-with-double-link-single-java-opt.sh
...ources/scripts/launch-with-double-link-single-java-opt.sh
+1
-1
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/actuator-docs-index.html
View file @
b442d3b9
spring-boot-project/spring-boot-actuator-autoconfigure/src/test/resources/db/migration/V1__init.sql
View file @
b442d3b9
spring-boot-project/spring-boot-actuator/src/test/resources/actuator-docs-index.html
View file @
b442d3b9
spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V1__init.sql
View file @
b442d3b9
spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V2__update.sql
View file @
b442d3b9
spring-boot-project/spring-boot-actuator/src/test/resources/db/migration/V3__update.sql
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java
View file @
b442d3b9
...
...
@@ -73,7 +73,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
load
(
BaseConfiguration
.
class
,
"spring.thymeleaf.suffix:.html"
);
TemplateEngine
engine
=
this
.
context
.
getBean
(
TemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"template"
,
attrs
);
String
result
=
engine
.
process
(
"template"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html>bar</html>"
);
}
...
...
@@ -176,7 +176,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
ISpringWebFluxTemplateEngine
engine
=
this
.
context
.
getBean
(
ISpringWebFluxTemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"data-dialect"
,
attrs
);
String
result
=
engine
.
process
(
"data-dialect"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body data-foo=\"bar\"></body></html>"
);
}
...
...
@@ -186,7 +186,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
ISpringWebFluxTemplateEngine
engine
=
this
.
context
.
getBean
(
ISpringWebFluxTemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
);
String
result
=
engine
.
process
(
"java8time-dialect"
,
attrs
);
String
result
=
engine
.
process
(
"java8time-dialect"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body>2015-11-24</body></html>"
);
}
...
...
@@ -196,7 +196,7 @@ public class ThymeleafReactiveAutoConfigurationTests {
ISpringWebFluxTemplateEngine
engine
=
this
.
context
.
getBean
(
ISpringWebFluxTemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"home"
,
attrs
);
String
result
=
engine
.
process
(
"home"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body>bar</body></html>"
);
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java
View file @
b442d3b9
...
...
@@ -89,7 +89,7 @@ public class ThymeleafServletAutoConfigurationTests {
"spring.thymeleaf.suffix:"
);
TemplateEngine
engine
=
this
.
context
.
getBean
(
TemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"template.html"
,
attrs
);
String
result
=
engine
.
process
(
"template.html"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html>bar</html>"
);
}
...
...
@@ -172,7 +172,7 @@ public class ThymeleafServletAutoConfigurationTests {
load
(
BaseConfiguration
.
class
);
TemplateEngine
engine
=
this
.
context
.
getBean
(
TemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"data-dialect"
,
attrs
);
String
result
=
engine
.
process
(
"data-dialect"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body data-foo=\"bar\"></body></html>"
);
}
...
...
@@ -181,7 +181,7 @@ public class ThymeleafServletAutoConfigurationTests {
load
(
BaseConfiguration
.
class
);
TemplateEngine
engine
=
this
.
context
.
getBean
(
TemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
);
String
result
=
engine
.
process
(
"java8time-dialect"
,
attrs
);
String
result
=
engine
.
process
(
"java8time-dialect"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body>2015-11-24</body></html>"
);
}
...
...
@@ -190,7 +190,7 @@ public class ThymeleafServletAutoConfigurationTests {
load
(
BaseConfiguration
.
class
);
TemplateEngine
engine
=
this
.
context
.
getBean
(
TemplateEngine
.
class
);
Context
attrs
=
new
Context
(
Locale
.
UK
,
Collections
.
singletonMap
(
"foo"
,
"bar"
));
String
result
=
engine
.
process
(
"home"
,
attrs
);
String
result
=
engine
.
process
(
"home"
,
attrs
)
.
trim
()
;
assertThat
(
result
).
isEqualTo
(
"<html><body>bar</body></html>"
);
}
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/resources/META-INF/mappings/non-annotated.xml
View file @
b442d3b9
...
...
@@ -15,4 +15,4 @@
</basic>
</attributes>
</entity>
</entity-mappings>
\ No newline at end of file
</entity-mappings>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/city.sql
View file @
b442d3b9
INSERT
INTO
CITY
(
ID
,
NAME
,
STATE
,
COUNTRY
,
MAP
)
values
(
2000
,
'Washington'
,
'DC'
,
'US'
,
'Google'
);
\ No newline at end of file
INSERT
INTO
CITY
(
ID
,
NAME
,
STATE
,
COUNTRY
,
MAP
)
values
(
2000
,
'Washington'
,
'DC'
,
'US'
,
'Google'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.html
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/migration/V1__init.sql
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/non-annotated-data.sql
View file @
b442d3b9
INSERT
INTO
NON_ANNOTATED
(
ID
,
VALUE
)
values
(
2000
,
'Test'
);
\ No newline at end of file
INSERT
INTO
NON_ANNOTATED
(
ID
,
VALUE
)
values
(
2000
,
'Test'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/db/vendors/h2/V1__init.sql
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo_de.html
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/error/error.mustache
View file @
b442d3b9
<html>
<body>
<ul>
<li>
status:
{{
status
}}
</li>
<li>
message:
{{
message
}}
</li>
<li>
status:
{{
status
}}
</li>
<li>
message:
{{
message
}}
</li>
</ul>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/template.html
View file @
b442d3b9
<html
th:text=
"${foo}"
>
foo
</html>
\ No newline at end of file
<html
th:text=
"${foo}"
>
foo
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/welcome-page/index.html
View file @
b442d3b9
spring-boot-project/spring-boot-autoconfigure/src/test/resources/wsdl/service.wsdl
View file @
b442d3b9
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl/"
xmlns:tns=
"http://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap=
"http
://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace=
"http
://www.springframework.org/spring-ws/wsdl"
>
<wsdl:definitions
xmlns:wsdl=
"http
s
://schemas.xmlsoap.org/wsdl/"
xmlns:tns=
"http
s
://www.springframework.org/spring-ws/wsdl"
xmlns:wsdlsoap=
"http
s://schemas.xmlsoap.org/wsdl/soap/"
targetNamespace=
"https
://www.springframework.org/spring-ws/wsdl"
>
<wsdl:types>
<xsd:schema
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http://www.springframework.org/spring-ws/wsdl"
>
<xsd:schema
xmlns:xsd=
"http
s
://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http
s
://www.springframework.org/spring-ws/wsdl"
>
<xsd:element
name=
"request"
type=
"xsd:string"
/>
<xsd:element
name=
"response"
type=
"xsd:string"
/>
</xsd:schema>
...
...
@@ -23,7 +23,7 @@
</wsdl:portType>
<wsdl:binding
name=
"binding"
type=
"tns:portType"
>
<wsdlsoap:binding
style=
"document"
transport=
"http://schemas.xmlsoap.org/soap/http/"
/>
transport=
"http
s
://schemas.xmlsoap.org/soap/http/"
/>
<wsdl:operation
name=
"operation"
>
<wsdlsoap:operation
soapAction=
""
/>
<wsdl:input
name=
"request"
>
...
...
@@ -40,4 +40,3 @@
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/wsdl/types.xsd
View file @
b442d3b9
<?xml version="1.0" encoding="UTF-8"?>
<schema
xmlns=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
targetNamespace=
"http://www.springframework.org/spring-ws/wsdl/schemas"
>
targetNamespace=
"http
s
://www.springframework.org/spring-ws/wsdl/schemas"
>
<element
name=
"request"
type=
"string"
/>
<element
name=
"response"
type=
"string"
/>
</schema>
spring-boot-project/spring-boot-cli/src/test/resources/resource-matcher/two/.file
View file @
b442d3b9
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/src/test/resources/example.script
View file @
b442d3b9
FOO=BAR
\ No newline at end of file
FOO=BAR
spring-boot-project/spring-boot-tools/spring-boot-loader/src/test/resources/root/META-INF/MANIFEST.MF
View file @
b442d3b9
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/reactive/result/view/MustacheViewTests.java
View file @
b442d3b9
...
...
@@ -62,7 +62,7 @@ public class MustacheViewTests {
view
.
render
(
Collections
.
singletonMap
(
"World"
,
"Spring"
),
MediaType
.
TEXT_HTML
,
this
.
exchange
).
block
(
Duration
.
ofSeconds
(
30
));
assertThat
(
this
.
exchange
.
getResponse
().
getBodyAsString
()
.
block
(
Duration
.
ofSeconds
(
30
))).
isEqualTo
(
"Hello Spring"
);
.
block
(
Duration
.
ofSeconds
(
30
))
.
trim
()
).
isEqualTo
(
"Hello Spring"
);
}
}
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/view/MustacheViewTests.java
View file @
b442d3b9
...
...
@@ -64,7 +64,7 @@ public class MustacheViewTests {
view
.
setApplicationContext
(
this
.
context
);
view
.
render
(
Collections
.
singletonMap
(
"World"
,
"Spring"
),
this
.
request
,
this
.
response
);
assertThat
(
this
.
response
.
getContentAsString
()).
isEqualTo
(
"Hello Spring"
);
assertThat
(
this
.
response
.
getContentAsString
()
.
trim
()
).
isEqualTo
(
"Hello Spring"
);
}
}
spring-boot-project/spring-boot/src/test/resources/META-INF/spring.factories
View file @
b442d3b9
org.springframework.boot.env.PropertySourceLoader=\
org.springframework.boot.context.config.TestPropertySourceLoader1,\
org.springframework.boot.context.config.TestPropertySourceLoader2
\ No newline at end of file
org.springframework.boot.context.config.TestPropertySourceLoader2
spring-boot-project/spring-boot/src/test/resources/application-withwebapplicationtype.yml
View file @
b442d3b9
spring.main.web-application-type
:
reactive
\ No newline at end of file
spring.main.web-application-type
:
reactive
spring-boot-project/spring-boot/src/test/resources/org/springframework/boot/web/reactive/result/view/template.html
View file @
b442d3b9
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot/src/test/resources/org/springframework/boot/web/servlet/view/template.html
View file @
b442d3b9
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot/src/test/resources/testnegatedprofiles.yml
View file @
b442d3b9
...
...
@@ -17,4 +17,4 @@ spring:
profiles
:
"
!other"
my
:
property
:
fromnototherprofile
notother
:
foo
\ No newline at end of file
notother
:
foo
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-double-link-single-java-opt.sh
View file @
b442d3b9
...
...
@@ -3,4 +3,4 @@ install_double_link_service
echo
'JAVA_OPTS=-Dserver.port=8081'
>
/test-service/spring-boot-app.conf
start_service
await_app http://127.0.0.1:8081/
curl
-s
http://127.0.0.1:8081/
\ No newline at end of file
curl
-s
http://127.0.0.1:8081/
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