Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a "test" validator
iay committed May 12, 2018
1 parent b3bef95 commit e22aa5e
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/application.properties
@@ -8,4 +8,5 @@ spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
validator.common = common-beans.xml

# Space-separated list of the validator configurations to load.
validator.configurations = default-validator.xml second-validator.xml
validator.configurations = default-validator.xml second-validator.xml \
test-validator.xml
15 changes: 15 additions & 0 deletions src/main/resources/test-validator.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
default-lazy-init="true"
xmlns:c="http://www.springframework.org/schema/c"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:util="http://www.springframework.org/schema/util"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

<bean id="id" class="java.lang.String" c:_="test"/>
<bean id="description" class="java.lang.String" c:_="Test validator."/>

</beans>

0 comments on commit e22aa5e

Please sign in to comment.