Merge branch '1.5.x' into 2.0.x
This commit is contained in:
7
pom.xml
7
pom.xml
@@ -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>
|
||||
|
||||
@@ -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' )
|
||||
X-ORIGIN 'Managing Schema Document' )
|
||||
|
||||
@@ -1 +1 @@
|
||||
custom
|
||||
custom
|
||||
|
||||
@@ -1 +1 @@
|
||||
yield "custom"
|
||||
yield "custom"
|
||||
|
||||
@@ -1 +1 @@
|
||||
custom
|
||||
custom
|
||||
|
||||
@@ -1 +1 @@
|
||||
INSERT INTO BAR VALUES (1, 'Andy');
|
||||
INSERT INTO BAR VALUES (1, 'Andy');
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
</expiry>
|
||||
</cache>
|
||||
|
||||
</config>
|
||||
</config>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<include resource="org/springframework/boot/logging/logback/base.xml"/>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Hello {{World}}
|
||||
Hello {{World}}
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
<h2>A Message</h2>
|
||||
<div>{{message}} at {{time}}</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
</div>
|
||||
<div class="jumbotron">{{#include}}{{body}}{{/include}}</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -12,4 +12,4 @@
|
||||
</div>
|
||||
<div class="jumbotron">{{>content}}</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
</join>
|
||||
</network>
|
||||
|
||||
</hazelcast>
|
||||
</hazelcast>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE SPAM (
|
||||
id INTEGER IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -1 +1 @@
|
||||
INSERT INTO FOO VALUES (1, 'Andy');
|
||||
INSERT INTO FOO VALUES (1, 'Andy');
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
INSERT INTO BAR(id, name) VALUES (1, 'bar');
|
||||
INSERT INTO BAR(id, name) VALUES (2, 'ばー');
|
||||
INSERT INTO BAR(id, name) VALUES (2, 'ばー');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE FOO (
|
||||
id INTEGER IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE BAR (
|
||||
id INTEGER IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -1 +1 @@
|
||||
<html><body data:foo="${foo}"></body></html>
|
||||
<html><body data:foo="${foo}"></body></html>
|
||||
|
||||
@@ -1 +1 @@
|
||||
home
|
||||
home
|
||||
|
||||
@@ -1 +1 @@
|
||||
<html><body th:text="${foo}">Home</body></html>
|
||||
<html><body th:text="${foo}">Home</body></html>
|
||||
|
||||
@@ -1 +1 @@
|
||||
home
|
||||
home
|
||||
|
||||
@@ -1 +1 @@
|
||||
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>
|
||||
<html><body th:text="${#temporals.create('2015','11','24')}"></body></html>
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Message: ${greeting}
|
||||
Message: ${greeting}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>
|
||||
<html><body>Message: <span th:text="${greeting}">Hello</span></body></html>
|
||||
|
||||
@@ -1 +1 @@
|
||||
Message: ${greeting}
|
||||
Message: ${greeting}
|
||||
|
||||
@@ -1 +1 @@
|
||||
prefixed
|
||||
prefixed
|
||||
|
||||
@@ -1 +1 @@
|
||||
yield "prefixed"
|
||||
yield "prefixed"
|
||||
|
||||
@@ -1 +1 @@
|
||||
prefixed
|
||||
prefixed
|
||||
|
||||
@@ -1 +1 @@
|
||||
suffixed
|
||||
suffixed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<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="https://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>
|
||||
</html>
|
||||
|
||||
@@ -30,4 +30,4 @@
|
||||
</proxy>
|
||||
</proxies>
|
||||
|
||||
</settings>
|
||||
</settings>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<settingsSecurity>
|
||||
<master>{oAyWuFO63U8HHgiplpqtgXih0/pwcRA0d+uA+Z7TBEk=}</master>
|
||||
</settingsSecurity>
|
||||
</settingsSecurity>
|
||||
|
||||
@@ -28,4 +28,4 @@
|
||||
</proxy>
|
||||
</proxies>
|
||||
|
||||
</settings>
|
||||
</settings>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
CREATE TABLE FOO (
|
||||
id INTEGER IDENTITY PRIMARY KEY,
|
||||
name VARCHAR(30),
|
||||
);
|
||||
);
|
||||
|
||||
@@ -22,4 +22,4 @@
|
||||
2012 2:17:16 PM CDT</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -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="https://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 {
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
test:
|
||||
foo:
|
||||
bar: value
|
||||
bar: value
|
||||
|
||||
@@ -1 +1 @@
|
||||
create table example (id int, name varchar);
|
||||
create table example (id int, name varchar);
|
||||
|
||||
@@ -62,4 +62,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,4 +35,4 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"foo": "bar"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -56,4 +56,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,4 +20,4 @@
|
||||
"sourceType": "org.acme.Foo2"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
"sourceType": "org.acme.Invalid"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,4 +76,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,4 @@
|
||||
"name": "spring.root2.name"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@
|
||||
|
||||
public void setExtra(String extra) {
|
||||
this.extra = extra;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,4 +8,4 @@ version: B
|
||||
---
|
||||
spring.profiles: C
|
||||
version: C
|
||||
---
|
||||
---
|
||||
|
||||
@@ -1 +1 @@
|
||||
foo: ${fooValue}
|
||||
foo: ${fooValue}
|
||||
|
||||
@@ -11,4 +11,4 @@ my:
|
||||
spring:
|
||||
profiles: other
|
||||
my:
|
||||
property: fromotherprofile
|
||||
property: fromotherprofile
|
||||
|
||||
@@ -11,4 +11,4 @@ my:
|
||||
spring:
|
||||
profiles: other
|
||||
my:
|
||||
property: fromotherprofile
|
||||
property: fromotherprofile
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
spring:
|
||||
profiles:
|
||||
active: dev,healthcheck
|
||||
active: dev,healthcheck
|
||||
|
||||
@@ -3,4 +3,4 @@ spring:
|
||||
profiles:
|
||||
active:
|
||||
- dev
|
||||
- healthcheck
|
||||
- healthcheck
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
---
|
||||
spring:
|
||||
profiles:
|
||||
active: dev, healthcheck
|
||||
active: dev, healthcheck
|
||||
|
||||
@@ -8,4 +8,4 @@ my:
|
||||
spring:
|
||||
profiles: dev
|
||||
my:
|
||||
property: fromdevprofile
|
||||
property: fromdevprofile
|
||||
|
||||
@@ -18,4 +18,4 @@
|
||||
<AppenderRef ref="Console"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
</Configuration>
|
||||
|
||||
@@ -11,4 +11,4 @@
|
||||
<jsr107:mbeans enable-statistics="true"/>
|
||||
</cache>
|
||||
|
||||
</config>
|
||||
</config>
|
||||
|
||||
@@ -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');
|
||||
insert into PERSON (first_name, last_name) values ('Dave', 'Syer');
|
||||
|
||||
@@ -1 +1 @@
|
||||
DROP ALL OBJECTS;
|
||||
DROP ALL OBJECTS;
|
||||
|
||||
@@ -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)
|
||||
insert into note_tags(notes_id, tags_id) values (4, 3)
|
||||
|
||||
@@ -1 +1 @@
|
||||
hello: Bonjour
|
||||
hello: Bonjour
|
||||
|
||||
@@ -4,4 +4,4 @@ name: Phil
|
||||
|
||||
spring:
|
||||
profiles: goodbye,dev
|
||||
name: Everyone
|
||||
name: Everyone
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
insert into users (username, password, enabled) values ('user', '{noop}user', true);
|
||||
|
||||
insert into authorities (username, authority) values ('user', 'ROLE_ADMIN');
|
||||
insert into authorities (username, authority) values ('user', 'ROLE_ADMIN');
|
||||
|
||||
@@ -7,4 +7,4 @@ create table users (
|
||||
create table authorities (
|
||||
username varchar(256),
|
||||
authority varchar(256)
|
||||
);
|
||||
);
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -7,4 +7,4 @@ create table users (
|
||||
create table authorities (
|
||||
username varchar(256),
|
||||
authority varchar(256)
|
||||
);
|
||||
);
|
||||
|
||||
@@ -31,4 +31,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
<xs:element name="LastName" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
</xs:schema>
|
||||
|
||||
@@ -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"
|
||||
[[ -s /test-service/log/spring-boot-app.log ]] && echo "Log written"
|
||||
|
||||
@@ -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
|
||||
ls -al /test-service/log/spring-boot-app.log
|
||||
|
||||
@@ -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
|
||||
ls -al /test-service/log/spring-boot-app.log
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
<?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" />
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<?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
|
||||
|
||||
1
src/checkstyle/nohttp-whitelist.txt
Normal file
1
src/checkstyle/nohttp-whitelist.txt
Normal file
@@ -0,0 +1 @@
|
||||
^http://livereload.com/protocols/official-7$
|
||||
Reference in New Issue
Block a user