forked from kimhyungsik/ax_hub_mcp_tool
Remove mci-mock configuration and directory
This commit is contained in:
@@ -167,7 +167,7 @@ dap-was-oth/src/main/resources/tool-schemas/cmm/
|
||||
```powershell
|
||||
# 선택: Redis와 WireMock 기반 MCI mock 기동
|
||||
$env:ACTIVE_PROFILE = 'local'
|
||||
docker compose up -d redis mci-mock
|
||||
docker compose up -d redis
|
||||
|
||||
# OTH Tool Pod 실행
|
||||
$env:SPRING_PROFILES_ACTIVE = 'local'
|
||||
@@ -218,7 +218,6 @@ http://localhost:8084/tool-test-console.html
|
||||
| 서비스 | 컨테이너 포트 | 호스트 포트 |
|
||||
|---|---:|---:|
|
||||
| `redis` | 6379 | 6379 |
|
||||
| `mci-mock` (WireMock) | 8080 | 8089 |
|
||||
| `was-sms` | 8082 | 8282 |
|
||||
| `was-oth` | 8084 | 8284 |
|
||||
|
||||
|
||||
@@ -12,12 +12,6 @@ services:
|
||||
retries: 5
|
||||
|
||||
|
||||
mci-mock:
|
||||
image: wiremock/wiremock:latest
|
||||
ports:
|
||||
- "8089:8080"
|
||||
volumes:
|
||||
- ./mci-mock:/home/wiremock
|
||||
|
||||
was-sms:
|
||||
build:
|
||||
@@ -34,12 +28,8 @@ services:
|
||||
- SPRING_DATA_REDIS_PORT=6379
|
||||
- AXHUB_SOURCE_DIR=/src
|
||||
- AXHUB_TOOL_URL=http://was-sms:8082
|
||||
- GLOW_COMMUNICATION_MCI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_MCI_PORT=8080
|
||||
- GLOW_COMMUNICATION_EXTMCI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
|
||||
- GLOW_COMMUNICATION_EAI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_EAI_PORT=8080
|
||||
|
||||
|
||||
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local}
|
||||
|
||||
was-oth:
|
||||
@@ -56,10 +46,6 @@ services:
|
||||
- SPRING_REDIS_PORT=6379
|
||||
- SPRING_DATA_REDIS_PORT=6379
|
||||
- AXHUB_TOOL_URL=http://was-oth:8084
|
||||
- GLOW_COMMUNICATION_MCI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_MCI_PORT=8080
|
||||
- GLOW_COMMUNICATION_EXTMCI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_EXTMCI_PORT=8080
|
||||
- GLOW_COMMUNICATION_EAI_HOMT=http://mci-mock
|
||||
- GLOW_COMMUNICATION_EAI_PORT=8080
|
||||
|
||||
|
||||
- SPRING_PROFILES_ACTIVE=${ACTIVE_PROFILE:-local}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"urlPath": "/extmci"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Content-Type": "application/json;charset=UTF-8"
|
||||
},
|
||||
"jsonBody": {
|
||||
"resCode": "0000",
|
||||
"resMsg": "정상 처리되었습니다.",
|
||||
"data": {
|
||||
"status": "SUCCESS",
|
||||
"mock": true,
|
||||
"detail": "가짜 응답 서버(extmci)에서 내려주는 샘플 데이터입니다."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"urlPath": "/mciSend"
|
||||
},
|
||||
"response": {
|
||||
"status": 200,
|
||||
"headers": {
|
||||
"Content-Type": "application/json;charset=UTF-8"
|
||||
},
|
||||
"jsonBody": {
|
||||
"resCode": "0000",
|
||||
"resMsg": "정상 처리되었습니다.",
|
||||
"data": {
|
||||
"status": "SUCCESS",
|
||||
"mock": true,
|
||||
"detail": "가짜 응답 서버에서 내려주는 샘플 데이터입니다."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user