-
Notifications
You must be signed in to change notification settings - Fork 0
/
wendys-rennpferde-2019-03-19.log
324 lines (324 loc) · 34.9 KB
/
wendys-rennpferde-2019-03-19.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
14:08:22.853 | INFO | WendysRennpferdeApplication: Starting WendysRennpferdeApplication on t205-254.demo.tuwien.ac.at with PID 63686 (started by ajayvirsingh in /Users/ajayvirsingh/Desktop/4Semester/SEPM PR/Einzelphase/Project/sepm-individual-assignment)
14:08:22.857 | DEBUG | WendysRennpferdeApplication: Running with Spring Boot v2.1.2.RELEASE, Spring v5.1.4.RELEASE
14:08:22.858 | INFO | WendysRennpferdeApplication: No active profile set, falling back to default profiles: default
14:08:24.339 | DEBUG | HorseEndpoint: Defined Endpoint
14:08:24.342 | DEBUG | JockeyEndpoint: Defined Endpoint
14:08:24.346 | INFO | SimulationEndpoint: Defined Endpoint
14:08:24.701 | INFO | WendysRennpferdeApplication: Started WendysRennpferdeApplication in 2.281 seconds (JVM running for 3.205)
14:13:14.846 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Joe', breed='Haflinger', minSpeed=40.1, maxSpeed=60.0, created=null, updated=null}
14:13:14.846 | INFO | HorseService: Validate data of horse to be inserted
14:13:14.854 | INFO | HorseService: Insert Horse with following data: Name: Joe, Breed: Haflinger, min. Speed: 40.1max. Speed: 60.0
14:13:14.855 | INFO | HorseDao: Insert horse
14:13:14.862 | INFO | DBConnectionManager: Get database connection
14:13:14.862 | INFO | DBConnectionManager: Establish database connection
14:14:14.961 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='John', skill=76.5, created=null, updated=null}
14:14:14.961 | INFO | JockeyService: Validate data of jockey to be inserted
14:14:14.962 | INFO | JockeyService: Insert jockey with following data: Name: John, Skill: 76.5
14:14:14.962 | INFO | JockeyDao: Insert Jockey
14:14:14.962 | INFO | DBConnectionManager: Get database connection
14:16:02.535 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Mark', skill=57.5, created=null, updated=null}
14:16:02.535 | INFO | JockeyService: Validate data of jockey to be inserted
14:16:02.535 | INFO | JockeyService: Insert jockey with following data: Name: Mark, Skill: 57.5
14:16:02.536 | INFO | JockeyDao: Insert Jockey
14:16:02.536 | INFO | DBConnectionManager: Get database connection
14:17:17.633 | INFO | SimulationEndpoint: POST simulation: /api/v1/simulations
14:17:17.642 | INFO | SimulationService: Post Simulation with name: Simulation 1 and participants: [{Horse ID: 1, Jockey ID: 1, Luck factor: 0.95}, {Horse ID: 2, Jockey ID: 2, Luck factor: 1.05}]
14:17:17.643 | INFO | SimulationService: Validate data of simulation to be inserted
14:17:17.643 | INFO | SimulationService: Prepare Simulation and calculate values based on horse speed, luck and skill
14:17:17.643 | INFO | HorseDao: Get correct version of participant horses
14:17:17.643 | INFO | DBConnectionManager: Get database connection
14:17:17.685 | INFO | JockeyDao: Get correct version of participant jockeys
14:17:17.685 | INFO | DBConnectionManager: Get database connection
14:18:26.177 | INFO | DBConnectionManager: Close database connection
16:00:16.683 | INFO | WendysRennpferdeApplication: Starting WendysRennpferdeApplication on t205-254.demo.tuwien.ac.at with PID 63882 (started by ajayvirsingh in /Users/ajayvirsingh/Desktop/4Semester/SEPM PR/Einzelphase/Project/sepm-individual-assignment)
16:00:16.688 | DEBUG | WendysRennpferdeApplication: Running with Spring Boot v2.1.2.RELEASE, Spring v5.1.4.RELEASE
16:00:16.690 | INFO | WendysRennpferdeApplication: No active profile set, falling back to default profiles: default
16:00:18.184 | DEBUG | HorseEndpoint: Defined Endpoint
16:00:18.187 | DEBUG | JockeyEndpoint: Defined Endpoint
16:00:18.191 | INFO | SimulationEndpoint: Defined Endpoint
16:00:18.541 | INFO | WendysRennpferdeApplication: Started WendysRennpferdeApplication in 2.307 seconds (JVM running for 3.331)
16:00:34.203 | INFO | SimulationEndpoint: POST simulation: /api/v1/simulations
16:00:34.217 | INFO | SimulationService: Post Simulation with name: Simulation 1 and participants: [{Horse ID: 1, Jockey ID: 1, Luck factor: 0.95}, {Horse ID: 2, Jockey ID: 2, Luck factor: 1.05}]
16:00:34.217 | INFO | SimulationService: Validate data of simulation to be inserted
16:00:34.217 | INFO | SimulationService: Prepare Simulation and calculate values based on horse speed, luck and skill
16:00:34.231 | INFO | HorseDao: Get correct version of participant horses
16:00:34.232 | INFO | DBConnectionManager: Get database connection
16:00:34.232 | INFO | DBConnectionManager: Establish database connection
16:00:34.476 | INFO | JockeyDao: Get correct version of participant jockeys
16:00:34.476 | INFO | DBConnectionManager: Get database connection
16:00:34.482 | INFO | SimulationService: Insert simulation with following data: Name: Simulation 1, Participants: [{Horse ID: 1, Jockey ID: 1, Luck factor: 0.95}, {Horse ID: 2, Jockey ID: 2, Luck factor: 1.05}]
16:00:34.482 | INFO | Simulation: Insert Simulation
16:00:34.482 | INFO | DBConnectionManager: Get database connection
16:00:34.490 | INFO | SimulationService: Simulation data calculated and sorted by highest average Speed
16:00:34.490 | INFO | SimulationService: Set rank of participants
16:01:18.844 | INFO | SimulationEndpoint: GET Simulation Result: /api/v1/simulations/1
16:01:18.845 | INFO | SimulationService: Get Simulation with id 1
16:01:18.845 | INFO | Simulation: Get simulation with id 1
16:01:18.845 | INFO | DBConnectionManager: Get database connection
16:01:18.850 | INFO | HorseDao: Get correct version of participant horses
16:01:18.850 | INFO | DBConnectionManager: Get database connection
16:01:18.857 | INFO | JockeyDao: Get correct version of participant jockeys
16:01:18.858 | INFO | DBConnectionManager: Get database connection
16:01:18.865 | INFO | SimulationService: Simulation data calculated and sorted by highest average Speed
16:01:18.865 | INFO | SimulationService: Set rank of participants
16:01:52.945 | INFO | SimulationEndpoint: GET ALL/api/v1/simulationsFiltered: Simulation 1
16:01:52.946 | INFO | SimulationService: Get simulation/s with following optional parameter: Simulation 1
16:01:52.946 | INFO | Simulation: Simulation 1
16:01:52.946 | INFO | DBConnectionManager: Get database connection
16:02:02.731 | INFO | SimulationEndpoint: GET ALL/api/v1/simulations
16:02:02.731 | INFO | SimulationService: Get simulation/s with following optional parameter:
16:02:02.731 | INFO | Simulation: null
16:02:02.731 | INFO | DBConnectionManager: Get database connection
16:05:38.390 | INFO | HorseEndpoint: GET Horse: /api/v1/horses/1
16:05:38.391 | INFO | HorseService: Get horse with id 1
16:05:38.391 | INFO | HorseDao: Get horse with id 1
16:05:38.391 | INFO | DBConnectionManager: Get database connection
16:06:02.457 | INFO | HorseEndpoint: PUT /api/v1/horses, Horse: , min. Speed: 54.4max. Speed: 56.2
16:06:02.459 | INFO | HorseService: Validate of horse to be updated
16:06:02.459 | INFO | HorseService: Update horse with id 1
16:06:02.459 | INFO | DBConnectionManager: Get database connection
16:06:02.460 | INFO | HorseDao: Update horse with id 1
16:06:02.460 | INFO | HorseDao: Get horse with id 1
16:06:02.460 | INFO | DBConnectionManager: Get database connection
16:06:02.460 | ERROR | HorseDao: Maximum speed is smaller than minimum speed
16:07:22.917 | INFO | DBConnectionManager: Close database connection
16:11:59.757 | INFO | WendysRennpferdeApplication: Starting WendysRennpferdeApplication on t205-254.demo.tuwien.ac.at with PID 63944 (started by ajayvirsingh in /Users/ajayvirsingh/Desktop/4Semester/SEPM PR/Einzelphase/Project/sepm-individual-assignment)
16:11:59.760 | DEBUG | WendysRennpferdeApplication: Running with Spring Boot v2.1.2.RELEASE, Spring v5.1.4.RELEASE
16:11:59.760 | INFO | WendysRennpferdeApplication: No active profile set, falling back to default profiles: default
16:12:01.174 | DEBUG | HorseEndpoint: Defined Endpoint
16:12:01.181 | DEBUG | JockeyEndpoint: Defined Endpoint
16:12:01.187 | INFO | SimulationEndpoint: Defined Endpoint
16:12:01.657 | INFO | WendysRennpferdeApplication: Started WendysRennpferdeApplication in 2.406 seconds (JVM running for 3.427)
16:12:28.453 | INFO | HorseEndpoint: PUT /api/v1/horses, Horse: , min. Speed: 54.4max. Speed: 56.2
16:12:28.461 | INFO | HorseService: Validate of horse to be updated
16:12:28.461 | INFO | HorseService: Update horse with id 1
16:12:28.461 | INFO | DBConnectionManager: Get database connection
16:12:28.462 | INFO | DBConnectionManager: Establish database connection
16:12:28.731 | INFO | HorseDao: Update horse with id 1
16:12:28.732 | INFO | HorseDao: Get horse with id 1
16:12:28.733 | INFO | DBConnectionManager: Get database connection
16:12:28.786 | INFO | HorseDao: Insert into horsehistory with 1
16:12:28.804 | INFO | HorseDao: Get horse with id 1
16:12:28.805 | INFO | DBConnectionManager: Get database connection
16:13:34.042 | INFO | SimulationEndpoint: GET Simulation Result: /api/v1/simulations/1
16:13:34.042 | INFO | SimulationService: Get Simulation with id 1
16:13:34.042 | INFO | Simulation: Get simulation with id 1
16:13:34.043 | INFO | DBConnectionManager: Get database connection
16:13:34.045 | INFO | HorseDao: Get correct version of participant horses
16:13:34.045 | INFO | DBConnectionManager: Get database connection
16:13:34.088 | INFO | JockeyDao: Get correct version of participant jockeys
16:13:34.088 | INFO | DBConnectionManager: Get database connection
16:13:34.096 | INFO | SimulationService: Simulation data calculated and sorted by highest average Speed
16:13:34.097 | INFO | SimulationService: Set rank of participants
16:14:35.340 | INFO | HorseEndpoint: GET Horse: /api/v1/horses/1
16:14:35.341 | INFO | HorseService: Get horse with id 1
16:14:35.341 | INFO | HorseDao: Get horse with id 1
16:14:35.341 | INFO | DBConnectionManager: Get database connection
16:15:07.733 | INFO | DBConnectionManager: Close database connection
17:46:26.146 | INFO | HorseDaoTest: Starting HorseDaoTest on t205-254.demo.tuwien.ac.at with PID 64558 (started by ajayvirsingh in /Users/ajayvirsingh/Desktop/4Semester/SEPM PR/Einzelphase/Project/sepm-individual-assignment)
17:46:26.149 | DEBUG | HorseDaoTest: Running with Spring Boot v2.1.2.RELEASE, Spring v5.1.4.RELEASE
17:46:26.152 | INFO | HorseDaoTest: The following profiles are active: test
17:46:27.407 | DEBUG | HorseEndpoint: Defined Endpoint
17:46:27.427 | DEBUG | JockeyEndpoint: Defined Endpoint
17:46:27.436 | INFO | SimulationEndpoint: Defined Endpoint
17:46:28.263 | INFO | HorseDaoTest: Started HorseDaoTest in 2.679 seconds (JVM running for 3.847)
17:46:28.744 | INFO | HorseDao: Get horse with id 1
17:46:28.744 | INFO | DBConnectionManager: Get database connection
17:46:28.744 | INFO | DBConnectionManager: Establish database connection
17:46:28.966 | ERROR | HorseDao: Could not find horse with id 1
17:46:28.967 | INFO | DBConnectionManager: Close database connection
17:46:29.029 | INFO | JockeyIntegrationTest: Starting JockeyIntegrationTest on t205-254.demo.tuwien.ac.at with PID 64558 (started by ajayvirsingh in /Users/ajayvirsingh/Desktop/4Semester/SEPM PR/Einzelphase/Project/sepm-individual-assignment)
17:46:29.031 | DEBUG | JockeyIntegrationTest: Running with Spring Boot v2.1.2.RELEASE, Spring v5.1.4.RELEASE
17:46:29.031 | INFO | JockeyIntegrationTest: The following profiles are active: test
17:46:29.873 | DEBUG | HorseEndpoint: Defined Endpoint
17:46:29.879 | DEBUG | JockeyEndpoint: Defined Endpoint
17:46:29.886 | INFO | SimulationEndpoint: Defined Endpoint
17:46:30.225 | INFO | JockeyIntegrationTest: Started JockeyIntegrationTest in 1.219 seconds (JVM running for 5.808)
17:46:30.481 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=-2000.0, created=null, updated=null}
17:46:30.482 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.483 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: -2000.0
17:46:30.483 | INFO | JockeyDao: Insert Jockey
17:46:30.490 | INFO | DBConnectionManager: Get database connection
17:46:30.490 | INFO | DBConnectionManager: Establish database connection
17:46:30.530 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey2', skill=33.33, created=null, updated=null}
17:46:30.530 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.531 | INFO | JockeyService: Insert jockey with following data: Name: Jockey2, Skill: 33.33
17:46:30.531 | INFO | JockeyDao: Insert Jockey
17:46:30.531 | INFO | DBConnectionManager: Get database connection
17:46:30.553 | INFO | JockeyEndpoint: GET ALL /api/v1/jockeys:
17:46:30.553 | INFO | JockeyService: Get jockey/s with following optional parameters:
17:46:30.554 | INFO | JockeyDao: Get jockey/s with following optional parameters:
17:46:30.554 | INFO | DBConnectionManager: Get database connection
17:46:30.569 | INFO | DBConnectionManager: Close database connection
17:46:30.577 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=-2000.0, created=null, updated=null}
17:46:30.578 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.578 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: -2000.0
17:46:30.578 | INFO | JockeyDao: Insert Jockey
17:46:30.578 | INFO | DBConnectionManager: Get database connection
17:46:30.578 | INFO | DBConnectionManager: Establish database connection
17:46:30.590 | INFO | JockeyEndpoint: GET ALL /api/v1/jockeys:
17:46:30.590 | INFO | JockeyService: Get jockey/s with following optional parameters:
17:46:30.590 | INFO | JockeyDao: Get jockey/s with following optional parameters:
17:46:30.590 | INFO | DBConnectionManager: Get database connection
17:46:30.594 | INFO | DBConnectionManager: Close database connection
17:46:30.606 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=-2000.0, created=null, updated=null}
17:46:30.606 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.606 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: -2000.0
17:46:30.606 | INFO | JockeyDao: Insert Jockey
17:46:30.607 | INFO | DBConnectionManager: Get database connection
17:46:30.607 | INFO | DBConnectionManager: Establish database connection
17:46:30.623 | INFO | JockeyEndpoint: GET Jockey: /api/v1/jockeys/1
17:46:30.623 | INFO | JockeyService: Get jockey with id 1
17:46:30.623 | INFO | JockeyDao: Get jockey with id 1
17:46:30.624 | INFO | DBConnectionManager: Get database connection
17:46:30.628 | INFO | DBConnectionManager: Close database connection
17:46:30.638 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=-2000.0, created=null, updated=null}
17:46:30.638 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.638 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: -2000.0
17:46:30.638 | INFO | JockeyDao: Insert Jockey
17:46:30.638 | INFO | DBConnectionManager: Get database connection
17:46:30.638 | INFO | DBConnectionManager: Establish database connection
17:46:30.652 | INFO | DBConnectionManager: Close database connection
17:46:30.662 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=-2000.0, created=null, updated=null}
17:46:30.662 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.662 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: -2000.0
17:46:30.662 | INFO | JockeyDao: Insert Jockey
17:46:30.662 | INFO | DBConnectionManager: Get database connection
17:46:30.662 | INFO | DBConnectionManager: Establish database connection
17:46:30.675 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey2', skill=33.33, created=null, updated=null}
17:46:30.676 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.676 | INFO | JockeyService: Insert jockey with following data: Name: Jockey2, Skill: 33.33
17:46:30.676 | INFO | JockeyDao: Insert Jockey
17:46:30.676 | INFO | DBConnectionManager: Get database connection
17:46:30.682 | INFO | JockeyEndpoint: DELETE /api/v1/jockeys/1
17:46:30.682 | INFO | JockeyService: Delete jockey with id 1
17:46:30.683 | INFO | JockeyDao: Delete jockey with id 1
17:46:30.683 | INFO | JockeyDao: Get jockey with id 1
17:46:30.683 | INFO | DBConnectionManager: Get database connection
17:46:30.684 | INFO | JockeyDao: Check if jockey with id 1 exists: insert into jockeyhistory if no, else do nothing
17:46:30.684 | INFO | DBConnectionManager: Get database connection
17:46:30.685 | INFO | JockeyDao: Insert into jockeyHistory with 1
17:46:30.685 | INFO | DBConnectionManager: Get database connection
17:46:30.686 | INFO | DBConnectionManager: Get database connection
17:46:30.692 | INFO | JockeyEndpoint: GET ALL /api/v1/jockeys:
17:46:30.693 | INFO | JockeyService: Get jockey/s with following optional parameters:
17:46:30.693 | INFO | JockeyDao: Get jockey/s with following optional parameters:
17:46:30.693 | INFO | DBConnectionManager: Get database connection
17:46:30.697 | INFO | DBConnectionManager: Close database connection
17:46:30.741 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='null', minSpeed=40.0, maxSpeed=60.0, created=null, updated=null}
17:46:30.742 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.757 | INFO | HorseService: Insert Horse with following data: Name: Horse1, min. Speed: 40.0max. Speed: 60.0
17:46:30.757 | INFO | HorseDao: Insert horse
17:46:30.758 | INFO | DBConnectionManager: Get database connection
17:46:30.758 | INFO | DBConnectionManager: Establish database connection
17:46:30.771 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse2', breed='null', minSpeed=49.99, maxSpeed=50.0, created=null, updated=null}
17:46:30.772 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.772 | INFO | HorseService: Insert Horse with following data: Name: Horse2, min. Speed: 49.99max. Speed: 50.0
17:46:30.772 | INFO | HorseDao: Insert horse
17:46:30.772 | INFO | DBConnectionManager: Get database connection
17:46:30.778 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse3', breed='null', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:30.779 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.779 | INFO | HorseService: Insert Horse with following data: Name: Horse3, min. Speed: 45.0max. Speed: 55.0
17:46:30.779 | INFO | HorseDao: Insert horse
17:46:30.779 | INFO | DBConnectionManager: Get database connection
17:46:30.788 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey1', skill=40.0, created=null, updated=null}
17:46:30.788 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.788 | INFO | JockeyService: Insert jockey with following data: Name: Jockey1, Skill: 40.0
17:46:30.788 | INFO | JockeyDao: Insert Jockey
17:46:30.788 | INFO | DBConnectionManager: Get database connection
17:46:30.795 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey2', skill=-1000.0, created=null, updated=null}
17:46:30.795 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.795 | INFO | JockeyService: Insert jockey with following data: Name: Jockey2, Skill: -1000.0
17:46:30.795 | INFO | JockeyDao: Insert Jockey
17:46:30.795 | INFO | DBConnectionManager: Get database connection
17:46:30.802 | INFO | JockeyEndpoint: POST /api/v1/jockeys, Jockey: HorseDto{id=null, name='Jockey3', skill=0.0, created=null, updated=null}
17:46:30.803 | INFO | JockeyService: Validate data of jockey to be inserted
17:46:30.803 | INFO | JockeyService: Insert jockey with following data: Name: Jockey3, Skill: 0.0
17:46:30.803 | INFO | JockeyDao: Insert Jockey
17:46:30.803 | INFO | DBConnectionManager: Get database connection
17:46:30.820 | INFO | SimulationEndpoint: POST simulation: /api/v1/simulations
17:46:30.831 | INFO | SimulationService: Post Simulation with name: Simulation1 and participants: [{Horse ID: 1, Jockey ID: 1, Luck factor: 1.0}, {Horse ID: 2, Jockey ID: 2, Luck factor: 0.95}, {Horse ID: 3, Jockey ID: 3, Luck factor: 1.05}]
17:46:30.831 | INFO | SimulationService: Validate data of simulation to be inserted
17:46:30.831 | INFO | SimulationService: Prepare Simulation and calculate values based on horse speed, luck and skill
17:46:30.831 | INFO | HorseDao: Get correct version of participant horses
17:46:30.831 | INFO | DBConnectionManager: Get database connection
17:46:30.856 | INFO | JockeyDao: Get correct version of participant jockeys
17:46:30.856 | INFO | DBConnectionManager: Get database connection
17:46:30.867 | INFO | SimulationService: Insert simulation with following data: Name: Simulation1, Participants: [{Horse ID: 1, Jockey ID: 1, Luck factor: 1.0}, {Horse ID: 2, Jockey ID: 2, Luck factor: 0.95}, {Horse ID: 3, Jockey ID: 3, Luck factor: 1.05}]
17:46:30.867 | INFO | Simulation: Insert Simulation
17:46:30.867 | INFO | DBConnectionManager: Get database connection
17:46:30.870 | INFO | SimulationService: Simulation data calculated and sorted by highest average Speed
17:46:30.870 | INFO | SimulationService: Set rank of participants
17:46:30.875 | INFO | DBConnectionManager: Close database connection
17:46:30.895 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='Breed1', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:30.895 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.895 | INFO | HorseService: Insert Horse with following data: Name: Horse1, Breed: Breed1, min. Speed: 45.0max. Speed: 55.0
17:46:30.895 | INFO | HorseDao: Insert horse
17:46:30.895 | INFO | DBConnectionManager: Get database connection
17:46:30.895 | INFO | DBConnectionManager: Establish database connection
17:46:30.908 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse2', breed='null', minSpeed=40.0, maxSpeed=60.0, created=null, updated=null}
17:46:30.909 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.909 | INFO | HorseService: Insert Horse with following data: Name: Horse2, min. Speed: 40.0max. Speed: 60.0
17:46:30.909 | INFO | HorseDao: Insert horse
17:46:30.909 | INFO | DBConnectionManager: Get database connection
17:46:30.918 | INFO | HorseEndpoint: DELETE /api/v1/horses/1
17:46:30.919 | INFO | HorseService: Delete horse with id 1
17:46:30.919 | INFO | DBConnectionManager: Get database connection
17:46:30.919 | INFO | HorseDao: Delete horse with id 1
17:46:30.919 | INFO | HorseDao: Get horse with id 1
17:46:30.919 | INFO | DBConnectionManager: Get database connection
17:46:30.920 | INFO | HorseDao: Check if horse with id 1 exists: insert into horsehistory if no, else do nothing
17:46:30.920 | INFO | DBConnectionManager: Get database connection
17:46:30.920 | INFO | HorseDao: Insert into horsehistory with 1
17:46:30.936 | INFO | HorseEndpoint: GET ALL /api/v1/horses
17:46:30.937 | INFO | HorseService: Get horse/s with following optional parameters:
17:46:30.941 | INFO | HorseDao: Get horse/s with optional parameters:
17:46:30.941 | INFO | DBConnectionManager: Get database connection
17:46:30.944 | INFO | DBConnectionManager: Close database connection
17:46:30.953 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='Breed1', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:30.953 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.953 | INFO | HorseService: Insert Horse with following data: Name: Horse1, Breed: Breed1, min. Speed: 45.0max. Speed: 55.0
17:46:30.953 | INFO | HorseDao: Insert horse
17:46:30.953 | INFO | DBConnectionManager: Get database connection
17:46:30.953 | INFO | DBConnectionManager: Establish database connection
17:46:30.967 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse2', breed='null', minSpeed=40.0, maxSpeed=60.0, created=null, updated=null}
17:46:30.967 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.967 | INFO | HorseService: Insert Horse with following data: Name: Horse2, min. Speed: 40.0max. Speed: 60.0
17:46:30.967 | INFO | HorseDao: Insert horse
17:46:30.967 | INFO | DBConnectionManager: Get database connection
17:46:30.972 | INFO | HorseEndpoint: GET ALL /api/v1/horses
17:46:30.972 | INFO | HorseService: Get horse/s with following optional parameters:
17:46:30.972 | INFO | HorseDao: Get horse/s with optional parameters:
17:46:30.973 | INFO | DBConnectionManager: Get database connection
17:46:30.975 | INFO | DBConnectionManager: Close database connection
17:46:30.983 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='Breed1', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:30.983 | INFO | HorseService: Validate data of horse to be inserted
17:46:30.983 | INFO | HorseService: Insert Horse with following data: Name: Horse1, Breed: Breed1, min. Speed: 45.0max. Speed: 55.0
17:46:30.983 | INFO | HorseDao: Insert horse
17:46:30.984 | INFO | DBConnectionManager: Get database connection
17:46:30.984 | INFO | DBConnectionManager: Establish database connection
17:46:30.993 | INFO | HorseEndpoint: GET Horse: /api/v1/horses/1
17:46:30.993 | INFO | HorseService: Get horse with id 1
17:46:30.993 | INFO | HorseDao: Get horse with id 1
17:46:30.993 | INFO | DBConnectionManager: Get database connection
17:46:30.996 | INFO | DBConnectionManager: Close database connection
17:46:31.003 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='Breed1', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:31.003 | INFO | HorseService: Validate data of horse to be inserted
17:46:31.003 | INFO | HorseService: Insert Horse with following data: Name: Horse1, Breed: Breed1, min. Speed: 45.0max. Speed: 55.0
17:46:31.003 | INFO | HorseDao: Insert horse
17:46:31.004 | INFO | DBConnectionManager: Get database connection
17:46:31.004 | INFO | DBConnectionManager: Establish database connection
17:46:31.016 | INFO | HorseEndpoint: GET ALL /api/v1/horses
17:46:31.017 | INFO | HorseService: Get horse/s with following optional parameters:
17:46:31.017 | INFO | HorseDao: Get horse/s with optional parameters:
17:46:31.017 | INFO | DBConnectionManager: Get database connection
17:46:31.020 | INFO | DBConnectionManager: Close database connection
17:46:31.028 | INFO | HorseEndpoint: POST /api/v1/horses, Horse: HorseDto{id=null, name='Horse1', breed='Breed1', minSpeed=45.0, maxSpeed=55.0, created=null, updated=null}
17:46:31.028 | INFO | HorseService: Validate data of horse to be inserted
17:46:31.029 | INFO | HorseService: Insert Horse with following data: Name: Horse1, Breed: Breed1, min. Speed: 45.0max. Speed: 55.0
17:46:31.029 | INFO | HorseDao: Insert horse
17:46:31.029 | INFO | DBConnectionManager: Get database connection
17:46:31.029 | INFO | DBConnectionManager: Establish database connection
17:46:31.036 | INFO | DBConnectionManager: Close database connection
17:46:31.053 | INFO | DBConnectionManager: Close database connection
17:46:31.054 | INFO | DBConnectionManager: Close database connection