Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: In-memory provider for e2e testing and minimal usage #546

Merged
merged 15 commits into from
Aug 15, 2023

Commits on Aug 7, 2023

  1. Add InMemoryProvider

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    c69b5a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Remove flagd dependencies

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    29c99eb View commit details
    Browse the repository at this point in the history
  2. handle PROVIDER_NOT_READY on evaluation

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    9af7d1d View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    4f90f66 View commit details
    Browse the repository at this point in the history
  2. in-memory provider updates

    - move to non-test package
    - add ContextEvaluator
    - update Flags structure
    - implement events provider
    - enrich tests
    - refactor
    
    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    47d8127 View commit details
    Browse the repository at this point in the history
  3. Remove Flags structure

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    542395e View commit details
    Browse the repository at this point in the history
  4. Remove leftover

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    4cf9ba4 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Move common methods

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f85cbb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. tests updates

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    1e508ca View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. minor updates

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    071fa03 View commit details
    Browse the repository at this point in the history
  2. events revisited

    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    41987b8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c67eeb View commit details
    Browse the repository at this point in the history
  4. events test revisit

    verify emit event called on the spied provider as it verifies the config changed event was emitted, which is the in-memory provider implementation. The event itself is a functionality of the events framework, thus not needed to be tested here,
    
    Signed-off-by: liran2000 <liran2000@gmail.com>
    liran2000 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    3cb8ee1 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/feat/523-in-memory-provider' int…

    …o feat/523-in-memory-provider
    liran2000 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4d9ceed View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Configuration menu
    Copy the full SHA
    7f86107 View commit details
    Browse the repository at this point in the history