Commit 3c2dcdf
committed
fix: get-subscription - various issues described below
* Controller needed @transactional. This did not show in the integration tests cos they already had @transactional wrapper on the @test which was a BAD IDEA
* Database event_types needed to be an array i.e. varchar(128)p[]. Puzzled why this did not show on the integrations tests
* Entity needs @Enumerated to ensure its saved as string. Might change this to database enum to avoid this
* Lack of exception handler meant some logging was not showing. We not have a global handler to log everything and rethrow
* Added the missing api-test which would have exhibited the error1 parent 86ea10e commit 3c2dcdf
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
0 commit comments