File tree Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Expand file tree Collapse file tree 2 files changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ You can download the Suricate Widget Tester as a fat jar from the [GitHub releas
34
34
## Install
35
35
36
36
The Suricate Widget Tester is built on the [ Spring Boot framework] ( https://spring.io/ ) and can be configured using a Spring Boot
37
- configuration file, which includes a sample file located at ` src/main/resources/application.properties ` .
37
+ configuration file, which includes a sample file located at ` src/main/resources/application.yml ` .
38
38
39
- If necessary, you can override the properties from the default ` application.properties ` file by following
39
+ If necessary, you can override the properties from the default ` application.yml ` file by following
40
40
the [ Spring Boot externalized configuration guide] ( https://docs.spring.io/spring-boot/reference/features/external-config.html ) .
41
41
For example, you can create a custom ` /config/application.properties ` or set the ` --spring.config.location ` system
42
42
property when running the fat jar file:
@@ -57,7 +57,9 @@ The repository must follow the required structure (see the [official open-source
57
57
The repository location can be configured with the following property:
58
58
59
59
``` yml
60
- application.widgets.repository : <path-to-repository>
60
+ application :
61
+ widgets :
62
+ repository : <path-to-repository>
61
63
` ` `
62
64
63
65
It is set to ` /tmp` by default.
Original file line number Diff line number Diff line change 1
- # ######################################################################################################################
2
- # # SERVER ##
3
- # ######################################################################################################################
4
-
5
- server :
6
- port : 8085
7
-
8
- # ######################################################################################################################
9
- # # SPRING ##
10
- # ######################################################################################################################
11
-
12
- spring :
13
- autoconfigure :
14
- exclude : org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
15
-
16
- # ######################################################################################################################
17
- # # APPLICATION ##
18
- # ######################################################################################################################
19
-
20
1
application :
21
2
cors :
22
3
allowedHeaders : ' Content-Type, Accept, Authorization, X-Requested-With'
@@ -25,3 +6,8 @@ application:
25
6
maxAge : 3600
26
7
widgets :
27
8
repository : ' /tmp'
9
+ server :
10
+ port : 8085
11
+ spring :
12
+ autoconfigure :
13
+ exclude : ' org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration'
You can’t perform that action at this time.
0 commit comments