chore: Add local mock portal for Gateway routing
* AX Portal이 배포되지 않은 상태에서 Gateway가 툴 엔드포인트를 찾지 못하는 문제를 해결하기 위해, Nginx 기반의 정적 가짜 포털(portal-mock)을 도입했습니다. * deploy/docker-compose.yml 에는 MCP_PORTAL_REGISTRY_URL을 portal-mock으로 바라보게 설정하였으며, deploy/portal-registry.json 에 하드코딩된 CUS, SAL, PRO, SYS 경로를 제공합니다. * 향후 실제 AX Portal이 구성되면 docker-compose.yml의 주소를 실제 운영 포털로 변경해야 합니다.
This commit is contained in:
28
deploy/portal-registry.json
Normal file
28
deploy/portal-registry.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"routeKey": "cus",
|
||||
"toolServices": [
|
||||
{ "status": "ACTIVE", "serviceDomain": "http://was-cus:8084" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"routeKey": "sal",
|
||||
"toolServices": [
|
||||
{ "status": "ACTIVE", "serviceDomain": "http://was-sal:8082" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"routeKey": "pro",
|
||||
"toolServices": [
|
||||
{ "status": "ACTIVE", "serviceDomain": "http://was-pro:8085" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"routeKey": "sys",
|
||||
"toolServices": [
|
||||
{ "status": "ACTIVE", "serviceDomain": "http://was-sys:8086" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user