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

feat: backend for VPP related global activities #20484

Merged
merged 10 commits into from
Jul 16, 2024

Conversation

jahzielv
Copy link
Contributor

Related issue: #19870

Checklist for submitter

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

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.
    See Changes files for more information.
  • Added/updated tests
  • Manual QA for all new/changed functionality

@jahzielv jahzielv changed the title 19870 vpp activities backend feat: backend for VPP related global activities Jul 15, 2024
@jahzielv
Copy link
Contributor Author

Note: I'm going to implement the host activities in the branch that Roberto started for the actual installation process.

Copy link

codecov bot commented Jul 15, 2024

Codecov Report

Attention: Patch coverage is 21.21212% with 52 lines in your changes missing coverage. Please review.

Please upload report for BASE (feat-vpp-apps-18867@aa16456). Learn more about missing BASE report.

Files Patch % Lines
server/fleet/activities.go 13.04% 40 Missing ⚠️
server/service/mdm.go 25.00% 6 Missing and 3 partials ⚠️
ee/server/service/vpp.go 62.50% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@                  Coverage Diff                   @@
##             feat-vpp-apps-18867   #20484   +/-   ##
======================================================
  Coverage                       ?   37.19%           
======================================================
  Files                          ?     1423           
  Lines                          ?   134025           
  Branches                       ?     3201           
======================================================
  Hits                           ?    49849           
  Misses                         ?    79662           
  Partials                       ?     4514           
Flag Coverage Δ
backend 35.77% <21.21%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jahzielv jahzielv marked this pull request as ready for review July 15, 2024 21:04
Copy link
Member

@mna mna left a comment

Choose a reason for hiding this comment

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

Looks great! Just a couple small things.

server/fleet/activities.go Outdated Show resolved Hide resolved
server/fleet/activities.go Show resolved Hide resolved
@jahzielv jahzielv requested a review from mna July 16, 2024 13:42
@jahzielv
Copy link
Contributor Author

@jahzielv jahzielv merged commit 5d2e40b into feat-vpp-apps-18867 Jul 16, 2024
16 of 17 checks passed
@jahzielv jahzielv deleted the 19870-vpp-activities-backend branch July 16, 2024 14:51
Copy link
Contributor

@roperzh roperzh left a comment

Choose a reason for hiding this comment

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

Mainly a question, even if not specified in the Figma seems like the activities should be associated with an user?

return ctxerr.Wrap(ctx, err, "delete VPP token")
}

act := fleet.ActivityDisabledVPP{}
Copy link
Contributor

Choose a reason for hiding this comment

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

Have we decided to not store an user id for add/remove here?

SoftwareTitle string `json:"software_title"`
AppStoreID string `json:"app_store_id"`
TeamName *string `json:"team_name"`
TeamID *uint `json:"team_id"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Same for this, no actor?

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.

3 participants