Commit graph

33 commits

Author SHA1 Message Date
Sonja Happ
5e33e08393 change WebRTC config format to the one of VILLASnode, add default values, update apispec #90 2022-04-20 16:45:33 +02:00
Sonja Happ
646ecfcc2a Merge branch 'master' into add-webrtc-config-params 2022-04-20 16:11:48 +02:00
Sonja Happ
e8470a8409 add webRTC ICE parameters to backend config and send parameters via config endpoint, update apispec #90 2022-04-14 11:39:14 +02:00
Sonja Happ
482beede04 OpenAPI spec: use swag version 1.8.1 to auto-generate, fix error in result file post endpoint doc #85, update API spec 2022-04-14 11:09:04 +02:00
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
8db8417d99 CI: add missing statement, update api docs generated with swag 2021-08-11 16:58:49 +02: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
Sonja Happ
2a88d903b9 rename IC startParameterScheme --> startParameterSchema 2021-03-08 09:40:22 +01:00
e4d200e6fd remove basePath and basePath settings 2021-02-08 11:56:11 +01:00
Sonja Happ
f6e48ce9f7 update files generated by swag to fix import bug in openapi package 2021-02-08 11:53:10 +01:00
Sonja Happ
88970d79a7 Update API doc 2021-01-12 17:06:02 +01:00
Sonja Happ
89311af146 WIP: initial version of result data model, endpoints, methods, validators, middleware #38 2020-11-19 17:23:24 +01:00
Sonja Happ
d007781535 Update API doc with swaggo 2020-11-11 16:34:06 +01: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
c4d7fc9488 add APIkey-based authentication to swagger documentation 2020-09-25 16:16:46 +02:00
Sonja Happ
81c870528d change selectedFileID parameter of component config to array of file ids (fileIDs) #37 2020-07-06 15:31:51 +02:00
Sonja Happ
93bdd15e68 add scalingFactor parameter to Signal data model #33 2020-06-26 10:17:21 +02:00
Sonja Happ
aea28c712e add APIHost parameter to IC data model #35 2020-06-26 10:02:57 +02:00
Sonja Happ
1fa7444c66 Add height parameter to dashboard data model #36 2020-06-26 09:44:25 +02:00
Sonja Happ
8b60430d84 Change of data model: associate files with scenario instead of widgets and component configuration #34 2020-05-26 11:27:00 +02: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
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
5d63fc3e26 update configs 2020-03-04 16:54:50 +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
9deed119fd fixes for healthz and metrics endpoints
- no authentication
- swagger documentation update
2019-11-14 12:34:20 +01:00
0119a2947e swaggo: update generated docs 2019-11-13 20:52:58 +01:00
Sonja Happ
32bff963d2 improves swaggo documentation
- remove blank lines
- add and improve links
2019-11-13 15:03:31 +01:00
Sonja Happ
a8a43f8512 Improvements for swagger API documentation
- Adds Authorization token as required header param to all endpoints (except authenticate itself)
- Documents correct data format for request bodies (relevant for updating and adding elements)
- No functional changes applied
2019-11-13 14:48:08 +01:00
Sonja Happ
ebf390e9cc update version of swag tool, use swag again in CI, works on #22 2019-09-16 09:17:31 +02:00
Sonja Happ
f0baf38398 add API doc files auto-generated by swag 2019-09-10 14:38:00 +02:00