2625e16fbe
config: fix typo GolbalConfig -> GlobalConfig
2021-01-25 10:57:25 +01: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
93bdd15e68
add scalingFactor parameter to Signal data model #33
2020-06-26 10:17:21 +02:00
Sonja Happ
1de4d9c9c2
Code base refactoring: no functional changes, improving test coverage
2020-03-27 11:53:26 +01:00
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
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
13f2ae7de3
simulationModel: rename response field from model(s) to simulationModel(s)
2019-11-26 14:22:26 +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
6d4c84ec4e
- InitDB returns error
...
- Check more errors in InitDB
- fix for healthz endpoint (error checking was wrong)
- remove dbinit parameter from config due to redundancy with mode parameter
2019-11-14 11:44:26 +01:00
Sonja Happ
7a64d4653a
Some fixes with respect to config
...
- resolve some name overlappings
- InitConfig sets global config and returns error
- Add missing error handling
2019-11-14 10:38:51 +01:00
d546f7bc91
fix tests
2019-11-13 21:22:17 +01:00
Sonja Happ
7963ce5e78
remove DB_TEST and use DB_NAME instead, InitDB function now has parameter to specify if DB is used for testing or not
2019-11-11 12:06:53 +01:00
2311d643c6
fix repo path
2019-11-09 11:40:56 +01:00
Sonja Happ
e81769e76b
improve code coverage of signal testing, remove some unnecessary code in package implementation
2019-09-11 14:41:13 +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
Sonja Happ
2ffda7cad8
- revise naming of some common functions
...
- improve returning of error codes by using common functions
- use a separate file for authentication endpoint to improve clarity of code
2019-09-09 15:30:17 +02:00
Sonja Happ
ac9e564bc8
- deleting old obsolete test functions
...
- move all data and functions solely used for testing to the file test_utilities
- get rid of utilities file
2019-09-09 12:11:55 +02:00
Sonja Happ
7544c863de
- revise testing of signal endpoints
...
- revise documentation for swaggo
- clean up testdata, serializers and responses
- add validators for signal endpoints
- revise signal endpoint implementations
2019-09-06 16:01:59 +02:00
smavros
c2429394ed
Renames VisitorAuthenticate() to RegisterAuthenticate()
2019-08-15 14:52:19 +02:00
Sonja Happ
d79fb53cb2
- create all test data in one file
...
- revise testing functions (WORK IN PROGRESS)
2019-07-25 11:22:39 +02:00
Sonja Happ
eb277fc92e
use jsondiff in endpoint testing
2019-07-24 13:17:47 +02:00
Sonja Happ
86e380c85e
- implement simulator endpoints
...
- add field for simulation models to simulator models and adapt methods for adding/updating a model
- minor renaming of test functions
2019-06-18 13:55:10 +02:00
Sonja Happ
71b33e5a2d
Add testing for signal package and and reove move signal testing from simulationmodel package
2019-06-17 15:59:06 +02:00