File tree 2 files changed +50
-2
lines changed
2 files changed +50
-2
lines changed Original file line number Diff line number Diff line change 1
1
target /
2
2
.mvn /
3
3
4
- application- * .yml
5
-
6
4
# ## STS ###
7
5
.classpath
8
6
.factorypath
Original file line number Diff line number Diff line change
1
+ # vmoptions: -Dspring.profiles.active=test
2
+
3
+ server.port : 9090
4
+
5
+ api :
6
+ # Requests accept just this headers (optinal property). If property not exists, all headers are accepted
7
+ # acceptedHeaders:
8
+ # - "accept"
9
+ # - "Content-Type"
10
+
11
+ # When is not find in repository, then will try to do a request in this host
12
+ host : " http://www.mocky.io"
13
+
14
+ magicalHeaders : " Accept,User-Agent,Content-Type"
15
+
16
+ # Default headers to do a request
17
+ defaultHeaders :
18
+ -
19
+ headerName : " Access-Control-Allow-Origin"
20
+ headerValues :
21
+ - " Connection"
22
+ - " Keep-Alive"
23
+ -
24
+ headerName : " Content-Type"
25
+ headerValues :
26
+ - " application/json;charset=UTF-8"
27
+
28
+ # Alternative hosts
29
+ # When a request uri match with some pattern, than this host will be used
30
+ uriConfigurations :
31
+ -
32
+ host : " http://www.mocky2.io"
33
+ pattern : " begin-of-uri/|another-pattern/"
34
+ backup : false
35
+ -
36
+ host : " http://www.mocky3.io"
37
+ pattern : " teste/|test/"
38
+
39
+ # Paths of json
40
+ file :
41
+ # Look for this path to find json with a request
42
+ base : " ${MOCK_API_FILE_BASE}"
43
+ extension : " .json"
44
+ # Save request (cache) in this path
45
+ backup.path : " ${MOCK_BACKUP_FILE_BASE}"
46
+
47
+ # Initialize app in capture mode. All requests will be saved
48
+ captureState : true
49
+
50
+ debug : true
You can’t perform that action at this time.
0 commit comments