refactor: Rename all ACI references to JIRA
- Database: jira_fixer - URLs: jira-fixer.startdata.com.br - Repository: jira-ai-fixer - All code references updated
This commit is contained in:
parent
3b6b0a657d
commit
f2342a4a2c
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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."}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue