Commit graph

457 commits

Author SHA1 Message Date
irismarie
a78e70e78b Merge branch 'fix-scenario-duplication' of https://git.rwth-aachen.de/acs/public/villas/web-backend-go into fix-scenario-duplication 2021-10-15 13:04:03 +02:00
irismarie
1198fa08f0 remove test as it cannot be executed in test environment 2021-10-15 13:03:43 +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
irismarie
8b32fe8def fix ic duplication 2021-10-14 18:17:22 +02:00
Sonja Happ
b3404608d1 do not remove file data from s3 storage if DELETE is executed for file 2021-10-14 15:02:58 +02:00
irismarie
2932d89147 fix ic duplication 2021-10-14 14:27:16 +02:00
irismarie
c8650b97e2 duplicate files 2021-10-13 15:11:07 +02:00
irismarie
58b1d4e303 fix signal mapping in component config duplication 2021-09-17 20:44:26 +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
ee8625dfaf fix healthz test 2021-08-27 12:19:15 +02:00
Sonja Happ
13783dd2f5 fix test of config endpoint 2021-08-27 12:11:46 +02:00
Sonja Happ
50f891d8ae remove InputLength and OutputLength from ComponentConfig data model 2021-07-27 10:07:59 +02:00
Sonja Happ
d03937e34c add rancher URL and k8s cluster as config parameters, return them via config endpoint #73 2021-06-18 12:02:10 +02:00
Sonja Happ
b99ac9982c add fallback solution in case image config cannot be decoded #70 2021-06-02 09:13:11 +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
17fa67ae52 Merge branch 'rework-demo-data-reading' into 'master'
Rework demo data reading

See merge request acs/public/villas/web-backend-go!33
2021-04-30 12:45:32 +00:00
Sonja Happ
e070fbdbd0 enable start without test data, improve error handling #44 2021-04-30 14:19:10 +02:00
Sonja Happ
3b213dbe32 use User database model to append association to scenario-user table 2021-04-30 12:47:44 +02:00
43a5a5dcd3 more debugging for group scenario mapping 2021-04-30 07:49:23 +02:00
Sonja Happ
ea49019ccb fixes after merge 2021-04-29 16:43:32 +02:00
Sonja Happ
d57d1e9b0b Merge branch 'master' of git.rwth-aachen.de:acs/public/villas/web-backend-go
 Conflicts:
	routes/user/authenticate_endpoint.go
2021-04-29 16:42:56 +02:00
Sonja Happ
f07d8e1089 remove references and pointers in authenticate functions 2021-04-29 16:41:06 +02:00
956e00756f fixes for group scenario mapping 2021-04-29 15:17:24 +02:00
Sonja Happ
3098b773b6 fix for healthz test 2021-04-29 14:32:59 +02:00
Sonja Happ
1fcb799ebc fix another mistake in a test 2021-04-29 14:23:25 +02:00
Sonja Happ
6b2677ef63 fix syntax errors in tests 2021-04-29 13:28:01 +02:00
Sonja Happ
b1c08f16b0 WIP: rework the demo data reading via config parameter(s) 2021-04-29 12:45:55 +02:00
e8673fad31 fix name of login url 2021-04-29 11:08:20 +02:00
Sonja Happ
e1654941a1 Merge branch 'master' into map-external-groups-to-scenarios 2021-04-21 13:51:21 +02:00
Sonja Happ
aa9d01f230 Merge branch 'scenario-is-locked' into 'master'
Introduce IsLocked Parameter for Scenario (instead of Running parameter)

See merge request acs/public/villas/web-backend-go!30
2021-04-21 09:20:19 +00:00
Sonja Happ
2c79523a50 fix access checking for scenarios 2021-04-20 17:10:29 +02:00
Sonja Happ
56742cd908 fix usage of GORM 2021-04-19 17:00:25 +02:00
7049ba6eaa add static map to add users to scenarios based on their groups 2021-04-15 17:32:55 +02:00
Sonja Happ
edb361f150 Fix in file test 2021-04-14 12:23:45 +02:00
Sonja Happ
f3d6353f86 add user role Download; limit access check to scenario in file middleware #52 2021-04-14 11:11:28 +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
cabb3ed7f7 extend testing for updating scenarios in locked state 2021-03-25 15:46:59 +01: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