Skip to content

Commit

Permalink
feat: Apple App Store (VPP) apps (#20643)
Browse files Browse the repository at this point in the history
> Related issue: #18867

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#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] If database migrations are included, checked table schema to
confirm autoupdate
- [x] Manual QA for all new/changed functionality
  • Loading branch information
jahzielv authored Jul 25, 2024
2 parents 316de4b + 5b97d01 commit 6a31d4e
Show file tree
Hide file tree
Showing 173 changed files with 8,674 additions and 1,206 deletions.
2 changes: 2 additions & 0 deletions changes/19864-vpp-token-crud
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Adds the functionality for the `POST /mdm/apple/vpp_token`, `DELETE /mdm/apple/vpp_token` and
`GET /vpp` endpoints.
1 change: 1 addition & 0 deletions changes/19865-db-schema
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds DB updates to support the VPP software feature.
1 change: 1 addition & 0 deletions changes/19867-get-avail-apps
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds functionality for the `GET /software/app_store_apps` and `POST /software/app_store_apps` endpoints.
1 change: 1 addition & 0 deletions changes/19868-vpp-install-command
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds functionality for installing App Store apps to the VPP feature.
1 change: 1 addition & 0 deletions changes/19870-vpp-activities-backend
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Adds global activity support for VPP related activities.
1 change: 1 addition & 0 deletions changes/19871-gitops-vpp-config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Add support for VPP to gitops config
2 changes: 2 additions & 0 deletions changes/19880-include-vpp-apps-in-software-titles-endpoints
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Added the associated VPP apps to the `GET /software/titles` and `GET /software/titles/:id` endpoints.
* Added the associated VPP apps to the `GET /hosts/:id/software` and `GET /device/:token/software` endpoints.
1 change: 1 addition & 0 deletions changes/20278-vpp-batch-api
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- GitOps supports VPP app associations
2 changes: 2 additions & 0 deletions changes/20515-delete-vpp-app
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Added support to delete a VPP app from a team in `DELETE /software/titles/:software_title_id/available_for_install`.
* Fixed path that was incorrect for the download software installer package endpoint `GET /software/titles/:software_title_id/package`.
1 change: 1 addition & 0 deletions changes/issue-19866-add-remove-disable-vpp-in-ui
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- add ability to add/remove/disable vpp in the fleet UI.
1 change: 1 addition & 0 deletions changes/issue-19869-vpp-ui-on-software-pages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- add UI to support the apple vpp feature on the software pages.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- add UI updates for VPP feature on host software and my device pages.
18 changes: 9 additions & 9 deletions cmd/fleetctl/get_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,10 @@ func TestGetSoftwareTitles(t *testing.T) {
apiVersion: "1"
kind: software_title
spec:
- hosts_count: 2
- app_store_app: null
hosts_count: 2
id: 0
name: foo
self_service: false
software_package: null
source: chrome_extensions
versions:
Expand All @@ -713,10 +713,10 @@ spec:
vulnerabilities:
- cve-123-456-003
versions_count: 3
- hosts_count: 0
- app_store_app: null
hosts_count: 0
id: 0
name: bar
self_service: false
software_package: null
source: deb_packages
versions:
Expand Down Expand Up @@ -761,8 +761,8 @@ spec:
]
}
],
"self_service": false,
"software_package": null
"software_package": null,
"app_store_app": null
},
{
"id": 0,
Expand All @@ -774,11 +774,11 @@ spec:
{
"id": 0,
"version": "0.0.3",
"vulnerabilities": null
"vulnerabilities": null
}
],
"self_service": false,
"software_package": null
"software_package": null,
"app_store_app": null
}
]
}
Expand Down
Loading

0 comments on commit 6a31d4e

Please sign in to comment.