Introduces integration-based webhook registration, message parsing, dry-run monitoring, JSM ticket creation, and OAuth token refresh for DC Ops spaces. Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
1.2 KiB
Text
40 lines
1.2 KiB
Text
# Server
|
|
PORT=1345
|
|
SERVER_NAME=aeoApprovals
|
|
LOG_LEVEL=info
|
|
|
|
# Jira Cloud — service account (same pattern as wxccai)
|
|
# Preferred: set JIRA_CLOUD_ID to use the api.atlassian.com gateway.
|
|
JIRA_CLOUD_ID=
|
|
JIRA_BASE_URL=https://aeo.atlassian.net
|
|
JIRA_AUTH_TYPE=basic
|
|
JIRA_EMAIL=your-bot@serviceaccount.atlassian.com
|
|
JIRA_API_TOKEN=
|
|
|
|
# Webex bots
|
|
WEBEX_TOKEN=
|
|
JIRA_NOTIFIER_TOKEN=
|
|
|
|
# Webex rooms
|
|
WEBEX_ROOM_ID=
|
|
APPROVAL_ROOM_ID=
|
|
SUPPORT_ROOM_ID=
|
|
|
|
# Webex inbound webhooks (POST /webex/messages only — Jira webhooks remain unsigned)
|
|
WEBEX_INBOUND_ENABLED=false
|
|
WEBEX_INBOUND_DRY_RUN=true
|
|
WEBEX_WEBHOOK_SECRET=
|
|
WEBEX_WEBHOOK_TARGET_URL=https://bot.joesjavajoint.com/jiracloud/webex/messages
|
|
|
|
# Webex OAuth Integration (for room message visibility + webhook registration)
|
|
WEBEX_INTEGRATION_CLIENT_ID=
|
|
WEBEX_INTEGRATION_CLIENT_SECRET=
|
|
WEBEX_INTEGRATION_REDIRECT_URI=https://bot.joesjavajoint.com/jiracloud/webex/oauth/callback
|
|
WEBEX_INTEGRATION_SCOPES=spark:messages_read spark:webhooks_read spark:webhooks_write
|
|
# WEBEX_OAUTH_TOKEN_FILE=./config/webex-oauth.json
|
|
|
|
# Optional: skip messages from the bot itself (loop prevention)
|
|
WEBEX_BOT_PERSON_ID=
|
|
|
|
# Only set if you have a specific TLS/certificate issue to work around
|
|
# NODE_TLS_REJECT_UNAUTHORIZED=0
|