3
0
Commit Graph

3884 Commits

Author SHA1 Message Date
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
Denis Arh
44ba447678 Add support for meta data on attribute types (rdbms:type=integer) 2022-09-14 12:18:43 +02:00
Denis Arh
6939d9e226 Model definition fixes (dal, index) 2022-09-14 12:18:43 +02:00
Denis Arh
4e96804d46 Add support for RDBMS index creation 2022-09-14 12:18:43 +02:00
Denis Arh
5992471337 Add support for default values for RDBMS columns 2022-09-14 12:18:43 +02:00
Denis Arh
a6c0d8ecee Base support for creating RDBMS tables from models 2022-09-14 12:18:43 +02:00
Tomaž Jerman
c0631666d1 Add content-type to record revision endpoint
Correct, and fixes cases where mime sniffing is disabled.
2022-09-14 10:17:22 +02:00
Tomaž Jerman
7d18058f58 Rework the cmpose report endpoint to the DAL pipeline 2022-09-14 10:17:22 +02:00
dependabot[bot]
f4176fd1a2 Bump vite from 2.8.1 to 2.9.13 in /webconsole
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.8.1 to 2.9.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.13/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 17:24:48 +02:00
Peter Grlica
7f0fe201db Deprecated Corteza plugin support
The current plugin support was not stable enough in go >= 1.18, so the
current implementation was dropped for a future alternate solution.
2022-09-13 10:57:42 +02:00
Tomaž Jerman
d65bd241b7 Fix role unarchiving caused by updatng wrong vars 2022-09-13 10:09:18 +02:00
Vivek Patel
70d9bbb512 Enable the make test.all command 2022-09-09 11:41:30 +05:30
Vivek Patel
f0bf220666 Temporarily disable make test.all command for dev.2 release 2022.9.0-dev.2 2022-09-07 17:24:15 +05:30