3
0
Commit Graph

3818 Commits

Author SHA1 Message Date
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
Tomaž Jerman
985c063d89 Expand pkg/filter for easier paging cursor construction/use
* Add a cursor method to return an ql.ASTNode representation.
* Add a package function to construct a cursor from an arbitrary
  value input.
2022-09-01 16:55:20 +02:00
Tomaž Jerman
689be25a89 Cover ASTNode.String() nil ptr edgecase 2022-09-01 16:55:20 +02:00
Tomaž Jerman
8c7b8ebb8b Add /profiles to gitignore for profiling outputs 2022-09-01 16:55:20 +02:00
Tomaž Jerman
9ef72e47e6 Add github.com/tidwall/btree for a b-tree implementation 2022-09-01 16:55:20 +02:00
Denis Arh
a32a580a28 Add support for exec-workflow step type 2022-09-01 15:27:58 +02:00
Denis Arh
5d45846fdd Prevent panic in locale/LocalizedList fn 2022-08-29 07:39:25 +02:00
Denis Arh
764cfd63fd Make rec-rev-searching code easier to debug 2022-08-28 12:42:38 +02:00
Denis Arh
013f25ec77 Generate fresh IDs for rec rev. models 2022-08-28 12:42:05 +02:00
Denis Arh
34d4de0e73 Add workaround for field alias (recordID => ID) in rec. query filter 2022-08-28 12:41:40 +02:00
Denis Arh
258068bdfb Improve model-by-ref handling 2022-08-28 12:41:06 +02:00
Tomaž Jerman
dac927ba4a Make namespace name sortable to unbreak reporter modals 2022-08-25 12:20:45 +02:00
Peter Grlica
85e004910b Github notifications to matrix support 2022-08-24 14:23:29 +02:00
Denis Arh
e734f44795 Access token no longer removed on own pwd change 2022-08-24 09:50:14 +02:00
Vivek Patel
e5915b3424 Fix nil pointer while replacing dal connection 2022-08-23 13:00:24 +05:30
Denis Arh
4bb8270189 Fix DAL implementation with Envoy 2022-08-23 08:12:38 +02:00
Tomaž Jerman
6799d3f8de Fix global value store URL construction with custom paths 2022-08-22 15:59:49 +02:00
Peter Grlica
91252ac93d Fixed apigw payload processer invalid function registration 2022-08-22 14:41:59 +02:00
Denis Arh
7d661e84be Fix button translations on record-list block 2022-08-21 17:35:21 +02:00
Denis Arh
fb8765ff39 Improved default-connection handlong on module reload 2022-08-21 16:41:38 +02:00
Denis Arh
818f0ccb9b Generate models for all resources
Some refactoring of CUE files
2022-08-21 15:54:03 +02:00
Denis Arh
20310e302f Remove customisation from the generate code 2022-08-18 20:36:43 +02:00
Denis Arh
c36c04456e Additional codegen speedup
Comment out #ModelAttributeJsonTag from #ModelAttribute
to gain additional 8s (4s now)
2022-08-18 19:45:55 +02:00
Denis Arh
1eff906a44 Reorganized and split (rbac) resource type codegen 2022-08-17 19:28:34 +02:00
Denis Arh
ccfb4c09bb Restructured CUE resource definitions (struct, attributes) 2022-08-17 19:12:20 +02:00
Denis Arh
4f26fc5f6b Fix REST payload for users, apigw, queues 2022-08-17 09:28:55 +02:00
Denis Arh
2e5a45e899 Fix user-response 2022-08-16 16:23:19 +02:00
Denis Arh
4259125df8 Add missing AC flags on apigw & msg-queue REST controllers 2022-08-16 15:13:40 +02:00
Denis Arh
aede16f29f Add missing AC flags on system/user REST controller 2022-08-16 15:08:05 +02:00
Denis Arh
1323cda956 System REST controller cleanup 2022-08-16 15:06:32 +02:00
Denis Arh
554ae45ddf Various DAL connection improvements & config reorg 2022-08-15 16:57:42 +02:00
Denis Arh
f1908c9260 Cleaned up dal-connection REST def 2022-08-12 17:57:49 +02:00
Denis Arh
ff69698027 Properly implement model cache management on DAL RDMBS 2022-08-12 16:50:12 +02:00
Denis Arh
b5267bcbf9 Add 'meta' to list of skiped system fields (revisions) 2022-08-12 16:50:12 +02:00