Skip to content

Conversation

@liran2000
Copy link
Member

@liran2000 liran2000 commented Oct 21, 2024

Readme describes the provider.

References

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 October 21, 2024 11:56
@liran2000 liran2000 requested review from aepfli and toddbaert October 21, 2024 11:57
Copy link
Member

@aepfli aepfli left a comment

Choose a reason for hiding this comment

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

Thank you, this looks really cool. But especially the Strategy initialization and the handling of 'exception-less Errors' might be problematic

Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Copy link
Member

Choose a reason for hiding this comment

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

Please remove this changelog. A new one should be created by Release Please.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

"README.md"
]
},
"providers/multi-provider": {
Copy link
Member

Choose a reason for hiding this comment

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

The file path is providers/multiprovider. Please either update the path name or this configuration.

Copy link
Member Author

Choose a reason for hiding this comment

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

done

Copy link
Member Author

Choose a reason for hiding this comment

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

BTW, originally I had "multi-provider" like other providers, but it failed validation on Invalid Automatic-Module-Name:

❌ no - allowed

Copy link
Member

Choose a reason for hiding this comment

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

Why would Maven Central allow invalid names to be uploaded?

Copy link
Member

@toddbaert toddbaert Oct 23, 2024

Choose a reason for hiding this comment

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

Maybe it's because they aren't invalid in other JVM langauges, like Scala or Kotlin, and maven supports all of these.

Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: liran2000 <[email protected]>
*/
@Override
public void initialize(EvaluationContext evaluationContext) throws Exception {
JSONObject json = new JSONObject();
Copy link
Member

Choose a reason for hiding this comment

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

Instead of JSON object, could we use a HashMap, or our SDK's own build-in object representation (Structure and it's implementations)?

Copy link
Member Author

Choose a reason for hiding this comment

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

According to Multi-provider metadata spec, it is expected to be printed as JSON, which makes sense.
Both HashMap and Structure not printed as Json.

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.

I left a few comments but overall looks very close.

Signed-off-by: liran2000 <[email protected]>
@toddbaert toddbaert requested review from aepfli and beeme1mr October 31, 2024 18:12
@toddbaert toddbaert merged commit df4ad47 into open-feature:main Nov 4, 2024
4 checks passed
matheusverissimo pushed a commit to matheusverissimo/java-sdk-contrib that referenced this pull request Nov 6, 2024
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: Liran M <[email protected]>
Signed-off-by: Matheus Veríssimo <[email protected]>
matheusverissimo pushed a commit to matheusverissimo/java-sdk-contrib that referenced this pull request Nov 6, 2024
Signed-off-by: liran2000 <[email protected]>
Signed-off-by: Liran M <[email protected]>
Signed-off-by: Matheus Veríssimo <[email protected]>
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.

4 participants