Commit 81eb800
🍒 9201 - Match Hands Off Config selectors on process_arguments value (#9223)
* feat: match stable config java properties on other operator than 'contains'
(cherry picked from commit 2df85ac)
* fix: lowercase match value
(cherry picked from commit 314525a)
* fix: extra parameter
(cherry picked from commit b051555)
* fix: remove duplicate values
(cherry picked from commit c094176)
* fix: lint
(cherry picked from commit a58bd09)
* fi: wrong variable
(cherry picked from commit db6e5c7)
* fix lint
(cherry picked from commit 5865dc8)
* fix: tests
(cherry picked from commit 2f93fad)
* fix: null matches with exist should work
(cherry picked from commit ebf333b)
* feat: add tests for equal operator on arguments
(cherry picked from commit 75f6dae)
* fix: use equal method instead of operator
(cherry picked from commit cfb37db)
* Update internal-api/src/main/java/datadog/trace/bootstrap/config/provider/StableConfigParser.java
Co-authored-by: Bruce Bujon <PerfectSlayer@users.noreply.github.com>
(cherry picked from commit a8ff152)
* apply PR suggestions
(cherry picked from commit 6f1ea89)
* fix typo
(cherry picked from commit db73932)
* Add missing locale
(cherry picked from commit 12c673d)
* add matches == null check back in to avoid NPE
(cherry picked from commit 4f4c5bc)
---------
Co-authored-by: paullegranddc <paul.legranddescloizeaux@datadoghq.com>
Co-authored-by: Bruce Bujon <PerfectSlayer@users.noreply.github.com>1 parent ce41a21 commit 81eb800
File tree
2 files changed
+72
-56
lines changed- internal-api/src
- main/java/datadog/trace/bootstrap/config/provider
- test/groovy/datadog/trace/bootstrap/config/provider
2 files changed
+72
-56
lines changedLines changed: 36 additions & 56 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
118 | 110 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
126 | 115 | | |
127 | 116 | | |
| 117 | + | |
128 | 118 | | |
129 | 119 | | |
130 | 120 | | |
131 | 121 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
141 | | - | |
| 139 | + | |
142 | 140 | | |
143 | 141 | | |
144 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | | - | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 151 | + | |
155 | 152 | | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
159 | | - | |
160 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
161 | 160 | | |
162 | 161 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 162 | | |
183 | 163 | | |
184 | 164 | | |
185 | 165 | | |
186 | 166 | | |
187 | 167 | | |
188 | 168 | | |
189 | | - | |
190 | | - | |
| 169 | + | |
| 170 | + | |
191 | 171 | | |
192 | 172 | | |
193 | 173 | | |
| |||
249 | 229 | | |
250 | 230 | | |
251 | 231 | | |
252 | | - | |
| 232 | + | |
253 | 233 | | |
254 | 234 | | |
255 | 235 | | |
| |||
internal-api/src/test/groovy/datadog/trace/bootstrap/config/provider/StableConfigParserTest.groovy
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
65 | 91 | | |
66 | 92 | | |
67 | 93 | | |
68 | 94 | | |
69 | 95 | | |
70 | 96 | | |
| 97 | + | |
| 98 | + | |
71 | 99 | | |
72 | 100 | | |
73 | 101 | | |
| |||
83 | 111 | | |
84 | 112 | | |
85 | 113 | | |
| 114 | + | |
86 | 115 | | |
87 | 116 | | |
88 | 117 | | |
| |||
96 | 125 | | |
97 | 126 | | |
98 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
99 | 135 | | |
100 | 136 | | |
101 | 137 | | |
| |||
0 commit comments