-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create feature flags function api * pass to fetcher in javafetcher * make featureFlags nullable * pass in null * use FlagStore * fix imports * edits * add setter * Update FetcherBase.scala Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update JavaFetcher.java Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update JavaFetcher.java Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update Fetcher.scala Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update FetcherBase.scala Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update FlagStore.java Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * rerun test Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * re-run Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> * Update FlagStore.java Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com> --------- Signed-off-by: divyamanohar-stripe <111152273+divyamanohar-stripe@users.noreply.github.com>
- Loading branch information
1 parent
ac52e01
commit a05382e
Showing
5 changed files
with
28 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package ai.chronon.online; | ||
|
||
import java.io.Serializable; | ||
import java.util.Map; | ||
|
||
// Interface to allow rolling out features/infrastructure changes in a safe & controlled manner | ||
public interface FlagStore extends Serializable { | ||
Boolean isSet(String flagName, Map<String, String> attributes); | ||
} |
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