Commit Graph

50 Commits

Author SHA1 Message Date
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
Justin Abrahms 2321f2b004 Allow publishing snapshot versions 2022-04-27 16:33:23 -07:00
Justin Abrahms 94647a36a2
publish snapshot versions on main merge 2022-04-27 16:06:27 -07:00
Justin Abrahms 4cf9dfccae Correct group, artifact and version id 2022-04-27 16:06:01 -07:00
Justin Abrahms 2060c3b28f Github package publishing 2022-04-27 14:44:27 -07:00
Justin Abrahms da23719dd2
create publish workflow 2022-04-27 14:33:44 -07:00
Justin Abrahms f61017b932
setup gradle workflow for build & test 2022-04-27 14:30:59 -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 19802bd26c Validate error flow for broken providers 2022-04-22 15:31:54 -07:00
Justin Abrahms c12d0cbc75 Basic hook support. 2022-04-22 11:44:47 -07:00
Justin Abrahms 4cb8d15fd3 README 2022-04-20 21:16:27 -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