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

fix(auto-rules): PeriodicArchiver scans archives on startup #551

Merged
merged 82 commits into from
Aug 11, 2021
Merged

fix(auto-rules): PeriodicArchiver scans archives on startup #551

merged 82 commits into from
Aug 11, 2021

Commits on Aug 11, 2021

  1. Retrieve list of recordings saved in archive

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    3ef6270 View commit details
    Browse the repository at this point in the history
  2. Start parsing archived recordings JSON

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    20681a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8c8377 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5440f4a View commit details
    Browse the repository at this point in the history
  5. Extract archived recordings listing into refactored chunk

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ffd5040 View commit details
    Browse the repository at this point in the history
  6. Clean up unneeded imports and class variables

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    20f840b View commit details
    Browse the repository at this point in the history
  7. Start iteration of archived recordings

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0ee3e0f View commit details
    Browse the repository at this point in the history
  8. Continue iteration of archived recordings

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    33586e2 View commit details
    Browse the repository at this point in the history
  9. Begin archive directory restructuring

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    fa1de8d View commit details
    Browse the repository at this point in the history
  10. Implement get archive listing using Pattern matching

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    429af70 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1ea75f7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    19acec9 View commit details
    Browse the repository at this point in the history
  13. Update archived recording(s) GET handlers

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    be17e5c View commit details
    Browse the repository at this point in the history
  14. Create new class to represent archived recording information

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    8e32a76 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    085812e View commit details
    Browse the repository at this point in the history
  16. Fix compilation errors related to exception handling and class instan…

    …tiation
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ac3aa92 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8f64c8c View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5917da2 View commit details
    Browse the repository at this point in the history
  19. Update archived recordings GET and DELETE handlers to work with direc…

    …tory restructuring
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2b76d01 View commit details
    Browse the repository at this point in the history
  20. Update archived recordings POST handlers to work with directory restr…

    …ucturing
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    49d1a07 View commit details
    Browse the repository at this point in the history
  21. Begin updating unit tests

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2eec9cc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ee5d527 View commit details
    Browse the repository at this point in the history
  23. Update archived recordings GET handler test

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    39ea44e View commit details
    Browse the repository at this point in the history
  24. Extract ArchivedRecordingInfo custom JSON serializer into its own cla…

    …ss; run mvn spotless:apply
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ae6b137 View commit details
    Browse the repository at this point in the history
  25. Update old PeriodicArchiver unit tests to better reflect its class st…

    …ructure
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    343e8d7 View commit details
    Browse the repository at this point in the history
  26. fixup! Extract ArchivedRecordingInfo custom JSON serializer into its …

    …own class; run mvn spotless:apply
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    d15b01c View commit details
    Browse the repository at this point in the history
  27. Change the RecordingArchiveHelper implementation to be Future-based a…

    …nd update any corresponding tests
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0651f44 View commit details
    Browse the repository at this point in the history
  28. Update RecordingArchiveHelperTest

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7efb192 View commit details
    Browse the repository at this point in the history
  29. Update RecordingsPostHandlerTest

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    69c5e6c View commit details
    Browse the repository at this point in the history
  30. Fix broken unit tests

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    e2ccc0b View commit details
    Browse the repository at this point in the history
  31. Update PeriodicArchiverTest to include archive scanning test

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    6145d14 View commit details
    Browse the repository at this point in the history
  32. Test JSON serialization of archived recordings

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0a66b3f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a1a8c2b View commit details
    Browse the repository at this point in the history
  34. Extract the correct archived recording deletion code from the Recordi…

    …ngDeleteHandler
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    451f2fd View commit details
    Browse the repository at this point in the history
  35. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2908c7f View commit details
    Browse the repository at this point in the history
  36. fixup! Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    eea762d View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    d504b63 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    cda9d4f View commit details
    Browse the repository at this point in the history
  39. Update archived recordings GET implementation and testing to reflect …

    …proper directory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    126a475 View commit details
    Browse the repository at this point in the history
  40. Update archived recordings DELETE implementation to reflect proper di…

    …rectory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7bd7694 View commit details
    Browse the repository at this point in the history
  41. Update archived recordings DELETE testing to reflect proper directory…

    … hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0f1881b View commit details
    Browse the repository at this point in the history
  42. Extract single recording GET into the RecordingArchiveHelper and upda…

    …te to reflect proper directory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    327365e View commit details
    Browse the repository at this point in the history
  43. Update RecordingWorkflowIT to verify target and saved recordings dele…

    …tion
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ef674fd View commit details
    Browse the repository at this point in the history
  44. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7e587a1 View commit details
    Browse the repository at this point in the history
  45. Remove reliance on default encoding

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7e8b814 View commit details
    Browse the repository at this point in the history
  46. Remove unnecessary saved recordings path from archived recording GET …

    …handler
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    bf59b83 View commit details
    Browse the repository at this point in the history
  47. Update archived recordings POST handler to reflect proper directory h…

    …ierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    6ca47d5 View commit details
    Browse the repository at this point in the history
  48. Update archived recordings POST handler testing to reflect proper dir…

    …ectory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    81d76c9 View commit details
    Browse the repository at this point in the history
  49. Update archived recordings UPLOAD POST handler implementation and tes…

    …ting to reflect proper directory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    36fe483 View commit details
    Browse the repository at this point in the history
  50. fixup! Update archived recordings UPLOAD POST() handler implementatio…

    …n and testing to reflect proper directory hierarchy
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    d414de9 View commit details
    Browse the repository at this point in the history
  51. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7f75d99 View commit details
    Browse the repository at this point in the history
  52. Remove unnecessary IOException handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    cbd2a0b View commit details
    Browse the repository at this point in the history
  53. Update archived recording GET testing

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0dbd45c View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    c618ed1 View commit details
    Browse the repository at this point in the history
  55. Continue removing unnecessary IOException handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    2db2999 View commit details
    Browse the repository at this point in the history
  56. Remove deprecated import

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    643a7cc View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    6d9acdd View commit details
    Browse the repository at this point in the history
  58. Fix incorrect CompletableFuture.get() error handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    8f2643f View commit details
    Browse the repository at this point in the history
  59. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a4ed433 View commit details
    Browse the repository at this point in the history
  60. fixup! Fix incorrect CompletableFuture.get() error handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    56f2921 View commit details
    Browse the repository at this point in the history
  61. Remove unnecessary status code setting and extract PATCH/DELETE notif…

    …ications into the RecordingArchiveHelper
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    96d187a View commit details
    Browse the repository at this point in the history
  62. Change Base32 instances from local to class level

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    204a586 View commit details
    Browse the repository at this point in the history
  63. Normalize and convert to absolute path beforehand; refactor recording…

    … path getter function
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    491b991 View commit details
    Browse the repository at this point in the history
  64. fixup! Normalize and convert to absolute path beforehand; refactor re…

    …cording path getter function
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    f5f510c View commit details
    Browse the repository at this point in the history
  65. Delete deprecated saved recording descriptor class

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ff0c60f View commit details
    Browse the repository at this point in the history
  66. Revert changes made to RecordingWorkflowIT that cause intermittent fa…

    …ilure
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    255b9e2 View commit details
    Browse the repository at this point in the history
  67. Replace iterator with for-each loop

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    deff3c4 View commit details
    Browse the repository at this point in the history
  68. Remove unnecessary custom JSON serialization

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ee2a671 View commit details
    Browse the repository at this point in the history
  69. Ensure handlers throw HttpStatusExceptions containing the most inform…

    …ation possible
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    29f886b View commit details
    Browse the repository at this point in the history
  70. Encapsulate specific Exceptions inside Future(s) in the RecordingArch…

    …iveHelper API
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7bfb903 View commit details
    Browse the repository at this point in the history
  71. Clean-up exception handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    53338a9 View commit details
    Browse the repository at this point in the history
  72. Include deleted recording's path in returned Future

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a3ce1c2 View commit details
    Browse the repository at this point in the history
  73. Start fixing incorrect directory search during archived recording rep…

    …ort caching
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a043d13 View commit details
    Browse the repository at this point in the history
  74. Extract archived recording report deletion into the RecordingArchiveH…

    …elper; replace old, static RecordingNotFoundException class with new, separate class
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    ab24e9a View commit details
    Browse the repository at this point in the history
  75. fixup! Clean-up exception handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    10495d9 View commit details
    Browse the repository at this point in the history
  76. Fix incorrect subdirectory creation in handler without access to targ…

    …etID
    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    a240d50 View commit details
    Browse the repository at this point in the history
  77. Clean-up exception handling

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    0e4930a View commit details
    Browse the repository at this point in the history
  78. Remove unecessary HTTP response end()

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    c4c9aef View commit details
    Browse the repository at this point in the history
  79. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    cb7c0f5 View commit details
    Browse the repository at this point in the history
  80. fixup! Remove unecessary HTTP response end()

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    60fefbf View commit details
    Browse the repository at this point in the history
  81. Fix incorrect AuthManager mocking in unit tests

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    97572d4 View commit details
    Browse the repository at this point in the history
  82. Run mvn spotless:apply

    Hareet Dhillon committed Aug 11, 2021
    Configuration menu
    Copy the full SHA
    7a48fbf View commit details
    Browse the repository at this point in the history