[PM-31942] Implement File persistence service (pt. 2)#19962
Draft
lastbestdev wants to merge 12 commits intodirt/api-service/pm-31942from
Draft
[PM-31942] Implement File persistence service (pt. 2)#19962lastbestdev wants to merge 12 commits intodirt/api-service/pm-31942from
lastbestdev wants to merge 12 commits intodirt/api-service/pm-31942from
Conversation
…b or server self host. add report data from file to the accessreport data model
… api-service branch Use AccessReportCreateApi (instead of AccessReportApi) for the createReport$ request, and cast metrics to Record<string, number> to match the updateSummaryData$ signature from the dirt/api-service/pm-31942 abstraction.
…and Direct Replace the Azure/Direct branch with a single fileUploadService.upload call using result.fileUploadType. For Direct uploads, postDirect delegates to uploadReportFile$ on the API service.
…dirt/file-persistence/pm-31942
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dirt/api-service/pm-31942 #19962 +/- ##
=============================================================
+ Coverage 46.48% 46.54% +0.05%
=============================================================
Files 3871 3871
Lines 115374 115335 -39
Branches 17569 17557 -12
=============================================================
+ Hits 53630 53681 +51
+ Misses 59293 59196 -97
- Partials 2451 2458 +7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
|
New Issues (32)Checkmarx found the following issues in this Pull Request
|
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.







Hold/update base to
mainafter #19922 merges🎟️ Tracking
Part 2 of https://bitwarden.atlassian.net/browse/PM-31942
📔 Objective
Implements the persistence logic for saving and loading Access Intelligence report files. Includes unit tests.
📸 Screenshots
N/A