3
0

983 Commits

Author SHA1 Message Date
Tomaž Jerman
319ae7e375 Fix improper sensitivity level check when removing attributes 2022-06-14 20:35:42 +02:00
Tomaž Jerman
9adced7a1e Fix attribute panic when adding/removing attributes 2022-06-14 20:35:42 +02:00
Tomaž Jerman
557a573f04 Add base DAL tests 2022-06-14 20:35:42 +02:00
Tomaž Jerman
11e82354fe Temporarily disable DAL for provisioning 2022-06-14 12:08:18 +02:00
Tomaž Jerman
d7be55948c Quick refactor of other services for DAL
@todo cleanup, refactor
2022-06-14 12:08:18 +02:00
Tomaž Jerman
8eb062293f Refactor pkg/dal implementation
* Reworked errors to not brick the system (things keep track of
  issues.
* Reworked internal state management -- keeping invalid things
  present, cleanning up the code, utilizing issues.
* Cleanup/improve error messages
2022-06-14 12:06:13 +02:00
Vivek Patel
86431fe82f Add rest endpoints for chart translations
It allows saving/updating yAxis label and metric label translations
2022-06-14 13:17:44 +05:30
Vivek Patel
7cdf51adc4 Add data privacy request route and implementation
- Introduces new role for data-privacy-officer(Role allows user to manage data privacy requests)
- along with a new system resource for data privacy requests and its access control
- Routes as per access control to create data privacy request, list request and filter it based on their kind and status, update data privacy request status, and create/list comments on data privacy request
2022-06-14 13:17:44 +05:30
Tomaž Jerman
c6b26c4e32 Temporary patch for primary connection updating 2022-05-31 13:16:14 +02:00
Tomaž Jerman
4517d9b06d Tweak dal connection location for easier FE work
Default it to the empty geolocation JSON.
2022-05-30 15:59:28 +02:00
Tomaž Jerman
a70087ace8 Refactor primary DAL connection to be preserved in DB 2022-05-30 15:43:03 +02:00
Denis Arh
5c317cdbdf Add proper support and access control for record owner 2022-05-26 20:56:33 +02:00
Tomaž Jerman
a0a6314ea9 Introduce DAL model ident formatter to simplify the interfaces 2022-05-26 17:41:15 +02:00
Tomaž Jerman
9223feac95 Omit sensitivity level inclusion check when omitted 2022-05-26 15:12:20 +02:00
Tomaž Jerman
94fbe4bd44 Improve DAL sensitivity level
* Integrate with pkg/dal package
* Additional validation/constraints
2022-05-26 13:24:16 +02:00
Denis Arh
aeec20018c Prevent nil pointer dereference inside corredor healthcheck 2022-05-25 15:49:13 +02:00
Tomaž Jerman
ac07f133b5 Expand DAL REST API structure and exposed resources
* Cleanup DAL connection REST endpoints, remove primary connection
  endpoint.
* Make connection search endpoint return federation nodes and
  primary connection along user-defined DAL connections
* Expose DAL connection drivers
* Prepare DAL sensitivity level resource
2022-05-25 14:10:52 +02:00
Denis Arh
17406362dd Rename Connection to DalConnection 2022-05-24 14:29:22 +02:00
Denis Arh
dd3d25a5ae Deprecate/remove AUTH_JWT_EXPIRY
JWT expiration is now controled via AUTH_OAUTH2_ACCESS_TOKEN_LIFETIME
2022-05-24 10:44:54 +02:00
Denis Arh
040ad02e75 Refactor and fix DAL tests
DAL tests are now moved to /tests/dal
2022-05-22 19:07:44 +02:00
Tomaž Jerman
b85f16a368 Add slight structure rename, add supporting services
* Add system connection CRUD & service
* Simplify compose type definitions
2022-05-20 15:37:33 +02:00
Tomaž Jerman
cda3c80c74 Connect the remaining record svc CRUD operations to DAL 2022-05-20 15:37:33 +02:00
Tomaž Jerman
81dda274eb DAL service refactor & RDBMS interface tweak
* Remove Compose service related bits out of the DAL service
* Minor DB connectivity tweaks and include capabilities
* Add values column to the compose_record table
* Compose types tweaks
2022-05-20 15:37:33 +02:00
Denis Arh
671a51f9f7 Refactor and renamed CRS implementation to DAL 2022-05-20 15:37:33 +02:00
Denis Arh
876e254f5f Refactor filters, add filtrable flag on data.Attribute 2022-05-20 15:37:33 +02:00
Denis Arh
c1796529eb Refactor types, add support for sortable 2022-05-20 15:37:33 +02:00
Denis Arh
31f21dace0 CRS Sorting, pagination & cleanup 2022-05-20 15:37:33 +02:00
Denis Arh
91fc2101e1 Replace pkg/ql with pkg/qlng 2022-05-20 15:37:33 +02:00
Denis Arh
2d06cf1cf9 Initial CRS implementation for RDBMS 2022-05-20 15:37:33 +02:00
Tomaž Jerman
5add1dcb50 Define a common pkg/data for model definitions 2022-05-20 15:37:33 +02:00
Peter Grlica
919532b820 Fixed queue and route search in admin 2022-05-19 11:19:18 +02:00
Denis Arh
73266da547 Remove pkg/minions and IsNil
Replaced with IsNil fn from modern-go/reflect2
2022-05-18 12:36:30 +02:00
Denis Arh
8535141c22 Fix warning on http file server tests 2022-05-09 17:28:11 +02:00
Denis Arh
0a2175f384 Make settings decoding more robust (numbers & strings) 2022-05-09 17:28:11 +02:00
Denis Arh
ac35d569a3 Regenerated code after resource def. fix 2022-04-24 07:36:17 +02:00
Denis Arh
773d64636f Refactored store codegen, replace squirrel with goqu 2022-04-23 16:34:04 +02:00
Denis Arh
e75a57b0e9 Fix locale loading & defaulting logic 2022-04-20 13:49:22 +02:00
Tomaž Jerman
9c00264626 Prevent duplicate workflow prompts from sending 2022-04-19 14:33:25 +02:00
Denis Arh
adee67f6b3 Optimize expr parser loading 2022-04-15 18:14:58 +02:00
Denis Arh
9346b57021 Optimize HTML sanitization (pkg/xss) profile loading (mem leaking) 2022-04-15 18:14:46 +02:00
Denis Arh
9d7a01a072 Remove remaining monitor types (code cleanup) 2022-04-15 18:14:32 +02:00
Denis Arh
c64116fc8f Fix memory-leak in websocket r/w loops 2022-04-14 08:46:50 +02:00
Denis Arh
23eb6e5292 Cleaning up debug toolings 2022-04-14 08:46:50 +02:00
Peter Grlica
5b40f78756 Time transform expression function accepts strings also 2022-04-13 14:07:03 +02:00
Denis Arh
4a75778c1c Address data race in pkg/scheduler 2022-04-05 15:19:36 +02:00
Denis Arh
e8cd7d37d8 Refactor & harden websocket implementation (data race issues) 2022-04-05 14:58:11 +02:00
Peter Grlica
679af2f556 Added CLI jwt token duration option 2022-04-05 09:01:40 +02:00
Denis Arh
662f5155b9 Address data race in pkg/healtcheck 2022-04-04 16:50:29 +02:00
Denis Arh
a797c847b1 Address data race in pkg/corredor (healthcheck) 2022-04-04 16:42:48 +02:00
Denis Arh
3450509909 Address data race in pkg/locale 2022-04-04 16:26:26 +02:00