Tit Petric
13ec17494e
fix(sam): rename mesage to message (typo fix)
2018-07-26 00:06:15 +02:00
Tit Petric
76d93e3a76
upd(sam/websocket): general cleanup re: dispatch, prepare byte send to not re-encode msgs
2018-07-25 19:28:56 +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
Denis Arh
d0ea82b683
Add WebSocket basic comm
2018-07-25 13:20:02 +02:00
Tit Petric
a7a5d0011f
add(make): include gocritic checks with make critic
2018-07-23 17:42:07 +02:00
Tit Petric
6e30992a67
upd(vendor): factory database context, resputil logger
2018-07-23 17:22:10 +02:00
Tit Petric
6aaac36b51
upd(rbac): more tests, go fmt
2018-07-23 15:53:57 +02:00
Tit Petric
b1f8587ebb
add(all): import Apache-2.0 LICENSE
2018-07-23 14:59:42 +02:00
Tit Petric
0333a0bf17
add(makefile): scoped test.rbac target
2018-07-23 14:26:34 +02:00
Tit Petric
51b36d7bc7
upd(rbac): test nested roles, get role info
2018-07-23 14:26:07 +02:00
Tit Petric
978557994f
upd(rbac): update debug level to string
2018-07-23 14:10:27 +02:00
Tit Petric
9273639a69
upd(rbac): import users apis, tests
2018-07-23 14:09:58 +02:00
Tit Petric
bf67bac351
upd(rbac): update api call response types
2018-07-23 14:08:39 +02:00
Tit Petric
f77fb432a6
upd(rbac): full sessions impl and tests
2018-07-23 14:00:35 +02:00
Tit Petric
4d018e16cd
upd(rbac): refactor debug level to info/debug
2018-07-23 13:59:56 +02:00
Denis Arh
01ac832e80
Do not cache build steps for now, do not ignore types folder
2018-07-22 08:58:54 +02:00
Denis Arh
bc4205bff5
Stabilised messages endpoints, connected with message service
2018-07-22 08:58:54 +02:00
Tit Petric
826c5ab7f9
import full test suite
2018-07-20 18:08:10 +02:00
Tit Petric
3ad1363277
upd(rbac): send body, update users api, tests
2018-07-20 12:56:35 +02:00
Tit Petric
00444d168b
add(make): make test with gotest -v -cover
2018-07-20 12:55:51 +02:00
Tit Petric
44be095b3f
fix(codegen): merge parameters from api parent and call
2018-07-20 11:05:58 +02:00
Denis Arh
6a3e38bc2b
Update generated code with new version of spec tool
2018-07-20 10:50:40 +02:00
Denis Arh
78c9d9ae76
Add toolset clean task
2018-07-20 10:49:55 +02:00
Denis Arh
c11a1a74d1
Prevent codegen from doing empty type() when no struct is defined
2018-07-19 22:32:54 +02:00
Denis Arh
031cc24a73
REST API endpoints cleanup
2018-07-19 22:16:51 +02:00
Tit Petric
0954e5c53d
upd(codegen): spec update for nested message apis
2018-07-19 21:00:25 +02:00
Tit Petric
bb9fdf3107
upd(sam router): handlers ctor update
2018-07-19 20:26:54 +02:00
Tit Petric
efecfd31b8
Merge branch 'master' of https://github.com/crusttech/crust
2018-07-19 20:24:50 +02:00
Tit Petric
b6481141dd
del(all): remove codegen route debug code
2018-07-19 20:22:11 +02:00
Tit Petric
8ae57475e0
del(codegen): remove route debug
2018-07-19 20:21:53 +02:00
Tit Petric
5ad2b6af51
upd(sam): print route debug in main
2018-07-19 20:21:36 +02:00
Tit Petric
73c27f6bdd
upd(sam main): pass flags in main, add ws routes
2018-07-19 20:21:18 +02:00
Tit Petric
4d67bd66b0
upd(flags): configure from main fn not flags.go
2018-07-19 20:20:43 +02:00
Tit Petric
60b7f712b6
import some websocket groundwork
2018-07-19 20:19:57 +02:00
Tit Petric
a7957fa804
add(vendor): import gorilla/websocket
2018-07-19 20:19:20 +02:00
Denis Arh
ff79246202
Fix codegen template for rest controllers, remove obsolete code
2018-07-19 19:09:07 +02:00
Denis Arh
18d7f4c3bf
SAM messaging, basics
2018-07-19 18:51:43 +02:00
Denis Arh
922cd6af35
Fix govet warning 'composite literal uses unkeyed fields'
2018-07-19 18:50:53 +02:00
Tit Petric
3c0e208e06
del(websocket): move ws out of rest
2018-07-19 16:44:42 +02:00
Tit Petric
2222c53158
upd(generator): add docs from spec files
2018-07-19 16:39:09 +02:00
Tit Petric
a583363724
update vendor
2018-07-17 20:57:48 +02:00
Tit Petric
80f9e9b9bc
upd(all): use factory.Database.MustGet over .Get
2018-07-17 18:23:02 +02:00
Tit Petric
8753c18e0b
Merge branch 'master' of https://github.com/crusttech/crust
2018-07-17 18:14:40 +02:00
Tit Petric
b393bdbfdf
upd(crm): update api spec, implement apis
2018-07-17 18:14:15 +02:00
Tit Petric
1b7d50b52d
upd(codegen): run documentation gen too
2018-07-17 18:11:03 +02:00
Tit Petric
f450bdaba6
upd(main): keep go-spew sticky in vendor
2018-07-17 18:10:38 +02:00
Tit Petric
a1cccd23d3
upd(vendor): update factory db with MustGet()
2018-07-17 18:09:13 +02:00
Denis Arh
2a44f1ba1e
Remove panic()
2018-07-17 16:32:48 +02:00
Denis Arh
65a458eab2
README.md updated
2018-07-17 15:29:14 +02:00
Denis Arh
70a5042db5
SAM types, handlers, services, repositories implemented
2018-07-17 15:24:35 +02:00