-
Notifications
You must be signed in to change notification settings - Fork 28
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
Populate location in Exchange container resolver #2828
Conversation
Current Aviator status
This PR was merged using Aviator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you for backfilling the functionality!
535bbc9
to
6a787b8
Compare
This pull request failed to merge: some CI status(es) failed. Remove the Failed CI(s): Test-Suite-Trusted |
Container resolver indexes by ID already so just populate the location path for all items and have the other path use IDs only. This means any consumer of the container resolver can request either: * a path consisting of folder IDs only * a path consisting of folder display names only Update some of the surrounding code to perform path comparisons properly when looking at Exchange folders and return a location path where a location path is expected. This preserves previous behavior for mail and contacts.
Since all caches now have both ID and display name paths, remove the bool that would help switch between the two.
Allow looking up a display name path in the cache since PathInCache uses the ID path format. Adjust tests and code accordingly.
f981cfb
to
946df98
Compare
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Always populate the location field of backup details for Exchange data types Fix bug where ParentPath for calendar items used folder IDs instead of display names --- #### Does this PR need a docs update or release note? - [x] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [ ] ⛔ No #### Type of change - [x] 🌻 Feature - [x] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [ ] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) * #2486 * closes #2827 merge after: * #2826 * #2808 * #2828 #### Test Plan - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
Always generate both a path of IDs and a path of
display names for folders in the container resolver.
Changes in internal/connector/exchange/service_functions.go
keep the behavior of the overall system from changing
Does this PR need a docs update or release note?
Type of change
Issue(s)
merge after:
Test Plan