Project

General

Profile

Feature #18487

Add update API to middlewared

Added by William Grzybowski almost 3 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Associated revisions

Revision a3800e45 (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): add update service to check available update Ticket: #18487

Revision 02831eb4 (diff)
Added by William Grzybowski almost 3 years ago

fix(gui): remove missing import Ticket: #18487

Revision 0120d335 (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): add update method Ticket: #18487

Revision 1c6a6237 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): add install_handler method Ticket: #18487

Revision f645768f (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): job process callee Ticket: #18487

Revision 1889cf56 (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): spawn job_process.py for jobs marked as such Ticket: #18487

Revision e73f333d (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): mark update.update as job process Ticket: #18487

Revision d3ba591a (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): implement fake job in job process Ticket: #18487

Revision 0d4f739c (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): implement core.job_update Ticket: #18487

Revision 21cd5eb4 (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): catch json loads exception Ticket: #18487

Revision 16d4aaf7 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): sanitize env before for job_process Ticket: #18487

Revision ecd4d14a (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): add example for update.check_available Ticket: #18487

Revision 22c94a91 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): tab -> space Ticket: #18487

Revision 1e6928cb (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): only set time_finished on SUCCESS or FAILED Ticket: #18487

Revision d2b68bf3 (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): checking state in last commit Ticket: #18487

Revision d4387d2d (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): add some basic event handling in client Ticket: #18487

Revision adc1a67b (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): emit events when a job is added and changed Ticket: #18487

Revision ae1c63b7
Added by William Grzybowski almost 3 years ago

Merge branch 'feature/events' Ticket: #18487

Revision ee668d3c (diff)
Added by William Grzybowski almost 3 years ago

fix(middlewared): typos Ticket: #18487

Revision 31f44dfc (diff)
Added by William Grzybowski almost 3 years ago

feat(middlewared): return an status attribute in update.check_available Ticket: #18487

History

#1 Updated by William Grzybowski almost 3 years ago

  • Status changed from Fix In Progress to 19

#2 Updated by William Grzybowski almost 3 years ago

  • Status changed from 19 to Needs Developer Review

#3 Updated by William Grzybowski almost 3 years ago

  • Assignee changed from William Grzybowski to Josh Paetzel

#4 Updated by Josh Paetzel almost 3 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from Josh Paetzel to William Grzybowski

The code is reviewed, but the functionality not tested. What would be the best way to test this?

#5 Updated by William Grzybowski almost 3 years ago

Josh Paetzel wrote:

The code is reviewed, but the functionality not tested. What would be the best way to test this?

You could run update with: midclt call update.update
and then check progress with: midclt call core.get_jobs

#6 Updated by Vaibhav Chauhan almost 3 years ago

  • Status changed from Reviewed to Ready For Release

#7 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF