Commit 52c7f99
feat: add hook data support (open-feature#1620)
* feat: add hook data support
Signed-off-by: Alexandra Oberaigner <[email protected]>
* feat: gemini suggestions
Signed-off-by: Alexandra Oberaigner <[email protected]>
* feat: hook executor impl (WIP)
Signed-off-by: Alexandra Oberaigner <[email protected]>
* Use shared hook context
Signed-off-by: Guido Breitenhuber <[email protected]>
* Split HookData interface and implementation
Signed-off-by: Guido Breitenhuber <[email protected]>
* Atopted tests
Signed-off-by: Guido Breitenhuber <[email protected]>
* Remove obsolete test
Signed-off-by: Guido Breitenhuber <[email protected]>
* HookSupport improvements: rename back to old name, move code from static factory method to ctor
Signed-off-by: Alexandra Oberaigner <[email protected]>
* PR suggestion: use concrete hooks
Signed-off-by: Alexandra Oberaigner <[email protected]>
* PR suggestions: DefaultHookData access modifier, no star imports
Signed-off-by: Alexandra Oberaigner <[email protected]>
* feat: separate hook support data from logic, PR suggestions
Signed-off-by: Alexandra Oberaigner <[email protected]>
* Update DefaultHookDataTest.java spotless
Signed-off-by: Alexandra Oberaigner <[email protected]>
* fix tests, spotless apply
Signed-off-by: Alexandra Oberaigner <[email protected]>
* exclude lombok generated functions from codecov
Signed-off-by: Alexandra Oberaigner <[email protected]>
* replace init function with setters
Signed-off-by: Alexandra Oberaigner <[email protected]>
* pr suggestion: replace Generated annotation with more descriptive ExcludeFromGeneratedCoverageReport, replace delomboked functions with lombok annotations
Signed-off-by: Alexandra Oberaigner <[email protected]>
* PR suggestion: make HookSupportData a real POJO
Signed-off-by: Alexandra Oberaigner <[email protected]>
* gemini suggestions
Signed-off-by: Alexandra Oberaigner <[email protected]>
* PR suggestion: call hooks as early as possible
Signed-off-by: Alexandra Oberaigner <[email protected]>
* PR suggestions: integration test hook data usage in client, set pair value
Signed-off-by: Alexandra Oberaigner <[email protected]>
* add hook data spec test
Signed-off-by: Alexandra Oberaigner <[email protected]>
---------
Signed-off-by: Alexandra Oberaigner <[email protected]>
Signed-off-by: Guido Breitenhuber <[email protected]>
Co-authored-by: Guido Breitenhuber <[email protected]>1 parent 71dfb08 commit 52c7f99
File tree
17 files changed
+926
-159
lines changed- src
- main/java/dev/openfeature/sdk
- test/java/dev/openfeature/sdk
- benchmark
17 files changed
+926
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
0 commit comments