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: add Prefab provider #575

Merged
merged 21 commits into from
Sep 18, 2024
Merged

Conversation

liran2000
Copy link
Member

@liran2000 liran2000 commented Aug 22, 2024

Readme describes the provider.

Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
@liran2000 liran2000 requested a review from a team as a code owner August 22, 2024 09:57
Copy link

@semanticart semanticart left a comment

Choose a reason for hiding this comment

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

@liran2000 I left a couple notes but overall this LGTM and (once I got the provider set up properly) works as intended.

Thanks for your efforts here! 💙

providers/prefab/pkg/provider.go Outdated Show resolved Hide resolved
providers/prefab/README.md Show resolved Hide resolved
Comment on lines +181 to +188
// TODO
// t.Run("sample_json", func(t *testing.T) {
// value, err := ofClient.ObjectValueDetails(context.Background(), "sample_json", map[string]interface{}{
// "nested": "value",
// }, evalCtx)
// require.Equal(t, []string{"a", "b"}, value.Value)
// require.Nil(t, err)
// })
Copy link
Member

Choose a reason for hiding this comment

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

Should this be removed?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, can leave it for now, and will track to see when can be enhanced with the additional tests.

Comment on lines +8 to +11
// EnvironmentNames []string
// ProjectEnvID int64
// InitializationTimeoutSeconds float64
// OnInitializationFailure OnInitializationFailure
Copy link
Member

Choose a reason for hiding this comment

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

Should this be removed or is there a reason to keep it? Perhaps comment a TODO if so?

@toddbaert toddbaert self-requested a review September 17, 2024 19:25
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.

Can you add a component_owners entry for this with yourself and @semanticart if they agree?

Approved otherwise. Thanks!

liran2000 and others added 2 commits September 18, 2024 12:44
Co-authored-by: Todd Baert <[email protected]>
Signed-off-by: Liran M <[email protected]>
@liran2000
Copy link
Member Author

Can you add a component_owners entry for this with yourself and @semanticart if they agree?

Approved otherwise. Thanks!

@semanticart added you as well :) thanks !

@beeme1mr beeme1mr merged commit cbafc90 into open-feature:main Sep 18, 2024
5 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.

5 participants