Skip to content

feat: add Unleash provider#424

Merged
toddbaert merged 20 commits into
open-feature:mainfrom
liran2000:feature/unleash
Sep 28, 2023
Merged

feat: add Unleash provider#424
toddbaert merged 20 commits into
open-feature:mainfrom
liran2000:feature/unleash

Conversation

@liran2000

Copy link
Copy Markdown
Member

add Unleash provider.

See Readme for details.

Discussed at Unleash.

Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
@liran2000

liran2000 commented Sep 7, 2023

Copy link
Copy Markdown
Member Author

hi @pransh15, @chriswk, @ivarconr, @gastonfournier,

you can have a look and share your thoughts.

Also to be reviewed from OpenFeature perspective.

Signed-off-by: liran2000 <liran2000@gmail.com>

@gastonfournier gastonfournier left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks promising! I leave you a few comments to make it better, but I'm glad you're doing this!

It might be worthy adding a comment in https://github.com/orgs/Unleash/discussions/3896 to engage other contributors.

@toddbaert toddbaert self-requested a review September 8, 2023 14:39
Signed-off-by: liran2000 <liran2000@gmail.com>
@liran2000

liran2000 commented Sep 8, 2023

Copy link
Copy Markdown
Member Author

This looks promising! I leave you a few comments to make it better, but I'm glad you're doing this!

It might be worthy adding a comment in https://github.com/orgs/Unleash/discussions/3896 to engage other contributors.

Thanks @gastonfournier !
I made some adjustments based on your comments.
Since you probably more familiar with Unleash, I am interested in opinions on the concepts of this provider as described at the Readme:

Concepts

  • Boolean evaluation gets feature enabled status.
  • String evaluation gets feature variant value.

- test using WireMock

Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
Comment thread providers/unleash/src/test/resources/features.json Outdated
- update name
- object evaluation

Signed-off-by: liran2000 <liran2000@gmail.com>
- int,double evaluation
- flag metadata

Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
@liran2000

Copy link
Copy Markdown
Member Author

hi @ivarconr what do you think about proceeding with this PR and adding Unleash provider here ?
basically most of the comments are addressed.

Signed-off-by: liran2000 <liran2000@gmail.com>
@liran2000 liran2000 marked this pull request as ready for review September 20, 2023 16:59
@liran2000 liran2000 requested a review from a team as a code owner September 20, 2023 16:59
@ivarconr

Copy link
Copy Markdown
Contributor

hi @ivarconr what do you think about proceeding with this PR and adding Unleash provider here ?
basically most of the comments are addressed.

All in favor. Would love to get to test it in an example app, either as a alpha release or if you provide snapshot versions.

liran2000 and others added 4 commits September 26, 2023 08:29
Signed-off-by: liran2000 <liran2000@gmail.com>
Signed-off-by: liran2000 <liran2000@gmail.com>
Comment thread providers/unleash/README.md Outdated
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Comment thread .github/component_owners.yml
@toddbaert

toddbaert commented Sep 27, 2023

Copy link
Copy Markdown
Member

@liran2000 the release setup looks good. When we merge this and the associated release PR, it will release a 0.0.2 version which is fine with me. We don't publish snapshots (in the java sense) from this repo, but we could (I believe) make the version number something like 0.0.1-alpha or 0.0.1-prerelease if you'd like to have something that seems less "final" for now, which might be a good idea. cc @ivarconr

@liran2000 Thanks for all your efforts on this. It's been requested by the community more than once!

Please see the 2 unresolved issues above.

Signed-off-by: liran2000 <liran2000@gmail.com>
@github-actions github-actions Bot requested a review from sighphyre September 27, 2023 15:05
@liran2000

Copy link
Copy Markdown
Member Author

Thanks :)
addressed latest comments.

Signed-off-by: liran2000 <liran2000@gmail.com>

@toddbaert toddbaert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll merge this before EOD unless I hear objections.

Thanks again all, especially @liran2000

@toddbaert toddbaert merged commit ec6b3c9 into open-feature:main Sep 28, 2023
@liran2000 liran2000 deleted the feature/unleash branch September 28, 2023 05:43
mahpatil pushed a commit to mahpatil/java-sdk-contrib that referenced this pull request Jun 3, 2026
Signed-off-by: liran2000 <liran2000@gmail.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants