-
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: make provider interface "stateless" as per spec 0.8.0 (#299)
* make provider stateless (wip) Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * chore: changed naming from "client name" to domain Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * test: simplified test assertions Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * feat: added code to handle short circuit When triggering an evaluation while the provider is in "not ready" or "fatal state" the sdk shall return an appropriate error. Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * chore: moved sentinel errors into appropriate file Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * feat: call error hooks on short circuits Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * test: fix tests for asserting wrong handler callbacks Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> * Delete openfeature/error.go Signed-off-by: Todd Baert <todd.baert@dynatrace.com> --------- Signed-off-by: Bernd Warmuth <bernd.warmuth@dynatrace.com> Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
- Loading branch information
Showing
16 changed files
with
678 additions
and
279 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
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.