Commit b14d41b
authored
Feature/fail safe subscription handling (#77)
* Handle FiwareIntegrationLayerException in DataImportEventHandler
Extended subscriptionService.subscribeAndReset with a try/catch block in the handleDataImportEvent function in DataImportEventHandler.java. This update manages potential FiwareIntegrationLayerExceptions that can occur while subscribing to device measurement notifications. Without this update, the system could crash if such exceptions were thrown, leading to user inconvenience.
* Update version in pom.xml
Updated the version of the application in the pom.xml file from 8.0.0 to 8.1.0. This step is necessary for the new release, which includes additional exception handling code in DataImportEventHandler for managing potential FiwareIntegrationLayerExceptions, as these could previously lead to system crashes.1 parent b0729f8 commit b14d41b
File tree
2 files changed
+8
-3
lines changed- src/main/java/de/app/fivegla/event
2 files changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
58 | | - | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| |||
0 commit comments