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
Jože Fortun
61b5fd58be
Update corteza-locale dep
2022-09-07 13:05:23 +02:00
Vivek Patel
efc8a324b4
Fix system data-privacy connection endpoint
...
- There was nil pointer due to dalConnection was not initialised in data-privacy struct.
- Update PrivacyDataConnection struct as per DalConnection struct, and responses accordingly
2022-09-07 16:28:04 +05:30
Katrin Yordanova
0bf47a2fc4
Add cypress ids to auth/templates
2022-09-05 14:41:16 +03:00
Denis Arh
f30c2de43b
Fix authorized-clients filter
2022-09-02 13:48:51 +02:00
Denis Arh
2e222d1bfa
Fix template searching, add query (by handle, type)
2022-09-02 08:49:40 +02:00
Tomaž Jerman
e7690e42dd
Merge branch '2022.9.x-feature-reporter' into 2022.9.x
2022-09-01 16:55:41 +02:00
Tomaž Jerman
9bfe742fb7
Add basic tests for system/reporter pkg
2022-09-01 16:55:21 +02:00
Tomaž Jerman
8ac3b50077
WIP/POC pkg for common gval handlers
2022-09-01 16:55:21 +02:00
Tomaž Jerman
319a29fdc6
Cleanup system/reporter - DAL/pipeline migration
2022-09-01 16:55:21 +02:00
Tomaž Jerman
21fe776cc6
Cover nil panic when the filter doesn't define any constraints
...
The RDBMS/dal SQL builder merged model-defined constraints and
filter defined constraints.
Now that model-defined constraints are no longer guaranteed,
it was panicing.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
0e7f40ca2e
Define proper types for system module fields
2022-09-01 16:55:20 +02:00
Tomaž Jerman
4b65286df1
Add refs to DAL models constructed from compose modules
2022-09-01 16:55:20 +02:00
Tomaž Jerman
ccc1064fac
Expand test suite, cleanup/refactor based on results
2022-09-01 16:55:20 +02:00
Tomaž Jerman
7e0d55dfa1
Move step definition validators to the end
...
This allows the init to correct invalid/missing bits.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
3f15fa2a82
Fix pkg/dal tests
2022-09-01 16:55:20 +02:00
Tomaž Jerman
625d4c2e0f
Update dal internal filter to conform to new interface
2022-09-01 16:55:20 +02:00
Tomaž Jerman
eb57c03e6c
Port the old system reporter to the DAL pipeline
2022-09-01 16:55:20 +02:00
Tomaž Jerman
b378b87313
Make pkg/dal.Row more robust
2022-09-01 16:55:20 +02:00
Tomaž Jerman
5fe71bf3b1
Tweak DAL pipeline preparation & exec flow
...
* Add a dryrun option; split init into init and exec
* move the iterator method from pipeline to service to allow
more context when preprocessing/initializing the pipeline
* add an extra value to link's right rows to simplify identification
2022-09-01 16:55:20 +02:00
Tomaž Jerman
dc70e2aeb8
Export dal.Row for reusability
2022-09-01 16:55:20 +02:00
Tomaž Jerman
377e07cbd9
Move dal attribute types to constants for reusability
2022-09-01 16:55:20 +02:00
Tomaž Jerman
9aba555179
Move pkg/report types to sys/types; drop pkg/report package
2022-09-01 16:55:20 +02:00
Tomaž Jerman
787d51e136
Move ASTNode merging methods to QL package
2022-09-01 16:55:20 +02:00
Tomaž Jerman
b6cb376d83
Introduce base model constraints and rework record filter constraints
2022-09-01 16:55:20 +02:00
Tomaž Jerman
1ad7323ce7
Define base dal pipeline implementation
2022-09-01 16:55:20 +02:00
Tomaž Jerman
f8595ca827
Implement pipeline link (left) execution step
2022-09-01 16:55:20 +02:00
Tomaž Jerman
bad80e5d81
Implement pipeline join (left) execution step
2022-09-01 16:55:20 +02:00
Tomaž Jerman
5b89af4e01
Implement pipeline aggregate execution step
2022-09-01 16:55:20 +02:00
Tomaž Jerman
f80a0b8107
Add an inmemory buffer for easier testing
2022-09-01 16:55:20 +02:00
Tomaž Jerman
a4c61d63ad
Add base testing boilerplate and generic utilities
2022-09-01 16:55:20 +02:00
Tomaž Jerman
a6abc01927
Outline base pipeline step definition and costing model
...
Pipeline step definitions are used to construct underlaying
execution nodes operate over datasources.
The costing model is the initial approach to provide optimizers
more context on what they should do.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
40dbbae730
Add an internalFilter wrapping struct for filter.Filter
...
The struct simplifies filter manipulation when performing
analysis and optimization.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
61051e998e
Define tester & evaluator interfaces for asserting/computing attrs
2022-09-01 16:55:20 +02:00