3
0

287 Commits

Author SHA1 Message Date
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Denis Arh
29a135843f Minor fix of SAML tests, trim endlines in static files 2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
3ffa0ef8be Fixing codebase after JWT lib switch 2022-01-11 15:35:05 +01:00
Denis Arh
72999ca692 Replacing dgrijalva/jwt-go with lestrrat-go/jwx 2022-01-11 10:56:17 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
771a60abd7 Post dep-upgrade fixes 2022-01-11 10:53:49 +01:00
Denis Arh
ff7f642681 Refresh testing documentation 2021-12-20 07:52:48 +01:00
Tomaž Jerman
a45c914ecf Improve string support for reporter expressions 2021-12-10 12:59:20 +01:00
Vivek Patel
0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
Tomaž Jerman
59ef8da1ac Fix panicking report filter marshaling when invalid 2021-12-09 15:55:53 +01:00
Peter Grlica
eecf867090 Added jwt generate wf function 2021-12-08 10:21:50 +01:00
Denis Arh
70352a0be4 Remove unwrapping of workflow errors
It removes important details about step ID from the error
2021-12-02 10:48:59 +01:00
Denis Arh
b9f96d920a Support attachment management in workflow 2021-12-02 10:48:59 +01:00
Denis Arh
edbbf2f01b Fix bool/false value sanitization
Boolean value sanitization MUST return empty string for false boolean
value to ensure consisten behaviour when empty or false value for field
is send back and that field is read-only (via RBAC).
2021-11-21 18:07:00 +01:00
Tomaž Jerman
aced989ae6 Fix default record module field value validation setup 2021-11-15 12:45:24 +01:00
Tomaž Jerman
597484914d Properly handle ID-like report filter responses 2021-11-15 10:16:17 +01:00
Tomaž Jerman
4b6b52b3f6 Add back-end support for report scenarios 2021-11-10 16:39:21 +01:00
Denis Arh
7fb993d784 Resolve duplicate issues 2021-11-04 11:19:26 +01:00
Denis Arh
7b065769da Revert "Updates WF step verification logic before creating graph"
This reverts commit e2e7510c074238abd8ca043dcb6f04809ee8ac17.
2021-11-04 10:53:33 +01:00
Denis Arh
402006bebb Support recording and searching actionlogs 2021-10-28 09:43:26 +02:00
Denis Arh
20757e58fa Disallow use of reserved names for module fields
List of reserved names:
 - recordID
 - ownedBy
 - createdBy
 - createdAt
 - updatedBy
 - updatedAt
 - deletedBy
 - deletedAt
2021-10-21 13:20:50 +02:00
Peter Grlica
94d1e89ac3 Refactored messagebus out of service layer 2021-10-19 08:56:31 +02:00
Vivek Patel
e2e7510c07 Updates WF step verification logic before creating graph
- Fixes duplicate issues for function, iterator and gateway steps
- Extends workflow tests for above scenario
2021-10-18 12:54:13 +05:30
Tomaž Jerman
0dfe990485 Add missing page parent parameter to exported yaml 2021-10-10 13:31:02 +02:00
Tomaž Jerman
7a96376865 Properly handle join cases where local key is not unique 2021-10-07 20:11:32 +02:00
Denis Arh
832a4557c5 Return default language when there are no headers
This change also affects test setup: we need to load locale service
without any languages/translations to avoid test flakines
2021-10-07 15:24:59 +02:00
Vivek Patel
955ea9c0fa Includes disabled entries to APIGw list call
For APIgw route and filter List API assigned default value 1 to `disabled` filter
2021-10-05 17:21:28 +05:30
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
Vivek Patel
122be08b6a Fixes messagebus test
Fixed condition in TestMessageWrite, To prevent it from failing when there are more messages in queue
2021-10-04 16:59: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
Tomaž Jerman
dba109abf0 Add missing & fix improper user read AC 2021-10-03 16:24:49 +02:00
Tomaž Jerman
0d429fa641 Improve API GW route mounting for easier remounting 2021-10-03 13:57:15 +02:00
Denis Arh
1e5e956195 Cleanup SAML setup, cert loading, fix live-reload 2021-10-02 08:32:45 +02:00
Tomaž Jerman
43fe13a128 Add integration tests for record ctx roles 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
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
Vivek Patel
b342ec91d8 Fixes token generation in integration test 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
Vivek Patel
a9c762aacc Fix integration tests
- Extends helper for integration test with token generation
2021-09-24 19:24:00 +05:30
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
f7922d9736 Add support for namespace clone, export, import 2021-09-23 13:05:08 +02:00
Denis Arh
806dbfaa01 Implement invoker and runner wf scope vars 2021-09-23 07:37:49 +02:00
Denis Arh
92f225654c Fix access token handling in integration test 2021-09-22 21:23:42 +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
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