Sonja Happ
c33438b395
renaming visualization to dashboard
2019-07-18 13:11:05 +02:00
Sonja Happ
c565c04ba9
- remove ack of message in AMQP client
...
- add a command line parameter to activate AMQP client
2019-07-18 10:35:02 +02:00
Sonja Happ
b92584b1f7
First version of AMQP client integrated in backend, requires testing with RabbitMQ server
2019-07-04 15:09:33 +02:00
Sonja Happ
4793077a90
Add signal package and move signal endpoints from simulationmodel package to this one
2019-06-17 15:30:26 +02:00
Sonja Happ
5ca6281a22
- add testing for simulationmodel endpoints
...
- add Signal serializer
- Use Signals DB table again
- remove / in some endpoint definitions
2019-06-06 16:36:12 +02:00
Sonja Happ
ea974ba32b
generate and deploy api docs based on swag tool
2019-06-06 09:57:40 +02:00
Sonja Happ
babe1cb308
refactoring Model to SimulationModel
2019-06-05 13:12:23 +02:00
Sonja Happ
f6ea39af12
Merge branch 'master' into authentication
...
# Conflicts:
# go.mod
# go.sum
# routes/user/userEndpoints.go
# routes/user/userSerializer.go
# start.go
2019-05-28 10:40:53 +02:00
Sonja Happ
28751c4161
clean up endpoint registration in start and test
2019-05-27 14:55:12 +02:00
Sonja Happ
34eebbab88
Shorten API URLs, add more documentation for swaggo
2019-05-27 14:43:12 +02:00
Sonja Happ
0c4c60c1ce
Add more API doc in code, modify deployment endpoint of auto generated API doc
2019-05-24 17:15:15 +02:00
Sonja Happ
9030363d17
Typo fix
2019-05-23 17:01:38 +02:00
Sonja Happ
144c97ce49
Refactoring code base to new structure, removing circular dependencies, creating response types
2019-05-23 16:50:05 +02:00
Sonja Happ
b89a68296f
Experimenting with testing and auto generating API specs based on code
2019-05-23 14:36:42 +02:00
Sonja Happ
44e15773fd
Major changes:
...
- revise data model to new version (without project)
- adapt database test to new data model
- use separate folder for all endpoint defs and functions to avoid circular deps
- add all API endpoints and skeletons for their implementation
2019-05-21 12:49:39 +02:00
Sonja Happ
a78bf892f5
Renaming:
...
- SimulationModel to Model
- Signal to Sample
2019-05-21 09:14:44 +02:00
smavros
8216767722
Changes in the user package:
...
- Moves `POST /users` to the users endpoint group where
authentication is required
- Renames userLogin to loginRequest
- Adds userMethods.go source file to the package user
- Adds type User in the user package which just wrapps the type
common.User so methods can be added to the type
- Adds prototypes of methods for setting/validating password and
updating type User's data
2019-05-20 12:04:37 +02:00
smavros
ab0d8dea8b
Work in progress: /authenticate endpoint handler
2019-05-18 18:54:58 +02:00
smavros
a7f15e79fe
First try for Authentication middleware
2019-05-16 15:39:48 +02:00
Sonja Happ
2e7475a26b
- add first draft of code for other routes (not complete!)
...
- some new endpoints
- some new DB queries
- some new serializers
2019-05-09 17:02:24 +02:00
Sonja Happ
83e8563526
use new folder structure for implementation of routes
2019-05-09 11:50:18 +02:00
Sonja Happ
eb19f3e133
Fix includes of gin-gonic
2019-04-30 11:12:24 +02:00
smavros
d5fb904772
Adds gin-gonic and initial routing
2019-04-29 00:00:49 +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
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