Commit graph

26 commits

Author SHA1 Message Date
2a9b2d4026 fix linting errors found by staticcheck 2021-10-19 13:56:53 +02:00
Sonja Happ
b931cdb4f3 Add CreateParameterSchema parameter to IC data model and adapt extraction of start and create parameter schemas to new VILLAScontroller protocol #67 2021-06-01 11:57:36 +02:00
c1896fe8e3 code cleanups 2021-03-08 13:29:38 +01:00
Sonja Happ
67fc6e94ce omit content checks on updating ICs, just take whatever the new IC contains 2021-03-08 10:44:59 +01:00
Sonja Happ
2a88d903b9 rename IC startParameterScheme --> startParameterSchema 2021-03-08 09:40:22 +01:00
Sonja Happ
af05acb969 IC POST and DELETE endpoints return a 400 bad request if they are called for externally managed ICs; Backend does not care about an action's parameters, it just sends the AMQP message #58 #59 2021-02-22 12:26:26 +01:00
Sonja Happ
18352aef8a Introduce manager field for IC; set header uuid to manager uuid for create and delete actions #56 2021-02-12 17:20:44 +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
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
d99b769159 use time zone in time format for IC updates 2021-01-25 14:41:08 +01:00
Sonja Happ
71e69688a6 allow to set optional properties of IC to empty strings 2021-01-25 12:28:25 +01:00
Sonja Happ
cc51913163 Add more test for AMQP functions, improve code structure 2020-11-03 15:30:24 +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
b07cd23a70 continue integration of new AMQP functionality #31 #41 #42 2020-10-21 17:16:15 +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
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
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
Renamed from routes/simulator/simulator_validators.go (Browse further)