Commit Graph
2175 Commits
Author SHA1 Message Date
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
Tomaž Jerman aca237ea4e Implement base pre-processing & store resource handling 2020-11-27 11:19:15 +01:00
Tomaž Jerman 1f6f4719eb Tweak graph builder & graph
Builder:
* Make pre-processing structured.

Graph:
* Walker -> Provider,
* simplify resource exec state,
* support for dry-running (will probably rework this).
2020-11-27 11:19:15 +01:00
Tomaž Jerman c19ef384e8 Implement base envoy resources
Compose namespace, module, record set.
2020-11-27 11:19:15 +01:00
Tomaž Jerman e17d63f05f Rework graph construction & processing 2020-11-27 11:19:15 +01:00
Denis Arh a655611470 Refactoring decoders&encoders 2020-11-27 11:19:15 +01:00
Denis Arh 3e2c6cc054 Fix identifier adding, add ident helper fn
Add Identifiers() that aids with conversion of string, fmt.Stringer or uint64 to string
2020-11-27 11:19:15 +01:00
Denis Arh c400a5873f Lowercase yaml aux stucts, cleanup 2020-11-27 11:19:15 +01:00
Denis Arh efe51b83f4 Fix error msg in app, role & user decoding 2020-11-27 11:19:15 +01:00
Denis Arh 32548fcb6a Add support for decoding settings from yaml 2020-11-27 11:19:15 +01:00
Denis Arh 62de582100 Finish yaml decoder for module 2020-11-27 11:19:15 +01:00
Denis Arh 0805155cfa Envoy yaml decoder refactoring & cleanup 2020-11-27 11:19:15 +01:00
Denis Arh 0c339758cd Add support for decoding applications from yaml def 2020-11-27 11:19:15 +01:00
Denis Arh 0450b85dfc Add support for decoding users from yaml def 2020-11-27 11:19:15 +01:00
Denis Arh a05391c636 Add support for decoding roles from yaml def 2020-11-27 11:19:15 +01:00
Denis Arh f921470436 Refactor seq/map node handling 2020-11-27 11:19:15 +01:00
Denis Arh 90e2860061 Refactor RBAC YAML decoding 2020-11-27 11:19:15 +01:00
Denis Arh b3683a15bf Refactor test, finish RBAC implementation 2020-11-27 11:19:15 +01:00
Denis Arh b5e2117f3e Implement compose chart & module 2020-11-27 11:19:15 +01:00
Denis Arh 6994b2e004 Add more tests for envoy yaml decoders 2020-11-27 11:19:15 +01:00
Denis Arh 70a61597bc Rework envoy node marshaling 2020-11-27 11:19:15 +01:00
Tomaž Jerman 4893f4ccd8 Add base graph tests; node set improvement 2020-11-27 11:19:15 +01:00
Denis Arh ee2183c36f Refactoring decode/encode structure and logic 2020-11-27 11:19:15 +01:00
Denis Arh e30495c900 Typos fixed 2020-11-27 11:19:15 +01:00
Tomaž Jerman 33831cae3b Add decoding/encoding helpers for quicker integration 2020-11-27 11:19:15 +01:00