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: implement provider events #278

Merged
merged 13 commits into from
Mar 21, 2024
Merged

Commits on Mar 21, 2024

  1. feat: implement provider events

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    289b47b View commit details
    Browse the repository at this point in the history
  2. feat: add error_code field to EventDetails and ProviderEventDetails

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    e31c1ac View commit details
    Browse the repository at this point in the history
  3. fix: replace strings with postponed evaluation of annotations

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    47d7e1a View commit details
    Browse the repository at this point in the history
  4. feat: run handlers immediately if provider already in associated state

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    aca435f View commit details
    Browse the repository at this point in the history
  5. feat: remove unused _provider from openfeature.api

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    faa1751 View commit details
    Browse the repository at this point in the history
  6. test: add some comments to test cases

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    ba56db1 View commit details
    Browse the repository at this point in the history
  7. test: add provider event late binding test cases

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    2dabd81 View commit details
    Browse the repository at this point in the history
  8. fix: fix status handlers running immediately if provider already in a…

    …ssociated state
    
    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    3324a6c View commit details
    Browse the repository at this point in the history
  9. refactor: reuse provider property in OpenFeatureClient

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    349da5c View commit details
    Browse the repository at this point in the history
  10. refactor: move _provider_status_to_event to ProviderEvent.from_provid…

    …er_status
    
    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    7997eef View commit details
    Browse the repository at this point in the history
  11. refactor: move EventSupport class to an internal module

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    e49d375 View commit details
    Browse the repository at this point in the history
  12. refactor: replace EventSupport class with module-level functions

    Signed-off-by: Federico Bond <federicobond@gmail.com>
    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    cda7245 View commit details
    Browse the repository at this point in the history
  13. style: fix code style

    federicobond committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    d4420f3 View commit details
    Browse the repository at this point in the history