3
0
Commit Graph

914 Commits

Author SHA1 Message Date
Vivek Patel
99da9719de Update ApiGw route filters
It adds filter for method, endpoint which was renamed from query, and fixes route filter which filters by ID.
2022-10-12 17:18:06 +05:30
Vivek Patel
955c4d9b92 ApiGw reload only existing route on save/update
Add reloadEndpoint method to refresh only saved/update route as needed and for the routes no longer exist we attach the 404 handler.
2022-10-12 17:16:56 +05:30
Tomaž Jerman
5d476dcfa0 Add missing .Close() calls for report iterators 2022-10-05 12:48:50 +02:00
Tomaž Jerman
ff5cba8508 Return empty arrays for empty report frames instead of null 2022-09-30 14:45:52 +02:00
Denis Arh
5c96a2b2f2 Fix crash in attachment handling when we close on error 2022-09-30 12:42:55 +02:00
Tomaž Jerman
79f3c4ba46 Add provision for report migration 2022-09-30 10:07:47 +02:00
Tomaž Jerman
51ee96dd89 Apply frame definition filtering to link pipeline step 2022-09-29 23:08:16 +02:00
Tomaž Jerman
d18c8bd80d Quick fix for invalid aggregate attribute type determination
The logic should change along with how pipeline description
is done and how the pipeline represents attributes.
2022-09-29 22:21:46 +02:00
Tomaž Jerman
f759141e5a Tweak system reporter output for nil values and new aliases 2022-09-29 13:43:54 +02:00
Vivek Patel
b8a011d5f8 Fix deleted filter for DalConnection list
It assigns valid filter state for deleted param for `0` value.
2022-09-28 19:11:21 +05:30
Tomaž Jerman
92c2a0d12e Add system field translations for report data frames 2022-09-28 11:05:51 +02:00
Tomaž Jerman
2b0a1640d1 Fix report frame builder lapsus with ref columns 2022-09-27 12:13:13 +02:00
Jože Fortun
f10e687508 Add source back to load datasource step 2022-09-26 18:34:18 +02:00
Tomaž Jerman
3420f88aa9 Add missing relSource to report frames 2022-09-26 17:15:26 +02:00
Tomaž Jerman
b5aec8c690 Add missing dryrun to reporting model description 2022-09-26 14:11:02 +02:00
Tomaž Jerman
93b3a2819a Fix server bricking when primary connection has sensitivity level 2022-09-23 10:43:24 +02:00
Tomaž Jerman
bf6f4a6936 Remove deleted records from DAL pipeline processing 2022-09-22 17:26:17 +02:00
Vivek Patel
7da0940ae1 Add IncTotal param support to all resource List API
- Updates rdbms.go.tpl to extends store search method to include total in response
2022-09-21 19:24:43 +05:30
Vivek Patel
507c683e79 Fix deleted filter for DalSensitivityLevel list
It assigns valid filter state for deleted param for `0` value.
2022-09-21 13:10:31 +05:30
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
Tomaž Jerman
22f2de5cfd Temporarily remove sensitivity level normalization 2022-09-19 16:45:04 +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
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
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
8ff4015192 Re-enable primary-store healtcheck 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
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
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
d65bd241b7 Fix role unarchiving caused by updatng wrong vars 2022-09-13 10:09:18 +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
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
9bfe742fb7 Add basic tests for system/reporter pkg 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
eb57c03e6c Port the old system reporter to the DAL pipeline 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
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
Denis Arh
818f0ccb9b Generate models for all resources
Some refactoring of CUE files
2022-08-21 15:54:03 +02:00