fleet/ee/server/service
Lucas Manuel Rodriguez 8d664bd456
Make software batch endpoint asynchronous (#22258)
#22069

API changes: https://github.com/fleetdm/fleet/pull/22259

QAd by applying 10 pieces of software on a team, which took 3+ minutes
in total (which, before these changes was timing out at 100s.)

With this approach, a GitOps CI run timing out might leave the
background process running (which will eventually be applied to the
database). The team discussed and agreed that we can fix this edge case
later.

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [X] Added/updated tests
- [X] Manual QA for all new/changed functionality
2024-09-20 11:55:47 -03:00
..
embedded_scripts Linux Mask systemd-user-sessions (#20877) 2024-08-01 10:27:17 -04:00
appconfig.go enable controlled rollout of features by teams (#7408) 2022-08-30 08:13:09 -03:00
calendar.go Downloading a software installer package now shows the browser's built-in progress bar (#21341) 2024-08-20 12:37:29 -05:00
calendar_test.go Downloading a software installer package now shows the browser's built-in progress bar (#21341) 2024-08-20 12:37:29 -05:00
devices.go feat: pre sonoma migration features (#21266) 2024-08-13 16:14:35 -04:00
errors.go Add UUID to Fleet errors and clean up error msgs (#10411) 2023-03-13 13:44:06 -03:00
hosts.go disable_issues and host issues support for other API endpoints (#19802) 2024-06-18 14:13:38 -05:00
mdm.go feat: validate profile with apple (#21862) 2024-09-10 18:44:58 -04:00
mdm_export_for_test.go Update/fix/add tests for puppet-related flow (preassign+match) (#17859) 2024-03-26 13:41:40 -04:00
mdm_external_test.go Make software batch endpoint asynchronous (#22258) 2024-09-20 11:55:47 -03:00
mdm_profiles.go feat: enforce FileVault during Setup Assistant (#20759) 2024-07-26 15:50:31 -04:00
mdm_test.go 19016 ingest certs on start (#19360) 2024-05-30 18:18:42 -03:00
service.go Make software batch endpoint asynchronous (#22258) 2024-09-20 11:55:47 -03:00
software.go Add team filter to software detail APIs (#16876) 2024-02-18 07:14:20 -06:00
software_installers.go Make software batch endpoint asynchronous (#22258) 2024-09-20 11:55:47 -03:00
software_installers_test.go Updated/tested uninstall scripts, except for EXE. 2024-09-10 15:28:28 -05:00
teams.go fix: prevent creating teams with reserved team names (#21727) 2024-09-05 17:44:09 -04:00
teams_test.go If user is a global/team observer/observer+, 'teams' endpoints should not include secrets (#12216) 2023-06-08 17:30:34 -04:00
users.go Activity feed webhooks backend (#19261) 2024-05-24 11:25:27 -05:00
users_test.go Allow setting user roles during JIT provisioning (#10193) 2023-03-01 20:18:40 -03:00
vpp.go Add policies for "No team" (#21972) 2024-09-12 14:23:25 -03:00
vulnerabilities.go Updated /api/v1/fleet/vulnerabilities/{cve} endpoint (#21463) 2024-08-21 12:52:28 -05:00