Denis Arh
991af03db7
More robust event args decoding
2020-02-25 06:53:54 +01:00
Denis Arh
9e14b50bce
Add ability to create events with imutable args
2020-02-25 06:47:41 +01:00
Denis Arh
abf4d106bb
Improve eventbus & constraints handling
...
Constraints are now preparsed into active structs
that can be used for matching
2020-01-18 07:05:35 +01:00
Denis Arh
75ab704ad8
Add event codegen
2020-01-18 07:05:34 +01:00
Denis Arh
f5f0096035
Remove internal/test pkg
2019-10-01 17:42:26 +02:00
Denis Arh
b732894109
Fix codegen and its outputs
2019-05-24 12:46:30 +02:00
Tit Petric
68dc98ad92
add(all): test files for type-set
...
Signed-off-by: Tit Petric <black@scene-si.org>
2019-05-19 15:58:39 +02:00
Denis Arh
aea9741a2b
Improve logging, migrate to zap, use requestID
...
- migrate from log to go.uber.org/zap package
- add requestID header with sticky log field
- push logging via context to REST controllers & HTTP middleware
- enhance request/resnpose logging
- add service logging framework
- add ZapProfiler for db query profiling
2019-05-07 21:18:23 +02:00
Denis Arh
9e92b43923
Add ability to customize package name for typeset codegen
2019-04-03 17:46:39 +02:00
Denis Arh
78763c715d
Refactor permission resources
2019-03-16 23:56:45 +01:00
Tit Petric
e16f24518d
upd(messaging): extend permissions codegen
2019-02-08 21:24:06 +01:00
Tit Petric
ba5413b583
upd(messaging): update codegen, add spec to codegen
2019-02-05 15:11:52 +01:00
Tit Petric
13a11ab3b4
upd(codegen): typeset updates with Resources()
2019-02-05 14:41:57 +01:00
Mitja Zivkovic
4d57db5897
upd(internal): rbac.Operations to rules.Operations
2019-01-28 10:53:19 +01:00
Tit Petric
f2dfffbab2
update:
...
- codegen includes rbac since it's used everywhere,
- update permissions structure naming for title/subtitle
2018-12-04 14:38:31 +01:00
Tit Petric
8019940dd6
fix(codegen): fix syntax error, gofmt
2018-11-29 21:06:34 +01:00
Tit Petric
52359771e9
add(codegen): source formatting for permissions
2018-11-25 11:16:25 +01:00
Tit Petric
b9cd623221
upd(codegen): build generators once, rename
2018-11-21 16:04:28 +01:00
Tit Petric
f8bdda0313
upd(v2 codegen): add perm generator, rename
2018-11-21 14:58:55 +01:00
Denis Arh
e5ff3ae7b3
Improve type-set generator, apply to system, sam
2018-11-21 07:02:57 +01:00
Denis Arh
297533e03c
Add <T>Set ([]*<T>) type generator
2018-11-21 05:49:30 +01:00