Commit Graph
3896 Commits
Author SHA1 Message Date
Tomaž Jerman d7ecbafa66 Fixed improper limit check for aggregate and join 2022-09-22 12:25:46 +02:00
Vivek Patel 340873c82e Skip broken tests for dev.3 release 2022-09-21 19:34:05 +05:30
Jože Fortun 4a2359492f Update corteza-locale dep 2022-09-21 15:58:40 +02:00
Jože Fortun a56e402e0c Make record report default results an empty array 2022-09-21 15:58:40 +02:00
Vivek Patel 7da0940ae1 Add IncTotal param support to all resource List API
- Updates rdbms.go.tpl to extends store search method to include total in response
2022-09-21 19:24:43 +05:30
Vivek Patel 9d46f5c234 Add duplicate detection for compose record values
For now only case-sensitive detection is supported, there are 2 type of duplicate detection, one is strict mode which will throw an error on record save if there is any duplicate record with matching value and non-strict mode will only show a warning and won't prevent record saving.
2022-09-21 19:24:43 +05:30
Tomaž Jerman b3cdbd060f Add paging tests for pipeline aggregate and join 2022-09-21 13:24:10 +02:00
Katrin Yordanova c373bb7bb3 Copmress release-background image 2022-09-21 11:59:27 +03:00
Vivek Patel 493ad906f3 Upgrade PaesslerAG/gval dep 2022-09-21 13:46:26 +05:30
Vivek Patel 507c683e79 Fix deleted filter for DalSensitivityLevel list
It assigns valid filter state for deleted param for `0` value.
2022-09-21 13:10:31 +05:30
Tomaž Jerman 408bfbcc7d Fix aggregator incorrectly determining if we're copying values
In case the expression uses simple attr. reference, there is no
need to initialize expr. runners.
The old logic didn't do this correctly.
2022-09-20 15:45:01 +02:00
Tomaž Jerman 1535d1e533 Allow module field encoding strategy defaulting to JSON
User interface assumes they are defaulted.
2022-09-20 13:47:36 +02:00
Tomaž Jerman c5c7ca011b Use module field label for DAL pipeline outputs 2022-09-20 13:11:24 +02:00
Denis Arh fab9371805 Fix unclosed file-handles (attachments) #410 2022-09-20 12:34:28 +02:00
Tomaž Jerman 40bce0b2c6 Fix remaining tests 2022-09-20 12:10:37 +02:00
Denis Arh eb41408f20 Fix dal-connection tests (add missing RBAC ops) 2022-09-19 18:36:25 +02:00
Denis Arh fbf6c785f8 Fix broken workflow tests 2022-09-19 18:27:38 +02:00
Denis Arh 4990d52972 Fix broken dal/conn tests 2022-09-19 17:57:20 +02:00
Denis Arh 3159c7275c Implement base info. schema for sqlite 2022-09-19 17:34:19 +02:00
Tomaž Jerman 22f2de5cfd Temporarily remove sensitivity level normalization 2022-09-19 16:45:04 +02:00
Tomaž Jerman 1d7f82172e Refactor execution steps to offload more state preparation
Extract most validation/initialization/preparation logic from
pipeline execution steps into definition steps.
2022-09-19 16:22:37 +02:00
Tomaž Jerman 95f836f248 Restructure compose/record/report service for easier tests 2022-09-19 16:22:37 +02:00
Tomaž Jerman cf769c2485 Move system/types/frame to a sepparate package 2022-09-19 16:22:37 +02:00
Tomaž Jerman 82686f14e9 Rework record report to use maps instead of iterators
Removes the need to do so in workflow handlers; the dataset will
be small so the JSON encoding magic isn't really needed.
2022-09-19 16:22:37 +02:00
Denis Arh 9cb6b898d7 Remove drone build status from README.md 2022-09-16 17:41:21 +02:00
Denis Arh bc2186fa2f Refactor module/field dal enc strategy config 2022-09-16 12:58:36 +02:00
Denis Arh 0ba9e06c85 Improve module update robustness 2022-09-16 12:58:09 +02:00
Denis Arh 3050cda023 Add RDBMS DAL model validation
This will prevent misconfigured models with atributes that read from the
same columns. This constraint could/should be removed in the
future.
2022-09-16 12:57:42 +02:00
Denis Arh 8162da2a0e Prevent module update abort in case of DAL issues 2022-09-16 12:55:05 +02:00
Tomaž Jerman 077788d9b8 Remove operations from models and connections
For now, operations will be defined on a DB driver.
2022-09-15 13:55:21 +02:00
Denis Arh 98c1d52673 Fix information schema interface for MySQL (null string column) 2022-09-15 13:31:18 +02:00
Denis Arh 414336073e Removing ignore-case feature from name attribute on settings 2022-09-15 13:26:06 +02:00
Denis Arh 8803490f42 Improve store templates/codegen, fix settings model def 2022-09-15 13:19:32 +02:00
Denis Arh 6c31e84628 Improve system field encoding configuration 2022-09-15 13:19:32 +02:00
Denis Arh 336315aee6 Fix model-creation error handling 2022-09-15 13:19:32 +02:00
Tomaž Jerman bd68b76137 Fix ID and Ref type casting for MySQL databases
The CAST function takes in UNSIGNED instead of BIGINT.
2022-09-15 12:07:33 +02:00
Tomaž Jerman da24de8b09 Add attribute ident normalization to support legacy names
Older versions allowed more variations for the same system ident.
New one does not; normalization is a temporary solution for it.
2022-09-15 12:06:49 +02:00
Tomaž Jerman 9fdb86c4cf Add date_format to supported QL functions 2022-09-15 12:06:49 +02:00
Denis Arh 65e6976855 Merge branch '2022.9.x-ddl' into 2022.9.x 2022-09-15 08:13:40 +02:00
Denis Arh 4a420b9d99 Fix table provision lookup+create logic 2022-09-15 08:13:19 +02:00
Denis Arh 198830e9de Fix unique constraint on compose charts table 2022-09-14 12:18:43 +02:00
Denis Arh eebf971fd2 Re-enable RDBMS table/column alter/drop operations 2022-09-14 12:18:43 +02:00
Denis Arh 8ff4015192 Re-enable primary-store healtcheck 2022-09-14 12:18:43 +02:00
Denis Arh 9e6241a610 Rework DSN masking for RDBMS connection 2022-09-14 12:18:43 +02:00
Denis Arh f3690b8636 Series of small fixes, prefixing index idents 2022-09-14 12:18:43 +02:00
Denis Arh 06a9c61e5c Store codegen fixes (primary-key & DAL changes) 2022-09-14 12:18:43 +02:00
Denis Arh d1dd4d1a0c Support SQLite table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh 1f85b1be2b Support MySQL table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh 58d26c91a2 Resource definitions (CUE) modifications (MySQL)
A series of small modifications on resource defintions
to simplify MySQL handling. Text fields included into indexes have
length and existing lengths are lowered to fit into ~3k char limitation.

Most of the changed attributes are can function within the new
limitations anyway.
2022-09-14 12:18:43 +02:00
Denis Arh 30065d4a4c RDBMS DAL implementation cleanup 2022-09-14 12:18:43 +02:00