Feature #2817

Process Tracker module

Added by Davide Principi about 7 years ago. Updated almost 7 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:v1.6.0
Resolution: NEEDINFO:No

Description

Implement a system module that keeps track of a detached process status, by querying the ptrack server.


Related issues

Related to NethServer 6 - Enhancement #2820: Embed Nethgui 1.6.0 into httpd-admin RPM CLOSED

Associated revisions

Revision 37653171
Added by Davide Principi about 7 years ago

NethPlatform: propagate Log object to ProcessDetached. Refs #2817

- removed error suppression operator '@' from ProcessDetached
- decreased session lifetime of exited ProcessDetached object to 60s

Revision f479f36d
Added by Davide Principi about 7 years ago

System/Process: Renamed private variable (spelling). Refs #2817

Revision 17772967
Added by Davide Principi about 7 years ago

PlatformInterface: deprecated ProcessInterface since version 1.6. Refs #2817

The ProcessInterface will be removed with the following methods in
PlatformInterface:

  • getDetachedProcess()
  • getDetachedProcesses()

The new SystemTasks model provides similar features.

Revision 07bb7989
Added by Davide Principi about 7 years ago

New ProcessInterface implementation based on Symfony\Process component. Refs #2817

Revision bbc64620
Added by Davide Principi about 7 years ago

The Tracker system module, first implementation. Refs #2817

Revision 6d492890
Added by Davide Principi about 7 years ago

Tracker: show task advancement label. Refs #2817

Revision 100a68d0
Added by Davide Principi about 7 years ago

Tracker: fixed findFailedSubtasks() method and trackerError template. Refs #2817

Revision a8add845
Added by Davide Principi about 7 years ago

Observer ptrack guideline for error reporting. Refs #2817

" When a task has non-zero exit code the message can specify the error
reason. If the message is empty, the reason should be provided by a
more specific sub-task. "

Revision 48f647a0
Added by Davide Principi about 7 years ago

System/Process: experimental on() method. Refs #2817

The on() method sets what to do when the detached process
exits. Possible actions:

  • show a notification
  • execute a query request (optionally freezing the UI)

Revision bffc0310
Added by Davide Principi about 7 years ago

Merge branch 'b2819'

Refs #2819 #2817 #2818

Revision 772a1037
Added by Davide Principi about 7 years ago

Tracker: workaround for Actions that won't show() themselves. Refs #2817

Revision 2be232bc
Added by Davide Principi about 7 years ago

Allow public access to a specific task in Tracker. Refs #2817

Revision c97b82c1
Added by Davide Principi about 7 years ago

Tracker: set progress value to ... string if not available. Refs #2817

Revision 8dd628eb
Added by Davide Principi almost 7 years ago

Tracker: hide data to anonymous user. Refs #2817

Don't throw any exception: this fix a login problem.

History

#1 Updated by Davide Principi about 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 20 to 30

#2 Updated by Davide Principi about 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 30 to 60

Follow downstream QA: see #2820

#3 Updated by Davide Principi about 7 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

#4 Updated by Davide Principi almost 7 years ago

#5 Updated by Davide Principi almost 7 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Verified by #2820

#6 Updated by Davide Principi almost 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Embedded into nethserver-httpd-admin-1.3.0-2.ns6.noarch, repo nethserver-updates

Also available in: Atom PDF