Sonja Happ
eb10488c1f
check if AMQP host is set before attempting to connect
2020-03-20 15:33:16 +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
5faa768bc8
CI: fix AMQP ENV variables
2020-03-20 13:21:18 +01:00
Sonja Happ
d29a8f30f7
fix for amqp URL
2020-03-20 13:16:14 +01:00
Sonja Happ
4945d6ee85
use separate ENV variables for AMQP username and password
2020-03-20 13:14:31 +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
e6b6a0f970
use TAG for docker image generated in CI
2020-03-19 12:16:00 +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
29e0e0cc9e
make sure that at least one admin user is added to DB in release mode
2020-03-19 09:32:39 +01:00
Sonja Happ
d7de421365
remove AddTestData testing function (circular dependency not possible)
2020-03-13 17:35:55 +01:00
Sonja Happ
dbed662ad1
remove obsolete access to global config
2020-03-13 17:35:24 +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
361121434b
Merge branch 'renaming-simulator-simmodel' into 'master'
...
Renaming simulator and simmodel
See merge request acs/public/villas/web-backend-go!14
2020-03-12 12:47:10 +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
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
dd0b9fe572
change default selected model files in test data
2020-02-18 16:54:20 +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
19e8b4ad29
add link to autogenerated API doc
2020-02-17 14:24:57 +01:00
Sonja Happ
8b63707c48
Fix license infos
2020-02-17 14:20:44 +01:00
Sonja Happ
fb5834155c
Merge branch 'example-dashboard' into 'master'
...
More widget test data
See merge request acs/public/villas/web-backend-go!13
2020-01-13 15:32:21 +01:00
Sonja Happ
690ac1c7f6
fix variable naming
2020-01-13 15:29:35 +01:00
Sonja Happ
57b119b23f
Merge branch 'example-dashboard' of git.rwth-aachen.de:acs/public/villas/web-backend-go into example-dashboard
2020-01-07 10:12:55 +01:00
Laura Fuentes Grau
6ebd5d6b28
test
2020-01-07 09:26:05 +01:00
Sonja Happ
ddf6af39d4
Merge branch 'example-dashboard' into 'master'
...
Add more widget test data
See merge request acs/public/villas/web-backend-go!12
2019-12-03 14:56:53 +01:00
Sonja Happ
db3fb5354c
fix database test for new test data widgets
2019-12-03 14:54:34 +01:00
Laura Fuentes Grau
5104227606
wip: added the needed testdata for widgets
2019-12-03 14:00:05 +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
33d50a148d
AMQP: improve error handling of UUID extraction from message content #31
2019-11-21 13:03:36 +01:00
Sonja Happ
abb35ccfd9
Merge branch 'go-1.13' into 'master'
...
Update to Go 1.13
Closes #29
See merge request acs/public/villas/web-backend-go!11
2019-11-21 12:46:28 +01:00
e9bd61c0cf
add default port to default host
2019-11-21 12:26:15 +01:00
55c8de20ad
update to Go 1.13
2019-11-21 12:18:34 +01:00
7d05fa5f08
do not append port to baseHost
2019-11-21 11:56:26 +01:00
Sonja Happ
eee1200a43
Merge branch 'add-license' into 'master'
...
Add license
See merge request acs/public/villas/web-backend-go!9
2019-11-20 11:14:28 +01:00
Sonja Happ
2048478f99
minor addition in Readme file
2019-11-20 11:10:00 +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
54bfcc2635
Merge branch 'use-logger' into 'master'
...
replace some fmt. calls with log. calls #17
See merge request acs/public/villas/web-backend-go!8
2019-11-20 10:27:07 +01:00
Sonja Happ
9f56b66213
replace some fmt. calls with log. calls #17
2019-11-20 10:12:20 +01:00
Sonja Happ
de4ac7b9b5
Clean up pipeline:
...
- CI: remove prepare stage for redoc image from pipeline
- remove obsolete API doc related files
2019-11-19 15:51:49 +01:00
Sonja Happ
3524564a0f
separate port and host configuration parameters (default values remain unchanged)
2019-11-19 15:35:21 +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
e90e69a326
CI: fix naming of variable for amqp url (overlapping names)
2019-11-14 11:00:27 +01:00
Sonja Happ
cb14ac5f91
fix testing of healthz endpoint
2019-11-14 10:54:15 +01:00
Sonja Happ
a868dccc10
Revolve name overlapping with docs package
2019-11-14 10:41:09 +01:00