Commit graph

457 commits

Author SHA1 Message Date
Sonja Happ
5d59fb7952 WIP: widget test independent of test data 2021-01-27 10:09:22 +01:00
Sonja Happ
a750cefda0 WIP: dashboard test independent of test data 2021-01-27 10:00:39 +01:00
Sonja Happ
6e68940e0e WIP: config test independent of test data 2021-01-27 09:56:31 +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
c404c7af5a make JWT secret and expiry time configurable 2021-01-25 10:56:40 +01:00
Sonja Happ
d11c1c5f61 Merge branch 'large-files' into 'master'
S3 storage for large files

See merge request acs/public/villas/web-backend-go!22
2021-01-21 16:20:59 +01:00
Sonja Happ
2d3adbcc9b Add some (temporary) debug output to test S3 2021-01-19 14:10:38 +01:00
dd746295cc s3: fix broken pre-signed URL signature 2021-01-18 19:02:44 +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
cd0aa25f49 fix for file update method, remove redundant code, error formatting fixes 2021-01-13 14:37:35 +01:00
Sonja Happ
4d9699fbcf fix error messages 2021-01-13 12:19:13 +01:00
Sonja Happ
b9483e48d0 Merge branch 'master' into large-files
# Conflicts:
#	routes/file/file_methods.go
2021-01-13 12:09:23 +01:00
Sonja Happ
561f7cf645 Merge branch 'add-result-files' into 'master'
Add result files to data model and API

See merge request acs/public/villas/web-backend-go!20
2021-01-12 17:16:06 +01:00
Sonja Happ
1d1b3388a3 Add testing for result endpoints, fix some bugs 2021-01-12 16:55:15 +01:00
Sonja Happ
601eb746ce scenario: minor security fix for access to all scenarios 2020-12-03 12:03:34 +01:00
661f2049b6 added support for storing files in S3 object storage 2020-11-28 02:51:35 +01:00
fee9e3aa6d allow passing token via URL query parameter (closes #49) 2020-11-23 17:29:50 +01:00
Sonja Happ
3f45e286f9 WIP: add license statement to new files, implement addResultFile and deleteResultFile endpoints, implement delete method for Result; first draft for test 2020-11-20 14:04:57 +01:00
Sonja Happ
6689c858d6 expose some functions of file package, add more MIME types to file download function to cover result file formats 2020-11-20 14:01:29 +01:00
Sonja Happ
77d02ec7a7 Delete signals, dashboards, widgets and component configs + associated elements from DB upon DELETE (no safe-delete anymore) 2020-11-20 13:49:32 +01:00
Sonja Happ
70a483546d fix scenario test, createdAt and updatedAt are now contained in API responses 2020-11-20 09:38:55 +01:00
Sonja Happ
d9175d9432 fix a typo in result endpoint registration 2020-11-19 17:29:51 +01:00
Sonja Happ
89311af146 WIP: initial version of result data model, endpoints, methods, validators, middleware #38 2020-11-19 17:23:24 +01:00
Sonja Happ
b55bb761b5 Dimensions of an image file are stored in File data model, values default to 0 if file is not an image; closes #45 2020-11-16 15:52:36 +01:00
Sonja Happ
d5ce60c71f Merge branch 'extend-amqp'
# Conflicts:
#	amqp/amqpclient.go
#	routes/register.go
#	routes/register_test.go
#	start.go
2020-11-16 13:20:13 +01:00
51dfcbed21 fix routes register test 2020-11-13 10:48:55 +01:00
bd00442940 allow specifying detai;s for initial admin user 2020-11-13 09:33:43 +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
fb757b1172 Add test ICB (ManagedExternally=true) only if AMQP is active, test mode working again if AMQP broker is not available 2020-10-30 14:28:46 +01:00
Sonja Happ
9543f041d3 connect to AMQP broker in register endpoint tests 2020-10-26 16:58:20 +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