-
Notifications
You must be signed in to change notification settings - Fork 38
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 <23311805+jarebudev@users.noreply.github.com> * completed the rest of the renaming and tidying up Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> * applied code review suggested changes Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> * introdcue a dedicated interface for client metadata Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> * add deprecated default getName to be backward compatible as much as possible Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> --------- Signed-off-by: jarebudev <23311805+jarebudev@users.noreply.github.com> Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com> Co-authored-by: Kavindu Dodanduwa <Kavindu-Dodan@users.noreply.github.com> Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
- 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.