Commit Graph

26 Commits

Author SHA1 Message Date
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 4edd3555ed
Move package to dev.openfeature.javasdk
Fixes #4
2022-05-13 09:54:53 -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 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 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 4d389cfaa4
Tests around flag-evaluation specification.
Adds logging on errors.
Handles all exceptions thrown, not just open feature ones.
2022-05-08 15:43:08 -07:00
Justin Abrahms a9a6caa6e4
Number -> Integer 2022-05-08 15:43:07 -07:00
Justin Abrahms aa79c43b01
Docs for BaseEvaluation 2022-05-08 15:43:07 -07:00
Justin Abrahms 8d5e6c3d54 PMD 2022-04-23 22:10:27 -07:00
Justin Abrahms 81dade9e7f Various static analysis cleanups 2022-04-22 15:32:03 -07:00
Justin Abrahms c12d0cbc75 Basic hook support. 2022-04-22 11:44:47 -07:00
Justin Abrahms 0815268243 Skeleton implementation of the java sdk
Only booleans work so far, and barely at that.
2022-04-20 21:12:09 -07:00