Commit graph

457 commits

Author SHA1 Message Date
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
e11278cce3 fix typo when checking if auth external is enabled in authenticated endpoint 2021-02-26 14:14:23 +01: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
cea6149b39 fix update of input and output length upon adding signals 2021-02-18 14:16:07 +01:00
Sonja Happ
6c8b55469f fix a bug with update of input and output length 2021-02-18 13:29:55 +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
f8101977b6 fix typo when referring to external auth enabled config variable 2021-02-12 14:36:10 +01:00
b22569bbdb use proper go naming style 2021-02-08 11:56:14 +01:00
fab5fbf66a fix user tests 2021-02-08 11:56:14 +01:00
00989a7725 get rid of ConfigureBackend 2021-02-08 11:56:14 +01:00
4943aa9989 fix invalid cast of userID 2021-02-08 11:56:14 +01:00
e4d200e6fd remove basePath and basePath settings 2021-02-08 11:56:11 +01:00
b24387a22a final fixes for external authentication 2021-02-08 11:55:36 +01:00
914db083ed fix authenticate endpoint 2021-02-08 11:55:36 +01:00
828bf1c5bc add new config api endpoint 2021-02-08 11:55:36 +01:00
c81c1bb04f smaller bugfixes for external authentication 2021-02-08 11:55:36 +01:00
47b094b68d fix invalid config reference 2021-02-08 11:55:36 +01:00
f6d9713f35 improve debug output 2021-02-08 11:55:36 +01:00
39de8568f8 cleanups 2021-02-08 11:55:36 +01:00
0b4d25d85c add new /authenticated endpoint for checking if a user is authenticated 2021-02-08 11:55:36 +01:00
fe2d291bb3 add support for external authentication via OAuth2 proxy 2021-02-08 11:55:36 +01:00
ffa532bddc user: add NewUser() 2021-02-08 11:55:36 +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
70a6e49a41 fix test of healthz endpoint 2021-02-05 22:55:13 +01:00
f49b997f29 add new openapi endpoint 2021-02-05 22:44:54 +01:00
59c924bcff update package name of response docs as changed upstream in swag 2021-02-05 22:44:45 +01:00
cf32b04d35 remove gin-swagger 2021-02-05 22:43:20 +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
2fb4dec19c CI: remove admin user configs to use defaults in testing 2021-01-27 11:38:20 +01:00
Sonja Happ
1148ce1cb8 add results from test data in test mode 2021-01-27 11:25:45 +01:00
Sonja Happ
28434668bf further cleanups, make register test work again 2021-01-27 11:15:27 +01:00
Sonja Happ
3c4624d17e WIP: scenario test independent of test data 2021-01-27 10:41:00 +01:00
Sonja Happ
44c1a0f2eb WIP: result test independent of test data 2021-01-27 10:39:21 +01:00
Sonja Happ
ca0ccf82d1 WIP: file test independent of test data 2021-01-27 10:32:30 +01:00
Sonja Happ
f70fa4f5e1 WIP: signal test independent of test data 2021-01-27 10:17:15 +01:00