# By: Riasat Ullah
# This file contains all constants and functions related to the Site24x7 integration.

from utils import constants


# Instana variables
var_id = 'id'
var_issue = 'issue'
var_severity = 'severity'
var_state = 'state'
var_suggestion = 'suggestion'
var_text = 'text'
var_type = 'type'

# Instana state values
status_closed = 'CLOSED'
status_open = 'OPEN'

# Instana alert types
issue_alert = 'issue'
incident_alert = 'incident'

# Instana severity mapped to TaskCall
severity_mapping = {
    1: constants.minor_urgency,
    2: constants.low_urgency,
    3: constants.medium_urgency,
    4: constants.high_urgency,
    5: constants.critical_urgency
}
