lopitz
c828122f26
coverage improvement
2022-06-20 22:08:58 +02:00
lopitz
bf1fc154fc
addresses PMD issues
2022-06-20 22:00:37 +02:00
lopitz
158d109c79
fix/classcastexceptions
...
-introduces specialized hook interfaces for supported types
-adds a fixture for hooks for tests
-adds type safety measure for before hook call
2022-06-20 21:36:15 +02:00
lopitz
d12c7d3259
fix/classcastexceptions
...
-fixes ClassCastException by only calling hooks, that support the flag value
-moves out calling of hooks from OpenFeatureClient to dedicated class HookSupport
-introduces method in Hok showing the supported flag value type
-makes FlagEvaluationOptions immutable
2022-06-19 21:41:56 +02:00
Lars Opitz
8f7c601e1b
[16] Tests for logging to validate 1.4.10 ( #1 )
...
-removes dependency to log4j binding for slf4j, so clients can choose a different binding
-adds dependency to slf4j-api
-adds test logging binding by adding (test) dependency to uk.org.lidalia:slf4j-test
-adds (test) dependency to assertj for better readable assertions
2022-06-17 20:59:41 +02:00
Justin Abrahms
62504b77e0
Improve wording
2022-06-15 20:54:04 -07:00
Justin Abrahms
95305ec513
Update slf4j & jackson-databind dependencies
2022-06-15 09:12:04 -07:00
Justin Abrahms
ae0e751aa0
Add test for reason field.
2022-06-15 09:10:11 -07:00
Justin Abrahms
5142883c51
Generate coverage xml
2022-06-14 11:37:01 -07:00
Justin Abrahms
8dd71e8a9e
Add coverage validation
2022-06-14 11:34:20 -07:00
Justin Abrahms
d2e61eb688
Add javadoc to interfaces and tidy them up.
...
Fixes #14
2022-06-13 23:43:08 -07:00
Justin Abrahms
a2063fe5a4
Tests updated to the latest spec.
...
This drove a few changes within the code base.
2022-06-12 20:44:21 -07:00
Justin Abrahms
448795920d
Spec annotations in the right place, approximately
2022-06-09 16:59:23 -05:00
Justin Abrahms
30c5ac4834
Support for spec validation
2022-06-09 15:11:19 -05:00
Justin Abrahms
01bba2d28b
Small constant
2022-05-28 00:44:11 -07:00
Justin Abrahms
b34331a571
Support for object types
...
fixes #7
2022-05-28 00:44:11 -07:00
Justin Abrahms
9a8beadfd6
Support for arbitrary classes in EvaluationContext
2022-05-28 00:44:10 -07:00
Justin Abrahms
c9fae1b868
Some tests around details
2022-05-28 00:44:10 -07:00
Justin Abrahms
c56b3901e2
Tests which validate the backend providers are actually called.
...
Fixes #10
2022-05-28 00:44:10 -07:00
Justin Abrahms
3594044d05
registerHooks -> addHooks. Fixes #9
2022-05-28 00:44:10 -07:00
Justin Abrahms
f5546691a3
Settle on interface w/ default methods. Fixes #8
2022-05-28 00:44:10 -07:00
Justin Abrahms
49e37496e5
Have PMD quieten down about unserializable things which aren't marked as serializable.
2022-05-25 21:16:04 -07:00
Justin Abrahms
aaa924f94c
Support for eval context & merging relevant thereof
2022-05-25 17:57:32 -07:00
Justin Abrahms
23e2cd0a6b
Blocked waiting on EvalContext spec to be finalized.
2022-05-25 11:16:56 -07:00
Justin Abrahms
f820fd6708
Wiring for mergeable evaluation contexts.
2022-05-24 15:29:30 -07:00
Justin Abrahms
e6ed13d8f1
Correctly specify sources jar to upload
2022-05-13 10:48:29 -07:00
Justin Abrahms
131570e72b
Fix SCM url
2022-05-13 10:30:17 -07:00
Justin Abrahms
7f7be9fe7b
Sort dependencies
2022-05-13 10:29:18 -07:00
Justin Abrahms
8d7f823f3e
Build sources jar
...
Fixes #3
2022-05-13 10:28:58 -07:00
Justin Abrahms
148876c4e5
Change generated jar name
2022-05-13 10:13:49 -07:00
Justin Abrahms
4edd3555ed
Move package to dev.openfeature.javasdk
...
Fixes #4
2022-05-13 09:54:53 -07:00
Justin Abrahms
28cc8c7bb8
6.1 was removed in favor of a better 5.3
2022-05-12 08:47:14 -07:00
Justin Abrahms
365491b918
Delete duped specs.
2022-05-11 16:07:44 -07:00
Justin Abrahms
5179b230c3
Hook methods are public
2022-05-11 16:07:31 -07:00
Justin Abrahms
a66711a5b4
Set variants on noop provider & add provider tests.
2022-05-11 14:38:22 -07:00
Justin Abrahms
60114b7433
Document why we're not doing it.
2022-05-11 09:31:24 -07:00
Justin Abrahms
8a52758804
todo is a disabled test.
2022-05-11 09:28:54 -07:00
Justin Abrahms
e1c0d94619
Tests for api level hooks
2022-05-11 09:28:34 -07:00
Justin Abrahms
8bdba672a2
No op provider isn't generic. Has tests
2022-05-10 19:52:55 -07:00
Justin Abrahms
69f6498368
Fix NPEs due to missing flag eval options.
2022-05-10 19:52:43 -07:00
Justin Abrahms
1d82637d07
Remove hook evaluation. Not in the spec anymore
2022-05-10 19:52:10 -07:00
Justin Abrahms
4d2de562f0
Various ordering tests to meet spec.
2022-05-10 16:24:42 -07:00
Justin Abrahms
2520f7c051
Support for hook hints.
2022-05-10 15:51:09 -07:00
Justin Abrahms
a0172d57b4
Additional hook tests, incl. functionality for error hooks & api hooks.
2022-05-09 16:09:48 -07:00
Justin Abrahms
6121daa18e
Build working
2022-05-08 15:54:35 -07:00
Justin Abrahms
5b396cebbb
Begin tests for hook spec.
2022-05-08 15:43:08 -07:00
Justin Abrahms
3ba3f2c4a4
Don't have to implement each method on a hook, just the ones we care about.
2022-05-08 15:43:08 -07:00
Justin Abrahms
7dfe0a3b99
Hook context is immutable and some properties can't be null.
2022-05-08 15:43:08 -07:00
Justin Abrahms
3da9a635ef
No longer support a list of executed hooks.
2022-05-08 15:43:08 -07:00
Justin Abrahms
f1223534ba
Bare provider tests, not yet implemented.
2022-05-08 15:43:08 -07:00