Skip to content
Snippets Groups Projects

CE-3036: Corrected impossible host status

Merged CE-3036: Corrected impossible host status
1 unresolved thread
Merged Johanna Szepanski requested to merge CE-3036-correct-impossible-host-status into develop
1 unresolved thread

To fix impossible disabled state for Hosts we needed to define possible states for hosts.

After discussions, see CE-3036 and checking with @domonkosgulyas this is what we landed in:

  • Active (status = AVAILABLE)
  • Active with alert (status = AVAILABLE && has warnings or errors)
  • Inactive (status = UNREACHABLE && only has info alert like "no IOCs have been deployed")
  • Inactive with alert (UNREACHABLE &&  has warnings or errors) which is impossible

To comply with already implemented design for statuses and alerts these are the different scenarios:

  • active (available)
  • alert (available with severity error)
  • warning (available with severity warning)
  • inactive (unreachable)
  • inactiveAlert (unreachable with severity error)
  • inactiveWarning (unreachable with severity warning)

Follow up:

  • write tests for different status scenarios, would be good for documental reasons

image.png

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • 49 46 title: "Alert",
  • added 1 commit

    • f2a41399 - removed all occurances of assigned and updated tooltip titles

    Compare with previous version

  • added 1 commit

    • 4cb9cd69 - removed all occurances of assigned and updated tooltip titles

    Compare with previous version

  • added 1 commit

    • cb0e20ac - added plural s to popover texts

    Compare with previous version

  • Visual :thumbsup: code :thumbsup:

  • Sky Brewer approved this merge request

    approved this merge request

  • mentioned in commit 6635c061

  • Please register or sign in to reply
    Loading