3
0
Commit Graph

145 Commits

Author SHA1 Message Date
Denis Arh
01a7aa6526 Remove .With(ctx) pattern 2021-01-25 18:05:24 +01:00
Denis Arh
44d597cff1 Fix user data masking on search 2020-12-22 21:09:40 +01:00
Tomaž Jerman
1d5ea52021 Fix federation role parameters 2020-12-18 13:51:42 +01:00
Tomaž Jerman
c1d7f700c4 Cleanup Envoy
* Improve conflict resolution algorithm.
* Tweak resource merge algorithms.
* Bump test coverage.
2020-12-17 11:56:34 +01:00
Denis Arh
d46630c7be Implement SCIM PATCH for group (role) membership 2020-12-16 11:12:25 +01:00
Denis Arh
1eba292e75 Create users and roles with replace 2020-12-16 11:12:25 +01:00
Denis Arh
3cf7cd8e2b Support conf. primary ID (corteza or external) 2020-12-16 11:12:23 +01:00
Denis Arh
4899a1bfec Remove API request debug() flag from SCIM tests 2020-12-16 10:49:19 +01:00
Denis Arh
99f0ca3249 Add support for external ID 2020-12-16 10:49:19 +01:00
Denis Arh
41eae955ca Add support to provision roles (groups) via SCIM 2020-12-16 10:49:19 +01:00
Denis Arh
e47cc3269c Add basic SCIM implementation 2020-12-16 10:49:17 +01:00
Denis Arh
9c0112e038 Manually enable federation for integration tests 2020-12-14 15:08:58 +01:00
Peter Grlica
0d88fdd139 Added rbac for federation, fixed tests, updated generated code 2020-12-13 18:53:19 +01:00
Peter Grlica
5566621720 Fixed mapper test, syncer uri test, node pairing 2020-12-13 18:53:19 +01:00
Peter Grlica
39eb2c14d6 Nodes sync test file, fixed node pair tests 2020-12-13 18:53:19 +01:00
Peter Grlica
5890cd444a Fixed node pairing 2020-12-13 18:53:19 +01:00
Denis Arh
bcdb66cb0e Use the right auth tokens for handshake pairing in tests 2020-12-13 18:53:18 +01:00
Denis Arh
c4d7f61f1b Improve & finalize fed. node REST & integ. tests 2020-12-13 18:53:18 +01:00
Tomaž Jerman
3306a2435d Fix envoy record pointer lapsus 2020-12-11 12:19:55 +01:00
Tomaž Jerman
cb5793d468 Expand envoy configuration options
Better `skipIf` & `onExisting` support.
2020-12-10 18:54:31 +01:00
Denis Arh
238ad3411c Various (pg-related) fixes on messaging 2020-12-10 18:06:38 +01:00
Denis Arh
46620d46a9 Fix record-value storing issues
Under certain conditions, values did not get removed/saved properly
2020-12-10 13:20:43 +01:00
Tomaž Jerman
802f6bc73d Fix flaky settings tests 2020-12-02 15:08:52 +01:00
Tomaž Jerman
a2110b26db Improve envoy system values
Handle timestamps & user stamps.
2020-12-02 15:08:52 +01:00
Tomaž Jerman
3444ac3021 Rename conditional envoy processing property 2020-12-02 09:58:50 +01:00
Tomaž Jerman
561fb2f052 Fix envoy settings from multiple sources 2020-12-02 09:25:08 +01:00
Tomaž Jerman
22785ad10b Add conditional envoy processing for compose records 2020-12-01 14:23:12 +01:00
Tomaž Jerman
3a9891431d Fix compose module field unmarshling; fix directory decoding 2020-12-01 10:27:58 +01:00
Denis Arh
4fd7ee27b8 Add CRUD tests for field expr 2020-11-30 20:31:02 +01:00
Tomaž Jerman
83ad91416d Add base tests for envoy merge algs 2020-11-30 19:35:37 +01:00
Tomaž Jerman
593235848a Add tests for reference constraints 2020-11-30 18:51:46 +01:00
Tomaž Jerman
bcec07f8ff Fix reference field data types
From uint64 -> string.
2020-11-28 14:07:19 +01:00
Tomaž Jerman
21b11198ef Extend shaping integration tests for jsonl 2020-11-27 11:19:16 +01:00
Tomaž Jerman
a0b7716244 Shaping tests & post tweaks 2020-11-27 11:19:16 +01:00
Tomaž Jerman
10b300328d Implement data shaping
Unstructured datasources (csv, jsonl, ...) are defined as resource
datasets.
These datasets are then "shaped" based on some template.

The result is an envoy resource like any other.
2020-11-27 11:19:16 +01:00
Tomaž Jerman
7ca422bdd3 Remove deprecated decoder things
* loader interface,
* needless FileInfo.
2020-11-27 11:19:15 +01:00
Tomaž Jerman
8b6b322c1b Move envoy tests under integration tests 2020-11-27 11:19:15 +01:00
Denis Arh
2f74270376 Fix broken user-list query test 2020-11-26 06:23:24 +01:00
Denis Arh
76e803cc3c Implement support for labels on system resources 2020-11-06 08:33:24 +01:00
Denis Arh
b82ddad83a Implement support for labels on compose resources 2020-11-06 08:32:42 +01:00
Denis Arh
fc74d44563 go vet fixes 2020-11-05 19:57:47 +01:00
Denis Arh
eca90b1fc1 Fix record update with update-denied fields
Scenario:
 - values already exist on the record
 - record is updated with users that can not update all fields
 - only values for updatable fields are provided

Access control was moved from generalValueSetValidation to procCreate/procUpdate
to allow return of record value error set.

Existing values from fields with update-deny set are copied to updating set
to ensure proper handling by RVS's Merge fn().
2020-11-05 10:39:25 +01:00
Denis Arh
ed8fc547f7 Config. environment (throughenv var 'ENVIRONMENT') 2020-11-04 15:13:27 +01:00
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
b534308143 Fix pagination cursor dec/enc + finish impl 2020-10-12 15:20:55 +02:00
Denis Arh
7508659165 RBAC refactored (pkg renamed, init improved) 2020-09-18 07:56:58 +02:00
Denis Arh
3a7cc105d0 Renamed temp ng-store variables to store 2020-09-16 07:37:06 +02:00
Denis Arh
5e55340759 Renamed pkg/store to pkg/objstore (Object Store) 2020-09-16 07:37:06 +02:00
Denis Arh
5eba380f19 Cleanup, instrumentation 2020-09-15 07:24:28 +02:00
Denis Arh
edbeb57f48 Fix ordering records by values, record organizer 2020-09-09 13:11:11 +02:00