Tomaž Jerman
5f3efdbfe6
Allow resource reference constraints
...
This lets us import multiple different namespaces with modules, ...
at the same time.
Before, there was a chance that a thing from NS 1 would be linked
to a thing in NS 2.
2020-11-30 18:51:46 +01:00
Urban Klinc
1fc06c809f
Remove filller interface in pkg/options/helpers.go
2020-11-30 10:26:45 +01:00
Denis Arh
42c273df6f
Refactored role service (role proc)
2020-11-29 12:51:18 +01:00
Denis Arh
fb82df23e5
Fix typo in system/role error def
2020-11-29 12:51:18 +01:00
Tomaž Jerman
7659652278
Remove all of the dead deprecated bits
2020-11-28 14:38:16 +01:00
Tomaž Jerman
d3a64dc0ea
Rework cli importer
2020-11-28 14:29:33 +01:00
Tomaž Jerman
bcec07f8ff
Fix reference field data types
...
From uint64 -> string.
2020-11-28 14:07:19 +01:00
Tomaž Jerman
e3c6be868e
Rework provisioning with envoy
2020-11-28 13:59:44 +01:00
Tomaž Jerman
df5ebcf24c
Rework record importer with envoy
2020-11-27 18:59:25 +01:00
Tomaž Jerman
b82f280a89
Allow compose record shaping to work without keys
2020-11-27 18:59:25 +01:00
Tomaž Jerman
eb2d98cbf0
Allow simple interaction with record encoder
...
Mainly used for record importer; might rework/remove at a later
point.
2020-11-27 18:59:25 +01:00
Tomaž Jerman
851a9a7e11
Tweak content type determination for resource decoders
2020-11-27 18:59:25 +01:00
Denis Arh
2586fb9c23
Properly handle/write response headers
2020-11-27 18:59:07 +01:00
Denis Arh
ec614f8ebc
Add missing BeforeActionID param
2020-11-27 15:20:14 +01:00
Tomaž Jerman
584e56b144
Merge branch '2020.12.x-feature-envoy-n' into 2020.12.x
2020-11-27 11:19:58 +01:00
Tomaž Jerman
9ad4a29d34
Remove flaky jsonl tests
2020-11-27 11:19:16 +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
Tomaž Jerman
72ac5fa2ac
Add a provision testcase
2020-11-27 11:19:15 +01:00
Tomaž Jerman
9aa968e36a
Rename tests/main go
2020-11-27 11:19:15 +01:00
Tomaž Jerman
72c1885ee8
Small file ext tweak
2020-11-27 11:19:15 +01:00
Tomaž Jerman
f5ee8419d0
Define NextInverted on the graph
2020-11-27 11:19:15 +01:00
Tomaž Jerman
93a081d46c
Cleanup old tests; post test tweaks
2020-11-27 11:19:15 +01:00
Tomaž Jerman
ebfca604f0
Add compose record tests & post test tweaks
2020-11-27 11:19:15 +01:00
Tomaž Jerman
09d679fba7
Add base tests & post test tweaks
2020-11-27 11:19:15 +01:00
Tomaž Jerman
0bcd620a18
Improve errors; post tweaks
2020-11-27 11:19:15 +01:00
Tomaž Jerman
892c7dfe3c
Tweak resource finding logic
2020-11-27 11:19:15 +01:00
Tomaž Jerman
02620c4ea7
Tweak encoding routines
2020-11-27 11:19:15 +01:00
Tomaž Jerman
31c672e2e4
Implement base store encoder states
2020-11-27 11:19:15 +01:00
Tomaž Jerman
3333394165
Small pkg/rbac changes in exposed methods
2020-11-27 11:19:15 +01:00
Tomaž Jerman
651c93fecb
Cleanup, rename, restructure core envoy bits
2020-11-27 11:19:15 +01:00
Tomaž Jerman
a40f936f37
Yaml decoder tweaks based on resources & store
2020-11-27 11:19:15 +01:00
Tomaž Jerman
ea8f38ef73
Define settings yaml decoder
2020-11-27 11:19:15 +01:00
Tomaž Jerman
28e610c290
Cleanup resources
2020-11-27 11:19:15 +01:00
Tomaž Jerman
1ca500130d
Define Settings resource
2020-11-27 11:19:15 +01:00
Tomaž Jerman
92b6cf3b87
Tweak resource helpers
...
* Define InterfaceSet,
* rename resource types with RBAC types,
* some smaller bits.
2020-11-27 11:19:15 +01:00
Tomaž Jerman
22de4d2b80
Remove legacy bits
2020-11-27 11:19:15 +01:00
Tomaž Jerman
be08351969
Fix small return lapsus
2020-11-27 11:19:15 +01:00
Tomaž Jerman
41d2e8cb93
Rework graph & builder
...
Make nodes persist through runs (easier re-running).
2020-11-27 11:19:15 +01:00
Tomaž Jerman
1e2ee1bb00
Rework how records are handled
2020-11-27 11:19:15 +01:00
Tomaž Jerman
29e1fa369a
Cleanup store encoder
2020-11-27 11:19:15 +01:00
Tomaž Jerman
e396082a57
Slight envoy resource cleanup
2020-11-27 11:19:15 +01:00
Tomaž Jerman
1007ee6176
Rework compose record resource
...
* Decoder, resource,
* when reading from yaml, we'll just read it all at once.
2020-11-27 11:19:15 +01:00
Tomaž Jerman
3c3ba8a9e4
Rework yaml decoders
2020-11-27 11:19:15 +01:00
Tomaž Jerman
4da1e3183a
Update yaml decoders
2020-11-27 11:19:15 +01:00
Tomaž Jerman
3de59a461a
Migrate envoy nodes to resources
2020-11-27 11:19:15 +01:00
Tomaž Jerman
55f56d50d5
Tweak encoder, marshler so it doesn't fail to compile
2020-11-27 11:19:15 +01:00