-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement domain scoping (#934)
* initial changes for implementing domain scoping Signed-off-by: jarebudev <[email protected]> * completed the rest of the renaming and tidying up Signed-off-by: jarebudev <[email protected]> * applied code review suggested changes Signed-off-by: jarebudev <[email protected]> * introdcue a dedicated interface for client metadata Signed-off-by: Kavindu Dodanduwa <[email protected]> * add deprecated default getName to be backward compatible as much as possible Signed-off-by: Kavindu Dodanduwa <[email protected]> --------- Signed-off-by: jarebudev <[email protected]> Signed-off-by: Kavindu Dodanduwa <[email protected]> Co-authored-by: Kavindu Dodanduwa <[email protected]> Co-authored-by: Kavindu Dodanduwa <[email protected]>
- Loading branch information
1 parent
4ea74d8
commit 5c0aaaa
Showing
21 changed files
with
199 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package dev.openfeature.sdk; | ||
|
||
/** | ||
* Metadata specific to an OpenFeature {@code Client}. | ||
*/ | ||
public interface ClientMetadata { | ||
String getDomain(); | ||
|
||
@Deprecated | ||
// this is here for compatibility with getName() exposed from {@link Metadata} | ||
default String getName() { | ||
return getDomain(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.