Commit graph

65 commits

Author SHA1 Message Date
Sonja Happ
48288360d5 Updating license statement in each file and updating year and contact info in README (closes #89) 2022-04-05 16:38:25 +02:00
Sonja Happ
884dd324c2 add missing queue bind statement 2022-01-10 12:50:22 +01:00
Sonja Happ
a227febae5 ampq: declare separate receive queue 2022-01-10 12:36:07 +01:00
Sonja Happ
5cd136c558 amqp: queue bugfix 2022-01-03 12:38:29 +01:00
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
2a9b2d4026 fix linting errors found by staticcheck 2021-10-19 13:56:53 +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
Sonja Happ
07c3fc9144 Merge branch 'fix-scenario-duplication' into 'master'
Fix scenario duplication issues

See merge request acs/public/villas/web-backend-go!35
2021-10-15 14:10:40 +02:00
Sonja Happ
071155b119 remove unsed import 2021-10-15 12:47:26 +02:00
Sonja Happ
da161b7c56 Merge branch 'fix-scenario-duplication' of git.rwth-aachen.de:acs/public/villas/web-backend-go into fix-scenario-duplication
 Conflicts:
	helper/amqp.go
	routes/user/authenticate_endpoint.go
2021-10-15 12:44:40 +02:00
irismarie
0219f26132 refactor code 2021-10-15 12:31:13 +02:00
Sonja Happ
ed2baa2776 disable auto-delete of amqp exchange 2021-10-15 11:18:35 +02:00
Sonja Happ
a3819161fe make amqp exchange durable 2021-10-15 10:58:05 +02:00
irismarie
8b32fe8def fix ic duplication 2021-10-14 18:17:22 +02:00
irismarie
2932d89147 fix ic duplication 2021-10-14 14:27:16 +02:00
7c139ae974 amqp: limit queue size and message TTL as well as make queue exclusive 2021-10-05 18:42:15 +02:00
Sonja Happ
e65763e8ab AMQP: declare exchange and queue to be non-durable and auto-deleted to avoid pollution of the broker 2021-09-30 16:02:01 +02:00
irismarie
d596c8a4bf use properties of existing IC for duplication 2021-09-24 16:56:40 +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
e4d200e6fd remove basePath and basePath settings 2021-02-08 11:56:11 +01:00
fe2d291bb3 add support for external authentication via OAuth2 proxy 2021-02-08 11:55:36 +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
f70fa4f5e1 WIP: signal test independent of test data 2021-01-27 10:17:15 +01:00
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
8255382dd6 fix another type: succes -> success 2021-01-25 11:23:01 +01:00
Sonja Happ
6db0373025 improve handleRedirect method, add debug output 2021-01-21 15:22:24 +01:00
5627e80b27 tests: create new request instead of updating old 2021-01-18 20:40:08 +01:00
9b0f780ab3 renamed some files 2021-01-18 18:21:34 +01:00
1e301cb422 tests: allow TestEndpoint() to follow redirects 2021-01-18 17:38:42 +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
88122fc9ab fix in IC test data 2020-11-19 13:25:48 +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
bd00442940 allow specifying detai;s for initial admin user 2020-11-13 09:33:43 +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
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
1540029aae switch content of ICA and ICB in test data (exept for managedexternally value) 2020-10-30 14:27:43 +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
f55120df52 Adapt host parameter of VILLASsignal generator in test data 2020-10-12 14:50:12 +02:00