Commit df75477
authored
Feature/1644 refinement of evaluation logic (#1660)
* fix(db): Add migration for correctly calculating evaluation values #1644
* feat(backend): Refactor logic of evaluation view and move logic to services #1644
* refactor(backend): Add back fromDto method and controller method #1644
* feat(backend): Add ability to calculate completed objectives to db and service #1644
* feat(backend): Add extra row for making identification unique #1644
* fix(backend): Fix counting of completed objectives #1644
* style(backend): Format backend #1644
* refactor(backend): Change name to be the same as before #1644
* test(backend): Refactor existings tests and add new ones #1644
* refactor(backend): Correctly use persistenceservice as sub step #1644
* fix(backend): Fix validation of evaluationpage and add tests as well #1644
* test(backend): Fix existing persistence integration test #1644
* test(backend): Add tests for newly written business logic #1644
* refactor(backend): Correctly use enums instead of strings on model #1644
* test(backend): Utilize enums in test as well #1644
* refactor(backend): Remove any occurence of the old evaluationViewId that is obsolete #1644
* style(backend): Format all files #1644
* refactor(backend): Change params type of dto to long and make error message more precise #1644
* refactor(backend): Rename method to be more descriptive and simplify a bit of logic #1644
* fix(backend): Change logic to exclude key results that are empty #1644
* style(backend): Format files #1644
* test(backend): Fix test by correcting the numbers of the count #16441 parent 7615b62 commit df75477
File tree
17 files changed
+605
-470
lines changed- backend/src
- main
- java/ch/puzzle/okr
- dto
- mapper
- models/evaluation
- repository
- service
- business
- persistence
- validation
- util
- resources/db
- h2-db/database-h2-schema
- migration
- test/java/ch/puzzle/okr
- controller
- mapper
- service
- business
- persistence
- validation
- test
17 files changed
+605
-470
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
Lines changed: 22 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 12 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 13 | + | |
37 | 14 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 15 | + | |
| 16 | + | |
49 | 17 | | |
50 | 18 | | |
51 | | - | |
52 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
53 | 31 | | |
54 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
0 commit comments