3
0
Commit Graph

197 Commits

Author SHA1 Message Date
Denis Arh
4d02146d01 Fix field initialization on record export 2022-09-30 15:50:58 +02:00
Tomaž Jerman
4b65286df1 Add refs to DAL models constructed from compose modules 2022-09-01 16:55:20 +02:00
Denis Arh
4bb8270189 Fix DAL implementation with Envoy 2022-08-23 08:12:38 +02:00
Denis Arh
4f0d0ad6c1 Change compose record labels to meta 2022-08-11 19:33:07 +02:00
Tomaž Jerman
9e1375e99a Refactor DAL capabilities into operations and properties 2022-08-02 12:57:22 +02:00
Denis Arh
04e93ede90 Cleanup compose module fields configs 2022-07-31 16:05:06 +02:00
Denis Arh
98722f67eb Rename ModelFilter to ModelRef 2022-07-28 12:58:40 +02:00
Tomaž Jerman
76b99bd0ed Umbrella commit for generic commits
* Removed f.Check requirement from compose/dalutils.
* Added ref to original module when preparing target records for
  DAL value setter processing (helps with properly setting Ref field).
* Updated codegen & added missing imports.
2022-07-27 16:53:04 +02:00
Tomaž Jerman
5d8f00df64 Add content type assertion fallback for JSON file imports 2022-07-04 13:03:49 +02:00
Tomaž Jerman
3643b7d23b Fix resource.Ref eq. check to properly handle wildcard paths 2022-07-04 12:55:05 +02:00
Tomaž Jerman
a790c12064 Improve resource referencing
* Use Ref structs to allow for more context
* Assure constraints
2022-07-04 12:55:03 +02:00
Tomaž Jerman
f5a4bd9a30 Add additional utilities to work with resources 2022-07-04 12:54:21 +02:00
Denis Arh
61b91a8a6a Cleaned up old store (record, rvalues) code, add missing tests 2022-06-28 19:01:44 +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
d7be55948c Quick refactor of other services for DAL
@todo cleanup, refactor
2022-06-14 12:08:18 +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
Denis Arh
5c317cdbdf Add proper support and access control for record owner 2022-05-26 20:56:33 +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
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
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
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
Tomaž Jerman
a1a462c5fb Fix improper ns import resource re-id due to resources being ignored 2022-03-23 12:06:56 +01:00
Vivek Patel
e9dfe8254e Fix module fields missing translations
Adds missing locale option `extended: true` in module.cue
2022-03-15 00:32:54 +05:30
Tomaž Jerman
8e679bf97c Improve namespace export
* Add RBAC rules
* add resource translations
* slight refactor
2022-02-25 16:48:25 +01:00
Tomaž Jerman
9142c7b5a3 Add support for user export/import 2022-02-17 13:11:50 +01:00
Tomaž Jerman
d841aad13b Fix improper user email lookup un envoy 2022-02-17 13:11:50 +01:00
Tomaž Jerman
da1828642c Expand envoy.Resource defs for easier state access 2022-02-17 13:11:50 +01:00
Denis Arh
0ea543b2a2 Migrate codegen for fed&automation, remove old def dir 2022-01-26 17:18:34 +01:00
Denis Arh
74d6eabf94 Various template & def fixes 2022-01-26 16:27:38 +01:00
Denis Arh
52209c476b Port all v3 codegen to cue-based codegen 2022-01-26 16:25:54 +01:00
Denis Arh
a437913f85 Migrate codegen for envoy to CUE 2022-01-26 16:25:53 +01:00
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Tomaž Jerman
99a5597547 Fix edgecase where ref value would become nil and panic the system 2022-01-18 21:50:18 +01:00
Tomaž Jerman
9086bf34f4 Improve resource identification
* Stop relying on names (eg. module name),
* use slices as underlying structure to avoid potential hashmap
  order related accidents.
2022-01-18 21:50:18 +01:00
Tomaž Jerman
a47c1112e1 Allow non handle identifiers for related resources 2022-01-18 21:50:18 +01:00
Tomaž Jerman
047b647af6 Prevent envoy from panicking for automation blocks with no references 2021-12-09 16:41:16 +01:00
Tomaž Jerman
96556f545b Add support for CLI record import 2021-12-02 17:44:47 +01:00
Tomaž Jerman
5afc715f9a Fix improper page block ref validation for yaml encode 2021-11-08 16:34:53 +01:00
Tomaž Jerman
032566d902 Fix compose page YAML marshal for unconfigured page blocks 2021-11-05 08:57:05 +01:00
Peter Grlica
94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Tomaž Jerman
2d8f2d7782 Add missing page weight yaml unmarshal 2021-10-11 13:48:49 +02:00
Tomaž Jerman
0dfe990485 Add missing page parent parameter to exported yaml 2021-10-10 13:31:02 +02:00
Vivek Patel
a22083573c APIGw updates
- Fixes filter status update
- Updates search route API param for status
- Updates envoy marshaling for filter
- Fixes/Updated test for route and filter
2021-10-05 11:57:36 +05:30
Tomaž Jerman
f81c21c05d Handle special \n string case for YAML exports 2021-10-01 10:08:58 +02:00
Tomaž Jerman
7ea20c489b Add missing res. tr. identification logic 2021-10-01 10:08:58 +02:00
Tomaž Jerman
5c1e57393e Rename report projection -> block 2021-10-01 10:08:58 +02:00