Sonja Happ
6b2677ef63
fix syntax errors in tests
2021-04-29 13:28:01 +02:00
Sonja Happ
b1c08f16b0
WIP: rework the demo data reading via config parameter(s)
2021-04-29 12:45:55 +02:00
Sonja Happ
616a1c74dc
WIP: adding test data via JSON file #44
2021-01-26 15:44:51 +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
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
11a0c53b85
rename simulator to infrastructure component
2020-03-04 16:34:24 +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
2c5400a0cc
fix tests
2019-11-13 22:12:22 +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
Sonja Happ
e8b7508b13
Merge branch 'master' of git.rwth-aachen.de:acs/public/villas/villasweb-backend-go
...
# Conflicts:
# database/database.go
2019-11-12 12:02:51 +01:00
Sonja Happ
9f29c8a5f2
local merge
2019-11-12 12:00:06 +01:00
2d16317bab
ci: start rabbitmq service for tests
2019-11-11 18:20:41 +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
e65ec2998d
add missing vars
2019-11-09 12:33:28 +01:00
46d2cade8c
database: allow configuration of user and password for pgsql connection
2019-11-09 12:27:48 +01: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