smavros
84cdda851f
Adds global variable for db connection pooling
2019-04-29 16:45:25 +02:00
smavros
61ea3406b3
Adds unimplemented endpoints for users API
2019-04-29 12:02:08 +02:00
smavros
d5fb904772
Adds gin-gonic and initial routing
2019-04-29 00:00:49 +02:00
smavros
45264c05bc
Merged database test
2019-04-28 17:28:04 +02:00
smavros
5401a6bb02
Merge branch 'orm-fix'
2019-04-28 17:25:13 +02:00
smavros
1c90cfa897
Simplifies the Signals association test
2019-04-28 17:16:21 +02:00
smavros
77b5bbc6ff
Removes Debug from dummyDB. Renames assert in db_test
2019-04-28 17:13:51 +02:00
smavros
1e3ef25a0a
Removes check of HasMany associations queries
2019-04-28 17:00:50 +02:00
smavros
e000a518e3
Breaks down the associations of dummyDB to groups:
...
The three different groups are :
- HasMany and BelongsTo
- HasMany
- BelongsTo
For the first category only the BelongsTo associations are created
and the HasMany are going to automatically retrieved since we have
the same foreign key as the BelongsTo
2019-04-28 16:50:39 +02:00
Sonja Happ
82bd90fb33
Add Pipeline badge and link to gorm in Readme
2019-04-24 15:42:01 +02:00
Sonja Happ
b3fa1cf785
Add instructions for Docker in Readme file
2019-04-24 15:35:19 +02:00
Sonja Happ
2120862925
delete obsolete docker file
2019-04-24 15:16:21 +02:00
Sonja Happ
60e395003b
change variable name that was hiding a package name
2019-04-24 15:15:50 +02:00
Sonja Happ
76e11a5cb6
Docker: fix typo
2019-04-24 14:51:56 +02:00
Sonja Happ
6fa646b9dd
Docker: create db villasdb
2019-04-24 14:48:09 +02:00
Sonja Happ
8e872feb6a
CI: fix typo in dbhost path
2019-04-24 14:44:43 +02:00
Sonja Happ
d01490258a
CI: use ubuntu instead of debian dockerfile
2019-04-24 14:36:46 +02:00
Sonja Happ
029b3958ac
Docker ubuntu: modifications of CMD and ENTRYPOINT
2019-04-24 14:27:48 +02:00
Sonja Happ
8e421e8e82
Add ubuntu docker file
2019-04-24 13:11:56 +02:00
Sonja Happ
ec28a721f4
Use command line parameters
2019-04-24 11:53:08 +02:00
Sonja Happ
6ff38ffcfc
CI: add stage test
2019-04-24 10:30:45 +02:00
Sonja Happ
bb2f0dfb35
CI: fix typo
2019-04-24 10:25:49 +02:00
Sonja Happ
625980da82
CI: remove stage doc
2019-04-24 10:24:29 +02:00
Sonja Happ
c64396890d
CI: rename job to prepare:debian; add stage for build
2019-04-24 10:19:20 +02:00
Sonja Happ
3b4adc311b
Docker: remove any psql commands
2019-04-24 10:08:33 +02:00
Sonja Happ
c7b6d42ebc
Docker: Change name of golang package
2019-04-24 09:26:45 +02:00
Sonja Happ
651f3a9cd8
Docker: add update
2019-04-24 09:21:49 +02:00
Sonja Happ
e353e65501
Docker: rename file since postgres image is based on debian stretch, properly install go 1.11 and dependencies
2019-04-24 09:20:11 +02:00
Sonja Happ
28d0eef200
Docker: test using postgres Docker image
2019-04-23 16:44:37 +02:00
Sonja Happ
7326c02f9e
Docker: fix link to PostgreSQL Fedora repo
2019-04-23 15:51:49 +02:00
Sonja Happ
0ac6d78963
CI: fix another typo
2019-04-23 15:47:52 +02:00
Sonja Happ
9a61a9981e
CI: fix typo in config file
2019-04-23 15:46:54 +02:00
Sonja Happ
22a644c226
CI: add Dockerfile based on Fedora 29, add pepare job to build docker image
2019-04-23 15:45:00 +02:00
smavros
215a9e93f5
Added inSignals and outSignals in DummyDB
...
Signal model has a `belongs to` associations so it cannot belongs at
the same time in OutputMapping and InputMapping of the
SimulationModel model.
2019-04-22 11:56:05 +02:00
smavros
518af7ca65
Changes in Models for debugging purposes:
...
- Replaces gorm.Model with ID uint for primary_key
- Deactivates association_autoupdate for every association
2019-04-22 11:45:17 +02:00
smavros
deffe181e5
Fixes Visualization model test
2019-04-22 11:36:50 +02:00
smavros
629e0218d9
Sets associations autoupdate to pass the tests
...
This is not a formal solution. The associations_autoupdate tag was
set manually to just pass the test.
2019-04-22 11:04:43 +02:00
smavros
1022b03f41
Fix Name in dummy database Project entries
2019-04-21 11:56:58 +02:00
smavros
fe67549577
Add tests for dummy db Models and Associations
2019-04-21 11:56:04 +02:00
smavros
535ae8a467
Corrected Name of visualization object in DummyDB
2019-04-19 13:49:21 +02:00
Sonja Happ
5d7dbb6235
Merge branch 'ci-api-doc' into 'master'
...
CI API docs
See merge request acs/public/villas/villasweb-backend-go!1
2019-04-17 08:56:27 +02:00
940d4f0005
API doc: build only on master branch
2019-04-16 22:37:28 +02:00
3d6fbf36e6
API doc: remove rendered HTML from repo
2019-04-16 22:36:27 +02:00
dbf98f56d6
API doc: enable CI
2019-04-16 22:34:46 +02:00
Sonja Happ
367ead0fb8
API doc: use redoc-cli instead of swagger codegen; add html documentation
2019-04-16 10:19:46 +02:00
Sonja Happ
fea4d45e71
API doc: completed users and visualizations
2019-04-15 17:05:36 +02:00
Sonja Happ
4bae7ffcdb
API doc: completed uploads
2019-04-15 14:53:07 +02:00
Sonja Happ
9ce4c421a2
API doc: completed simulators
2019-04-15 14:38:14 +02:00
Sonja Happ
95e1bccf7c
API doc: completed projects and simulationmodels
2019-04-15 14:24:31 +02:00
Sonja Happ
d7cfb8c6b6
API doc: completed counts and files
2019-04-15 13:35:56 +02:00