Distinct control page for every agent, payload, job and result #13

Open
opened 9 months ago by root · 0 comments
root commented 9 months ago
Owner

Control panel interface.

Make a distinct page with stats/cmd buttons.

Agent

Agent controls

  • edit agent info
  • delete agent

Assigned job list controls

  • start - continue paused job
  • stop - stop current job iteration
  • pause - stop current job iteration and don't schedule it anymore
  • result - show job result (active only if finished)

Make a JobType::Service with params

Stats

  • agent id
  • running jobs
  • scheduled jobs
  • cached jobs
  • cached payloads

Job

Show number of agents where job is running.

Controls

  • add - add job
  • edit - edit job (with choosing a payload)
  • delete - delete a job (can't delete if running on some agents)
  • assign - assign job to an agent
  • clone - clone a job

Payload

  • add - add payload
  • edit - edit payload (can't edit non-text payloads, only upload new instead)
  • delete - delete payload (can't delete if used in any payloads)
  • clone - clone a job

Make results appendable/replacable for stat job

status: Finished, last_update is updated, new result is appended/replaced (checkbox?). Create column in db.

# Control panel interface. Make a distinct page with stats/cmd buttons. ## Agent ### Agent controls - edit agent info - delete agent ### Assigned job list controls - `start` - continue paused job - `stop` - stop current job iteration - `pause` - stop current job iteration and don't schedule it anymore - `result` - show job result (active only if finished) Make a `JobType::Service` with params ### Stats - agent id - running jobs - scheduled jobs - cached jobs - cached payloads ## Job Show number of agents where job is running. ### Controls - `add` - add job - `edit` - edit job (with choosing a payload) - `delete` - delete a job (can't delete if running on some agents) - `assign` - assign job to an agent - `clone` - clone a job ## Payload - `add` - add payload - `edit` - edit payload (can't edit non-text payloads, only upload new instead) - `delete` - delete payload (can't delete if used in any payloads) - `clone` - clone a job # Make results appendable/replacable for stat job status: Finished, last_update is updated, new result is appended/replaced (checkbox?). Create column in db.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: root/unki#13
Loading…
There is no content yet.