You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: providers/multiprovider/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# OpenFeature Multi-Provider for Java
2
2
3
+
> **Deprecated:** The multi-provider has been moved into the core Java SDK.
4
+
> Please use `dev.openfeature.sdk.providers.multiprovider.MultiProvider` instead.
5
+
3
6
The OpenFeature Multi-Provider wraps multiple underlying providers in a unified interface, allowing the SDK client to transparently interact with all those providers at once.
4
7
This allows use cases where a single client and evaluation interface is desired, but where the flag data should come from more than one source.
Copy file name to clipboardExpand all lines: providers/multiprovider/src/main/java/dev/openfeature/contrib/providers/multiprovider/FirstMatchStrategy.java
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,12 +12,7 @@
12
12
importlombok.extern.slf4j.Slf4j;
13
13
14
14
/**
15
-
* First match strategy. Return the first result returned by a provider. Skip providers that
16
-
* indicate they had no value due to FLAG_NOT_FOUND. In all other cases, use the value returned by
17
-
* the provider. If any provider returns an error result other than FLAG_NOT_FOUND, the whole
18
-
* evaluation should error and “bubble up” the individual provider’s error in the result. As soon as
19
-
* a value is returned by a provider, the rest of the operation should short-circuit and not call
20
-
* the rest of the providers.
15
+
* @deprecated Use the strategy from the core SDK multi-provider package instead.
Copy file name to clipboardExpand all lines: providers/multiprovider/src/main/java/dev/openfeature/contrib/providers/multiprovider/FirstSuccessfulStrategy.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,7 @@
10
10
importlombok.extern.slf4j.Slf4j;
11
11
12
12
/**
13
-
* First Successful Strategy. Similar to “First Match”, except that errors from evaluated providers
14
-
* do not halt execution. Instead, it will return the first successful result from a provider. If no
15
-
* provider successfully responds, it will throw an error result.
13
+
* @deprecated Use the strategy from the core SDK multi-provider package instead.
0 commit comments