diff --git a/.env.example b/.env.example index 1d4f5a8..a2ee60d 100644 --- a/.env.example +++ b/.env.example @@ -20,9 +20,9 @@ OPENROUTER_MODEL=meta-llama/llama-3.3-70b-instruct:free LLM_PROVIDER=openrouter # Database -DATABASE_URL=postgresql://aci:aci@localhost:5432/aci_fixer +DATABASE_URL=postgresql://jira:jira@localhost:5432/jira_fixer # For development with SQLite: -# DATABASE_URL=sqlite:///./aci_fixer.db +# DATABASE_URL=sqlite:///./jira_fixer.db # Redis REDIS_URL=redis://localhost:6379 diff --git a/README.md b/README.md index 539832e..5d52f2d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ JIRA (webhook) → Event Processor → Code Intelligence → Fix Generator → O ## Project Structure ``` -aci-ai-fixer/ +jira-ai-fixer/ ├── api/ # FastAPI backend │ ├── main.py │ ├── routers/ @@ -53,8 +53,8 @@ aci-ai-fixer/ ```bash # Clone -git clone https://gitea.startdata.com.br/startdata/aci-ai-fixer.git -cd aci-ai-fixer +git clone https://gitea.startdata.com.br/startdata/jira-ai-fixer.git +cd jira-ai-fixer # Configure cp .env.example .env diff --git a/api/services/jira.py b/api/services/jira.py index 95a2d6e..9ac6592 100644 --- a/api/services/jira.py +++ b/api/services/jira.py @@ -105,6 +105,6 @@ h3. 📊 Confiança: {confidence:.0%} if pr_url: comment += f"\nh3. 🔗 Pull Request\n[Ver PR|{pr_url}]" - comment += "\n\n_Gerado automaticamente por ACI AI Fixer_" + comment += "\n\n_Gerado automaticamente por JIRA AI Fixer_" return comment diff --git a/api/services/llm.py b/api/services/llm.py index 3cb0875..fce2c88 100644 --- a/api/services/llm.py +++ b/api/services/llm.py @@ -73,7 +73,7 @@ class LLMService: ) -> str: """Build the analysis prompt.""" - prompt = f"""Você é um especialista em sistemas de pagamento mainframe, especificamente nos produtos ACI Acquirer (ACQ-MF) e Interchange (ICG-MF). + prompt = f"""Você é um especialista em sistemas de pagamento mainframe, especificamente nos produtos JIRA Acquirer (ACQ-MF) e Interchange (ICG-MF). ## Contexto do Sistema {business_rules or "Nenhuma regra de negócio específica fornecida."} diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index b348710..ac022cf 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -13,17 +13,17 @@ services: deploy: labels: - traefik.enable=true - - traefik.http.routers.aci-fixer.rule=Host(`aci-fixer.startdata.com.br`) - - traefik.http.routers.aci-fixer.entrypoints=websecure - - traefik.http.routers.aci-fixer.tls.certresolver=le - - traefik.http.services.aci-fixer.loadbalancer.server.port=8000 + - traefik.http.routers.jira-fixer.rule=Host(`jira-fixer.startdata.com.br`) + - traefik.http.routers.jira-fixer.entrypoints=websecure + - traefik.http.routers.jira-fixer.tls.certresolver=le + - traefik.http.services.jira-fixer.loadbalancer.server.port=8000 postgres: image: postgres:15-alpine environment: - POSTGRES_USER=aci - POSTGRES_PASSWORD=aci_secret_2026 - - POSTGRES_DB=aci_fixer + - POSTGRES_DB=jira_fixer volumes: - postgres_data:/var/lib/postgresql/data networks: diff --git a/docker-compose.yml b/docker-compose.yml index af9700b..6d429c3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: ports: - "8000:8000" environment: - - DATABASE_URL=postgresql://aci:aci@postgres:5432/aci_fixer + - DATABASE_URL=postgresql://aci:aci@postgres:5432/jira_fixer - REDIS_URL=redis://redis:6379 - QDRANT_URL=http://qdrant:6333 env_file: @@ -37,7 +37,7 @@ services: environment: - POSTGRES_USER=aci - POSTGRES_PASSWORD=aci - - POSTGRES_DB=aci_fixer + - POSTGRES_DB=jira_fixer volumes: - postgres_data:/var/lib/postgresql/data ports: