Commit graph

34 commits

Author SHA1 Message Date
Sonja Happ
1f0455d901 Parameter cleanup in IC model 2020-10-20 12:57:38 +02:00
Sonja Happ
33eab641cb AMQP: add WS and API URL in IC updates 2020-10-14 14:52:57 +02:00
Sonja Happ
0fc183a70b AMQP: Modify sendAction method 2020-10-13 16:21:48 +02:00
Sonja Happ
d7586a91cf formatting fix 2020-10-12 12:24:35 +02:00
Sonja Happ
440b097a92 AMQP: add more debugging output 2020-10-12 12:03:58 +02:00
Sonja Happ
3dcab49b48 AMQP: remove defer statement 2020-10-12 11:20:53 +02:00
Sonja Happ
bfcc8983fe AMQP: move message processing into infinite loop 2020-10-12 10:04:38 +02:00
Sonja Happ
32b42a1be0 AMQP: use channel for receiving function, improve error handling 2020-10-09 11:02:42 +02:00
Sonja Happ
e76d8b872e AMQP: add one more line for debugging 2020-10-09 10:20:31 +02:00
Sonja Happ
b431d7842e AMQP: remove one line of debug output for better readability 2020-10-09 09:50:07 +02:00
Sonja Happ
91bd51cba1 AMQP: Set update time, improve creation and update of ICs via AMQP 2020-10-09 09:41:03 +02:00
Sonja Happ
b48976095f Fixed a typo 2020-10-08 16:47:49 +02:00
Sonja Happ
95159f54ec AMQP: Create unknown ICs that are received via AMQP automatically 2020-10-08 16:39:57 +02:00
Sonja Happ
f638ae59ed AMQP: deactivate Ping until we have something more useful to send 2020-10-01 13:16:24 +02:00
Sonja Happ
7be2951675 AMQP: improve error handling and debug output; remove uptime update for now 2020-10-01 12:10:25 +02:00
Sonja Happ
dc0e0599c6 AMQP: create update struct to unmarshal incoming message 2020-09-30 17:11:20 +02:00
Sonja Happ
e26c06ca04 AMQP: fix for parseFloat 2020-09-30 16:18:49 +02:00
Sonja Happ
8a783f51bd AMQP: change the way how payload data is extracted 2020-09-30 16:06:43 +02:00
Sonja Happ
f91c504c54 AMQP: fixes for message format 2020-09-30 15:24:36 +02:00
Sonja Happ
dab7b01661 AMQP: add log of received message for debugging 2020-09-30 15:08:36 +02:00
Sonja Happ
3d086fdfb8 AMQP: adapt to message format of VILLAScontroller 2020-09-30 14:50:16 +02:00
Sonja Happ
f05efc99a7 AMQP: only update relevant parts of IC 2020-09-30 12:14:45 +02:00
Sonja Happ
7d09461512 AMQP: do not continue with component update if UUID could not be found 2020-09-30 12:02:16 +02:00
Sonja Happ
f4cb42b719 make host an optional parameter of IC, closes #40 ;fix issues with update date of ICs 2020-07-15 12:32:18 +02:00
Sonja Happ
1de4d9c9c2 Code base refactoring: no functional changes, improving test coverage 2020-03-27 11:53:26 +01:00
Sonja Happ
4a58143a6e modify model of infrastructure component; add name, type, and category as top level parameters; fix testing of packages accordingly 2020-03-20 12:21:02 +01:00
Sonja Happ
11a0c53b85 rename simulator to infrastructure component 2020-03-04 16:34:24 +01:00
Sonja Happ
33d50a148d AMQP: improve error handling of UUID extraction from message content #31 2019-11-21 13:03:36 +01:00
Sonja Happ
92f22035c6 add GPL 3.0 license statement in all (not auto-generated) code files 2019-11-20 11:08:33 +01:00
Sonja Happ
9f56b66213 replace some fmt. calls with log. calls #17 2019-11-20 10:12:20 +01:00
Sonja Happ
c6cac69906 #26 complete implementation of healthz endpoint and testing 2019-11-13 09:43:37 +01:00
Sonja Happ
b78dc396ac initial version of healthz endpoint 2019-11-12 13:36:55 +01:00
2311d643c6 fix repo path 2019-11-09 11:40:56 +01:00
Sonja Happ
f3a7ed0e61 **Major revision of repository structure**
- rename common package to database
- move all code not related to database to new helper package
- add more test in database package to improve code coverage
- add a new (own) package for AMQP client
2019-09-10 16:28:57 +02:00
Renamed from common/amqpclient.go (Browse further)