smavros
|
a283d32dff
|
Adds first users endpoint test
|
2019-07-30 18:03:20 +02:00 |
|
smavros
|
e6c8fff397
|
Merge remote-tracking branch 'origin/master' into user-validators
|
2019-07-26 15:29:45 +02:00 |
|
smavros
|
be6556612c
|
Only Admins can update the role of a user
|
2019-07-25 19:23:31 +02:00 |
|
smavros
|
8b7e8fb2bb
|
Adds validator for user update
|
2019-07-25 18:58:28 +02:00 |
|
smavros
|
55be6d7e9f
|
Adds source file for user validators:
- Adds validate() method for loginRequest and addUserRequest
- Simplifies user endpoints validation
|
2019-07-25 17:46:46 +02:00 |
|
Sonja Happ
|
92eb455e5a
|
revise widget testing
|
2019-07-25 13:25:46 +02:00 |
|
Sonja Happ
|
65f7a9b493
|
revise file testing
|
2019-07-25 12:44:52 +02:00 |
|
Sonja Happ
|
4cf4049b40
|
fix bugs in signal methods
|
2019-07-25 12:03:00 +02:00 |
|
Sonja Happ
|
a06d90d085
|
revise dashboard testing
|
2019-07-25 11:38:28 +02:00 |
|
Sonja Happ
|
d79fb53cb2
|
- create all test data in one file
- revise testing functions (WORK IN PROGRESS)
|
2019-07-25 11:22:39 +02:00 |
|
Sonja Happ
|
b200ed5ed7
|
Revise documentation of simulator endpoints
|
2019-07-25 08:57:09 +02:00 |
|
Sonja Happ
|
1f5e64b9ea
|
Fixex for simulator POST/ PUT endpoints and simulator testing,
|
2019-07-24 16:39:59 +02:00 |
|
Sonja Happ
|
eb277fc92e
|
use jsondiff in endpoint testing
|
2019-07-24 13:17:47 +02:00 |
|
Sonja Happ
|
22e83240e5
|
Add more info about simulators in DB, adapt simulator testing
|
2019-07-24 11:07:09 +02:00 |
|
Sonja Happ
|
e9ed836ba3
|
fix typo in registration of user endpoints
|
2019-07-23 17:19:42 +02:00 |
|
Sonja Happ
|
54b4a5d7b1
|
change datatypes of simulator properties and raw properties to json, small ajustments for frontend compatibility
|
2019-07-23 14:53:52 +02:00 |
|
Sonja Happ
|
9faec2e805
|
return user in auth response
|
2019-07-18 15:25:06 +02:00 |
|
Sonja Happ
|
cf739c6ae5
|
fix in simulator test
|
2019-07-18 14:51:32 +02:00 |
|
Sonja Happ
|
b378e8b7c1
|
renaming simulation to scenario
|
2019-07-18 14:35:20 +02:00 |
|
Sonja Happ
|
f0be5cce00
|
file renaming
|
2019-07-18 13:25:41 +02:00 |
|
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
|
5f84c88c87
|
Merge branch 'master' into amqp
# Conflicts:
# go.mod
# go.sum
|
2019-07-04 16:03:42 +02:00 |
|
Sonja Happ
|
c33bcd0202
|
Fix password validation to work with testing DB entries
|
2019-07-04 15:50:48 +02:00 |
|
Sonja Happ
|
7edb27de2e
|
Merge branch 'user-validators'
# Conflicts:
# go.mod
# go.sum
# routes/user/userEndpoints.go
# routes/user/userMethods.go
|
2019-07-04 15:39:41 +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
|
57897eaac7
|
fix bug in simulation testing
|
2019-07-04 14:03:33 +02:00 |
|
Sonja Happ
|
9bc9dc6b5d
|
user: add check of for admin role if role of user shall be modified, some small corrections of responses, input forms, and parameter spelling
|
2019-07-04 11:37:00 +02:00 |
|
Sonja Happ
|
304680603d
|
implement DELETE endpoint for files, cleanup
|
2019-07-04 10:34:54 +02:00 |
|
Sonja Happ
|
fc91ebc64c
|
working on file endpoints; testing to be completed, other tests to be checked
|
2019-07-03 16:53:04 +02:00 |
|
smavros
|
8d9f2d8940
|
Adds create and update UserRequests for validation
|
2019-07-03 13:44:09 +02:00 |
|
Sonja Happ
|
cde0ee01c2
|
fix in update method of simulationmodel
|
2019-07-03 11:31:35 +02:00 |
|
Sonja Happ
|
ce4d6525eb
|
- fix in DB testing
- add simulator testing
|
2019-06-25 17:11:03 +02:00 |
|
Sonja Happ
|
2973718d86
|
change data model to use Simulator has many SimulationModels
|
2019-06-18 14:07:08 +02:00 |
|
Sonja Happ
|
86e380c85e
|
- implement simulator endpoints
- add field for simulation models to simulator models and adapt methods for adding/updating a model
- minor renaming of test functions
|
2019-06-18 13:55:10 +02:00 |
|
Sonja Happ
|
e820d25aae
|
fix a bug in API doc of getSignals endpoint
|
2019-06-17 16:09:45 +02:00 |
|
Sonja Happ
|
71b33e5a2d
|
Add testing for signal package and and reove move signal testing from simulationmodel package
|
2019-06-17 15:59:06 +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
|
7c9318de8f
|
add testing for widget endpoints
|
2019-06-17 14:15:39 +02:00 |
|
Sonja Happ
|
687e3863e4
|
add testing for visualization endpoints
|
2019-06-17 13:43:30 +02:00 |
|
Sonja Happ
|
513ec3b2ee
|
- role and permission check for visualization and widget endpoints
- implementation of visualization and widget endpoints
- some refactoring in permission checks
|
2019-06-17 11:45:24 +02:00 |
|
smavros
|
c68510fa99
|
Adds validation of login request:
- Renames type Credentials to loginRequest
|
2019-06-12 16:04:15 +02:00 |
|
smavros
|
b74b5f3a44
|
Fixes bug in getUsers(). Adds helper funnction.
|
2019-06-10 16:47:46 +02:00 |
|
smavros
|
8e2bfe3f47
|
Changes in getUsers for GET /users endpoint:
- User role can only update a user
|
2019-06-10 13:59:29 +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
|
b6c2d9fc6a
|
mode testEndpoint and authenticateForTest functions to common package
|
2019-06-05 16:21:46 +02:00 |
|
Sonja Happ
|
6081fab080
|
add permission checks to simulation model endpoints
|
2019-06-05 16:05:27 +02:00 |
|
Sonja Happ
|
759826316d
|
- implement CheckPermissions method in a more generic way
- make this method a middleware function of simulation package
|
2019-06-05 15:09:36 +02:00 |
|
Sonja Happ
|
4643839141
|
simulation endpoints: improve error response for access denied case
|
2019-06-05 14:46:42 +02:00 |
|
Sonja Happ
|
072d948795
|
- checkPermissions method for simulation endpoints
- remove simulationID from simulationmodel and visualization endpoints
|
2019-06-05 14:34:44 +02:00 |
|