Denis Arh
ee2183c36f
Refactoring decode/encode structure and logic
2020-11-27 11:19:15 +01:00
Tomaž Jerman
93bfa80eb0
Add base resource decoders
...
* yaml,
* csv.
2020-11-27 11:19:15 +01:00
Tomaž Jerman
d076dbd70f
Define base Compose resources supported by envoy
...
* ComposeNamespace,
* ComposeModule (+ fields),
* ComposeRecord (+ values),
* RBAC permissions.
2020-11-27 11:19:15 +01:00
Denis Arh
b7de337db9
Fix sorting&paging on RDBMS store
2020-11-13 08:10:09 +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
92ca66cade
Improve corredor auto. server error handling
...
Errors are now typified, node.js stack from error is accepted and converted
2020-11-05 07:57:27 +01:00
Denis Arh
111beae959
Safe errors
2020-11-04 15:13:53 +01:00
Denis Arh
ecb7f52c31
Improve error creation & handling by API
2020-11-04 14:18:33 +01:00
Denis Arh
02c2ffc195
Refactor and simplify store upgrade proc running
2020-10-22 14:05:16 +02:00
Denis Arh
31bf551621
Fix compose module tests
2020-10-12 15:22:35 +02:00
Denis Arh
b534308143
Fix pagination cursor dec/enc + finish impl
2020-10-12 15:20:55 +02:00
Denis Arh
4c45aa6d1a
Replace nodemon with fswatch, improve test tasks
2020-09-30 12:29:44 +02:00
Denis Arh
b4a1331ae5
Remove namespace dbg
2020-09-18 08:13:39 +02:00
Denis Arh
7508659165
RBAC refactored (pkg renamed, init improved)
2020-09-18 07:56:58 +02:00
Denis Arh
d21cd72f7c
Simplify access to system user service
2020-09-18 07:56:58 +02:00
Denis Arh
6154d36976
Fix & improve provisioning procedures
2020-09-16 17:31:51 +02:00
Denis Arh
1c2f4de28c
Optimize RBAC service loading
2020-09-16 07:37:06 +02:00
Denis Arh
4cef8eecd4
Tidy up id.Next() and time.Now() use
2020-09-16 07:37:06 +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
24f8457d71
Rename Storable interface to Storer
...
See https://golang.org/doc/effective_go.html#interface-names
2020-09-09 08:40:50 +02:00
Denis Arh
11b7803305
Use store pkg functions instead of struct methods
...
Mainly for consistenct
2020-09-08 20:06:03 +02:00
Denis Arh
be76207e50
Fix compose integration tests
2020-09-08 14:51:19 +02:00
Denis Arh
4e2f9fdfcd
Fix provisioning over new store
2020-09-08 10:16:45 +02:00
Denis Arh
d14b26923e
Remove (repository-layer) resource filtering
2020-09-06 16:41:17 +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
10b1dc09e9
Messaging repo ported to store and cleaned
2020-09-06 09:28:45 +02:00
Denis Arh
3540b4f128
Migrated messaging message to store
2020-09-01 21:31:25 +02:00
Denis Arh
6120520a03
Refactored (paged) fetching/searching
2020-09-01 07:25:34 +02:00
Denis Arh
6041f26d04
Remove obsolete compose/repository
2020-08-29 15:00:59 +02:00
Denis Arh
720dc38da6
Port compose record builder
2020-08-29 15:00:43 +02:00
Denis Arh
e8049fe7aa
Pass ctx+store to validators, refactor record (script) triggering
2020-08-27 23:21:14 +02:00
Denis Arh
0c085d7b24
Ported compose attachments
2020-08-27 23:19:49 +02:00
Denis Arh
361a9007bf
Cleaner store API
2020-08-26 14:49:33 +02:00
Denis Arh
6bfb1eebd9
Removed db tags from compse & system
2020-08-24 15:43:04 +02:00
Denis Arh
349ff3cf2d
Add improved sorting and key-based pagination
2020-08-24 15:43:04 +02:00
Denis Arh
9290f160a8
Implement new paging with resource check on filter
2020-08-24 15:43:03 +02:00
Denis Arh
a5990ca093
System services migrated
2020-08-24 15:43:03 +02:00
Denis Arh
8ac6c17ea8
Rename generated interfaces (for easier ext.)
2020-08-24 15:41:01 +02:00
Denis Arh
7ef781d84c
Add isGeneric check for action errors
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
f3e03a58f8
Migrated types to new codegen
2020-08-24 15:39:39 +02:00
Denis Arh
697f3bc089
Migrated API specs to new codegen
2020-08-24 15:39:39 +02:00
Denis Arh
a7f8cd58cd
Remove old migration files
2020-08-24 15:38:42 +02:00
Denis Arh
f4e6d2ae5a
Refactor bootstraping procedure
2020-08-24 15:38:42 +02:00