Commit Graph
2911 Commits
Author SHA1 Message Date
Peter Grlica 767f86f01a Added match() regex matching to expr 2021-08-16 12:58:22 +02:00
Tomaž Jerman 02b3e83320 Merge branch '2021.9.x-feature-relay' into 2021.9.x 2021-08-16 09:27:08 +02:00
Tomaž Jerman 37e75293e3 Improve frame def. grouping logic based on model step 2021-08-16 09:24:47 +02:00
Tomaž Jerman f30174d343 Fix join db fragmentation when not defining a sort 2021-08-16 09:24:47 +02:00
Tomaž Jerman 259da8561c Add AST value type validation & support for Number 2021-08-16 09:24:47 +02:00
Tomaž Jerman 3e6fd1e47c Tweaks to expr handlers 2021-08-16 09:24:47 +02:00
Tomaž Jerman efb94908f2 Extra expression parsing and formatting tweaks
* persist `raw` on AST nodes
* remove unneeded groupping by the ql pkg
* allow store flavours to specify what operations need to be enclosed
* extra tests
2021-08-16 09:16:07 +02:00
Tomaž Jerman cb122121f6 Temporary sub select fix to make filtering work on MySQL 2021-08-16 09:16:07 +02:00
Tomaž Jerman f21efd5f8d Additional report modeling tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman 5e4397c436 Update group step with AST col. def. 2021-08-16 09:16:07 +02:00
Tomaž Jerman 762ea93c27 Include sort in the data frame 2021-08-16 09:16:07 +02:00
Tomaž Jerman 8d6e96a999 Rework reporting bits to use the reworked qlng package 2021-08-16 09:16:07 +02:00
Tomaž Jerman 25a9be1a54 Refactor pkg/ql for more flexibility
Created a temporary pkg/qlng package which contains the reworked
logic to avoid (potentially) breaking the rest of the system.

Most of the testing will be done implicitly via reporting tests.
2021-08-16 09:16:07 +02:00
Tomaž Jerman 9e5ae5df30 Restructure report sources & adjust testcases 2021-08-16 09:16:07 +02:00
Tomaž Jerman 4ed615585b Additional model loading & describing tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman 0b35f4ec0d Rename Sorting -> Sort for consistency 2021-08-16 09:16:07 +02:00
Tomaž Jerman 7f38c65199 Fix filter parsing lapsus 2021-08-16 09:16:07 +02:00
Tomaž Jerman a2b165dc82 Improve the report testing framework 2021-08-16 09:16:07 +02:00
Tomaž Jerman 41895b5dad Improve request pre-processing
Make the query planner run at run-time, allowing us to taylor
based on the requested definitions.

This allows us to request data from any step of the model, not
just the root steps.
2021-08-16 09:16:07 +02:00
Tomaž Jerman 04a79596d1 Fix report testing facility due to RBAC changes 2021-08-16 09:16:07 +02:00
Tomaž Jerman 9872d92c95 Add support for paging & slight refactor 2021-08-16 09:16:07 +02:00
Tomaž Jerman 67a79602f9 Imply group column kind based on context 2021-08-16 09:16:07 +02:00
Tomaž Jerman 5ad4c64ba1 Add missing codegen 2021-08-16 09:16:07 +02:00
Tomaž Jerman 9b07ed3af9 Default column labels to their names 2021-08-16 09:16:07 +02:00
Tomaž Jerman 7626714050 Add a report description endpoint to query shape 2021-08-16 09:16:07 +02:00
Tomaž Jerman 4da71e78ad Tweak relay model definitions and processing
* tmp. remove paging
* tweak join and group step definitions
* better support multi frame requests
2021-08-16 09:16:07 +02:00
Tomaž Jerman 0ee6ceb55b Add Orientation.Layout property 2021-08-16 09:16:07 +02:00
Tomaž Jerman 7a699687c9 Fix update lapsus 2021-08-16 09:16:07 +02:00
Tomaž Jerman 9d5d9654c1 Add extra parameters to report projections 2021-08-16 09:16:07 +02:00
Tomaž Jerman a6c7f90663 Base tests & tweaks 2021-08-16 09:16:07 +02:00
Tomaž Jerman 519a5503ec Improve datasource joining
* use partitioning to reduce DB load
* allow local datasource sorting based on foreign datasource
2021-08-16 09:16:07 +02:00
Tomaž Jerman 15176494bf Base ComposeRecord Datasource definition 2021-08-16 09:16:07 +02:00
Tomaž Jerman 4aa429362b Base reporting service definitions 2021-08-16 09:16:07 +02:00
Tomaž Jerman 6751d0ec8b Base pkg/report definition 2021-08-16 09:15:15 +02:00
Tomaž Jerman 98c16227b2 Define TypedValue comparators; Make parser init more flexible 2021-08-16 09:15:15 +02:00
Peter Grlica ddebcf6457 Merge branch '2021.9.x-feature-api-gateway' into 2021.9.x 2021-08-16 08:38:32 +02:00
Tomaž Jerman 3796233439 Fix typo on apigw filter 2021-08-16 08:12:52 +02:00
Peter Grlica d60823b8b5 Added async support 2021-08-16 08:12:52 +02:00
Peter Grlica e0f6cc5553 Added jsenv support to workflows 2021-08-12 09:05:59 +02:00
Peter Grlica 84598a8a52 Refactored functions to filters 2021-08-11 17:26:05 +02:00
Peter Grlica ea9dd61559 Added JWT and oauth2 outbound authenticators
Proxy auth definitions for the UI
2021-08-11 17:25:12 +02:00
Peter Grlica 14df5e98c8 Added a payload processer 2021-08-11 17:25:12 +02:00
Peter Grlica 0966fe9196 Added goja lib, transformer lib and jsenv pkg 2021-08-11 17:25:12 +02:00
Peter Grlica da9100287c Refactored services, rest and rdbms
Added tests

Added ac to routes and functions

Proxy processer and auth servicer

Added options and extensive logging

Fixed calls to rbac in service, added default http handler on gateway root
2021-08-11 17:25:10 +02:00
Peter Grlica 9fe52398a9 Added workflow processer 2021-08-11 17:25:09 +02:00
Denis Arh 834610b242 RBAC defs & generated code
Renamed route definition
2021-08-11 17:25:08 +02:00
Peter Grlica 4e43020bf0 Added registry, updated handlers
Updated modules

Added function definition endpoint
2021-08-11 17:25:04 +02:00
Peter Grlica 2388158141 Added pipeline handler 2021-08-11 17:25:04 +02:00
Peter Grlica 9e498e9db6 Added route rest, actions, schema, types
Added function rest, actions, schema, types
2021-08-11 17:25:00 +02:00
Peter Grlica a7e42f6774 Added api gateway service, basic functions 2021-08-09 09:50:45 +02:00