3
0

129 Commits

Author SHA1 Message Date
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
Denis Arh
68deb606a0 Fix messaging integration tests 2020-09-08 19:56:11 +02:00
Denis Arh
875b08f1df Fix system integration tests 2020-09-08 14:51:27 +02:00
Denis Arh
be76207e50 Fix compose integration tests 2020-09-08 14:51:19 +02:00
Denis Arh
f64bf4673e Ported pkg/rh to pkg/filter and removed obsolete code 2020-09-06 16:33:57 +02:00
Denis Arh
f7070b4fa5 Fix tests, improve constraint checking 2020-09-06 15:37:19 +02:00
Denis Arh
361a9007bf Cleaner store API 2020-08-26 14:49:33 +02:00
Denis Arh
a5990ca093 System services migrated 2020-08-24 15:43:03 +02:00
Denis Arh
28c5910bf1 Rename users, credentials tables, fix tests 2020-08-24 15:41:40 +02:00
Denis Arh
8ac6c17ea8 Rename generated interfaces (for easier ext.) 2020-08-24 15:41:01 +02:00
Denis Arh
c8d552e6a6 Implement new store infrastructure 2020-08-24 15:40:15 +02:00
Denis Arh
239d6fc429 Remove request dump assert utility from tests 2020-06-29 15:53:36 +02:00
Denis Arh
d18d679b63 Add perm. check for record value field update 2020-06-20 17:58:19 +02:00
Denis Arh
1397e8eeb5 Simplify db connection handling
Due to incompatibilities with update of github.com/titpetric/factory,
we are crippeling db connection handling (MustGet fn) - only supporting
one ("default") connection
2020-06-19 12:44:14 +02:00
Denis Arh
d0afb17cf3 Implement service actions & errors on messaging 2020-05-31 19:23:43 +02:00
Denis Arh
288e516986 Fix bulk ops logic & (record value) error handling 2020-05-29 15:52:42 +02:00
Denis Arh
e8212ec8ff Add action log for bulk op, fix tests 2020-05-29 06:49:22 +02:00