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
|
LLM_PROVIDER=openrouter
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
DATABASE_URL=postgresql://aci:aci@localhost:5432/aci_fixer
|
DATABASE_URL=postgresql://jira:jira@localhost:5432/jira_fixer
|
||||||
# For development with SQLite:
|
# For development with SQLite:
|
||||||
# DATABASE_URL=sqlite:///./aci_fixer.db
|
# DATABASE_URL=sqlite:///./jira_fixer.db
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
REDIS_URL=redis://localhost:6379
|
REDIS_URL=redis://localhost:6379
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ JIRA (webhook) → Event Processor → Code Intelligence → Fix Generator → O
|
||||||
## Project Structure
|
## Project Structure
|
||||||
|
|
||||||
```
|
```
|
||||||
aci-ai-fixer/
|
jira-ai-fixer/
|
||||||
├── api/ # FastAPI backend
|
├── api/ # FastAPI backend
|
||||||
│ ├── main.py
|
│ ├── main.py
|
||||||
│ ├── routers/
|
│ ├── routers/
|
||||||
|
|
@ -53,8 +53,8 @@ aci-ai-fixer/
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone
|
# Clone
|
||||||
git clone https://gitea.startdata.com.br/startdata/aci-ai-fixer.git
|
git clone https://gitea.startdata.com.br/startdata/jira-ai-fixer.git
|
||||||
cd aci-ai-fixer
|
cd jira-ai-fixer
|
||||||
|
|
||||||
# Configure
|
# Configure
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,6 @@ h3. 📊 Confiança: {confidence:.0%}
|
||||||
if pr_url:
|
if pr_url:
|
||||||
comment += f"\nh3. 🔗 Pull Request\n[Ver PR|{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
|
return comment
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ class LLMService:
|
||||||
) -> str:
|
) -> str:
|
||||||
"""Build the analysis prompt."""
|
"""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
|
## Contexto do Sistema
|
||||||
{business_rules or "Nenhuma regra de negócio específica fornecida."}
|
{business_rules or "Nenhuma regra de negócio específica fornecida."}
|
||||||
|
|
|
||||||
|
|
@ -13,17 +13,17 @@ services:
|
||||||
deploy:
|
deploy:
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.aci-fixer.rule=Host(`aci-fixer.startdata.com.br`)
|
- traefik.http.routers.jira-fixer.rule=Host(`jira-fixer.startdata.com.br`)
|
||||||
- traefik.http.routers.aci-fixer.entrypoints=websecure
|
- traefik.http.routers.jira-fixer.entrypoints=websecure
|
||||||
- traefik.http.routers.aci-fixer.tls.certresolver=le
|
- traefik.http.routers.jira-fixer.tls.certresolver=le
|
||||||
- traefik.http.services.aci-fixer.loadbalancer.server.port=8000
|
- traefik.http.services.jira-fixer.loadbalancer.server.port=8000
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=aci
|
- POSTGRES_USER=aci
|
||||||
- POSTGRES_PASSWORD=aci_secret_2026
|
- POSTGRES_PASSWORD=aci_secret_2026
|
||||||
- POSTGRES_DB=aci_fixer
|
- POSTGRES_DB=jira_fixer
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgresql://aci:aci@postgres:5432/aci_fixer
|
- DATABASE_URL=postgresql://aci:aci@postgres:5432/jira_fixer
|
||||||
- REDIS_URL=redis://redis:6379
|
- REDIS_URL=redis://redis:6379
|
||||||
- QDRANT_URL=http://qdrant:6333
|
- QDRANT_URL=http://qdrant:6333
|
||||||
env_file:
|
env_file:
|
||||||
|
|
@ -37,7 +37,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=aci
|
- POSTGRES_USER=aci
|
||||||
- POSTGRES_PASSWORD=aci
|
- POSTGRES_PASSWORD=aci
|
||||||
- POSTGRES_DB=aci_fixer
|
- POSTGRES_DB=jira_fixer
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue