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: Introduce flipt provider for dotnet #285

Merged
merged 43 commits into from
Oct 14, 2024

Commits on Oct 2, 2024

  1. Initial working commit without tests

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    97a5970 View commit details
    Browse the repository at this point in the history
  2. FliptProvider: Handle type mismatch and Value casting

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    c707b3e View commit details
    Browse the repository at this point in the history
  3. FliptProvider: Added extension to map flipt context to openFeature, a…

    …dded handling of http exceptions thrown by flipt client
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    ee902c6 View commit details
    Browse the repository at this point in the history
  4. Added xmldoc on extension function

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    656711b View commit details
    Browse the repository at this point in the history
  5. Added handling of different Value types, added tests to check for pro…

    …per serialization to Dict<string, string>
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f17949b View commit details
    Browse the repository at this point in the history
  6. Added handling of array of Values, introduced universal deserializer …

    …JSON settings
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    7898c86 View commit details
    Browse the repository at this point in the history
  7. Added support to serialize nested Values list

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    41cf5bf View commit details
    Browse the repository at this point in the history
  8. FliptProvider: Add support for serializing structure

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d94a6c6 View commit details
    Browse the repository at this point in the history
  9. FliptProvider: Implement Structure deserializer

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d651b3c View commit details
    Browse the repository at this point in the history
  10. FliptProvider: Rename ClientWrapper to converter

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    77afc27 View commit details
    Browse the repository at this point in the history
  11. FliptProvider: Implemented wrapper class, added unit tests

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a9ca17f View commit details
    Browse the repository at this point in the history
  12. FliptProvider: Code cleanup

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d98f9ce View commit details
    Browse the repository at this point in the history
  13. FliptProvider: Extracted Converter tests to its own file

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    48c555c View commit details
    Browse the repository at this point in the history
  14. Added unit tests for FliptToOpenFeature converter for variants and bo…

    …oleans
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d4b3e42 View commit details
    Browse the repository at this point in the history
  15. Added FliptToOpenFeatureConverter tests for non-existent flags for Va…

    …riant types
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    10b1d86 View commit details
    Browse the repository at this point in the history
  16. Update release metadata

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    d8d382d View commit details
    Browse the repository at this point in the history
  17. Replaced Flipt package with a generated RestClient from their openapi…

    …spec
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    204144f View commit details
    Browse the repository at this point in the history
  18. Changed exception handling to use generated exceptions by nswag

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    563dd5f View commit details
    Browse the repository at this point in the history
  19. Modified unit test to throw mocked FliptExceptions

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    29077ea View commit details
    Browse the repository at this point in the history
  20. Utilized OpenFeature Reason type on Resolutions

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e11bdaa View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Change test project setting; Cleaned FLiptConverter code

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    cd1b5a9 View commit details
    Browse the repository at this point in the history
  2. Change types to support all .net target versions

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    83d0fde View commit details
    Browse the repository at this point in the history
  3. FliptProvider: Update Readme

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    2417a9a View commit details
    Browse the repository at this point in the history
  4. FliptProvider: Update ReadMe, test fliptClientWrapper calls

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    fd7210a View commit details
    Browse the repository at this point in the history
  5. FliptProvider: Removed wrong code change in a different project

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    328c5a1 View commit details
    Browse the repository at this point in the history
  6. lint

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    0dcca7e View commit details
    Browse the repository at this point in the history
  7. Used HttpStatusCode.Ambiguous because TooManyRequests is not yet impl…

    …emented in .net 4.6
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    cc8a209 View commit details
    Browse the repository at this point in the history
  8. FliptProvider: Updated openapi.yaml src, regenerated RestClient using…

    … new openapi spec, removed typos in readme, unit test updates
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    c3d28b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. Update readme instructions

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    6633132 View commit details
    Browse the repository at this point in the history
  2. reverted nuget.config changes, fix linting spacing issue caused by fo…

    …rmatter
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d8c4e85 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Configuration menu
    Copy the full SHA
    dfb13ee View commit details
    Browse the repository at this point in the history
  2. FliptProvider: Updated to throw exceptions instead of handling them a…

    …nd returning ResolutionDetails
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a5ed946 View commit details
    Browse the repository at this point in the history
  3. FliptProvider: Moved client class generation and referencing in build…

    …time, kept openapi.yaml in the solution
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    81b5162 View commit details
    Browse the repository at this point in the history
  4. FliptProvider: Made constructor that receives a dependent interface i…

    …nternal
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    128c142 View commit details
    Browse the repository at this point in the history
  5. FliptProvider: Updated component_owners

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    05944bf View commit details
    Browse the repository at this point in the history
  6. Update readme

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    d491ef3 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

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

Commits on Oct 10, 2024

  1. Reverted unintended lint changes to Flagsmith.csproj

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    2110460 View commit details
    Browse the repository at this point in the history
  2. Fixed Nswag build time error, updated README, removed openapi.yaml cu…

    …rl command from build events
    
    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    062445a View commit details
    Browse the repository at this point in the history
  3. lint changes in test

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    14a2223 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3224b95 View commit details
    Browse the repository at this point in the history
  5. Updated System.Text.Json to latest version

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    582a4fb View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Changed prebuild stage of nswag generation script

    Signed-off-by: Andrei de la Cruz <[email protected]>
    jeandreidc committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    09dbc34 View commit details
    Browse the repository at this point in the history