Skip to content

Commit

Permalink
Merge branch 'main' into improvement/client-stale-events
Browse files Browse the repository at this point in the history
  • Loading branch information
toddbaert authored Aug 28, 2023
2 parents d381e6c + f45bb27 commit 1fab2f7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions specification/appendix-A.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Appendix A: Included Utilities
id: appendix-a
title: "Appendix A: Included Utilities"
description: Information on OpenFeature ecosystem utilities
sidebar_position: 4
---
Expand All @@ -10,15 +11,15 @@ This document contains requirements for auxiliary utilities provided by the SDK,

## In-memory provider

> Language specific OpenFeature SDK implementations **SHOULD** expose an in-memory provider built into the SDK.
> Language-specific OpenFeature SDK implementations **SHOULD** expose an in-memory provider built into the SDK.
The in-memory provider is intended to be used for testing, SDK consumers may use it for their use cases.
Hence, the packaging, naming and access modifiers must be set appropriately.
The in-memory provider is intended to be used for testing; SDK consumers may use it for their use cases.
Hence, the packaging, naming, and access modifiers must be set appropriately.

Given below are features this provider **MUST** support,

- Provider must be initiated with a pre-defined set of flags provided to a constructor
- Feature Flag structure must be minimal but should help testing OpenFeature specification
- Feature Flag structure must be minimal but should help to test OpenFeature specification
- EvaluationContext support should be provided through callbacks/lambda expressions
- Provider must support a means of updating flag values, resulting in the emission of `PROVIDER_CONFIGURATION_CHANGED` events
- Provider must be maintained to support specification changes
Expand All @@ -27,7 +28,7 @@ Given below are features this provider **MUST** support,

> E2E tests must utilize [in-memory provider](#in-memory-provider) defined within the SDK and must be self-contained.
OpenFeature project maintains end-to-end(e2e) test suite defined with [Gherkin syntax](https://cucumber.io/docs/gherkin/).
OpenFeature project maintains an end-to-end(e2e) test suite defined with [Gherkin syntax](https://cucumber.io/docs/gherkin/).
These test definitions reside in the [OpenFeature test-harness](https://github.com/open-feature/test-harness) repository.

```mermaid
Expand Down

0 comments on commit 1fab2f7

Please sign in to comment.