3
0

449 Commits

Author SHA1 Message Date
Tomaž Jerman
402289016d Doc codegen tweaks & cleanup 2020-12-05 10:30:22 +01:00
Denis Arh
cf00a274fa Minor codegen code cleanup 2020-12-05 07:46:08 +01:00
Denis Arh
cccb3ec5f8 Port types codegen to yaml.v3
v3 threats empty defs a bit differently (see changes in yaml files)
2020-12-05 07:44:49 +01:00
Urban Klinc
3b47701ffa Add events docs template + logic 2020-12-04 14:27:13 +01:00
Urban Klinc
e57b8e8cad Change gopkg.in/yaml.v2 to gopkg.in/yaml.v3 2020-12-03 09:31:00 +01:00
Urban Klinc
d3f85d953e Change yaml.v2 to yaml.v3 and UnmarshalYAML to v3 standard 2020-12-03 09:27:38 +01:00
Denis Arh
44f7166d97 Options codegen improvements
- Add extra cli switches to generate docs from options
 - More automation/fallbacks/default values for options
2020-12-02 16:12:07 +01:00
Tomaž Jerman
a2110b26db Improve envoy system values
Handle timestamps & user stamps.
2020-12-02 15:08:52 +01:00
Urban Klinc
6b928d3a18 Fix a typo, add empty line at end of file 2020-12-02 11:59:21 +01:00
Urban Klinc
595d929e89 Add options.gen.adoc.tpl, modify options.go to enable .adoc codegen from .gen.adoc.tpl 2020-12-02 11:58:26 +01:00
Urban Klinc
988291f938 Add new field in .yaml inside pkg/options to enable .adoc codegen 2020-12-02 11:58:26 +01:00
Urban Klinc
c900b4deee Add .adoc files, generated from .yaml 2020-12-02 11:52:00 +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
Denis Arh
66c5501d4f Fix RDBMS store upsert + labels & settings 2020-12-01 15:45:04 +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
4b0031fd81 Add support in YAML decoders for module field expr 2020-11-30 21:42:08 +01:00
Denis Arh
01da39a484 Fix broken value expr tests 2020-11-30 20:31:02 +01:00
Denis Arh
791b002ed9 Support for basic expr functions (num, date, str) 2020-11-30 20:31:02 +01:00
Denis Arh
61469330f3 Add pkg/expr for unified expression handling 2020-11-30 20:31:02 +01:00
Denis Arh
5ecdd94f59 Remove obsolete code (pkg/count) 2020-11-30 20:28:45 +01:00
Denis Arh
0cd101cdd6 Comment typos fixed 2020-11-30 20:27:10 +01:00
Denis Arh
b0f0e8fa60 Add channel name as envoy resource identifier
This will prevent creation of chan dups
2020-11-30 20:24:41 +01:00
Denis Arh
7dbd824e00 Add support for multiple (glob) provision cfg paths 2020-11-30 19:51:18 +01:00
Denis Arh
0465a635f5 Fix directory decoding 2020-11-30 19:51:18 +01:00
Denis Arh
1d47cee2f2 Cleanup and simplify provisioning 2020-11-30 19:51:18 +01:00
Denis Arh
c299a64086 Removed obsolete importer code, pkg/deinterfacer 2020-11-30 19:51:18 +01:00
Denis Arh
d89450ae39 Ported messaging provision to envoy 2020-11-30 19:51:18 +01:00
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
Tomaž Jerman
7659652278 Remove all of the dead deprecated bits 2020-11-28 14:38:16 +01:00
Tomaž Jerman
bcec07f8ff Fix reference field data types
From uint64 -> string.
2020-11-28 14:07:19 +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
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