Commit graph

24 commits

Author SHA1 Message Date
Sonja Happ
4914af6c47 - revise simulation model testing
- add validators for simulation model endpoints
- revise endpoint implementations and fix responses of simulation models
- clean up testdata, serializers and responses for simulation models
- change default values of output length and input length of signal mappings to 0
2019-09-05 16:17:00 +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
b378e8b7c1 renaming simulation to scenario 2019-07-18 14:35:20 +02:00
Sonja Happ
f0be5cce00 file renaming 2019-07-18 13:25:41 +02:00
Sonja Happ
cde0ee01c2 fix in update method of simulationmodel 2019-07-03 11:31:35 +02:00
Sonja Happ
ce4d6525eb - fix in DB testing
- add simulator testing
2019-06-25 17:11:03 +02:00
Sonja Happ
2973718d86 change data model to use Simulator has many SimulationModels 2019-06-18 14:07:08 +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
Sonja Happ
4793077a90 Add signal package and move signal endpoints from simulationmodel package to this one 2019-06-17 15:30:26 +02:00
Sonja Happ
687e3863e4 add testing for visualization endpoints 2019-06-17 13:43:30 +02:00
Sonja Happ
513ec3b2ee - role and permission check for visualization and widget endpoints
- implementation of visualization and widget endpoints
- some refactoring in permission checks
2019-06-17 11:45:24 +02:00
Sonja Happ
5ca6281a22 - add testing for simulationmodel endpoints
- add Signal serializer
- Use Signals DB table again
- remove / in some endpoint definitions
2019-06-06 16:36:12 +02:00
Sonja Happ
6081fab080 add permission checks to simulation model endpoints 2019-06-05 16:05:27 +02:00
Sonja Happ
072d948795 - checkPermissions method for simulation endpoints
- remove simulationID from simulationmodel and visualization endpoints
2019-06-05 14:34:44 +02:00
Sonja Happ
babe1cb308 refactoring Model to SimulationModel 2019-06-05 13:12:23 +02:00
Sonja Happ
a78bf892f5 Renaming:
- SimulationModel to Model
- Signal to Sample
2019-05-21 09:14:44 +02:00
Sonja Happ
17d88f4c67 Work on endpoints involving file management, To be tested, WIP 2019-05-20 16:17:54 +02:00
Sonja Happ
e03f076161 - rename "cimfile" to "file"
- fix API documentation
- move /uploads POST endpoint to /files POST
- add /files/FileID PUT endpoint for updating files
- mark removed and new endpoints in API doc
2019-05-16 09:27:44 +02:00
Sonja Happ
0438cfadea add skeletons for new CIM file endpoints in simulationmodel endpoints 2019-05-15 16:10:29 +02:00
Sonja Happ
2e7475a26b - add first draft of code for other routes (not complete!)
- some new endpoints
- some new DB queries
- some new serializers
2019-05-09 17:02:24 +02:00
Sonja Happ
48a28ff932 add file structure for other routes (also new ones) 2019-05-09 11:59:44 +02:00