3
0

281 Commits

Author SHA1 Message Date
Denis Arh
720dc38da6 Port compose record builder 2020-08-29 15:00:43 +02:00
Denis Arh
68525e823b Fix store test codegen 2020-08-28 07:04:59 +02:00
Denis Arh
361a9007bf Cleaner store API 2020-08-26 14:49:33 +02:00
Denis Arh
3d4c2e2f9a Remove transaction from create/update/remove procedures 2020-08-24 15:43:04 +02:00
Denis Arh
b0ea1da89f Add proper handling of unique-constraint errors 2020-08-24 15:43:04 +02:00
Denis Arh
349ff3cf2d Add improved sorting and key-based pagination 2020-08-24 15:43:04 +02:00
Denis Arh
9290f160a8 Implement new paging with resource check on filter 2020-08-24 15:43:03 +02:00
Denis Arh
a5990ca093 System services migrated 2020-08-24 15:43:03 +02:00
Denis Arh
8ac6c17ea8 Rename generated interfaces (for easier ext.) 2020-08-24 15:41:01 +02:00
Denis Arh
7ef781d84c Add isGeneric check for action errors 2020-08-24 15:41:01 +02:00
Denis Arh
c8d552e6a6 Implement new store infrastructure 2020-08-24 15:40:15 +02:00
Denis Arh
f3e03a58f8 Migrated types to new codegen 2020-08-24 15:39:39 +02:00
Denis Arh
6a73758d2c Refactored codegen tool 2020-08-24 15:38:42 +02:00
Denis Arh
f4e6d2ae5a Refactor bootstraping procedure 2020-08-24 15:38:42 +02:00
Denis Arh
2c1368262b Refactored provisioning 2020-08-24 15:38:42 +02:00
Denis Arh
587a02562f Fix & tweak version & build-time info 2020-08-24 15:32:42 +02:00
Tomaž Jerman
88583e2b73 Reorder user preparation logic 2020-08-05 11:25:44 +02:00
Tomaž Jerman
06f25a87f3 TMP OneTimeTool to add legacy ids to imported records 2020-08-05 11:25:39 +02:00
Tomaž Jerman
e50472ed8b Allow the importer to use legacy ids for future references 2020-08-04 13:14:09 +02:00
Denis Arh
d6b7157463 Add updated-at to scripts, fix prefix-filtering 2020-07-23 19:06:15 +02:00
Denis Arh
ed0fc88690 Tweaked severity on action log actions 2020-07-22 22:57:18 +02:00
Denis Arh
fafb14860e Add explicit order-by to prevent mixed results 2020-07-22 22:22:52 +02:00
Denis Arh
520277f82d Add crude permission checking 2020-07-22 17:30:51 +02:00
Tomaž Jerman
88e4f90cb8 Allow importer to suspend inactive users 2020-07-17 14:02:55 +02:00
Tomaž Jerman
7536d37021 Allow importer to update existing users 2020-07-17 14:02:55 +02:00
Tomaž Jerman
11fe268275 Move module fetching to the DB level 2020-07-14 13:00:33 +02:00
Tomaž Jerman
487bdd80f8 Change SF DateTime layout to RFC standard 2020-07-14 13:00:33 +02:00
Tomaž Jerman
573e6082bd Include value sanitizer on imported data
Simplifies the entire process and assures data
consistency.
2020-07-14 13:00:33 +02:00
Tomaž Jerman
d19e305971 Make sys field matching more robust 2020-07-14 13:00:33 +02:00
Tomaž Jerman
305379aeb6 Provide some aditional gval functions 2020-07-14 13:00:33 +02:00
Tomaž Jerman
7ac8479e30 Skip data mapping for missing fields 2020-07-14 13:00:33 +02:00
Tomaž Jerman
6652436852 Skip records with no ID 2020-07-14 13:00:33 +02:00
Denis Arh
af874a53d3 Prevent "context canceled" error for auditlog 2020-07-13 12:34:10 +02:00
Denis Arh
e1a91ee09e Optimize misc route binding
No need to use auth & log middleware in front of misc (debug, healthcheck) routes
2020-07-12 20:04:59 +02:00
Denis Arh
fdc5a364d4 Optimize DB timeout/delay/max-tries
Timeout (for connection) should actually be greater or equal to delay
times number of retries otherwise context timesout too soon
2020-07-12 20:04:09 +02:00
Denis Arh
da28b761a1 Add healthchecks for db, mail, scheduler, corredor, store 2020-07-11 13:26:52 +02:00
Denis Arh
290315b746 Add healtcheck endpoint 2020-07-11 13:26:41 +02:00
Denis Arh
8903278b29 Add healthcheck package 2020-07-11 13:24:58 +02:00
Denis Arh
08e1fb7a14 Ability to disable action logging
Introduce new policy type (NewPolicyNone, MakeDisabledPolicy),
add ACTIONLOG_ENABLED configuration (true by default)
2020-07-09 16:29:01 +02:00
Denis Arh
c89b4713e9 Switch all *after event from dispatch to waitfor
It removes a problem where (http) requests ends before *after script are
executed with canceled context
2020-06-27 21:21:54 +02:00
Denis Arh
75a394f82d Refactor FindByAny() to support context param
This simplifies DI for corredor
2020-06-19 19:34:58 +02:00
Denis Arh
51e6373b1d Ensure actionlog repo uses context when storing data 2020-06-19 19:33:37 +02:00
Denis Arh
1397e8eeb5 Simplify db connection handling
Due to incompatibilities with update of github.com/titpetric/factory,
we are crippeling db connection handling (MustGet fn) - only supporting
one ("default") connection
2020-06-19 12:44:14 +02:00
Denis Arh
2f064020f0 Improve locking on corredor script update (r/w of last-modified) 2020-06-19 12:42:20 +02:00
Tomaž Jerman
e9d6bd6c5b Include ref param in reference values when using ng-importer 2020-06-10 18:16:41 +02:00
Denis Arh
06feb6af3b Set db conn limits (max lifetime, max open/idle) 2020-06-09 18:21:33 +02:00
Denis Arh
053ac9c09f Use the right variable for client scripts mod-since timestamp 2020-06-09 17:27:12 +02:00
Denis Arh
ef95660d4b Fix actionlog filtering, optimize req. origin values 2020-06-06 16:51:06 +02:00
Denis Arh
888d08e9a6 Lower severity when client script bundle does not exist 2020-06-03 13:00:10 +02:00
Denis Arh
91cb523d68 Cleanup action log request origins 2020-06-03 11:15:48 +02:00