Commit 36ab0e7
fix spliting elements with one item (#924)
* fix spliting elements with one item
* put changes to ng
* add multiple empty use case
* Add remove_whitespace flag, fix tests, use pytest.param
* Rename, fix documentation test_cases maybe, add check for non Empty instead of only space
* Try and make template account for pytest.param
* Change from item.id is defined, to item.values
* Add pydoc, remove lsp comments, fix pydoc
* release: 18.0.1 (#925)
* Update changelog.md
* Update pre commit and black dependency
* Reformat with black
* refactor: switch to uv with lockfile, decouple PyPI and optimize Docker builds (#914)
Documentation
* doc: update README.md
* doc: update installation docs
* doc: update CHANGELOG.md
Build & Dependencies
* build: replace pip with uv pip
* build: add uv.lock
* chore: cap major versions for production dependencies
* fix: CVE-2025-69223
Docker
* feat: adapt Dockerfile for uv-based installation
* feat: optimize Docker build using uv caching
* feat: simplify Dockerfile
* refactor: small Dockerfile improvements
* fix: remove LOGPREP_VERSION build argument
CI / CD
* feat: adapt CI/CD workflow files
* feat: update actions/checkout to v6
* build: add CI job to verify uv.lock consistency (#927)
* build: add CI job to verify uv.lock consistency
* feat: make mapping of Generic Resolver yaml compliant (#928)
* Add list[tuple[str]] as valid resolve_list type, change test to account for tuple, COMMITED WITH NO-VERIFY
* Add converter func
* Apparently resolve_list is a mapping from str to dict
* Add test to test converter
* update changelog
* Add typevar and rename func
* Rename INPUT_TYPE and add KEY_TYPE, extract to own utils file, with own utils test, add wrapper function and keep merge_dicts relativly clean
* Remove assert isinstance for now, rework converters, update tests
* Add FieldValue as Dict value
* pull up path
* Update tests and add doc
* Update logprep/processor/generic_resolver/rule.py
Co-authored-by: Michael Hoff <mail@michael-hoff.net>
* fix review comments
* Convert from file load, fix tests, fix Key and Value vartypes
* Upgrade uv.lock for protobuf cve fix
* Update logprep/processor/generic_resolver/rule.py
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Rename test id, add pydoc to converters
* Split long comment line into multiple
* Change test to expect ValueError not InvalidConfigurationError
---------
Co-authored-by: Michael Hoff <mail@michael-hoff.net>
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* feat: add service account to chart (#931)
* Add service account to chart, no-verify because yamlfmt doesnt like go templating?
* update Changelog
* Make serviceAccount disable able
* Remove spec: as it is not spec
* Update tests, enable service accounts by default
* Remove enabled as it is redundant
* remove unused chart.yaml.j2
* Update charts/logprep/templates/deployment.yaml
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Update charts/logprep/templates/service-account.yaml
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Update charts/logprep/values.yaml
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Update default values and tests
* Remove if enabled
* Remove chart.lock
---------
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Update CHANGELOG
* Add pytest.param improvement, add more rules, enhance pydoc
* Update logprep/processor/string_splitter/rule.py
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>
* Fix closing qoutes
---------
Co-authored-by: Pablu23 <me@pablu.de>
Co-authored-by: Pablu23 <43807157+Pablu23@users.noreply.github.com>
Co-authored-by: kaya-david <david.kaya@bwi.de>
Co-authored-by: kaya-david <205917832+kaya-david@users.noreply.github.com>
Co-authored-by: Michael Hoff <mail@michael-hoff.net>
Co-authored-by: Michael Hoff <9436725+mhoff@users.noreply.github.com>1 parent 738d7dc commit 36ab0e7
File tree
7 files changed
+347
-65
lines changed- doc/source/_templates
- logprep
- ng/processor/string_splitter
- processor/string_splitter
- tests/unit
- ng/processor/string_splitter
- processor/string_splitter
7 files changed
+347
-65
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
4 | 14 | | |
5 | 15 | | |
6 | 16 | | |
7 | 17 | | |
8 | 18 | | |
| 19 | + | |
9 | 20 | | |
10 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
39 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | | - | |
| 49 | + | |
42 | 50 | | |
43 | 51 | | |
44 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
66 | | - | |
| 69 | + | |
67 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
68 | 80 | | |
69 | 81 | | |
70 | | - | |
| 82 | + | |
71 | 83 | | |
72 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
Lines changed: 147 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | | - | |
26 | | - | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | | - | |
52 | | - | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
55 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
56 | 66 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
60 | 154 | | |
61 | | - | |
| 155 | + | |
62 | 156 | | |
63 | 157 | | |
64 | 158 | | |
| |||
67 | 161 | | |
68 | 162 | | |
69 | 163 | | |
70 | | - | |
71 | | - | |
| 164 | + | |
| 165 | + | |
72 | 166 | | |
73 | 167 | | |
74 | 168 | | |
75 | | - | |
| 169 | + | |
76 | 170 | | |
77 | | - | |
78 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
79 | 197 | | |
80 | 198 | | |
81 | 199 | | |
82 | 200 | | |
83 | 201 | | |
84 | | - | |
| 202 | + | |
0 commit comments