-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(flagd): migrate to new provider mode file and update e2e tests (#…
…121) * feat(flagd-rpc): add caching with tests Signed-off-by: Simon Schrottner <[email protected]> * fixup: using new test-harness Signed-off-by: Simon Schrottner <[email protected]> * fixup(flagd): remove merge conflict error as stated by warber Signed-off-by: Simon Schrottner <[email protected]> * feat(flagd): add graceful attempts Signed-off-by: Simon Schrottner <[email protected]> * feat(flagd): add graceful attempts Signed-off-by: Simon Schrottner <[email protected]> * fixup: rename method Signed-off-by: Simon Schrottner <[email protected]> * fixup: naming linting Signed-off-by: Simon Schrottner <[email protected]> * feat: better reconnect gherkins Signed-off-by: Simon Schrottner <[email protected]> --------- Signed-off-by: Simon Schrottner <[email protected]>
- Loading branch information
Showing
38 changed files
with
996 additions
and
1,128 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
Submodule test-harness
updated
33 files
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 |
---|---|---|
@@ -1,10 +1,22 @@ | ||
[pytest] | ||
markers = | ||
rpc: tests for rpc mode. | ||
in-process: tests for rpc mode. | ||
in-process: tests for in-process mode. | ||
file: tests for file mode. | ||
unavailable: tests for unavailable providers. | ||
customCert: Supports custom certs. | ||
unixsocket: Supports unixsockets. | ||
targetURI: Supports targetURI. | ||
grace: Supports grace attempts. | ||
targeting: Supports targeting. | ||
fractional: Supports fractional. | ||
string: Supports string. | ||
semver: Supports semver. | ||
reconnect: Supports reconnect. | ||
events: Supports events. | ||
sync: Supports sync. | ||
caching: Supports caching. | ||
offline: Supports offline. | ||
os.linux: linux mark. | ||
stream: Supports streams. | ||
bdd_features_base_dir = tests/features |
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
11 changes: 11 additions & 0 deletions
11
...ider-flagd/src/openfeature/contrib/provider/flagd/resolvers/process/connector/__init__.py
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,11 @@ | ||
import typing | ||
|
||
from openfeature.evaluation_context import EvaluationContext | ||
|
||
|
||
class FlagStateConnector(typing.Protocol): | ||
def initialize( | ||
self, evaluation_context: EvaluationContext | ||
) -> None: ... # pragma: no cover | ||
|
||
def shutdown(self) -> None: ... # pragma: no cover |
Oops, something went wrong.