3
0
Commit Graph

819 Commits

Author SHA1 Message Date
Denis Arh
bdd9318f93 Refactor and improve DAL implementation and init
Changes:
 - Boot initialization follows standard impl
 - Improved DAL connection management (adding, reloading, removing)
 - Cleaner and more detailed logging
 - Primary store connection is now reused when added to DAL
2022-07-01 18:13:54 +02:00
Denis Arh
14d3b7033d Refactor RBAC evaluation processing 2022-06-28 12:53:51 +02:00
Tomaž Jerman
83ba7faa0f Add /permissions/evaluate endpoints to evaluate RBAC rules 2022-06-27 14:28:52 +02:00
Tomaž Jerman
ef503e433f Add missing sorting to application codegen definition 2022-06-16 13:06:23 +02:00
Tomaž Jerman
3b2710a210 Fix improper request kind type casting 2022-06-15 09:53:16 +02:00
Tomaž Jerman
acdda97daa Allow data privacy requests to store the payload 2022-06-14 20:35:42 +02:00
Tomaž Jerman
cbb5dadd9e Temporarily add default sensitivity level with ID 1 2022-06-14 20:35:42 +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
033d2572dd Refactor core compose, system services with new DAL changes
* Define utility packages to work with DAL structs
* Cleanup code
2022-06-14 12:08:16 +02:00
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
62e43f19d3 Add base DAL crud integration tests 2022-05-31 16:53:01 +02:00
Tomaž Jerman
9bed03a95f Fix dal connection type assertion lapsus 2022-05-31 13:20:57 +02:00
Tomaž Jerman
1be620d787 Tweak dal connection meta for easier FE work
* Default capabilities to empty slice
* Include primary connection connection parameters in REST
  responses.
2022-05-31 13:00:21 +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
Tomaž Jerman
35469c4749 Tweak DAL setup to prevent the server freezing
Errors are now logged and they don't kill the setup process.
This will be improved.
2022-05-26 18:13:54 +02:00
Tomaž Jerman
a0a6314ea9 Introduce DAL model ident formatter to simplify the interfaces 2022-05-26 17:41:15 +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
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
b6adec8a9c Fix Role filter, add mising name attribute 2022-05-23 20:33:17 +02:00
Tomaž Jerman
bda52ed992 Add endpoint for primary DAL connection 2022-05-20 15:37:33 +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
383b07d1d7 Base DAL service integration into Compose services 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
0a2175f384 Make settings decoding more robust (numbers & strings) 2022-05-09 17:28:11 +02:00
Tomaž Jerman
e6264c8195 Add support for record page button settings 2022-04-26 03:04:03 +02:00
Denis Arh
ac35d569a3 Regenerated code after resource def. fix 2022-04-24 07:36:17 +02:00
Denis Arh
5fe1e63f22 Fix cue resource definitions 2022-04-24 07:36:17 +02:00
Denis Arh
fe107a6cfc Additional error wraps for clarity 2022-04-23 16:34:07 +02:00
Denis Arh
8f1a953697 Fix api-gw store tests, scanners & filters 2022-04-23 16:34:07 +02:00
Denis Arh
773d64636f Refactored store codegen, replace squirrel with goqu 2022-04-23 16:34:04 +02:00
Tomaž Jerman
0792c0a17d Add missing limit arg. to workfow iterator handlers 2022-04-04 12:31:27 +02:00
Peter Grlica
a9b6ea6605 Added http method sorting to profiler 2022-03-23 09:32:25 +01:00
Denis Arh
f305ab9102 Make credentials cleanup flow more robust 2022-03-22 18:04:10 +01:00
Denis Arh
661e7f705b Add onBefore/AfterUpdate ev when role is un/archived 2022-03-22 17:13:43 +01:00
Peter Grlica
e4dc6dc5f5 Refactored, updated tests 2022-03-21 12:59:01 +01:00
Peter Grlica
2617cb8e5b Fixed aggregation sorting on equal values 2022-03-21 12:59:01 +01:00
Peter Grlica
1d156899d7 Moved filter, sorter to system profiler service 2022-03-21 12:59:01 +01:00
Peter Grlica
f33336b21d Added global profiler setting, options to apigw handlers 2022-03-21 12:59:01 +01:00
Peter Grlica
476084a3bf Added profiler to apigw 2022-03-21 12:59:01 +01:00
Tomaž Jerman
631811929e Fix resource translation codegen and empty string handling 2022-03-03 11:36:08 +01:00
Tomaž Jerman
ac6e7332ae Fix nil refference 2022-03-02 17:17:41 +01:00
Tomaž Jerman
506a92d2c1 Expand report output to show user fields as Compose does 2022-03-02 13:48:05 +01:00
Peter Grlica
465e8ffe69 Fix queue name matching on workflow onMessage event 2022-03-01 09:15:05 +01:00
Vivek Patel
4e3d5dd003 Fix log reference on discovery service initialisation 2022-02-28 17:32:32 +05:30
Denis Arh
a86efe3090 Password reset rate limiting & existing token invalidation 2022-02-24 10:02:32 +01:00
Denis Arh
4a0f88d8f9 Remove render operation on queues (added by mistake when migrating to cue) 2022-02-23 18:55:47 +01:00
Jože Fortun
2b60261822 Fix ui.topbar setting key naming 2022-02-23 16:54:56 +01:00