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

Implementing db caching functionality #211

Open
wants to merge 77 commits into
base: main
Choose a base branch
from

Commits on Sep 13, 2024

  1. Implementing file cache functionality

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c0487d4 View commit details
    Browse the repository at this point in the history
  2. Open or Create file

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    51035e1 View commit details
    Browse the repository at this point in the history
  3. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7de39ef View commit details
    Browse the repository at this point in the history
  4. Adding dbcache functionality

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d039707 View commit details
    Browse the repository at this point in the history
  5. Adding dependencies

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d9cff90 View commit details
    Browse the repository at this point in the history
  6. Updating dbcache

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    45e0c57 View commit details
    Browse the repository at this point in the history
  7. Updating dbcache

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7f71a7b View commit details
    Browse the repository at this point in the history
  8. Updating dbcache

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    581048a View commit details
    Browse the repository at this point in the history
  9. Removing unnecessary code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    62ee3c1 View commit details
    Browse the repository at this point in the history
  10. Fix linter issues

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c3491b4 View commit details
    Browse the repository at this point in the history
  11. Adding tests

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e4331dc View commit details
    Browse the repository at this point in the history
  12. Adding tests

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    df27ab5 View commit details
    Browse the repository at this point in the history
  13. Adding interface

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    10ce53e View commit details
    Browse the repository at this point in the history
  14. Setting up db cache within uhttp pkg

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4a902b0 View commit details
    Browse the repository at this point in the history
  15. Adding validations

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d5d4cd3 View commit details
    Browse the repository at this point in the history
  16. Adding expiration time

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    be1035d View commit details
    Browse the repository at this point in the history
  17. Adding expiration time

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ba075a4 View commit details
    Browse the repository at this point in the history
  18. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    cbeef77 View commit details
    Browse the repository at this point in the history
  19. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    057eb92 View commit details
    Browse the repository at this point in the history
  20. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    b23a5be View commit details
    Browse the repository at this point in the history
  21. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    346525c View commit details
    Browse the repository at this point in the history
  22. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    5c49df9 View commit details
    Browse the repository at this point in the history
  23. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8709cfa View commit details
    Browse the repository at this point in the history
  24. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    efa0b53 View commit details
    Browse the repository at this point in the history
  25. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d8f7490 View commit details
    Browse the repository at this point in the history
  26. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    68af3c0 View commit details
    Browse the repository at this point in the history
  27. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    699b317 View commit details
    Browse the repository at this point in the history
  28. Adding db transactions

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8cf4ce1 View commit details
    Browse the repository at this point in the history
  29. Fix bug when database is locked

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    64f1a50 View commit details
    Browse the repository at this point in the history
  30. Fix tests

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    14547d6 View commit details
    Browse the repository at this point in the history
  31. Adding BATON_IN_MEMORY_HTTP_CACHE env

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    37a6f7b View commit details
    Browse the repository at this point in the history
  32. Adding stats structure

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8c7e193 View commit details
    Browse the repository at this point in the history
  33. Adding statistics

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    fd51eed View commit details
    Browse the repository at this point in the history
  34. Adding statistics

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    65f88f3 View commit details
    Browse the repository at this point in the history
  35. Adding statistics

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ead6126 View commit details
    Browse the repository at this point in the history
  36. Adding statistics

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    addbac0 View commit details
    Browse the repository at this point in the history
  37. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c3e8bf3 View commit details
    Browse the repository at this point in the history
  38. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    43cb126 View commit details
    Browse the repository at this point in the history
  39. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    0e856ce View commit details
    Browse the repository at this point in the history
  40. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    fee7aa2 View commit details
    Browse the repository at this point in the history
  41. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    174fbfb View commit details
    Browse the repository at this point in the history
  42. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7d16c40 View commit details
    Browse the repository at this point in the history
  43. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f75425a View commit details
    Browse the repository at this point in the history
  44. Code review changes part 1

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3704291 View commit details
    Browse the repository at this point in the history
  45. Code review changes part 2

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f1b7f7c View commit details
    Browse the repository at this point in the history
  46. Code review changes part 3

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    58579cf View commit details
    Browse the repository at this point in the history
  47. Code review changes part 3

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    55965b1 View commit details
    Browse the repository at this point in the history
  48. Code review changes part 4

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    5bdb0c6 View commit details
    Browse the repository at this point in the history
  49. Code review changes part 4

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e45ecec View commit details
    Browse the repository at this point in the history
  50. Code review changes part 5

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    de5965b View commit details
    Browse the repository at this point in the history
  51. Code review changes part 5

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    3badc34 View commit details
    Browse the repository at this point in the history
  52. Code review changes part 5

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    192d7f9 View commit details
    Browse the repository at this point in the history
  53. Code review changes part 5

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    1a7c3b1 View commit details
    Browse the repository at this point in the history
  54. Code review changes part 6

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d4b2196 View commit details
    Browse the repository at this point in the history
  55. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d7c5dff View commit details
    Browse the repository at this point in the history
  56. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e80e492 View commit details
    Browse the repository at this point in the history
  57. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    79fe469 View commit details
    Browse the repository at this point in the history
  58. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    173bfbb View commit details
    Browse the repository at this point in the history
  59. Code review changes

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ec18980 View commit details
    Browse the repository at this point in the history
  60. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f151295 View commit details
    Browse the repository at this point in the history
  61. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e15ae3f View commit details
    Browse the repository at this point in the history
  62. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d824854 View commit details
    Browse the repository at this point in the history
  63. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    4a9364d View commit details
    Browse the repository at this point in the history
  64. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    7fe3505 View commit details
    Browse the repository at this point in the history
  65. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    6d467b1 View commit details
    Browse the repository at this point in the history
  66. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    1c534fa View commit details
    Browse the repository at this point in the history
  67. Refactoring code

    mchavez authored and ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8aed3e2 View commit details
    Browse the repository at this point in the history
  68. Use goqu for sqlite like we do elsewhere in baton-sdk, removing the d…

    …irect dependency on sqlite3. Start cleaning up DB cache code.
    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9924f4f View commit details
    Browse the repository at this point in the history
  69. Fix linter error

    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    11c3fd3 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    3a91397 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    22e8053 View commit details
    Browse the repository at this point in the history
  72. Use latest version of golang-test-annotations. Output test results in…

    … a windows-compatible way.
    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    a33e3d9 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    0f54d7c View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    0cbc8f4 View commit details
    Browse the repository at this point in the history
  75. Clean up cache interface. Accept request instead of having to generat…

    …e a cache key and pass in req.Context().
    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    efe2055 View commit details
    Browse the repository at this point in the history
  76. Clean up cache config. Add noop cache instead of initializing a disab…

    …led mem or db cache.
    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    cc17bc3 View commit details
    Browse the repository at this point in the history
  77. Move cache config stuff into cache file. Don't create cachekey since …

    …get/set cache just needs req. Add tostring method to cache config.
    ggreer committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d6c6b32 View commit details
    Browse the repository at this point in the history