Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement domain scoping #261

Merged
merged 28 commits into from
May 16, 2024
Merged

Conversation

gunishmatta
Copy link
Contributor

This PR

  • Adds Domain Scoping

Related Issues

Fixes #257

Notes

Follow-up Tasks

How to test

@gunishmatta gunishmatta requested a review from a team as a code owner March 30, 2024 11:54
@gunishmatta gunishmatta changed the title Implement domain scoping feat - Implement domain scoping Mar 30, 2024
@gunishmatta gunishmatta changed the title feat - Implement domain scoping feat: Implement domain scoping Mar 30, 2024
Copy link
Member

@beeme1mr beeme1mr left a comment

Choose a reason for hiding this comment

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

Hey @gunishmatta, thanks for the PR. I left some feedback regarding changes made to the provider name. It's a bit confusing but the provider name is still valid. It's only the client name that has changed to domain.

Please also update the readme to mention domains. You can see an example on the JS SDK.

openfeature/api.go Outdated Show resolved Hide resolved
openfeature/client.go Outdated Show resolved Hide resolved
openfeature/client.go Outdated Show resolved Hide resolved
openfeature/event_executor_test.go Outdated Show resolved Hide resolved
openfeature/event_executor_test.go Outdated Show resolved Hide resolved
openfeature/client.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.74%. Comparing base (266cfc0) to head (37fa69a).

Current head 37fa69a differs from pull request most recent head 012a941

Please upload reports for the commit 012a941 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
- Coverage   81.91%   81.74%   -0.17%     
==========================================
  Files          10       10              
  Lines         962      964       +2     
==========================================
  Hits          788      788              
- Misses        154      156       +2     
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gunishmatta
Copy link
Contributor Author

Hi Team @beeme1mr @Kavindu-Dodan Thanks for your valuable feedback, Please give me a couple of days, I am out for a vacation, I will update the PR as soon as I get time.

@Kavindu-Dodan
Copy link
Contributor

@gunishmatta really nice work 🙌 could you please check the minor changes I proposed? They should be easy to complete and once done I think this is ready

gunishmatta pushed a commit to gunishmatta/go-sdk that referenced this pull request May 4, 2024
 Please enter the commit message for your chanes. Lines starting
 Author: Gunish Matta <gunishmatta@gmail.com>
gunishmatta and others added 13 commits May 4, 2024 15:29
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…en-feature#179)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Gunish Matta <33680363+gunishmatta@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Gunish Matta <33680363+gunishmatta@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
 Please enter the commit message for your chanes. Lines starting
 Author: Gunish Matta <gunishmatta@gmail.com>

Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
* chore: bump Go to version 1.21

Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>

* update readme with go version and note

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>

* Update README.md

Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>

---------

Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Signed-off-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>
Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Co-authored-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
gunishmatta and others added 11 commits May 4, 2024 15:29
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…eature#267)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…eature#219)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…#250)

* chore(deps): update codecov/codecov-action action to v4

* add codecov upload token

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

---------

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…59bbe5cc7f (open-feature#269)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
…ture#270)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
This reverts commit 3472ee8.

Signed-off-by: gunishmatta <gunishmatta@gmail.com>
Signed-off-by: gunishmatta <gunishmatta@gmail.com>
@gunishmatta gunishmatta requested a review from Kavindu-Dodan May 4, 2024 10:02
@gunishmatta
Copy link
Contributor Author

gunishmatta commented May 5, 2024

Hi @Kavindu-Dodan / @beeme1mr I am done with the changes, please merge if looks good.

Copy link
Contributor

@Kavindu-Dodan Kavindu-Dodan left a comment

Choose a reason for hiding this comment

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

Nice work @gunishmatta, looks goot to me :)

@toddbaert
Copy link
Member

I'll review this tomorrow. Thanks!

@Kavindu-Dodan Kavindu-Dodan requested a review from toddbaert May 9, 2024 21:14
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Sorry for the delay @gunishmatta . Thanks a lot for the changes!

@Kavindu-Dodan Kavindu-Dodan merged commit a9e19dd into open-feature:main May 16, 2024
4 checks passed
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] Implement domain scoping
6 participants