Commit 81c0913
Roadmap features: Mqtt broker/subscriber support (#213)
* Added missing packages to package lock
* Create .licrc for licensebat scan
* Deleting licensebat file as it is obsolete
* IOT-1416: Minor changes for supporting the front-end-changes for having OpenDataDK datatargets more separate from HTTP-Push..
* Finished implementing new flow for sending ODDK-registration-mails directly from OS2IoT, instead of having to go through users mail-client..
* Shell framework for new device type, currently not working
* Renamed the new entity for OpenDataDK datatargets, to match naming-convention of other ODDK-files..
* Now possible to create broker, not fully populated
* Added new migration with correct enum for authenticationType
* Most broker options done. Cert version not implemented
* Fix missed enum file rename
* MQTT publisher and subscriber almost fully implemented
* Added encryption of iot-device secret fields
* added openssl to dockerfile
* csv export half baked
* More unfinished work on csv generator
* Csv generator done
* Small fixes
* updated vm2 version
* Pr fixes
* Reworked marking device as invalid for mqtt-clients
* made fallback on ENCRYPTION_SYMMETRIC_KEY and changed fallback on CA_KEY_PASSWORD.
* Added error checking for required fields on mqtt units
* Added CA certificate to brokers using password auth on fetch
* Changed error message on mqtt certificate rows
* Moved hashed version of mqtt password to own column
* Added new columns to csv export
* Removed redundant todo
* Add id back to csv export
* Removed some unused code
* Recreate mqtt subscriber client on edit
* Validate create many input
* Sæt min length on mqtt username and password (Previously an empty string was accepted
* Deleted wrongly placed migration
* fixed port error and made sure that mqtt will be removed when unable to connect.
* Renamed MqttBroker -> MqttInternalBroker and MqttSubscriber -> MqttExternalBroker
* Added migrations for renaming
---------
Co-authored-by: Nikolaj Gustafsson <[email protected]>
Co-authored-by: OS2 primary account <[email protected]>
Co-authored-by: Chris Johansen <[email protected]>
Co-authored-by: August Andersen <[email protected]>1 parent 485ed4c commit 81c0913
File tree
43 files changed
+1568
-176
lines changed- src
- controllers/admin-controller
- entities
- dto
- iot-device
- enum
- helpers
- migration
- modules
- device-integrations
- device-management
- resources
- services
- data-management
- data-targets
- device-management
- mqtt
- user-management
- test/e2e
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+1568
-176
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
187 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
189 | 196 | | |
190 | 197 | | |
| |||
231 | 238 | | |
232 | 239 | | |
233 | 240 | | |
234 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
235 | 246 | | |
236 | 247 | | |
237 | 248 | | |
| |||
Lines changed: 95 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
| 63 | + | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
83 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
84 | 94 | | |
85 | 95 | | |
86 | 96 | | |
| |||
96 | 106 | | |
97 | 107 | | |
98 | 108 | | |
99 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
100 | 114 | | |
101 | 115 | | |
102 | 116 | | |
| |||
120 | 134 | | |
121 | 135 | | |
122 | 136 | | |
123 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
124 | 142 | | |
125 | 143 | | |
126 | 144 | | |
| |||
141 | 159 | | |
142 | 160 | | |
143 | 161 | | |
144 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
145 | 167 | | |
146 | 168 | | |
147 | 169 | | |
| |||
155 | 177 | | |
156 | 178 | | |
157 | 179 | | |
158 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
159 | 185 | | |
160 | 186 | | |
161 | 187 | | |
| |||
192 | 218 | | |
193 | 219 | | |
194 | 220 | | |
195 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
196 | 226 | | |
197 | 227 | | |
198 | 228 | | |
| |||
217 | 247 | | |
218 | 248 | | |
219 | 249 | | |
220 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
221 | 255 | | |
222 | 256 | | |
223 | | - | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
224 | 262 | | |
225 | 263 | | |
226 | 264 | | |
| |||
251 | 289 | | |
252 | 290 | | |
253 | 291 | | |
254 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
255 | 299 | | |
256 | 300 | | |
257 | 301 | | |
| |||
348 | 392 | | |
349 | 393 | | |
350 | 394 | | |
351 | | - | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
352 | 400 | | |
353 | 401 | | |
354 | 402 | | |
| |||
364 | 412 | | |
365 | 413 | | |
366 | 414 | | |
367 | | - | |
| 415 | + | |
368 | 416 | | |
369 | 417 | | |
370 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
371 | 423 | | |
372 | 424 | | |
373 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
374 | 428 | | |
375 | 429 | | |
376 | | - | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
377 | 433 | | |
378 | 434 | | |
379 | 435 | | |
| |||
383 | 439 | | |
384 | 440 | | |
385 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
386 | 466 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
84 | 98 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
37 | 45 | | |
38 | 46 | | |
39 | 47 | | |
40 | | - | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments