3
0

692 Commits

Author SHA1 Message Date
Peter Grlica
767f86f01a Added match() regex matching to expr 2021-08-16 12:58:22 +02:00
Tomaž Jerman
37e75293e3 Improve frame def. grouping logic based on model step 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
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
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
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
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
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
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
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
d60823b8b5 Added async support 2021-08-16 08:12:52 +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
a7e42f6774 Added api gateway service, basic functions 2021-08-09 09:50:45 +02:00
Denis Arh
2d78ae423c Remove PROVISION_SETTINGS_ and replace it with importing setting yaml 2021-08-06 15:09:20 +02:00
Vivek Patel
9d272d5bda Fixes string expressions int param casting issue in workflow 2021-08-03 03:55:09 +05:30
Denis Arh
9e6d5884c2 Fix RBAC resource checks 2021-08-02 16:11:00 +02:00
Denis Arh
fcec5d7ec7 Fix access to auth email templates (switch to service user) 2021-07-27 16:28:34 +02:00
Denis Arh
205da42186 Move seeder package under pkg 2021-07-22 07:58:45 +02:00
Denis Arh
a05c8ce34f Add support for base, fed and automation partial provisioning 2021-07-22 07:33:02 +02:00
Denis Arh
ef28b1a4af Rename migration functions (6->9) 2021-07-22 07:32:57 +02:00
Denis Arh
67d7882b8e Fix ClaimsToIdentify to return identity with all authenticated roles 2021-07-21 22:47:19 +02:00
Denis Arh
6ac257b482 Fix compose module field envoy marshalers 2021-07-21 21:56:35 +02:00
Denis Arh
9a29c6e1b2 Fix deferred workflow execution
This fix addresses execution of deferred workflows
and access control when setting run-as user.

Some additional standardisation on how we write
mutex/lock code.
2021-07-21 12:02:01 +02:00
Denis Arh
895dd61007 Rename migration files (6->9) 2021-07-16 13:21:24 +02:00
Denis Arh
b459bd3558 Remove obsolete settings (ns switcher, one) 2021-07-16 13:19:08 +02:00
Denis Arh
89ae50dbae Add RBAC functions for workflow for check&grant 2021-07-15 20:36:57 +02:00
Tomaž Jerman
80e60d2f20 Add support for ComposeRecord RBAC rules 2021-07-15 14:29:30 +02:00
Tomaž Jerman
a2b964c53e Remove AC from ComposeRecord import 2021-07-15 14:29:30 +02:00