Commit Graph

201 Commits

Author SHA1 Message Date
Justin Abrahms 8ad85bcfe3
Update Structure example in README
Fix a few intellij complains in the README as well

Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-08-26 08:56:01 -07:00
Justin Abrahms aeb14f61e3
Show what using EvaluationContext looks like in dev experience tests
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-08-26 08:55:57 -07:00
Justin Abrahms 2ad492a79c
@Delegate was copying over methods we didn't care about, which made usage of the API ambiguous.
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-08-26 08:55:54 -07:00
Justin Abrahms 2e5b26f2e4
Document what a Structure is as well as why we need to use it for providers.
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-08-26 08:55:50 -07:00
Todd Baert 84dbd4c819
store times as ZonedDateTime
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-26 10:58:37 -04:00
Todd Baert 6eed1a3107
Remove unused enum
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-25 13:11:04 -04:00
Todd Baert b81b944561
Adding JSON node value abstraction
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-25 10:06:26 -04:00
Todd Baert a862325354
Encapsuate instead of inherent Strcuture
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-24 12:41:50 -04:00
Todd Baert a8cffb0a91
Sign in deploy phase
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-24 11:23:44 -04:00
Todd Baert f36b641395
Add proxy methods context->structure
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-24 11:03:22 -04:00
Todd Baert 360d2b7013
Add generic structure type, use context/getObject
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-23 16:54:08 -04:00
Justin Abrahms 465d1139d5
Remove guava dependency. Ensure unused dependencies are removed from pom.xml 2022-08-22 16:26:36 -07:00
Justin Abrahms 3051790370
Provide a mechanism to get all flags as Object 2022-08-18 08:20:51 -07:00
Todd Baert 960af76097
Merge pull request #49 from open-feature/fix/default-no-op
fix: Set no-op provider by default, handle null providers
2022-08-15 14:30:55 -04:00
Todd Baert cb189f1c2a
Add back spec test 2.8
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-15 13:09:15 -04:00
Todd Baert a307cea536
Handle null provider, all author code in try/catch
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-15 08:57:55 -04:00
Justin Abrahms c75d556858
Merge pull request #48 from open-feature/47-add-hook-interface-for-a-double
add double hook interface
2022-08-13 18:18:55 -07:00
Michael Beemer 4dd0017e89
add double hook interface
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-08-12 16:33:11 -04:00
Justin Abrahms e4093c2482
Support passing targetingKey in as param to EvalContext 2022-08-11 15:52:39 -07:00
Justin Abrahms d1c39316e2
Merge pull request #44 from rgrassian-split/EvalContextMergeFix
fix merge of eval context targeting key
2022-08-11 15:51:06 -07:00
Robert Grassian e7b2a4503b test
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-11 14:57:40 -07:00
Robert Grassian 54faaf99ae fix merge of eval context targeting key
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-11 14:57:40 -07:00
Justin Abrahms e391cbc337
No snapshot for deploy either 2022-08-08 20:08:26 -07:00
Justin Abrahms 260d1686cd
hooks are the highest precedence in context merging followed by invocation.
Fixes #43
2022-08-08 19:43:32 -07:00
Justin Abrahms 265ebd4334
Document how to get snapshot builds 2022-08-08 09:09:06 -07:00
Justin Abrahms cd3302aea2
Link javadoc to readme 2022-08-07 23:15:15 -07:00
Justin Abrahms ec24e5d789
Bump checkstyle to get rid of warning 2022-08-07 23:02:10 -07:00
Justin Abrahms b0efa87bc3
Fix docs warnings 2022-08-07 23:01:34 -07:00
Justin Abrahms f6313fa335
Fix checkstyle issues (mostly adding javadoc) 2022-08-07 22:49:58 -07:00
Justin Abrahms f8bb31b62c
A few changes from google's default 2022-08-07 22:49:58 -07:00
Justin Abrahms 6006384504
Checkstyle w/ google style from v8.29 of checkstyle 2022-08-07 22:44:24 -07:00
Justin Abrahms 9ea9e08165
Add some missing javadoc 2022-08-07 22:19:32 -07:00
Justin Abrahms 4cbb87fbab
Support chaining evaluation context additions.
Refs #29
2022-08-07 21:08:45 -07:00
Justin Abrahms efc1c048b6
Add spotbugs & pmd for static analysis
Also move internal state validation into DoSomethingProvider since that sits in test code
2022-08-06 23:31:09 -07:00
Justin Abrahms df1a083398
Merge contexts from api and client 2022-08-06 19:39:50 -07:00
Justin Abrahms f5a49ea164
Drop multi-map implementation of context for a single type-annotated map 2022-08-06 16:13:37 -07:00
Justin Abrahms d71bf0851c
error in before results in default params 2022-08-05 14:38:47 -07:00
Justin Abrahms def7f57007
Provider hooks 2022-08-05 14:19:18 -07:00
Justin Abrahms f37bae77d7
Double support 2022-08-05 14:05:34 -07:00
Justin Abrahms 709b589cf3
Python script executable 2022-08-05 13:45:42 -07:00
Justin Abrahms aebbc388cd
fix wording in 3.1.3 test spec 2022-08-05 13:45:34 -07:00
Justin Abrahms 188a7041cc
Nicer output for spec matcher 2022-08-05 13:38:24 -07:00
Justin Abrahms e7757eca85
Merge pull request #41 from rgrassian-split/evalContextIterator
iterators to get all integer, string, boolean, or structure map entries
2022-08-03 15:54:05 -07:00
Robert Grassian a7c2ef62c2 check get all against get single
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-03 15:27:17 -07:00
Robert Grassian a60d530c95 use copy of map rather than iterator, tests
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-03 10:56:42 -07:00
Robert Grassian 3fe2b7a712 fixed unassociated test
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-03 10:56:42 -07:00
Robert Grassian 0edd3366e1 iterators to get all integer, string, boolean, or structure map entries
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-03 10:56:42 -07:00
Thomas Poignant cfc94c5b77 Add method to get double
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-08-03 10:56:42 -07:00
Justin Abrahms 19119067fa
Merge pull request #34 from thomaspoignant/feat/get-double
feat: Add method to get double
2022-08-01 14:39:39 -07:00
Thomas Poignant 52d7be2bd5
Merge branch 'open-feature:main' into feat/get-double 2022-07-27 12:07:12 +02:00