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
5fba43aa
Commit
5fba43aa
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
eb9ffd5e
e61f7a33
Changes
78
Hide whitespace changes
Inline
Side-by-side
Showing
78 changed files
with
90 additions
and
78 deletions
+90
-78
pom.xml
pom.xml
+7
-0
custom-schema.ldif
...-boot-autoconfigure/src/test/resources/custom-schema.ldif
+1
-1
custom.ftl
...oconfigure/src/test/resources/custom-templates/custom.ftl
+1
-1
custom.tpl
...oconfigure/src/test/resources/custom-templates/custom.tpl
+1
-1
custom.vm
...toconfigure/src/test/resources/custom-templates/custom.vm
+1
-1
data.sql
...ect/spring-boot-autoconfigure/src/test/resources/data.sql
+1
-1
ehcache3.xml
...spring-boot-autoconfigure/src/test/resources/ehcache3.xml
+1
-1
logback-test.xml
...ng-boot-autoconfigure/src/test/resources/logback-test.xml
+1
-1
foo.html
...oconfigure/src/test/resources/mustache-templates/foo.html
+1
-1
home.html
...configure/src/test/resources/mustache-templates/home.html
+1
-1
layout.html
...nfigure/src/test/resources/mustache-templates/layout.html
+1
-1
partial.html
...figure/src/test/resources/mustache-templates/partial.html
+1
-1
hazelcast-specific.xml
...ework/boot/autoconfigure/hazelcast/hazelcast-specific.xml
+1
-1
another.sql
...s/org/springframework/boot/autoconfigure/jdbc/another.sql
+1
-1
data.sql
...rces/org/springframework/boot/autoconfigure/jdbc/data.sql
+1
-1
encoding-data.sql
...springframework/boot/autoconfigure/jdbc/encoding-data.sql
+1
-1
schema.sql
...es/org/springframework/boot/autoconfigure/jdbc/schema.sql
+1
-1
schema.sql
...t/spring-boot-autoconfigure/src/test/resources/schema.sql
+1
-1
data-dialect.html
...oconfigure/src/test/resources/templates/data-dialect.html
+1
-1
home.ftl
...-boot-autoconfigure/src/test/resources/templates/home.ftl
+1
-1
home.html
...boot-autoconfigure/src/test/resources/templates/home.html
+1
-1
home.vm
...g-boot-autoconfigure/src/test/resources/templates/home.vm
+1
-1
java8time-dialect.html
...igure/src/test/resources/templates/java8time-dialect.html
+1
-1
layout.html
...ot-autoconfigure/src/test/resources/templates/layout.html
+1
-1
message.ftl
...ot-autoconfigure/src/test/resources/templates/message.ftl
+1
-1
message.html
...t-autoconfigure/src/test/resources/templates/message.html
+1
-1
message.vm
...oot-autoconfigure/src/test/resources/templates/message.vm
+1
-1
prefixed.ftl
...onfigure/src/test/resources/templates/prefix/prefixed.ftl
+1
-1
prefixed.tpl
...onfigure/src/test/resources/templates/prefix/prefixed.tpl
+1
-1
prefixed.vm
...configure/src/test/resources/templates/prefix/prefixed.vm
+1
-1
suffixed.freemarker
...onfigure/src/test/resources/templates/suffixed.freemarker
+1
-1
view.html
...boot-autoconfigure/src/test/resources/templates/view.html
+2
-2
settings.xml
...oject/spring-boot-cli/src/test/resources/.m2/settings.xml
+1
-1
settings-security.xml
...ources/maven-settings/encrypted/.m2/settings-security.xml
+1
-1
settings.xml
.../test/resources/maven-settings/encrypted/.m2/settings.xml
+1
-1
schema-all.sql
...project/spring-boot-cli/src/test/resources/schema-all.sql
+1
-1
home.html
...ct/spring-boot-cli/src/test/resources/templates/home.html
+1
-1
LiveReloadServer.java
...gframework/boot/devtools/livereload/LiveReloadServer.java
+1
-2
config.yml
...boot-docs/src/test/resources/com/example/myapp/config.yml
+1
-1
schema.sql
...g/springframework/boot/test/autoconfigure/jdbc/schema.sql
+1
-1
configuration-metadata-bar.json
...c/test/resources/metadata/configuration-metadata-bar.json
+1
-1
configuration-metadata-deprecated.json
...resources/metadata/configuration-metadata-deprecated.json
+1
-1
configuration-metadata-empty.json
...test/resources/metadata/configuration-metadata-empty.json
+1
-1
configuration-metadata-foo.json
...c/test/resources/metadata/configuration-metadata-foo.json
+1
-1
configuration-metadata-foo2.json
.../test/resources/metadata/configuration-metadata-foo2.json
+1
-1
configuration-metadata-invalid.json
...st/resources/metadata/configuration-metadata-invalid.json
+1
-1
configuration-metadata-map.json
...c/test/resources/metadata/configuration-metadata-map.json
+1
-1
configuration-metadata-root.json
.../test/resources/metadata/configuration-metadata-root.json
+1
-1
BarProperties.snippet
...oot/configurationsample/incremental/BarProperties.snippet
+1
-1
activeprofilerepro-without-override.yml
...rc/test/resources/activeprofilerepro-without-override.yml
+1
-1
custom-location.yml
...roject/spring-boot/src/test/resources/custom-location.yml
+1
-1
testprofiles.yml
...t-project/spring-boot/src/test/resources/testprofiles.yml
+1
-1
testprofilesdocument.yml
...t/spring-boot/src/test/resources/testprofilesdocument.yml
+1
-1
testsetmultiprofiles.yml
...t/spring-boot/src/test/resources/testsetmultiprofiles.yml
+1
-1
testsetmultiprofileslist.yml
...ring-boot/src/test/resources/testsetmultiprofileslist.yml
+1
-1
testsetmultiprofileswhitespace.yml
...oot/src/test/resources/testsetmultiprofileswhitespace.yml
+1
-1
testsetprofiles.yml
...roject/spring-boot/src/test/resources/testsetprofiles.yml
+1
-1
log4j2.xml
...boot-sample-actuator-log4j2/src/main/resources/log4j2.xml
+1
-1
ehcache3.xml
.../spring-boot-sample-cache/src/main/resources/ehcache3.xml
+1
-1
V1__init.sql
...ample-flyway/src/main/resources/db/migration/V1__init.sql
+1
-1
reset.sql
...ples/spring-boot-sample-jooq/src/main/resources/reset.sql
+1
-1
import.sql
...ples/spring-boot-sample-jpa/src/main/resources/import.sql
+1
-1
application.yml
...g-boot-samples/spring-boot-sample-profile/application.yml
+1
-1
application.yml
...ng-boot-sample-profile/src/main/resources/application.yml
+1
-1
login.html
...b-method-security/src/main/resources/templates/login.html
+1
-1
login.html
...web-secure-custom/src/main/resources/templates/login.html
+1
-1
data.sql
...g-boot-sample-web-secure-jdbc/src/main/resources/data.sql
+1
-1
schema.sql
...boot-sample-web-secure-jdbc/src/main/resources/schema.sql
+1
-1
login.html
...e-web-secure-jdbc/src/main/resources/templates/login.html
+1
-1
schema.sql
...ring-boot-sample-web-secure/src/main/resources/schema.sql
+1
-1
login.html
...sample-web-secure/src/main/resources/templates/login.html
+1
-1
hr.xsd
...le-webservices/src/main/resources/META-INF/schemas/hr.xsd
+1
-1
launch-with-relative-log-folder.sh
...test/resources/scripts/launch-with-relative-log-folder.sh
+1
-1
log-file-ownership-is-changed-when-created.sh
...ces/scripts/log-file-ownership-is-changed-when-created.sh
+1
-1
log-file-ownership-is-unchanged-when-exists.sh
...es/scripts/log-file-ownership-is-unchanged-when-exists.sh
+1
-1
checkstyle-suppressions.xml
src/checkstyle/checkstyle-suppressions.xml
+4
-2
checkstyle.xml
src/checkstyle/checkstyle.xml
+3
-0
nohttp-whitelist.txt
src/checkstyle/nohttp-whitelist.txt
+1
-0
No files found.
pom.xml
View file @
5fba43aa
...
...
@@ -25,6 +25,7 @@
</activation>
<properties>
<spring-javaformat.version>
0.0.9
</spring-javaformat.version>
<nohttp-checkstyle.version>
0.0.1.RELEASE
</nohttp-checkstyle.version>
</properties>
<build>
<plugins>
...
...
@@ -43,6 +44,11 @@
<artifactId>
spring-javaformat-checkstyle
</artifactId>
<version>
${spring-javaformat.version}
</version>
</dependency>
<dependency>
<groupId>
io.spring.nohttp
</groupId>
<artifactId>
nohttp-checkstyle
</artifactId>
<version>
${nohttp-checkstyle.version}
</version>
</dependency>
</dependencies>
<executions>
<execution>
...
...
@@ -54,6 +60,7 @@
<suppressionsLocation>
src/checkstyle/checkstyle-suppressions.xml
</suppressionsLocation>
<includeTestSourceDirectory>
true
</includeTestSourceDirectory>
<propertyExpansion>
main.basedir=${main.basedir}
</propertyExpansion>
<resourceIncludes>
**\/*.*
</resourceIncludes>
</configuration>
<goals>
<goal>
check
</goal>
...
...
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-schema.ldif
View file @
5fba43aa
...
...
@@ -14,4 +14,4 @@ objectClasses: ( 1.3.6.1.4.1.32473.1.2.2
SUP top
AUXILIARY
MAY exampleAttributeName
X-ORIGIN 'Managing Schema Document' )
\ No newline at end of file
X-ORIGIN 'Managing Schema Document' )
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.ftl
View file @
5fba43aa
custom
\ No newline at end of file
custom
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.tpl
View file @
5fba43aa
yield "custom"
\ No newline at end of file
yield "custom"
spring-boot-project/spring-boot-autoconfigure/src/test/resources/custom-templates/custom.vm
View file @
5fba43aa
custom
\ No newline at end of file
custom
spring-boot-project/spring-boot-autoconfigure/src/test/resources/data.sql
View file @
5fba43aa
INSERT
INTO
BAR
VALUES
(
1
,
'Andy'
);
\ No newline at end of file
INSERT
INTO
BAR
VALUES
(
1
,
'Andy'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/ehcache3.xml
View file @
5fba43aa
...
...
@@ -23,4 +23,4 @@
</expiry>
</cache>
</config>
\ No newline at end of file
</config>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/logback-test.xml
View file @
5fba43aa
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<include
resource=
"org/springframework/boot/logging/logback/base.xml"
/>
</configuration>
\ No newline at end of file
</configuration>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/foo.html
View file @
5fba43aa
Hello {{World}}
\ No newline at end of file
Hello {{World}}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/home.html
View file @
5fba43aa
...
...
@@ -6,4 +6,4 @@
<h2>
A Message
</h2>
<div>
{{message}} at {{time}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/layout.html
View file @
5fba43aa
...
...
@@ -12,4 +12,4 @@
</div>
<div
class=
"jumbotron"
>
{{#include}}{{body}}{{/include}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/mustache-templates/partial.html
View file @
5fba43aa
...
...
@@ -12,4 +12,4 @@
</div>
<div
class=
"jumbotron"
>
{{>content}}
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/hazelcast/hazelcast-specific.xml
View file @
5fba43aa
...
...
@@ -16,4 +16,4 @@
</join>
</network>
</hazelcast>
\ No newline at end of file
</hazelcast>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/another.sql
View file @
5fba43aa
CREATE
TABLE
SPAM
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/data.sql
View file @
5fba43aa
INSERT
INTO
FOO
VALUES
(
1
,
'Andy'
);
\ No newline at end of file
INSERT
INTO
FOO
VALUES
(
1
,
'Andy'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/encoding-data.sql
View file @
5fba43aa
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
1
,
'bar'
);
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
2
,
'ばー'
);
\ No newline at end of file
INSERT
INTO
BAR
(
id
,
name
)
VALUES
(
2
,
'ばー'
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/org/springframework/boot/autoconfigure/jdbc/schema.sql
View file @
5fba43aa
CREATE
TABLE
FOO
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/schema.sql
View file @
5fba43aa
CREATE
TABLE
BAR
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/data-dialect.html
View file @
5fba43aa
<html><body
data:foo=
"${foo}"
></body></html>
\ No newline at end of file
<html><body
data:foo=
"${foo}"
></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.ftl
View file @
5fba43aa
home
\ No newline at end of file
home
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.html
View file @
5fba43aa
<html><body
th:text=
"${foo}"
>
Home
</body></html>
\ No newline at end of file
<html><body
th:text=
"${foo}"
>
Home
</body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/home.vm
View file @
5fba43aa
home
\ No newline at end of file
home
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/java8time-dialect.html
View file @
5fba43aa
<html><body
th:text=
"${#temporals.create('2015','11','24')}"
></body></html>
\ No newline at end of file
<html><body
th:text=
"${#temporals.create('2015','11','24')}"
></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/layout.html
View file @
5fba43aa
...
...
@@ -11,4 +11,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.ftl
View file @
5fba43aa
Message: ${greeting}
\ No newline at end of file
Message: ${greeting}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.html
View file @
5fba43aa
<html><body>
Message:
<span
th:text=
"${greeting}"
>
Hello
</span></body></html>
\ No newline at end of file
<html><body>
Message:
<span
th:text=
"${greeting}"
>
Hello
</span></body></html>
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/message.vm
View file @
5fba43aa
Message: ${greeting}
\ No newline at end of file
Message: ${greeting}
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.ftl
View file @
5fba43aa
prefixed
\ No newline at end of file
prefixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.tpl
View file @
5fba43aa
yield "prefixed"
\ No newline at end of file
yield "prefixed"
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/prefix/prefixed.vm
View file @
5fba43aa
prefixed
\ No newline at end of file
prefixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/suffixed.freemarker
View file @
5fba43aa
suffixed
\ No newline at end of file
suffixed
spring-boot-project/spring-boot-autoconfigure/src/test/resources/templates/view.html
View file @
5fba43aa
<html
xmlns:th=
"https://www.thymeleaf.org"
xmlns:layout=
"http://www.ultraq.net.nz/web/thymeleaf/layout"
layout:decorator=
"layout"
>
<html
xmlns:th=
"https://www.thymeleaf.org"
xmlns:layout=
"http
s
://www.ultraq.net.nz/web/thymeleaf/layout"
layout:decorator=
"layout"
>
<head>
<title
layout:fragment=
"title"
>
Content
</title>
</head>
...
...
@@ -7,4 +7,4 @@
<span
th:text=
"${foo}"
>
foo
</span>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-cli/src/test/resources/.m2/settings.xml
View file @
5fba43aa
...
...
@@ -30,4 +30,4 @@
</proxy>
</proxies>
</settings>
\ No newline at end of file
</settings>
spring-boot-project/spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings-security.xml
View file @
5fba43aa
<settingsSecurity>
<master>
{oAyWuFO63U8HHgiplpqtgXih0/pwcRA0d+uA+Z7TBEk=}
</master>
</settingsSecurity>
\ No newline at end of file
</settingsSecurity>
spring-boot-project/spring-boot-cli/src/test/resources/maven-settings/encrypted/.m2/settings.xml
View file @
5fba43aa
...
...
@@ -28,4 +28,4 @@
</proxy>
</proxies>
</settings>
\ No newline at end of file
</settings>
spring-boot-project/spring-boot-cli/src/test/resources/schema-all.sql
View file @
5fba43aa
CREATE
TABLE
FOO
(
id
INTEGER
IDENTITY
PRIMARY
KEY
,
name
VARCHAR
(
30
),
);
\ No newline at end of file
);
spring-boot-project/spring-boot-cli/src/test/resources/templates/home.html
View file @
5fba43aa
...
...
@@ -22,4 +22,4 @@
2012 2:17:16 PM CDT
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/livereload/LiveReloadServer.java
View file @
5fba43aa
...
...
@@ -36,11 +36,10 @@ import org.apache.commons.logging.LogFactory;
import
org.springframework.util.Assert
;
/**
* A <a href="http
://livereload.com
">livereload</a> server.
* A <a href="http
s://github.com/livereload
">livereload</a> server.
*
* @author Phillip Webb
* @since 1.3.0
* @see <a href="http://livereload.com">livereload.com</a>
*/
public
class
LiveReloadServer
{
...
...
spring-boot-project/spring-boot-docs/src/test/resources/com/example/myapp/config.yml
View file @
5fba43aa
test
:
foo
:
bar
:
value
\ No newline at end of file
bar
:
value
spring-boot-project/spring-boot-test-autoconfigure/src/test/resources/org/springframework/boot/test/autoconfigure/jdbc/schema.sql
View file @
5fba43aa
create
table
example
(
id
int
,
name
varchar
);
\ No newline at end of file
create
table
example
(
id
int
,
name
varchar
);
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-bar.json
View file @
5fba43aa
...
...
@@ -62,4 +62,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-deprecated.json
View file @
5fba43aa
...
...
@@ -35,4 +35,4 @@
}
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-empty.json
View file @
5fba43aa
{
"foo"
:
"bar"
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo.json
View file @
5fba43aa
...
...
@@ -56,4 +56,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-foo2.json
View file @
5fba43aa
...
...
@@ -20,4 +20,4 @@
"sourceType"
:
"org.acme.Foo2"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-invalid.json
View file @
5fba43aa
...
...
@@ -5,4 +5,4 @@
"sourceType"
:
"org.acme.Invalid"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-map.json
View file @
5fba43aa
...
...
@@ -76,4 +76,4 @@
]
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/src/test/resources/metadata/configuration-metadata-root.json
View file @
5fba43aa
...
...
@@ -8,4 +8,4 @@
"name"
:
"spring.root2.name"
}
]
}
\ No newline at end of file
}
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/resources/org/springframework/boot/configurationsample/incremental/BarProperties.snippet
View file @
5fba43aa
...
...
@@ -6,4 +6,4 @@
public void setExtra(String extra) {
this.extra = extra;
}
\ No newline at end of file
}
spring-boot-project/spring-boot/src/test/resources/activeprofilerepro-without-override.yml
View file @
5fba43aa
...
...
@@ -8,4 +8,4 @@ version: B
---
spring.profiles
:
C
version
:
C
---
\ No newline at end of file
---
spring-boot-project/spring-boot/src/test/resources/custom-location.yml
View file @
5fba43aa
foo
:
${fooValue}
\ No newline at end of file
foo
:
${fooValue}
spring-boot-project/spring-boot/src/test/resources/testprofiles.yml
View file @
5fba43aa
...
...
@@ -11,4 +11,4 @@ my:
spring
:
profiles
:
other
my
:
property
:
fromotherprofile
\ No newline at end of file
property
:
fromotherprofile
spring-boot-project/spring-boot/src/test/resources/testprofilesdocument.yml
View file @
5fba43aa
...
...
@@ -11,4 +11,4 @@ my:
spring
:
profiles
:
other
my
:
property
:
fromotherprofile
\ No newline at end of file
property
:
fromotherprofile
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofiles.yml
View file @
5fba43aa
---
spring
:
profiles
:
active
:
dev,healthcheck
\ No newline at end of file
active
:
dev,healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofileslist.yml
View file @
5fba43aa
...
...
@@ -3,4 +3,4 @@ spring:
profiles
:
active
:
-
dev
-
healthcheck
\ No newline at end of file
-
healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetmultiprofileswhitespace.yml
View file @
5fba43aa
---
spring
:
profiles
:
active
:
dev, healthcheck
\ No newline at end of file
active
:
dev, healthcheck
spring-boot-project/spring-boot/src/test/resources/testsetprofiles.yml
View file @
5fba43aa
...
...
@@ -8,4 +8,4 @@ my:
spring
:
profiles
:
dev
my
:
property
:
fromdevprofile
\ No newline at end of file
property
:
fromdevprofile
spring-boot-samples/spring-boot-sample-actuator-log4j2/src/main/resources/log4j2.xml
View file @
5fba43aa
...
...
@@ -18,4 +18,4 @@
<AppenderRef
ref=
"Console"
/>
</Root>
</Loggers>
</Configuration>
\ No newline at end of file
</Configuration>
spring-boot-samples/spring-boot-sample-cache/src/main/resources/ehcache3.xml
View file @
5fba43aa
...
...
@@ -11,4 +11,4 @@
<jsr107:mbeans
enable-statistics=
"true"
/>
</cache>
</config>
\ No newline at end of file
</config>
spring-boot-samples/spring-boot-sample-flyway/src/main/resources/db/migration/V1__init.sql
View file @
5fba43aa
...
...
@@ -6,4 +6,4 @@ CREATE TABLE PERSON (
create
sequence
person_sequence
start
with
1
increment
by
1
;
insert
into
PERSON
(
first_name
,
last_name
)
values
(
'Dave'
,
'Syer'
);
\ No newline at end of file
insert
into
PERSON
(
first_name
,
last_name
)
values
(
'Dave'
,
'Syer'
);
spring-boot-samples/spring-boot-sample-jooq/src/main/resources/reset.sql
View file @
5fba43aa
DROP
ALL
OBJECTS
;
\ No newline at end of file
DROP
ALL
OBJECTS
;
spring-boot-samples/spring-boot-sample-jpa/src/main/resources/import.sql
View file @
5fba43aa
...
...
@@ -14,4 +14,4 @@ insert into note_tags(notes_id, tags_id) values (1, 3)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
2
,
3
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
3
,
3
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
2
)
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
3
)
\ No newline at end of file
insert
into
note_tags
(
notes_id
,
tags_id
)
values
(
4
,
3
)
spring-boot-samples/spring-boot-sample-profile/application.yml
View file @
5fba43aa
hello
:
Bonjour
\ No newline at end of file
hello
:
Bonjour
spring-boot-samples/spring-boot-sample-profile/src/main/resources/application.yml
View file @
5fba43aa
...
...
@@ -4,4 +4,4 @@ name: Phil
spring
:
profiles
:
goodbye,dev
name
:
Everyone
\ No newline at end of file
name
:
Everyone
spring-boot-samples/spring-boot-sample-web-method-security/src/main/resources/templates/login.html
View file @
5fba43aa
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure-custom/src/main/resources/templates/login.html
View file @
5fba43aa
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/data.sql
View file @
5fba43aa
insert
into
users
(
username
,
password
,
enabled
)
values
(
'user'
,
'{noop}user'
,
true
);
insert
into
authorities
(
username
,
authority
)
values
(
'user'
,
'ROLE_ADMIN'
);
\ No newline at end of file
insert
into
authorities
(
username
,
authority
)
values
(
'user'
,
'ROLE_ADMIN'
);
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/schema.sql
View file @
5fba43aa
...
...
@@ -7,4 +7,4 @@ create table users (
create
table
authorities
(
username
varchar
(
256
),
authority
varchar
(
256
)
);
\ No newline at end of file
);
spring-boot-samples/spring-boot-sample-web-secure-jdbc/src/main/resources/templates/login.html
View file @
5fba43aa
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/schema.sql
View file @
5fba43aa
...
...
@@ -7,4 +7,4 @@ create table users (
create
table
authorities
(
username
varchar
(
256
),
authority
varchar
(
256
)
);
\ No newline at end of file
);
spring-boot-samples/spring-boot-sample-web-secure/src/main/resources/templates/login.html
View file @
5fba43aa
...
...
@@ -31,4 +31,4 @@
</div>
</div>
</body>
</html>
\ No newline at end of file
</html>
spring-boot-samples/spring-boot-sample-webservices/src/main/resources/META-INF/schemas/hr.xsd
View file @
5fba43aa
...
...
@@ -23,4 +23,4 @@
<xs:element
name=
"LastName"
type=
"xs:string"
/>
</xs:sequence>
</xs:complexType>
</xs:schema>
\ No newline at end of file
</xs:schema>
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/launch-with-relative-log-folder.sh
View file @
5fba43aa
...
...
@@ -5,4 +5,4 @@ echo 'LOG_FOLDER=log' > /test-service/spring-boot-app.conf
mkdir
-p
/test-service/log
start_service
await_app
[[
-s
/test-service/log/spring-boot-app.log
]]
&&
echo
"Log written"
\ No newline at end of file
[[
-s
/test-service/log/spring-boot-app.log
]]
&&
echo
"Log written"
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/log-file-ownership-is-changed-when-created.sh
View file @
5fba43aa
...
...
@@ -6,4 +6,4 @@ useradd andy
chown
andy /test-service/spring-boot-app.jar
start_service
await_app
ls
-al
/test-service/log/spring-boot-app.log
\ No newline at end of file
ls
-al
/test-service/log/spring-boot-app.log
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/src/test/resources/scripts/log-file-ownership-is-unchanged-when-exists.sh
View file @
5fba43aa
...
...
@@ -8,4 +8,4 @@ useradd andy
chown
andy /test-service/spring-boot-app.jar
start_service
await_app
ls
-al
/test-service/log/spring-boot-app.log
\ No newline at end of file
ls
-al
/test-service/log/spring-boot-app.log
src/checkstyle/checkstyle-suppressions.xml
View file @
5fba43aa
<?xml version="1.0"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<suppress
files=
"[\\/]target[\\/]"
checks=
".*"
/>
<suppress
files=
".+\.[jar|git|ico|p12]"
checks=
".*"
/>
<suppress
files=
"SpringApplicationTests\.java"
checks=
"FinalClass"
/>
<suppress
files=
".+Configuration\.java"
checks=
"HideUtilityClassConstructor"
/>
<suppress
files=
".+Application\.java"
checks=
"HideUtilityClassConstructor"
/>
...
...
src/checkstyle/checkstyle.xml
View file @
5fba43aa
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "https://checkstyle.org/dtds/configuration_1_2.dtd">
<module
name=
"com.puppycrawl.tools.checkstyle.Checker"
>
<module
name=
"io.spring.nohttp.checkstyle.check.NoHttpCheck"
>
<property
name=
"whitelistFileName"
value=
"${main.basedir}/src/checkstyle/nohttp-whitelist.txt"
/>
</module>
<module
name=
"io.spring.javaformat.checkstyle.SpringChecks"
/>
<module
name=
"com.puppycrawl.tools.checkstyle.TreeWalker"
>
<module
...
...
src/checkstyle/nohttp-whitelist.txt
0 → 100644
View file @
5fba43aa
^http://livereload.com/protocols/official-7$
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