Commit graph

885 commits

Author SHA1 Message Date
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
88970d79a7 Update API doc 2021-01-12 17:06:02 +01:00
Sonja Happ
1d1b3388a3 Add testing for result endpoints, fix some bugs 2021-01-12 16:55:15 +01:00
Sonja Happ
e3af6dc8be add new customProperties for color settings to Button test widget 2021-01-04 14:25:55 +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
Sonja Happ
ebc1ae16b7 Merge branch 'query-token' into 'master'
Allow passing token via URL query parameter

Closes #49

See merge request acs/public/villas/web-backend-go!21
2020-11-24 11:44:41 +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
e1b9311686 CI: reduce number of jobs in test stage to one job that runs all go tests 2020-11-20 09:19:09 +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
adbef6abda add license badge to Readme 2020-11-19 15:39:49 +01:00
Sonja Happ
b424b4cd5d CI: use kaniko to build and deploy docker image 2020-11-19 14:33:47 +01:00
Sonja Happ
88122fc9ab fix in IC test data 2020-11-19 13:25:48 +01:00
Sonja Happ
574ec1bb58 Merge branch 'image-dimensions' into 'master'
Store image dimensions

Closes #45

See merge request acs/public/villas/web-backend-go!19
2020-11-16 15:55:21 +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
2c413925a3 fix circular dependency 2020-11-16 13:27:43 +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
Sonja Happ
152b7e2471 Merge branch 'admin-init' into 'master'
Allow providing initial admin credentials via environment variables rather than generating a random password

Closes #43

See merge request acs/public/villas/web-backend-go!18
2020-11-16 12:48:20 +01:00
06c85658c6 remove leading whitespace from log output 2020-11-13 21:50:47 +01:00
318705017f fix loading configuration from YAML files 2020-11-13 21:50:03 +01:00
a318aeea01 initialize admin user with credentials used by tests 2020-11-13 11:19:37 +01:00
499539797b use proper API base path in tests 2020-11-13 11:09:29 +01:00
51dfcbed21 fix routes register test 2020-11-13 10:48:55 +01:00
38c589375a add broker to k8s_test.sh script 2020-11-13 09:34:22 +01:00
cb00ecadb1 document all environment variables 2020-11-13 09:34:08 +01:00
5eaa133bcd rename a few flags 2020-11-13 09:33:55 +01:00
bd00442940 allow specifying detai;s for initial admin user 2020-11-13 09:33:43 +01:00
e2624f64ed add binary to gitignore 2020-11-13 09:31:26 +01:00
Sonja Happ
8ddafc29d8 Fix API URL of signal generator 2020-11-12 15:12:21 +01:00
Sonja Happ
defc3a87f7 Enable test mode to work with AMQP, adapt IC test data 2020-11-12 14:17:30 +01:00
Sonja Happ
d007781535 Update API doc with swaggo 2020-11-11 16:34:06 +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
1540029aae switch content of ICA and ICB in test data (exept for managedexternally value) 2020-10-30 14:27:43 +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
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