-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(archives): add target-specific archive API endpoints (#1047)
* Add target-specific RecordingDeleteHandler * Add target-specific RecordingGetHandler * Add target-specific ReportGetHandler * fixup! Add target-specific ReportGetHandler * fixup! Add target-specific ReportGetHandler * Add target-specific RecordingUploadPostHandler * Start updating unit tests * Apply spotless * Continue updating unit tests * fixup! Add target-specific RecordingDeleteHandler * fixup! fixup! Add target-specific RecordingDeleteHandler * Update notifications with correct archived recording and report download URLs * Update tests * Apply spotless * Minor fixes * fixup! Minor fixes * Fix unit tests * Add beta JWT and non-JWT version of the RecordingGetHandler and ReportGetHandler * Apply spotless * fixup! Add beta JWT and non-JWT version of the RecordingGetHandler and ReportGetHandler * Create temporary subdirectory when retrieving cached report path * fixup! Create temporary subdirectory when retrieving cached report path * Refactoring * refactor(recording-archive): clean up overloadded deleteRecording method * fix(archives): fix tmp dirs not checked for existence * tests(archived-reports): update report-cache tests * tests(recording-archive): fix tests for RecordingArchiveHelper * fixed concurrency bug where viewing report would timeout * tests(archives): add tests for case that recording-path resolution fails * tests(archives): use valid jmx uri for tests * deprecated handlers and disabled unit tests * fix integration tests (disabled RecordingMetadata test since PR971 revamps it anyways) * added tests for new handlers, deprecated old v2 jwt handlers and its tests * cleaned up after rebase * spotless:applied * extracted jvmId as a module, added wip sourceTarget validation * testing commit * fixed all? hanging issues, commiting to refactor * refactored and fixed graphql queries which failed exceptionally because of getJvmId on non-reachable targets -> instead just return empty lists, changed ArchivedRecordingInfo to have non encoded serviceuri field now that the subdirectories are not no longer encoded targetIds, removed debugging prints * testing commit * commit before removing prints, reverting executeConnectedTask useCache, fixing tests * fixed unit tests, still have to fix deprecation and integration tests * before rebase * rebased ontop of content negotiation -> fixed deprecation, fixed its and uts, fixed bugs * updated docs * fixed spotbugs * fixup! removed print * fixed as per comments * fixed failing tests * spotless:applied * fixed archives migration * rebase cleanup * some fixes * cleaned up exception printing and some comments * spotless:applied * fixed null sourceTarget propagating into getJvmId from getReportCachedPath * rebase cleanup #5 * revert 'async' vertx.blocking for report generation Co-authored-by: Thuan Vo <thvo@redhat.com> Co-authored-by: Max Cao <macao@redhat.com>
- Loading branch information
1 parent
1c0fe9f
commit 525b62d
Showing
62 changed files
with
3,754 additions
and
573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.