Commit graph

457 commits

Author SHA1 Message Date
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
c1c28e7e19 Re-activate AMQP related parts of healthz test 2020-10-12 12:26:57 +02:00
Sonja Happ
2e6b980d3d remove some parts in healthz test 2020-10-09 11:37:48 +02:00
Sonja Happ
f90aa70a58 add exit to health test 2020-10-09 11:32:31 +02:00
Sonja Happ
91bd51cba1 AMQP: Set update time, improve creation and update of ICs via AMQP 2020-10-09 09:41:03 +02:00
Sonja Happ
95159f54ec AMQP: Create unknown ICs that are received via AMQP automatically 2020-10-08 16:39:57 +02:00
Sonja Happ
b89a835ddf enable deletion of scenarios from DB 2020-09-28 12:00:03 +02:00
Sonja Happ
5df16ec00b change name and type of file upon update 2020-09-28 11:42:45 +02:00
Sonja Happ
c4d7fc9488 add APIkey-based authentication to swagger documentation 2020-09-25 16:16:46 +02:00
Sonja Happ
f4cb42b719 make host an optional parameter of IC, closes #40 ;fix issues with update date of ICs 2020-07-15 12:32:18 +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
ae7b88177d Component Config: selected file ID is signed integer instead of uint (follow up for validators) 2020-05-29 12:53:49 +02:00
Sonja Happ
e6b42ba63c Component Config: selected file ID is signed integer instead of uint (no file selected = -1) 2020-05-29 12:52: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
0e54b7ba33 simplify download function for files 2020-05-12 12:21:37 +02:00
Sonja Happ
cb43c25c27 add fitting number of input and output signals for signal generator in test data 2020-03-30 14:28:51 +02:00
Sonja Happ
1de4d9c9c2 Code base refactoring: no functional changes, improving test coverage 2020-03-27 11:53:26 +01:00
Sonja Happ
a37608c6e4 more fixes for healthz testing 2020-03-20 13:34:48 +01:00
Sonja Happ
4fa309238f fixes for healthz endpoint and testing 2020-03-20 13:25:44 +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
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
6dbf54d47c fix IC testing 2020-03-04 16:53:57 +01:00
Sonja Happ
bff9efa063 WIP: start renaming of simulaton model to component configuration in IC endpoints 2020-03-04 16:41:18 +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
fe5ceb8d61 Add file ID of selected simulation model file to simulationModel data model 2020-02-18 13:36:05 +01:00
Sonja Happ
8b63707c48 Fix license infos 2020-02-17 14:20:44 +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
9f56b66213 replace some fmt. calls with log. calls #17 2019-11-20 10:12:20 +01:00
Sonja Happ
9deed119fd fixes for healthz and metrics endpoints
- no authentication
- swagger documentation update
2019-11-14 12:34:20 +01:00
Sonja Happ
c211501163 Merge branch 'config-logging'
# Conflicts:
#	go.sum
2019-11-14 12:00:06 +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
Sonja Happ
1f7dbdc60e update go.sum and sort imports in metrics endpoint 2019-11-14 09:16:25 +01:00
2c5400a0cc fix tests 2019-11-13 22:12:22 +01:00
a1f7ea9ed9 Merge branch 'master' into config-logging 2019-11-13 21:28:29 +01:00
d546f7bc91 fix tests 2019-11-13 21:22:17 +01:00
cbefdd2d07 add new config package 2019-11-13 20:31:06 +01:00
81b0110b68 use log package 2019-11-13 20:30:02 +01:00
72be3b77bf added metrics route 2019-11-13 18:09:14 +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
c6cac69906 #26 complete implementation of healthz endpoint and testing 2019-11-13 09:43:37 +01:00