Commit Graph
375 Commits
Author SHA1 Message Date
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
Tomaž Jerman c2e5eff42f Define base store encoder 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
Tomaž Jerman e7d1dbb357 Rework the envoy Graph layer
* Make graph nodes less complex (simplifies other envoy layers),
* provide an iterator like interface for accessing nodes,
* remove node ID; each node now provides a set of identifiers.
2020-11-27 11:19:15 +01:00
Tomaž Jerman 5528449a64 Enhance graph node's execution context
Each node receives their parent and child nodes for a simpler
exec context logic.
2020-11-27 11:19:15 +01:00
Tomaž Jerman 47cc551d57 Implement the graph layer 2020-11-27 11:19:15 +01:00
Denis Arh 8cc6e5917f Fix store/rdbms template (invalid cursor gen fn) 2020-11-27 11:15:16 +01:00
Denis Arh 65d43e7ed5 Rename options tpl for consistency 2020-11-27 11:14:49 +01:00
Denis Arh 82ce571214 Add ability to control eventbus scheduler via options 2020-11-27 11:10:05 +01:00
Denis Arh b4b3e15d81 Copy error handling fn from cli pkg
This way we can avoid problems when recompiling codegen bin
and invalid code has been generated
2020-11-27 10:51:40 +01:00
Urban Klinc efc418e5fd Fix typo, rework readme 2020-11-27 09:37:16 +01:00
Urban Klinc df9ebe54aa Add codegen template + logic, modifiyed codegen.go to accept new files 2020-11-26 11:11:08 +01:00
Urban Klinc 0d632dfdae Add code generated files, removed obsolete files 2020-11-26 11:11:08 +01:00
Urban Klinc f7a4890998 Add .yaml files to be used in code-generation in pkg/options 2020-11-26 11:09:49 +01:00
Denis Arh b6eb143c38 Pagination fixes 2020-11-26 06:23:24 +01:00
Denis Arh fedbbc637b Allow JSON encoded labels when quering resources 2020-11-19 11:29:17 +01:00
Denis Arh 770a0053e0 Bespoke paging (non-cursor) for actionlog 2020-11-16 19:01:09 +01:00
Denis Arh 11ea5df303 Pagination/sorting fixes & improvements 2020-11-16 14:20:43 +01:00
Denis Arh fc0ed924de Make sure cursor to next page is not returned if there are no resources 2020-11-13 13:01:34 +01:00
Denis Arh b7de337db9 Fix sorting&paging on RDBMS store 2020-11-13 08:10:09 +01:00
Denis Arh 979acf0a84 Make store sorting more robust 2020-11-10 16:04:41 +01:00
Denis Arh 724976271a Corteza no longer defaults to MySQL db
Default DB_DSN changed from
mysql://corteza:corteza@tcp(db:3306)/corteza?collation=utf8mb4_general_ci

to
sqlite3://file::memory:?cache=shared&mode=memory
2020-11-10 14:48:42 +01:00
Denis Arh 9b0308f36c Simplify test/demo webapp installation 2020-11-10 14:46:41 +01:00
Denis Arh 65bc428406 Stabilise API docs serving, move it under API root 2020-11-09 07:08:46 +01:00
Denis Arh 873fc46556 Include wrapped error in JSON error payload 2020-11-06 11:51:04 +01:00
Denis Arh 8189f40fc0 Add support for type label codegen 2020-11-06 07:47:53 +01:00
Denis Arh ae4a07a3f7 Implement labels through pkg/label 2020-11-06 07:47:53 +01:00
Denis Arh fc74d44563 go vet fixes 2020-11-05 19:57:47 +01:00