3
0
Commit Graph

12 Commits

Author SHA1 Message Date
Tit Petric
fdf24b3e2c Refactor for new system service
- upd(all): indent spec.json files on all apps
- upd(auth): rename auth app to cmd
- upd(sam): move orgs, teams to system
- upd(system): extend spec.json for check
- upd(codegen): include system/
- upd(codegen): always generate spec files
- upd(sam): references from auth to system
2018-11-05 12:04:04 +01:00
Denis Arh
e348b3e2f4 Remove User from SAM, refactor service initialization 2018-09-17 06:41:18 +02:00
Tit Petric
7bf78fb4e0 upd(all): refactor
- moved rbac store and config to internal pkg,
- split auth authenticators to internal pkg,
- add rbac config object to internal/config,
- update package imports and references for auth,
- clean up main with pkg aliases
2018-09-13 12:05:06 +02:00
Tit Petric
3e3af76b65 upd(sam): configs refactor 2018-09-11 17:50:29 +02:00
Tit Petric
16cc7a11f3 upd(all): restructure cmd, flags, startups 2018-08-23 11:15:23 +02:00
Denis Arh
baae815899 Implement event loop 2018-08-05 22:14:45 +02:00
Denis Arh
5a347dddb5 Types structs reduced & simplified 2018-07-29 16:37:41 +02:00
Denis Arh
66d7cd7193 Add connected/disconnected messages 2018-07-29 01:06:36 +02:00
Denis Arh
52dbc4c0c3 Fix naming (Id -> ID), add names to interface arguments 2018-07-26 20:29:09 +02:00
Denis Arh
d886a98740 Implements JWT authorization along with some refactoring
- introduces auth package, for common (sam, crm) auth handlers
 - routes are now generated inside server package, each handler got its own MountRoutes(r chi.Router, middlewares ...func(http.Handler) http.Handler)
 - there MountRoute methods are now called from non-generated code so we can inject services to (rest) controllers
2018-07-26 20:12:14 +02:00
Tit Petric
ddbe9ce952 upd(sam): larger refactor of field names, websocket pkg layout
- renamed all fields with Id to ID
- fixed spec file syntax error
- fix bindings for Team API url parameters
- change layout of websocket types->outgoing msg converter
- regenerate full codegen
2018-07-25 18:07:56 +02:00
Tit Petric
60b7f712b6 import some websocket groundwork 2018-07-19 20:19:57 +02:00