Sonja Happ
|
ef3c1bad7b
|
API doc: completed simulations endpoints
|
2019-04-15 13:16:17 +02:00 |
|
Sonja Happ
|
651b860b55
|
API doc: add all datastructs
|
2019-04-15 12:32:53 +02:00 |
|
Sonja Happ
|
49c9dc26a7
|
API doc: started documentation using OPENAPI 3.0.1
|
2019-04-15 12:04:56 +02:00 |
|
smavros
|
83cb2ea1db
|
Wrapped associations around checkErr(). Fixed SimulationModel
association
|
2019-04-15 11:11:10 +02:00 |
|
smavros
|
daf1304122
|
Merge branch 'master' of git.rwth-aachen.de:acs/public/villas/villasweb-backend-go
|
2019-04-14 23:20:58 +02:00 |
|
smavros
|
5013a27a8f
|
Added test file for the database functions
|
2019-04-14 21:04:23 +02:00 |
|
smavros
|
a1af6ac52f
|
Added comment
|
2019-04-14 21:03:34 +02:00 |
|
smavros
|
9df906bc15
|
Associations autoupdate OFF. Formated model structs.
|
2019-04-14 20:50:26 +02:00 |
|
smavros
|
3682ae265a
|
Renamed visualization struct field:
- VisualizationUser to User and the corresponding foreign key
|
2019-04-14 20:32:19 +02:00 |
|
smavros
|
57abe51d06
|
Added associations in test_db
|
2019-04-14 20:29:52 +02:00 |
|
smavros
|
a7179180ff
|
Changes in database handling in package common:
- CreateDB() is now InitDB()
- Added Dummy*() functions for setting up a dummy database (named
testvillasdb) that will be used by the tests.
|
2019-04-12 14:14:23 +02:00 |
|
Sonja Happ
|
85473f5786
|
experimenting with swagger, Makefile currently not working, WIP
|
2019-04-11 13:20:32 +02:00 |
|
Sonja Happ
|
3bc6c8f11f
|
add yaml file and Makefile for swagger-based API documentation
|
2019-04-10 15:49:55 +02:00 |
|
smavros
|
e8f5e4ac65
|
Removed model.go files from models directories
|
2019-04-10 11:15:38 +02:00 |
|
Sonja Happ
|
ad9d23088a
|
Move OS and version info to the top
|
2019-04-08 12:10:22 +02:00 |
|
Sonja Happ
|
a7a4902f00
|
fix port for PGAdmin
|
2019-04-08 12:05:28 +02:00 |
|
smavros
|
1ac2e02ae0
|
Added info regarding pgAdmin4 in README
|
2019-04-05 15:50:00 +02:00 |
|
smavros
|
5bf19bc0d3
|
Added info regarding postgres in README
|
2019-04-05 00:58:42 +02:00 |
|
smavros
|
62de87ff72
|
DBinfo now provided by global params
|
2019-04-05 00:27:47 +02:00 |
|
smavros
|
ae0f729a55
|
Formating using Gofmt with local tab=4*stops
|
2019-04-05 00:22:08 +02:00 |
|
smavros
|
608e772c9b
|
Simplified associations for models related with has many and belongs to
|
2019-04-04 19:31:36 +02:00 |
|
smavros
|
e58c2b2dae
|
Added all the associations in models
|
2019-04-04 19:22:55 +02:00 |
|
Sonja Happ
|
515c64782c
|
formating cosmetics - next try
|
2019-04-04 08:49:07 +02:00 |
|
Sonja Happ
|
25ea047bd7
|
formating cosmetics
|
2019-04-04 08:42:37 +02:00 |
|
Sonja Happ
|
b5e070b2b1
|
fixed syntax of Widget struct
|
2019-04-04 08:33:02 +02:00 |
|
Sonja Happ
|
91f52a409b
|
move all data structs to one file to avoid circular dependencies; use all data structs in start.go for testing compilation; dependency updates
|
2019-04-03 14:54:55 +02:00 |
|
smavros
|
afe1a33893
|
Added go.mod for Modules and Packages:
- Backend uses start.go in root for entry
|
2019-04-02 15:03:18 +02:00 |
|
smavros
|
a3fd085c68
|
Added .gitignore
|
2019-04-02 14:51:32 +02:00 |
|
smavros
|
64aeda36bd
|
Database runs a small CRUD example using gorm:
- Only Simulator model is used
- The postgres Array type is provided by lib/pq
- The default empty string is fixed
|
2019-03-31 19:19:38 +02:00 |
|
smavros
|
b17d66dbf8
|
Added missing packages in models
|
2019-03-31 13:56:33 +02:00 |
|
smavros
|
a50626fd2f
|
Improvement of models:
- Added 'not null' tags
- Followed associations according to Mongoose schemas from the current
backend
|
2019-03-31 13:48:26 +02:00 |
|
smavros
|
428227f9cf
|
Fixed the paths of the imported modules according to the new repo
|
2019-03-31 13:44:31 +02:00 |
|
Sonja Happ
|
f4b0d80dc1
|
small change in README
|
2019-03-28 16:01:02 +01:00 |
|
smavros
|
24a4eb1718
|
added folder for models and corresponding source files
|
2019-03-17 17:59:27 +01:00 |
|
smavros
|
7e044cdc82
|
Initial commit
|
2019-03-03 15:40:38 +01:00 |
|