#
# Easter-eggs admins tools configuration
#
# Note: this configuration file could be override in your ~/.config/eeadmtools.
#

# Our apps URL
RT_URL="https://rt.easter-eggs.fr"
ICINGA_URL="https://supervision.easter-eggs.fr/icingaweb2"
WIKI_URL="https://www.easter-eggs.fr"
MEET_URL="https://meet.easter-eggs.com"
EEMYLE_URL="https://eemyle.easter-eggs.fr"
LDAPSAISIE_URL="https://ldapsaisie.easter-eggs.fr"
CLICK2DIAL_URL="$LDAPSAISIE_URL/addon/ee/click2dial"
EEADMIN_URL="https://eeadmin.easter-eggs.fr"
EEGO_URL="https://eego.easter-eggs.fr"
EXTRANET_URL="https://extranet.easter-eggs.com"

# Browser/tool bin path to open an URL in a web browser
OPEN_URL_BIN=xdg-open

# Mapping of customer EeID to tsh proxy host
# shellcheck disable=SC2034
declare -A TSH_EEID_TO_PROXY_HOST=(
    [coo]=teleport.cle.cnrs.fr  # codespell-ignore
)

# Username to use with tsh (optional, default: $USER)
# TSH_USERNAME=

# RT Authentication token (Auth Token) generated from the RT v2 web interface.
RT_TOKEN=

# Timeout in seconds for network requests to the RT API.
# If not specified, the script applies a default value of 30 seconds.
# Optional
RT_TIMEOUT=30


#
# rt-tickets tool configuration
#

# Default number of tickets retrieved and displayed per pagination page.
# Equivalent to the -n / --nb-by-pages option.
# Optional (Default value: 25)
RT_DEFAULT_PER_PAGE=25

# Default time window (in days) based on the last updated date.
# The script will only fetch tickets modified within this interval.
# Equivalent to the -t / --time option.
# Optional (Default value: 1825, i.e., approximately 5 years)
RT_DEFAULT_TIME_DAYS=1825
