Repository navigation
Commit 0d0cc5c
committed
fix(provider-tck): say that the HTTP control drives its backend over HTTP
`HttpControl` did not declare the optional `control_api` property, so a flagd
conformance report omitted `backend.controlApi` -- putting a run driven over the
normative control API on the same footing as one from a control that declined to
say which path it took. That distinction is the whole point of the field: an
in-process claim from a provider that does have a backend is meant to be
readable as such.
The property is documented on `BackendControl` in the base, so declaring it here
adds nothing to the adopter API. Every operation on this class is an HTTP request
to `control-api.yaml`, which makes "http" the one answer it can give without
qualification.
Signed-off-by: Simon Schrottner <simon.schrottner@flagsmith.com>1 parent fbe273c commit 0d0cc5c
3 files changed
Lines changed: 25 additions & 2 deletions
File tree
- tools/openfeature-provider-tck
- src/openfeature/contrib/tools/provider_tck
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | | - | |
| 381 | + | |
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
121 | 133 | | |
122 | 134 | | |
123 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
0 commit comments