fleet/ee/bulk-operations-dashboard/api/controllers/profiles
Eric d8897e0cca
Msp dashboard: Improve speed of profile-related actions (#25221)
Related to: #25170

Changes:
- Updated the `view-profiles`, `get-profiles`, `edit-profile`, and
`upload-profile` actions to send requests to the connected Fleet
instances and process results simultaneously.


I tested these changes while connected to a Fleet instance running on
the same network as my device, here is what I saw:
- Loading the profiles page with four profiles assigned to 22 teams:
	- Current version: 3232ms
	- This PR: 699ms
- Uploading a configuration profile with custom label targets to 22
teams:
	- Current version: 5660ms
	- This PR: 865ms
- Editing a configuration profile that is assigned to 22 teams labels:
	- Current version: 6622ms
	- This PR: 1300ms
- Replacing an existing configuration profile assigned to 22 teams:
	- Current version: 6483ms
	- This PR: 1773ms
- Fetching up-to-date configuration profile information from the Fleet
instance after a change is made:
	- Current version: 2857ms
	- This PR: 736ms
2025-01-14 12:09:23 -06:00
..
delete-profile.js Add app to manage scripts and profiles. (#21450) 2024-08-22 14:59:15 -06:00
download-profile.js Add app to manage scripts and profiles. (#21450) 2024-08-22 14:59:15 -06:00
edit-profile.js Msp dashboard: Improve speed of profile-related actions (#25221) 2025-01-14 12:09:23 -06:00
upload-profile.js Msp dashboard: Improve speed of profile-related actions (#25221) 2025-01-14 12:09:23 -06:00
view-profiles.js Msp dashboard: Improve speed of profile-related actions (#25221) 2025-01-14 12:09:23 -06:00