Files
houston-be/config/application.properties
Vijay Joshi 15c25eeae3 INFRA-2887 : auto archive refactor (#410)
* INFRA-2887 : Refactor auto escalate

* INFRA-2887 : Old cron cleanup and waitgroup refactor

* INFRA-2887 : Remove redundant nil check

* INFRA-3101 : aDD UT'S AND RETRYABLE LOGIC

* INFRA-2887 : review comments
2024-03-28 15:09:44 +05:30

100 lines
3.9 KiB
Properties

env=ENV
port=PORT
metrics.port=METRICS_PORT
#houston token config
houston.slack.app.token=HOUSTON_SLACK_APP_TOKEN
houston.slack.bot.token=HOUSTON_SLACK_BOT_TOKEN
#Postgres config
postgres.connection.max.idle.time=POSTGRES_CONNECTION_MAX_IDLE_TIME
postgres.connection.max.lifetime=POSTGRES_CONNECTION_MAX_LIFETIME
postgres.connections.max.idle=POSTGRES_CONNECTION_MAX_IDLE
postgres.connections.max.open=POSTGRES_CONNECTION_MAX_OPEN
postgres.dsn=POSTGRES_DSN
#cron job config
cron.job.update.incident.interval=CRON_JOB_UPDATE_INCIDENT_INTERVAL
cron.job.lock.default.time.in.sec=CRON_JOB_LOCK_DEFAULT_TIME_IN_SEC
cron.job.lock.ticker.time.in.sec=CRON_JOB_LOCK_TICKER_TIME_IN_SEC
cron.job.name=CRON_JOB_NAME
cron.job.team_metric=CRON_JOB_TEAM_METRIC
cron.job.team_metric_interval=CRON_JOB_TEAM_METRIC_INTERVAL
cron.job.team_metric_update_channel=CRON_JOB_TEAM_METRIC_UPDATE_CHANNEL
cron.job.upsert_user=CRON_JOB_UPSERT_USER
cron.job.upsert_user_interval=CRON_JOB_UPSERT_USER_INTERVAL
cron.job.sla_breach=CRON_JOB_SLA_BREACH
cron.job.sla_breach_interval=CRON_JOB_SLA_BREACH_INTERVAL
cron.job.archive_incident_channels=CRON_JOB_ARCHIVE_INCIDENT_CHANNELS
cron.job.archive_incident_channels_interval=CRON_JOB_ARCHIVE_INCIDENT_CHANNELS_INTERVAL
cron.job.archival_time_in_hour=CRON_JOB_ARCHIVAL_TIME_IN_HOUR
cron.job.archival_interval_in_hour=CRON_JOB_ARCHIVAL_INTERVAL_IN_HOUR
# incident reminder Slack DMs cron
cron.job.incident_reminder=CRON_JOB_INCIDENT_REMINDER
cron.job.incident_reminder_interval=CRON_JOB_INCIDENT_REMINDER_INTERVAL
#incidents
incidents.show.limit=INCIDENTS_SHOW_LIMIT
# Prometheus Config
prometheus.app.name=PROMETHEUS_APP_NAME
prometheus.host=PROMETHEUS_HOST
prometheus.port=PROMETHEUS_PORT
prometheus.enabled=PROMETHEUS_ENABLED
prometheus.timeout=PROMETHEUS_TIMEOUT
prometheus.flush.interval.in.ms=PROMETHEUS_FLUSH_INTERVAL_IN_MS
prometheus.histogram.buckets=PROMETHEUS_HISTOGRAM_BUCKETS
#http
http.max.idle.connection.pool=HTTP_MAX_IDLE_CONNECTION_POOL
http.max.connection=HTTP_MAX_CONNECTION
http.max.timeout.seconds=HTTP_MAX_TIMEOUT_SECONDS
whitelisted.domains=WHITELISTED_DOMAINS
allowed.custom.headers=ALLOWED_CUSTOM_HEADERS
auth.enabled=AUTH_ENABLED
#client
mjolnir.service.url=MJOLNIR_SERVICE_URL
mjolnir.realm.id=MJOLNIR_REALM_ID
#s3
s3.bucket.name=S3_BUCKET_NAME
s3.access.key=S3_ACCESS_KEY
s3.secret.key=S3_SECRET_KEY
#conference
conference.enable=ENABLE_CONFERENCE
conference.type=CONFERENCE_TYPE
google.auth.key.content=GOOGLE_AUTH_KEY_CONTENT
google.auth.email=GOOGLE_AUTH_EMAIL
google.api.timeout=GOOGLE_API_TIMEOUT
#gocd
gocd.sa.baseurl=GOCD_SA_BASEURL
gocd.sa.jsessionid=GOCD_SA_JSESSIONID
gocd.sa.bearer.token=GOCD_SA_BEARER_TOKEN
#grafana
grafana.token=GRAFANA_TOKEN
#config keys
config.sa.keys=CONFIG_SA_KEYS
create-incident.description.max-length=500
create-incident.title.max-length=100
create-incident-v2-enabled=CREATE_INCIDENT_V2_ENABLED
get-teams.v2.enabled=GET_TEAMS_V2_ENABLED
#slack details
slack.workspace.id=SLACK_WORKSPACE_ID
navi.jira.base.url=https://navihq.atlassian.net/browse/
houston.channel.help.message=/houston: General command to open the other options| /houston severity: Opens the view to update severity of the incident| /houston set severity to <severities_label>: Sets the incident severity| /houston team: Opens the view to update team| /houston status: Opens the view to set status| /houston set status to <Investigating/Identified/Monitoring/Resolved>: Sets the incident status| /houston description: Opens the view to set incident description| /houston set description to <incident description>: Sets the incident description| /houston resolve: Opens the view to fill RCA and resolve| /houston rca: Opens the view to fill RCA
non.houston.channel.help.message=/houston: General command to open the other options| /houston start: Opens the view to start a new incident
jira.base.url=JIRA_BASE_URL
jira.username=JIRA_USERNAME
jira.api.token=JIRA_API_TOKEN
jira.link.max.length=JIRA_LINK_MAX_LENGTH
archival.batch.interval.in.seconds=70