Commit graph

46 commits

Author SHA1 Message Date
121cb12487 amqp: do not send periodical pings anymore 2021-02-06 01:59:25 +01:00
Sonja Happ
6a5379c9b5 backward compatibility of uptime data type (int vs. float) 2021-02-05 15:50:13 +01:00
Sonja Happ
02794468ba bugfix: enable uptime update 2021-02-04 15:11:24 +01:00
Sonja Happ
c5eace60f7 AMQP: improve message handling 2021-01-29 14:32:29 +01:00
Sonja Happ
16386cc30f syntax fix in ic test 2021-01-28 16:00:25 +01:00
Sonja Happ
3ffc835a8a AMQP: use separate send and recv channels 2021-01-28 15:49:59 +01:00
Sonja Happ
ae4436be6d fix IC and register tests 2021-01-28 12:23:00 +01:00
Sonja Happ
6a23b6d8c3 adapt AMQP status messages to new message structure; add field to IC data model for raw status message 2021-01-28 10:36:35 +01:00
Sonja Happ
d1cb79ffba WIP: scenario tests and IC tests independent of hard coded data #44 2021-01-26 17:20:35 +01:00
Sonja Happ
616a1c74dc WIP: adding test data via JSON file #44 2021-01-26 15:44:51 +01:00
Sonja Happ
d99b769159 use time zone in time format for IC updates 2021-01-25 14:41:08 +01:00
Sonja Happ
ca533f7d5a Merge branch 'jwt-config' into 'master'
Make JWT configurable

See merge request acs/public/villas/web-backend-go!24
2021-01-25 14:01:00 +01:00
Sonja Happ
71e69688a6 allow to set optional properties of IC to empty strings 2021-01-25 12:28:25 +01:00
2625e16fbe config: fix typo GolbalConfig -> GlobalConfig 2021-01-25 10:57:25 +01:00
Sonja Happ
44e919b5af AMQP: move logmessage for sending actions 2021-01-18 17:18:42 +01:00
Sonja Happ
cbd71b90bf add some more fogotten AMQP headers 2021-01-18 16:18:20 +01:00
Sonja Happ
8a5b276b45 AMQP: remove UUID from ICstatus, fake headers in IC testing 2021-01-18 16:04:37 +01:00
Sonja Happ
f4bcc49fbe AMQP: next try to make access to headers work 2021-01-18 15:47:58 +01:00
Sonja Happ
9e23523598 AMQP: try to make access to headers work 2021-01-18 15:41:01 +01:00
Sonja Happ
e0b8ccdddf AMQP: fix test IC 2021-01-18 15:05:36 +01:00
Sonja Happ
e8038aa63a AMQP: fix memory bug 2021-01-18 14:57:21 +01:00
Sonja Happ
034cb83e0f AMQP: read UUID in status update from header of AMQP message instead of payload 2021-01-18 14:46:41 +01:00
Sonja Happ
392cb2fbff remove obsolete line in IC test 2020-11-03 15:35:42 +01:00
Sonja Happ
cc51913163 Add more test for AMQP functions, improve code structure 2020-11-03 15:30:24 +01:00
Sonja Happ
2e64946869 Work on testing for AMQP 2020-11-02 16:55:22 +01:00
Sonja Happ
d0c6cca76c Adapt layout of AMQP update to VILLAScontroller protocol, add uptime in IC creation and updates via AMQP; need to check data type of uptime #31 2020-10-30 15:16:53 +01:00
Sonja Happ
e2bebbc676 Do not create ICs with state gone, add some logging info for AMQP-related actions #31 #41 2020-10-30 14:49:56 +01:00
Sonja Happ
03341dbe42 check if state field exists before processing a message 2020-10-26 12:03:02 +01:00
Sonja Happ
cf8775b39d connect to AMQP broker in IC tests 2020-10-21 17:27:45 +02:00
Sonja Happ
b07cd23a70 continue integration of new AMQP functionality #31 #41 #42 2020-10-21 17:16:15 +02:00
Sonja Happ
f9cef090d4 merge amqp module into infrastructure-component module to avoid circular deps, add TODOs in IC endpoints 2020-10-20 16:51:07 +02:00
Sonja Happ
4922d8c4ce Add field ManagedExternally to IC data model 2020-10-20 16:20:04 +02:00
Sonja Happ
adabfc8e9c Transform Properties into StartParameterScheme 2020-10-20 15:27:36 +02:00
Sonja Happ
1f0455d901 Parameter cleanup in IC model 2020-10-20 12:57:38 +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
95159f54ec AMQP: Create unknown ICs that are received via AMQP automatically 2020-10-08 16:39:57 +02:00
Sonja Happ
c4d7fc9488 add APIkey-based authentication to swagger documentation 2020-09-25 16:16:46 +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
aea28c712e add APIHost parameter to IC data model #35 2020-06-26 10:02:57 +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
70b2ded851 modularize main function, use DBpool instead of local DB in database package and all testing functions 2020-03-19 10:50:18 +01:00
Sonja Happ
ef1dede70c renaming: simulation model = component configuration 2020-03-06 15:14:29 +01:00
Sonja Happ
6dbf54d47c fix IC testing 2020-03-04 16:53:57 +01:00
Sonja Happ
bff9efa063 WIP: start renaming of simulaton model to component configuration in IC endpoints 2020-03-04 16:41:18 +01:00
Sonja Happ
11a0c53b85 rename simulator to infrastructure component 2020-03-04 16:34:24 +01:00