diff --git a/projects/ops-desk/api/app/infra_stack_routes.py b/projects/ops-desk/api/app/infra_stack_routes.py index c177fab..ca3a68e 100644 --- a/projects/ops-desk/api/app/infra_stack_routes.py +++ b/projects/ops-desk/api/app/infra_stack_routes.py @@ -1,4 +1,4 @@ -"""Rotas INFRA COD — stack completo VMs 112/114/122/123/130.""" +"""Rotas INFRA CODE — stack completo VMs 112/114/122/123/130.""" from __future__ import annotations diff --git a/projects/ops-desk/api/app/modules/registry.py b/projects/ops-desk/api/app/modules/registry.py index 59311c8..e49d1e8 100644 --- a/projects/ops-desk/api/app/modules/registry.py +++ b/projects/ops-desk/api/app/modules/registry.py @@ -37,8 +37,8 @@ MODULES: tuple[ModuleDef, ...] = ( ), ModuleDef( id="infra", - label="INFRA COD", - description="Stack completo VMs 112/114/122/123/130 — apps, APIs e integrações (Spec 033).", + label="INFRA CODE", + description="Infrastructure as Code — stack VMs 112/114/122/123/130 (Spec 033).", nav_views=("infra",), ), ModuleDef( diff --git a/projects/ops-desk/api/app/stack_health.py b/projects/ops-desk/api/app/stack_health.py index 4fcb1bd..198ce7e 100644 --- a/projects/ops-desk/api/app/stack_health.py +++ b/projects/ops-desk/api/app/stack_health.py @@ -1,4 +1,4 @@ -"""Stack health probes — VMs 112, 114, 122, 123, 130 (Spec 033 / INFRA COD).""" +"""Stack health probes — VMs 112, 114, 122, 123, 130 (Spec 033 / INFRA CODE).""" from __future__ import annotations @@ -9,7 +9,8 @@ from typing import Any, Callable import httpx -VM112_API = os.getenv("VM112_API_URL", "http://10.10.10.112:8090").rstrip("/") +VM112_IP = os.getenv("VM112_IP", "10.10.10.112") +VM112_API = os.getenv("VM112_API_URL", f"http://{VM112_IP}:8090").rstrip("/") DESK_PUBLIC = os.getenv("DESK_PUBLIC_URL", "https://desk.ligbox.com.br").rstrip("/") API_PUBLIC = os.getenv("API_PUBLIC_URL", "https://api.ops.ligbox.com.br").rstrip("/") VM114_IP = os.getenv("VM114_IP", "10.10.10.114") diff --git a/projects/ops-desk/frontend/assets/app.js b/projects/ops-desk/frontend/assets/app.js index 94d8cb7..3f4fb09 100644 --- a/projects/ops-desk/frontend/assets/app.js +++ b/projects/ops-desk/frontend/assets/app.js @@ -208,7 +208,7 @@ function setView(name) { tickets: 'Tickets', events: 'Eventos webhook', tenants: 'Tenants', - infra: 'INFRA COD', + infra: 'INFRA CODE', infra2: 'SOC — Infra 2', messages: 'Mensagens — pedidos de cadastro', admin: 'Administradores', @@ -223,7 +223,7 @@ function setView(name) { tickets: 'Operações Ligbox — onboarding, tickets e monitoramento', events: 'Operações Ligbox — onboarding, tickets e monitoramento', tenants: 'Operações Ligbox — onboarding, tickets e monitoramento', - infra: 'Serviços IaaS · Infra as Code — stack VMs 112, 114, 122, 123, 130', + infra: 'Infrastructure as Code — stack VMs 112, 114, 122, 123, 130', infra2: 'Centro de operações — monitoramento visual VM112 → VM122 em tempo quase real', messages: 'Operações Ligbox — onboarding, tickets e monitoramento', admin: 'Operações Ligbox — onboarding, tickets e monitoramento', diff --git a/projects/ops-desk/frontend/index.html b/projects/ops-desk/frontend/index.html index abf207f..43ed770 100644 --- a/projects/ops-desk/frontend/index.html +++ b/projects/ops-desk/frontend/index.html @@ -218,7 +218,7 @@