Move all Jira-specific code into a self-contained connector module: - 22 files moved via git mv (transform, service, webhook, scripts, systemd units, tests, docs, bin helper) - All imports updated to use connectors.jira.* paths - Jira is now conditional: auto-detected via JIRA_DOMAIN env var - Webapp registers Jira blueprint only when available - Health service monitors Jira timers only when enabled - Profiler loads Jira tables dynamically from filesystem - Sync settings uses config-driven dependency validation - Renamed keboola_platform_url -> custom_url in transform - Updated deploy.sh, sudoers-deploy, backfill_gap.sh paths - Fixed pytest.ini to skip live tests by default
22 lines
688 B
Desktop File
22 lines
688 B
Desktop File
[Unit]
|
|
Description=Jira Data Consistency Check
|
|
After=network-online.target webapp.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
Group=data-ops
|
|
WorkingDirectory=/opt/data-analyst/repo
|
|
ExecStart=/opt/data-analyst/.venv/bin/python -m connectors.jira.scripts.consistency_check --auto-fix --max-age-days 30
|
|
EnvironmentFile=/opt/data-analyst/.env
|
|
EnvironmentFile=/opt/data-analyst/repo/.env
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/data/src_data /opt/data-analyst/logs
|
|
PrivateTmp=true
|
|
TimeoutStartSec=600
|
|
StandardOutput=append:/opt/data-analyst/logs/jira-consistency.log
|
|
StandardError=append:/opt/data-analyst/logs/jira-consistency.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|