Skip to content

feat: Go feature flag provider - #106

Merged
toddbaert merged 10 commits into
open-feature:mainfrom
thomaspoignant:go-feature-flag-provider
Sep 26, 2022
Merged

toddbaert merged 10 commits into
open-feature:mainfrom
thomaspoignant:go-feature-flag-provider

Conversation

@thomaspoignant

Copy link
Copy Markdown
Member

First version of the provider for GO Feature Flag.

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@thomaspoignant thomaspoignant added the enhancement New feature or request label Sep 22, 2022
@thomaspoignant thomaspoignant self-assigned this Sep 22, 2022
@thomaspoignant thomaspoignant changed the title Go feature flag provider feat: Go feature flag provider Sep 22, 2022
@thomaspoignant

Copy link
Copy Markdown
Member Author

The stage Configure GPG Key in the CI is failing.
I guess this is because this PR is open from a fork, maybe we should have an issue for that.

@toddbaert

Copy link
Copy Markdown
Member

The stage Configure GPG Key in the CI is failing. I guess this is because this PR is open from a fork, maybe we should have an issue for that.

I was just about to make a comment about this. I will fix this in another PR and you can rebase on it. It will take only a moment.

@toddbaert

toddbaert commented Sep 22, 2022 •

Copy link
Copy Markdown
Member

#107 after this is merged you can rebase if you want. Sorry about that!

@toddbaert
toddbaert self-requested a review September 22, 2022 20:57

@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 left a few minor comments for you to think about, but this all looks pretty good to me!

You will need to add this to the main pom.xml's modules element though, it's not currently actually building:

[INFO] Reactor Summary:
[INFO] 
[INFO] java-sdk-contrib 0.0.2 ............................. SUCCESS [  4.806 s]
[INFO] open-telemetry-hook 0.2.8 .......................... SUCCESS [ 14.724 s]
[INFO] flagd 0.3.2 ........................................ SUCCESS [ 25.281 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS

java-sdk-contrib/pom.xml

Lines 29 to 32 in bc8e3ce

<modules>
<module>hooks/open-telemetry</module>
<module>providers/flagd</module>
</modules>

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@toddbaert
toddbaert self-requested a review September 23, 2022 14:09

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

Very nice!

@toddbaert

Copy link
Copy Markdown
Member

@thomaspoignant dependency is available now! Everything looks good to me except a few lint issues.

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@thomaspoignant
thomaspoignant force-pushed the go-feature-flag-provider branch from b5d4171 to 50c5225 Compare September 23, 2022 15:26
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@thomaspoignant
thomaspoignant force-pushed the go-feature-flag-provider branch 2 times, most recently from 13d3ef1 to b592aa0 Compare September 23, 2022 15:54
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@thomaspoignant
thomaspoignant force-pushed the go-feature-flag-provider branch from b592aa0 to 6db011c Compare September 23, 2022 15:56
Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
@thomaspoignant

thomaspoignant commented Sep 24, 2022 •

Copy link
Copy Markdown
Member Author

@toddbaert I've finally finished making lombok work with findbugs.
The actual configuration does not really like it 😉

Can you have a last check? It is ready to merge on my side.

@toddbaert
toddbaert merged commit f793722 into open-feature:main Sep 26, 2022
This was referenced Sep 26, 2022
mahpatil pushed a commit to mahpatil/java-sdk-contrib that referenced this pull request Jun 3, 2026
GO Feature Flag provider init

Signed-off-by: Thomas Poignant <thomas.poignant@gofeatureflag.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants