Commit Graph

62 Commits

Author SHA1 Message Date
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 b57e55436d
Merge pull request #5 from open-feature/eval-context
Evaluation Context support
2022-05-28 00:41:06 -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
Michael Beemer 6448e72860
Update title to match other SDK repos 2022-05-24 15:09:55 -04: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
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 087e55c5f8
Test-specific provider that's always broken 2022-05-08 15:43:07 -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 c63bcce47a
Merge pull request #1 from toddbaert/license
Add Apache2.0 license
2022-04-29 15:40:54 -07:00
Justin Abrahms 420ea3191a Don't package repository on PR creation 2022-04-29 15:36:35 -07:00
Justin Abrahms a6279f9a7a Fix pr builds 2022-04-29 13:53:30 -07:00
Todd Baert 3c3c14de34
Add Apache2.0 license 2022-04-29 15:21:59 -04:00
Justin Abrahms 2de0763d9d Fix repo url for release 2022-04-28 21:45:04 -07:00
Justin Abrahms 9ae89290a1 Support java 8 2022-04-28 21:38:33 -07:00
Justin Abrahms 0a79fe2e37 Pass creds as gradle properties, which are hidden via console out 2022-04-28 21:16:49 -07:00
Justin Abrahms e44e9d6274 Test secret hiding in console output 2022-04-28 21:14:20 -07:00
Justin Abrahms 0e4155ac35 Provide no-op default for publishing when not set 2022-04-28 21:12:00 -07:00
Justin Abrahms b9e02411bf Initial package publish 2022-04-28 21:09:27 -07:00
Justin Abrahms f043020b45 Only fetch publishing information when relevant envvars are set 2022-04-28 14:37:54 -07:00
Justin Abrahms a65cfc801b Setup OSSRH snapshot publishing 2022-04-28 14:08:19 -07:00