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

Feature/real time flags (#5) #21

Commits on Aug 25, 2023

  1. Feature/real time flags (#5)

    * Compiles and test, need to add some tests then get it into a sample app
    
    * Should be testing but not getting the errors through Fuse so can't run into the logic
    
    * Probably gone as far as I can with 2.x fuel, let's try the 3.x
    
    * Move to Retrofit - seems to be going well so far, test runs
    
    * Tidying up, setTrait test not working
    
    * All the tests are passing so will finish the retrofit migration
    
    * Updated some of the logic and added setTraits
    
    * Checkpoint commit before trying generic converter
    
    * Generics working fine
    
    * All passing for flags and such with the new generic caching
    
    * Mostly swapped to Retrofit, now need to do the analytics
    
    * Analytics now over to retrofit
    
    * Add caching for the getFlags endpoint
    
    * Get rid of the last of Fuel
    
    * Another clear-out and all working fine on the tests
    
    * Now using Retrofit cache, remove the old stuff
    
    * Now just using HTTP caching
    
    * Delete the old caching logic
    
    * Finishing off, should be done for defaults and caching
    
    * Remove unneeded todo
    
    * Remove some more code
    
    * Still just playing around with it
    
    * Move cache configuration to its own data class
    
    * Tidy up the cache config and the tests
    
    * Update the comments
    
    * Now covers the caching tests
    
    * Tidy up some more of the tests
    
    * Some more tidying up
    
    * Default to caching disabled
    
    * Last few PR comments
    
    * Split the read and write timeout for HTTP
    
    * Initial basic implementation, let's try to get things hooked up to the server
    
    * Seems to be generally working
    
    * Checkpoint commit, seems to be generally working now just need to get the flags on update
    
    * Checkpoint commit before making the changes OK'd by Matthew to move the update clock into the event service
    
    * Ensure that the event source just reconnects if it loses the connection
    
    * Events and timers now all hooked-up and working in the manual integration test
    
    * Got the integration test working
    
    * Tidy everything up and move sensitive data to environment variables
    
    * Add a new test to cover the event stream going through a reconnect cycle
    
    * Added test for the live stream of flags, tidied up the imports and various thing, changed the logic a bit for when we need to do updates from events
    gazreese authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    6061dff View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Update FlagsmithClient/src/test/java/com/flagsmith/RealTimeUpdatesInt…

    …egrationTests.kt
    
    Co-authored-by: Matthew Elwell <[email protected]>
    gazreese and matthewelwell authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a9a5a2e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb51d7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2468611 View commit details
    Browse the repository at this point in the history
  4. Add some error checking on the environment variables so it's a bit mo…

    …re obvious what's going on if we don't configure properly
    gazreese committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    832f568 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f2c288d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7dfb107 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c845a44 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2023

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