v1.1.0: per-stand services list from Terraform — services_dev.txt + services_test.txt

This commit is contained in:
2026-07-28 11:15:19 +04:00
parent 5a20962015
commit 0b810fdee1
6 changed files with 149 additions and 2 deletions
+3
View File
@@ -14,6 +14,7 @@ from api.http_client import HttpClient, detect_endpoint, create_client, stand_na
from api.auth import get_token, get_client_id, get_token_info, get_token_masked
from operations.get_instances import get_organization, get_instances
from operations.get_services import get_services, get_service_detail
from operations.service_list import load_service_ids
from operations.tracker import list_all as tracker_list
from runner import load_config
@@ -135,6 +136,8 @@ def index():
# Конфиг из config.yaml + версия приложения
config = dict(load_config() or {})
config["VERSION"] = current_app.config["VERSION"]
# Список разрешённых сервисов из services_{stand}.txt
config["service_ids"] = sorted(load_service_ids(stand))
except Exception as e:
error = str(e)
else: