Commit Graph

252 Commits

Author SHA1 Message Date
renovate[bot] 475f3c02c1
chore: Configure Renovate (#86)
chore(deps): add renovate.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-01 02:38:43 +00:00
Justin Abrahms da788c2a51
chore: add CODEOWNERS (#85)
Create CODEOWNERS

refs https://github.com/open-feature/java-sdk/issues/83

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>

Signed-off-by: Justin Abrahms <jabrahms@ebay.com>
2022-09-30 19:35:33 -07:00
Todd Baert 84f220d813
feat!: errorCode as enum, reason as string (#80)
* feat!: errorCode as enum, reason as string

- makes errorCode an enum
- makes reason a string
- adds errorMessage to resolution/evaluation details
2022-09-30 12:41:48 -04:00
github-actions[bot] e108666a27
chore(main): release dev.openfeature.javasdk 0.2.2 (#76)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-23 09:35:31 -04:00
Todd Baert f8d62eea2f
chore: add integration tests (#77)
* chore: add integration tests

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* improve POM spacing

Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-20 09:48:34 -04:00
Thomas Poignant 2eec1a5519
feat: Add asObjectMap to get the EvaluationContext as Map<String,Object> (#75)
* Add asObjectMap to get the EvaluationContext as Map<String,Object>

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* Fix liniting issue

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

* fix PMD issue

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
2022-09-16 15:17:58 +01:00
Michael Beemer 5db90f1a38
chore: update release please to manage versions on the readme (#74)
update release please to manage versions on the readme

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
2022-09-14 15:44:33 -07:00
github-actions[bot] 9ec42f9869
chore(main): release dev.openfeature.javasdk 0.2.1 (#71)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-13 15:35:49 -07:00
Robert Grassian 81ab0710ea
fix: isList check in Value checks type of list (#70)
* isList check of Value checks type of list

Signed-off-by: Robert Grassian <robert.grassian@split.io>

* test for empty list

Signed-off-by: Robert Grassian <robert.grassian@split.io>

Signed-off-by: Robert Grassian <robert.grassian@split.io>
2022-09-13 15:09:59 -07:00
github-actions[bot] 00af2f88f8
chore(main): release dev.openfeature.javasdk 0.2.0 (#69)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-09-13 12:44:11 -07:00
Todd Baert 887b62951a
chore: correct initial version (#68)
Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-13 14:43:31 -04:00
Todd Baert 7e38e546b3
chore: Add release plz (#66)
* Add release plz

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* Update release doc

Signed-off-by: Todd Baert <toddbaert@gmail.com>

* Add notes about adding release content

Signed-off-by: Todd Baert <toddbaert@gmail.com>

Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-13 11:36:42 -07:00
Justin Abrahms 89ea36363f
Merge pull request #65 from open-feature/breaking-changes
Collection of small, breaking changes
2022-09-13 06:06:14 -07:00
Todd Baert 60fad0507a
Throw on invalid values
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-09 13:59:18 -04:00
Todd Baert 5d262470e8
feat!: use value for object resolver
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-09 11:27:29 -04:00
Todd Baert 3e62414222
feat!: use instant not zoneddatetime
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-09 10:46:00 -04:00
Todd Baert 0152a1eef9
feat: add object to value wrapper
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-09 10:44:12 -04:00
Justin Abrahms 35c9c7e06f
Merge pull request #63 from open-feature/fix/consistent-ctx-setter
!feat: Make evaluation accessors setters consistent
2022-09-08 09:40:31 -07:00
Todd Baert 4fa0a08389
!feat: Make evaluation context setters consistent
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-08 11:14:29 -04:00
Todd Baert b626789693
Merge pull request #61 from open-feature/numbers-in-structs
breaking: store all numbers as doubles
2022-09-07 13:44:22 -04:00
Todd Baert 7e6259c14f
breaking: store all numbers as doubles
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-07 12:31:40 -04:00
Todd Baert c701a6c4eb
Merge pull request #57 from open-feature/remove-snapshot-via-maven
use mvn version to remove -SNAPSHOT, bump 0.1.1
2022-09-03 23:49:49 -04:00
Todd Baert 0d6ae8c132
use mvn version to remove -SNAPSHOT, bump 0.1.1
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-09-03 21:06:27 -04:00
Todd Baert d5bd0fbf02
Remove dupe javadoc execution
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-30 10:53:52 -04:00
Todd Baert 878ac937d2
sign in package phase
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-30 10:25:41 -04:00
Todd Baert 68bc16b3c6
Clean before deploy in snapshots
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-30 10:05:13 -04:00
Todd Baert a38c2d2321
Sign in deploy phase, clean before deploy
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-30 10:02:43 -04:00
Justin Abrahms 56ca085dd8
We shouldn't need to verify again, since it was done in a previous step and the artifact is still around 2022-08-29 14:14:53 -07:00
Justin Abrahms b5687268d7
Does the filesystem persist across steps? 2022-08-29 14:08:37 -07:00
Justin Abrahms 171f7f33f3
not snapshots 2022-08-29 13:58:13 -07:00
Justin Abrahms 852de680cf
ls build dir? 2022-08-29 13:55:44 -07:00
Justin Abrahms 3886182440
jar dir 2022-08-29 13:53:51 -07:00
Justin Abrahms b2c986f258
Indentation 2022-08-29 13:51:23 -07:00
Justin Abrahms 6a85cd328f
Verify the snapshot? 2022-08-29 13:47:41 -07:00
Justin Abrahms fe2a361e05
Pass codecov token to prevent errors due to inability to do lookups 2022-08-29 13:20:41 -07:00
Justin Abrahms fe59a2354a
Add scriptable retry 2022-08-29 13:20:19 -07:00
Justin Abrahms 659075b666
Turn off pinentry for gpg, print known keys before signing. 2022-08-29 13:14:40 -07:00
Justin Abrahms f5e81e631c
Maybe signing in the first build fixes it? 2022-08-29 11:54:58 -07:00
Justin Abrahms 4efb032eea
gpg namespace 2022-08-29 11:44:24 -07:00
Justin Abrahms a65e6471b7
Dangling xml node 2022-08-29 11:42:57 -07:00
Justin Abrahms 99d43eb6db
Sign the artifact before deploying
I believe that the pom change makes it come after the actual push-to-sonatype step
2022-08-29 11:40:07 -07:00
Justin Abrahms da4901acda
Bump to 0.1.0 2022-08-29 11:26:21 -07:00
Justin Abrahms aa120bdc51
Link working version of the specification 2022-08-29 11:20:13 -07:00
Justin Abrahms 7fa39bcd04
Keep tests in line with spec changes 2022-08-29 11:18:46 -07:00
Justin Abrahms 50225388af
Remove unused parameter 2022-08-29 10:53:40 -07:00
Justin Abrahms 4ec5258d95
Remove flag eval options from provider API 2022-08-29 10:50:54 -07:00
Todd Baert 52c97309d2
Merge pull request #54 from open-feature/fix/update-provider
fix: update provider object eval, T -> Structure
2022-08-28 11:53:46 -04:00
Todd Baert 3cf5a6ffbb
fix: update provider object eval, T -> Structure
Signed-off-by: Todd Baert <toddbaert@gmail.com>
2022-08-28 11:43:41 -04:00
Justin Abrahms 405e812687
Merge pull request #51 from open-feature/structure-changes
BREAKING CHANGE: Add generic structure type, use context/getObject
2022-08-26 09:37:54 -07:00
Justin Abrahms 4662444f7a
PMD fixes
Signed-off-by: Justin Abrahms <justin@abrah.ms>
2022-08-26 09:36:43 -07:00