3
0

809 Commits

Author SHA1 Message Date
Tomaž Jerman
dc56f8a624 Fix sink script execution by assurring sufficient ctx credentials 2021-10-07 14:50:58 +02:00
Vivek Patel
d4bf6fc6bb Fixes Wf duplicate issues for gateway steps
Prevents gateway steps from verifying again by fixing return logic for converting those step definitions into workflow.Step instances
2021-10-07 15:08:48 +05:30
Tomaž Jerman
de0d6776b0 Fix nil ptr exception on invalid report prefilter 2021-10-06 16:31:22 +02:00
Tomaž Jerman
d2e722688d Add missing ref. types to expr. registry 2021-10-06 16:31:22 +02:00
Katrin Yordanova
40e0385045 Remove colon from error message in report/model 2021-10-05 15:03:23 +03: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
Denis Arh
179381ef08 Improve workflow & system tests, logging
A set of changes touching different parts of system
all related to initialization of system users and
groups
2021-10-03 17:53:41 +02:00
Denis Arh
6c8bec2c3c Re-enable API Gateway route handling (/api/gateway/...)
API Gateway routes are now bind under <base>/api/gateway.

This also removes custom route method validation and
handles not-found responses with a chi's NotFound method
2021-10-03 15:51:35 +02:00
Tomaž Jerman
0d429fa641 Improve API GW route mounting for easier remounting 2021-10-03 13:57:15 +02:00
Denis Arh
bb59bc1f72 Fix translation variable replacement when extending 2021-10-02 08:32:45 +02:00
Tomaž Jerman
2def92d41f Tweak expr record value selection and bool casting
* properly handle casting of false values (empty string)
* add support for record.values.xyz expressions where values is not set
2021-10-01 12:40:23 +02:00
Denis Arh
2ee926940a Cleanup app settings, implement env var to enable res. translatons 2021-10-01 10:08:58 +02:00
Denis Arh
a7e861cdda Refactor resource translation processing 2021-10-01 10:08:58 +02:00
Vivek Patel
2d2e02b3a0 Fixes apigw prefilter for string with hyphen 2021-10-01 10:08:58 +02:00
Tomaž Jerman
4092f1bfc7 Add a call stack to prevent infinite WF invocations 2021-10-01 10:08:58 +02:00
Tomaž Jerman
f81c21c05d Handle special \n string case for YAML exports 2021-10-01 10:08:58 +02:00
Vivek Patel
0bfa57acd2 Tweak adoc templates
- Updates path for generated docs
- Adds adoc codegen for expression and fixes expr_types.gen.adoc.tpl
2021-10-01 10:08:58 +02:00
Tomaž Jerman
f865d63bc1 Add a call stack to prevent infinite WF invocations 2021-10-01 10:08:58 +02:00
Denis Arh
e89160be1e Raise def. value for request rate limit to 60 2021-10-01 10:08:58 +02:00
Denis Arh
dd8921d392 Add ability to disable CSRF 2021-10-01 10:08:58 +02:00
Tomaž Jerman
a122d75b8f Improve RBAC rule migration logic
* Add missing federation rule edgecases
* Properly construct resource paths using parent resources
2021-10-01 10:08:58 +02:00
Tomaž Jerman
9929886372 Remove api gw filter expression from error messages 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
Vivek Patel
d2bff9e3fd Apigw tweaks
- Add system/apigw tests
- Removes permissions from APIGw filters from each level
2021-10-01 10:08:58 +02:00
Tomaž Jerman
74d7c6c7a2 Fix RecordList field selection export 2021-10-01 10:08:58 +02:00
Tomaž Jerman
2936fda461 Rework API GW js func handling
Remove base64 encode/decede as it was not consistent.
Using built-in JSON marshling was the better solution.
2021-10-01 10:08:58 +02:00
Tomaž Jerman
c2136c54c6 Remove frame column caster from YAML def 2021-10-01 10:08:58 +02:00
Tomaž Jerman
edcac041bc Add missing rbac envoy resources 2021-10-01 10:08:58 +02:00
Tomaž Jerman
1251bac373 Fix locale loading race conditions 2021-10-01 10:08:58 +02:00
Tomaž Jerman
6ceadf40fc Setup the API GW testing env 2021-09-27 15:50:18 +02:00
Tomaž Jerman
52e0e838e9 Prevent API GW filters from overwriting the same registry struct 2021-09-27 14:11:40 +02:00
Tomaž Jerman
e7fb1e3e07 Tweak typed value Array casting; add missing selected prop 2021-09-27 10:42:35 +02:00
Tomaž Jerman
2511476f4c Fix improper module field resource translation refs 2021-09-25 09:36:03 +02:00
Denis Arh
50e5d1a9f8 Remove res-tr table truncate, fix field & expr labels migration 2021-09-24 19:06:49 +02:00
Tomaž Jerman
9a1c91675b Assure propper paging cursor value casting for reporting 2021-09-24 14:22:45 +02:00
Tomaž Jerman
11c225c6f4 Post testing reporter tweaks
* add support for existence checking (IS (NOT) NULL)
* cover edgecase where either join dimension is empty
* add support for negation operator
2021-09-24 13:17:28 +02:00
Tomaž Jerman
37d1cb77d2 Fix envoy dep. resolution flakines 2021-09-23 16:47:18 +02:00
Tomaž Jerman
c4984c44f4 Post testing tweaks
* Defer resource ID dereferencing to store encoder layer
* Allow pageID when exporting to YAML for correct relations
2021-09-23 13:05:09 +02:00
Tomaž Jerman
f7922d9736 Add support for namespace clone, export, import 2021-09-23 13:05:08 +02:00
Tomaž Jerman
d90c11153b Additional envoy resource manipulation utilities 2021-09-23 13:05:08 +02:00
Denis Arh
426b9c4fb0 Refactored access token removal logic 2021-09-22 21:09:55 +02:00
Vivek Patel
0249641bda Ensure extra user validation during access token validation
- validate a token exist in store
- when user is suspended, deleted or roles are removed - removes ALL user's tokens
2021-09-22 21:09:55 +02:00
Vivek Patel
54cbfe20d8 Adds JWT token generation methods
- Generates token encoded with user and save it to store
- Updated token generation method usage in Corredor and Impersonalization
2021-09-22 21:09:55 +02:00
Tomaž Jerman
f96626c2d0 Resolve merge lapsus 2021-09-22 11:48:42 +02:00
Tomaž Jerman
e46812b8d3 Improve envoy RBAC rule management 2021-09-22 11:38:35 +02:00
Tomaž Jerman
104bfb23de Update Envoy for new/extended resources
* Reports
* API GW
* Module field; user role filter
* Comment page block
2021-09-22 11:38:35 +02:00
Tomaž Jerman
e49b04f37c Comment out unneeded resource translations 2021-09-22 11:33:37 +02:00
Tomaž Jerman
fc9061fee3 Resource translation improvements
* Fix locale context management
* Assure proper locale context parameters are used when updating,
  listing translations
* Return missing module field translations
2021-09-22 11:33:37 +02:00
Tomaž Jerman
8668e15ad8 Implement placeholder envoy resources for dep. resolution 2021-09-22 11:26:14 +02:00