Skip to content

feat: ofrep provider - #1429

Merged
toddbaert merged 13 commits into
open-feature:mainfrom
Rahul-Baradol:ofrep-provider
Jul 17, 2025
Merged

feat: ofrep provider#1429
toddbaert merged 13 commits into
open-feature:mainfrom
Rahul-Baradol:ofrep-provider

Conversation

@Rahul-Baradol

@Rahul-Baradol Rahul-Baradol commented Jun 18, 2025

Copy link
Copy Markdown
Member

This PR

  • Adds OFREP provider

Related Issues

Fixes #1413

Follow-up Tasks

  • Dev testing
  • Added tests
  • Docs

@Rahul-Baradol
Rahul-Baradol requested a review from a team as a code owner June 18, 2025 11:31

@liran2000 liran2000 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.

thanks for this 😃 added some comments

Comment thread pom.xml
Comment thread providers/ofrep/src/test/java/dev/openfeature/contrib/AppTest.java Outdated
@liran2000
liran2000 requested a review from thomaspoignant June 19, 2025 12:41
@Rahul-Baradol
Rahul-Baradol force-pushed the ofrep-provider branch 4 times, most recently from bae4f4f to 5ea2826 Compare June 20, 2025 11:48
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Comment thread providers/ofrep/README.md Outdated
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
@Rahul-Baradol
Rahul-Baradol requested a review from liran2000 June 22, 2025 12:12

@liran2000 liran2000 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 see the review comments were addressed, thanks.
Added some more review comments on last commits, approving, can wait for others to review as well.

@aepfli aepfli 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.

Thank you this looks good to me. I am just questioning if we should maybe more often use the @Value lombok annotation to generate record like objects. I think this could reduce some of the boilderplate even more here. Thank you

Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
@Rahul-Baradol

Copy link
Copy Markdown
Member Author

How can we proceed here?

@aepfli

aepfli commented Jul 8, 2025

Copy link
Copy Markdown
Member

from my perspective this is good to go, but I would love to have somebody from the OFREP sig also as part of the reviewers @thomaspoignant @lukas-reining (or maybe somebody else)

Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
*/
public OfrepApi(Duration requestTimeout, Duration connectTimeout, ProxySelector proxySelector, Executor executor) {
httpClient = HttpClient.newBuilder()
.connectTimeout(connectTimeout)

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.

We could possibly add keepAlive settings, but by default I think there's a 30s pooled connection so I think that's good for now.

Comment thread providers/ofrep/pom.xml Outdated
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Comment thread .github/component_owners.yml
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
@toddbaert
toddbaert self-requested a review July 16, 2025 19:19

@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.

@Rahul-Baradol I made a few very small changes:

  • used a ParseError instead of a GeneralError where I thought it made sense
  • updated the parent pom dependency requiring latest SDK version
  • added myself to the owners

If that's all OK with you, don't do anything! I will merge tomorrow. If not, please say so!

@toddbaert
toddbaert merged commit a33ef58 into open-feature:main Jul 17, 2025
5 checks passed
@Rahul-Baradol

Copy link
Copy Markdown
Member Author

Ohh no issues!
You merged it already 😄

mahpatil pushed a commit to mahpatil/java-sdk-contrib that referenced this pull request Jun 3, 2026
Signed-off-by: Rahul Baradol <rahul.baradol.14@gmail.com>
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
Co-authored-by: Todd Baert <todd.baert@dynatrace.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.

[FEATURE] Create OFREP provider

5 participants