3
0

231 Commits

Author SHA1 Message Date
Denis Arh
4245630ec6 Add actionlog debugging flag, implement policies 2020-06-01 23:13:04 +02:00
Denis Arh
f05d2fc257 Add actionlog policies 2020-06-01 23:12:46 +02:00
Denis Arh
686b10fd1b Fix kv decoder tests 2020-05-31 19:33:40 +02:00
Denis Arh
709a3a946a Improve auditlog meta handling (support for omitting empty values) 2020-05-31 10:38:27 +02:00
Denis Arh
51d8fbcbb4 Remove spew.Dump leftovers 2020-05-29 06:49:43 +02:00
Denis Arh
10d9dbfcbb Add corredor user lookup cache 2020-05-26 18:42:09 +02:00
Denis Arh
e3a81888b6 Fix generated types for pkg/actionlog 2020-05-26 14:58:16 +02:00
Denis Arh
5f8fb8a294 Implementation actions & errors for access control, auth, role & user 2020-05-26 08:00:53 +02:00
Denis Arh
9e0883c937 Add origin (for action log) info to context 2020-05-22 07:16:14 +02:00
Denis Arh
086411722e Action log implementation 2020-05-22 07:16:14 +02:00
Denis Arh
9613bb7c85 Add middleware to add IP addr from req. to context 2020-05-22 07:16:14 +02:00
Denis Arh
f52ea84f65 Remove gRPC (debug) logging via corteza log facility
If needed, sufficiant logging can be achieved with enviromental variables:
GRPC_GO_LOG_VERBOSITY_LEVEL=99 #
GRPC_GO_LOG_SEVERITY_LEVEL=info # (error, warning, info, fatal)
2020-05-06 09:09:31 +02:00
Denis Arh
7072afff20 More verbose logging on corredor connection 2020-05-05 08:15:43 +02:00
Denis Arh
9f3a00c0e2 pkg/ql refactoring, add proper bool literal handling 2020-04-30 13:32:59 +02:00
Denis Arh
f291613516 Rename RecordFilter's Filter to Query for consistency 2020-04-30 07:30:25 +02:00
Denis Arh
1966f07b5a More informative KV decoding errors 2020-04-21 13:55:43 +02:00
Denis Arh
47bb9ab45a Support "final" flag for KV
This enables us to store structure as JSON under a specific
(final) key
2020-04-20 12:27:57 +02:00
Tomaž Jerman
b254ebd686 Fix pagination property mixup 2020-04-15 15:50:36 +02:00
Denis Arh
b48010730b Add ability to enable static file serving 2020-03-27 22:26:22 +01:00
Denis Arh
2f631f055a Corredor TLS certs are now disabled by default 2020-03-27 22:23:24 +01:00
Denis Arh
fe0e35cb57 Disable initialization on some commands 2020-03-27 22:00:10 +01:00
Denis Arh
c0713893b6 Improve initial logger configuration
Default logging level is now WARN
If serve-api command is executed and log level is not explicitly specified
with LOG_LEVEL, log level is set to INFO

Root command now accepts -s/--silent and -d/--debug flags
for log level control
2020-03-27 21:48:04 +01:00
Denis Arh
fe8db890b0 Add support for limit/offset 2020-03-27 18:36:05 +01:00
Denis Arh
7fec663f2c Add support for limit/filter 2020-03-27 18:36:05 +01:00
Denis Arh
63eb346a4a Fix server script security
Security params must be processed before procesing iterator
2020-03-27 12:46:58 +01:00
Denis Arh
2fac997b61 Fix script exec permission testing
Explicity triggered scripts are no longer the only source of
permissions - iterators use the same mechanisms
2020-03-26 19:07:14 +01:00
Denis Arh
33721bf870 Refactor corredor service, add supprot for iterators 2020-03-26 19:07:14 +01:00
Denis Arh
a7e0a2306d Add pagination parsing to rh package 2020-03-26 19:07:13 +01:00
Denis Arh
db789e10fd Add debug routes for eventbus & corredor service 2020-03-26 19:07:13 +01:00
Denis Arh
ce10e46e71 Refactor corredor service and make it less events-oriented 2020-03-26 19:07:13 +01:00
Denis Arh
44f818e180 Refactor handler ops maker functions 2020-03-26 19:07:13 +01:00
Denis Arh
5cba50e3b2 Update registerTriggers fn() comment 2020-03-26 19:07:13 +01:00
Denis Arh
027fb6af1b Minor var. name fixes 2020-03-26 19:07:13 +01:00
Denis Arh
f7191963dc Improve handling of complex constraint checks 2020-03-26 19:07:13 +01:00
Tomaž Jerman
e6ab67d2fb Post feedback tweaks 2020-03-25 14:54:48 +01:00
Tomaž Jerman
ecf85b340d Refactor system's naming convention 2020-03-25 13:37:43 +01:00
Tomaž Jerman
9fada4be65 Add some extra error logs 2020-03-25 10:06:18 +01:00
Tomaž Jerman
9b1fb21872 Allow complex expressions for field mapping condition 2020-03-24 22:43:25 +01:00
Tomaž Jerman
a43811150a Include current row in value mapping context 2020-03-24 22:42:29 +01:00
Tomaž Jerman
62a8ebe965 Map alias to handle on user migration 2020-03-24 13:31:35 +01:00
Tomaž Jerman
03f6024c49 Assure date time format 2020-03-24 13:31:02 +01:00
Tomaž Jerman
d034197092 Add support for expression evaluation 2020-03-24 12:32:06 +01:00
Tomaž Jerman
8e31d43c29 Add support for composite keys with join opp. 2020-03-24 11:00:46 +01:00
Tomaž Jerman
b17b31319d Allow composition for migration maps
This will reduce their size.
2020-03-23 22:11:04 +01:00
Tomaž Jerman
6ccc4c7294 Add support for per field value mapping 2020-03-23 21:39:10 +01:00
Tomaž Jerman
457d5a1561 Improve migration source joining system 2020-03-23 18:11:54 +01:00
Tomaž Jerman
db90a03c01 More descriptive stream splitting errors 2020-03-23 17:56:41 +01:00
Tomaž Jerman
0a7a3bf6b5 Rework splitted stream header determination 2020-03-23 17:56:11 +01:00
Tomaž Jerman
d4fdc7f63b Don't include the original migration node for strem splitting 2020-03-22 12:08:20 +01:00
Tomaž Jerman
4b995099d2 Add support for migration source joins 2020-03-22 12:08:20 +01:00