Sonja Happ
|
482b7a5a2c
|
Merge branch 'master' into refactor-amqp-session
# Conflicts:
# helper/amqp.go
# helper/test_utilities.go
# routes/component-configuration/config_methods.go
# routes/file/file_test.go
# routes/infrastructure-component/ic_amqpmethods.go
# routes/infrastructure-component/ic_apiquery.go
# routes/infrastructure-component/ic_test.go
# routes/register_test.go
# routes/result/result_methods.go
# routes/result/result_test.go
# routes/scenario/scenario_middleware.go
# routes/scenario/scenario_test.go
# routes/signal/signal_test.go
# routes/user/user_validators.go
|
2021-10-19 16:31:38 +02:00 |
|
|
786454a100
|
use proper error types instead of using strings.Contains()
|
2021-10-19 15:33:58 +02:00 |
|
|
7631e2a9b5
|
pass boolean clear argument to DBInit()
|
2021-10-19 14:40:45 +02:00 |
|
|
2a9b2d4026
|
fix linting errors found by staticcheck
|
2021-10-19 13:56:53 +02:00 |
|
Sonja Happ
|
71b103a7c1
|
improve error handling in case AMQP session is not available
|
2021-10-19 11:46:19 +02:00 |
|
Sonja Happ
|
e7679a79b7
|
fix more issues with circular dependencies and tests, fix bug in permissions
|
2021-10-19 11:04:39 +02:00 |
|
Sonja Happ
|
302b1cc470
|
move functions to duplicate scenarios into respective packages, resolve circular dependency problems (move permissions checking to database package), improve error handling of async DuplicateScenarioForUser function
|
2021-10-18 17:20:28 +02:00 |
|
Sonja Happ
|
93d14300d8
|
Merge branch 'master' into refactor-amqp-session
Improve error handling of async go routine for duplication
|
2021-10-15 15:34:07 +02:00 |
|
irismarie
|
1198fa08f0
|
remove test as it cannot be executed in test environment
|
2021-10-15 13:03:43 +02:00 |
|
Sonja Happ
|
7b30b46b27
|
Add feature for duplicating scenario on external login
|
2021-09-17 20:32:36 +02:00 |
|
Sonja Happ
|
2dada33562
|
started refactoring the AMPQ session, WIP #74
|
2021-08-27 17:20:51 +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 |
|
Sonja Happ
|
5e899d50d3
|
send ping to externally managed ICs on startup of backend and upon creation of new external IC to obtain full status update #66
|
2021-06-01 11:33:11 +02:00 |
|
Sonja Happ
|
ce0b57e57b
|
add API query for villas-relay manager to async routine #65
|
2021-05-26 14:08:31 +02:00 |
|
Sonja Happ
|
1b3e4e907c
|
query status of VILLASnode via VILLASnode API in parallel job #64
|
2021-05-21 13:08:24 +02:00 |
|
Sonja Happ
|
55fe91c5f4
|
fix in package name
|
2021-05-21 13:04:24 +02:00 |
|
Sonja Happ
|
6b2677ef63
|
fix syntax errors in tests
|
2021-04-29 13:28:01 +02:00 |
|
Sonja Happ
|
776e89eb90
|
fix updating bool values of data models (incl. scenario IsLocked parameter #63)
|
2021-04-14 10:07:35 +02:00 |
|
Sonja Happ
|
0a62c78132
|
transform "running" parameter of scenario into "IsLocked" parameter; only admins can change this parameter, all operations other than READ fail if scenario is locked - also for associated components #63
|
2021-03-25 15:40:51 +01:00 |
|
|
2f6f942749
|
fix IC tests in regard to ManagedBy statys field
|
2021-03-08 13:30:55 +01:00 |
|
|
c1896fe8e3
|
code cleanups
|
2021-03-08 13:29:38 +01:00 |
|
|
a90685a509
|
amqp: managed_by is a status field not a property
|
2021-03-08 13:29:16 +01:00 |
|
Sonja Happ
|
92b7f443bc
|
AMQP: Do not run update for successfully deleted component
|
2021-03-08 11:44:47 +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
|
5930e389c1
|
fix IC testing (adding UUID)
|
2021-03-08 10:18:43 +01:00 |
|
Sonja Happ
|
2a88d903b9
|
rename IC startParameterScheme --> startParameterSchema
|
2021-03-08 09:40:22 +01:00 |
|
|
a67ebb5429
|
amqp: fix broken validation of AMQP status updates
|
2021-03-06 14:23:31 +01:00 |
|
Sonja Happ
|
807be66c55
|
fix IC testing
|
2021-02-26 14:59:59 +01:00 |
|
Sonja Happ
|
ba91fad2d7
|
change error to bad request for update external IC
|
2021-02-26 14:49:27 +01:00 |
|
Sonja Happ
|
071a5adb4a
|
Merge branch 'external-authentication' into 'master'
External authentication
See merge request acs/public/villas/web-backend-go!25
|
2021-02-26 13:38:46 +00:00 |
|
Sonja Happ
|
efd24023bc
|
Fix a but in add results endpoint, add model and result as optional action params
|
2021-02-23 11:39:04 +01:00 |
|
Sonja Happ
|
dc6bdc48d9
|
return bad request if delete or create action shall be sent to IC with category other than "manager"
|
2021-02-22 12:36:31 +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
|
41f8e75ba9
|
add fields for result URL and model URL in action message
|
2021-02-19 14:17:00 +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 |
|
|
e4d200e6fd
|
remove basePath and basePath settings
|
2021-02-08 11:56:11 +01:00 |
|
|
f4c662940e
|
Authentication: remove unused argument
|
2021-02-08 11:55:36 +01:00 |
|
|
d2c037a4e0
|
Merge branch 'amqp-no-periodic-ping' into 'master'
amqp: do not send periodical pings anymore
See merge request acs/public/villas/web-backend-go!29
|
2021-02-06 01:21:09 +00:00 |
|
|
121cb12487
|
amqp: do not send periodical pings anymore
|
2021-02-06 01:59:25 +01:00 |
|
|
59c924bcff
|
update package name of response docs as changed upstream in swag
|
2021-02-05 22:44:45 +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 |
|