Sonja Happ
4a58143a6e
modify model of infrastructure component; add name, type, and category as top level parameters; fix testing of packages accordingly
2020-03-20 12:21:02 +01:00
Sonja Happ
70b2ded851
modularize main function, use DBpool instead of local DB in database package and all testing functions
2020-03-19 10:50:18 +01:00
Sonja Happ
29e0e0cc9e
make sure that at least one admin user is added to DB in release mode
2020-03-19 09:32:39 +01:00
Sonja Happ
d2c94d1886
- models: remove imageHeight and imageWidth from File model (is customProperty of image widget)
...
- test data: add test data in test mode via API instead of GORM
- fix typos and update API documentation
2020-03-13 17:16:12 +01:00
Sonja Happ
ef1dede70c
renaming: simulation model = component configuration
2020-03-06 15:14:29 +01:00
Sonja Happ
11a0c53b85
rename simulator to infrastructure component
2020-03-04 16:34:24 +01:00
Sonja Happ
9539c42e0b
Add array of SignalIDs to widget data model
2020-02-19 10:26:34 +01:00
Sonja Happ
dd0b9fe572
change default selected model files in test data
2020-02-18 16:54:20 +01:00
Sonja Happ
fe5ceb8d61
Add file ID of selected simulation model file to simulationModel data model
2020-02-18 13:36:05 +01:00
Laura Fuentes Grau
6ebd5d6b28
test
2020-01-07 09:26:05 +01:00
Laura Fuentes Grau
5104227606
wip: added the needed testdata for widgets
2019-12-03 14:00:05 +01:00
Sonja Happ
92f22035c6
add GPL 3.0 license statement in all (not auto-generated) code files
2019-11-20 11:08:33 +01:00
Sonja Happ
82dbfa8cad
database: add test userC as Guest user to DB
2019-10-24 11:39:27 +02:00
Sonja Happ
14972262c0
add "Active" bool property to user model, required modifications in user and scenario packages
2019-09-17 17:00:07 +02:00
Sonja Happ
387c922059
Revision of (file) testing
...
- create a guest user and modify function that adds users to the DB for testing
- improve code coverage of file endpoint tests and remove some obsolete code from file package
- add more error info if role validation fails in all endpoints
- change response of GET files to only return the file data and nothing else
- fix some bugs in file endpoints that became visible by the tests
2019-09-11 12:30:01 +02:00
Sonja Happ
f3a7ed0e61
**Major revision of repository structure**
...
- rename common package to database
- move all code not related to database to new helper package
- add more test in database package to improve code coverage
- add a new (own) package for AMQP client
2019-09-10 16:28:57 +02:00