3
0
Commit Graph

897 Commits

Author SHA1 Message Date
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
Denis Arh
20310e302f Remove customisation from the generate code 2022-08-18 20:36:43 +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
1a358dd255 Fix broken system tests when updating primary conn
We no longer compare config changes on primary connection
Just override the values from the old one
2022-08-09 20:52:21 +02:00
Denis Arh
cbfb1d49bd Refactor model ident validation 2022-08-08 13:25:32 +02:00
Denis Arh
015d8ada6e Refactor module-model conversion
Remove redundant parts of config (eg partititoned flag),
refactored and cleand-up field-to-attribute conversion
2022-08-08 13:19:01 +02:00
Vivek Patel
db325fc125 Add route to list dal connections for privacy console
It will only list dal connections with minimal data.
2022-08-05 17:54:21 +05:30
Vivek Patel
12fd426ec7 Add validation for password while updating system settings
Also, adds setting actions file and updated all settings errors to translated error
2022-08-05 17:42:08 +05:30
Denis Arh
c2e9f93710 Fix auth-session filtering (user_id => rel_user) 2022-08-03 18:06:52 +02:00
Tomaž Jerman
bba02ec9df Implement base valuestore for env variables
* Base facility to store generic values,
* integrate with templates,
* integrate with workflows.
2022-08-02 13:13:28 +02:00