Skip to content
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

VPP: fix download package path, implement delete VPP app support #20530

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

mna
Copy link
Member

@mna mna commented Jul 17, 2024

#20515

Checklist for submitter

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.
  • Input data is properly validated, SELECT * is avoided, SQL injection is prevented (using placeholders for values in statements)
  • Added/updated tests

@@ -141,6 +141,8 @@ func (ds *Datastore) BatchInsertVPPApps(ctx context.Context, apps []*fleet.VPPAp

func (ds *Datastore) InsertVPPAppWithTeam(ctx context.Context, app *fleet.VPPApp, teamID *uint) error {
return ds.withRetryTxx(ctx, func(tx sqlx.ExtContext) error {
// TODO: we should not just create a software title, I think we should try
// to match to an existing one (i.e. getOrCreate logic)?
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following Slack convo, Sarah will be tackling this change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scratch that, Sarah is not available today, I'll try to tackle this in another PR.

@mna mna marked this pull request as ready for review July 17, 2024 15:41
@mna mna requested review from roperzh, gillespi314, lucasmrod, getvictor and a team as code owners July 17, 2024 15:41
Copy link
Contributor

@jahzielv jahzielv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mna mna merged commit 1c85c34 into feat-vpp-apps-18867 Jul 17, 2024
15 checks passed
@mna mna deleted the mna-20515-download-delete-api branch July 17, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants