API등록시 HTTP Inbound Adapter 허용. 화면 문구 수정
This commit is contained in:
@@ -313,9 +313,9 @@
|
|||||||
return name + '=' + value;
|
return name + '=' + value;
|
||||||
}).join(';');
|
}).join(';');
|
||||||
if(headerValues.length > 0){
|
if(headerValues.length > 0){
|
||||||
$("#headerRoutingButton").text('Headers ['+label+']');
|
$("#headerRoutingButton").text('MessageKey ['+label+']');
|
||||||
}else{
|
}else{
|
||||||
$("#headerRoutingButton").text('HTTP 헤더 라우팅 정보 없음');
|
$("#headerRoutingButton").text('MessageKey 라우팅 정보 없음');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -382,7 +382,7 @@
|
|||||||
'<label class="form-label">' + headerName + '</label>' +
|
'<label class="form-label">' + headerName + '</label>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<div class="col">' +
|
'<div class="col">' +
|
||||||
'<input type="text" class="form-control mb-2" name="headerValue" placeholder="헤더 값">' +
|
'<input type="text" class="form-control mb-2" name="headerValue" placeholder="MessageKey 값">' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
$('#headerPairs').append(newPairHtml);
|
$('#headerPairs').append(newPairHtml);
|
||||||
@@ -1632,7 +1632,7 @@
|
|||||||
<div class="carousel-item">
|
<div class="carousel-item">
|
||||||
<label>
|
<label>
|
||||||
<span class="material-icons justify-content-md-start">http</span>
|
<span class="material-icons justify-content-md-start">http</span>
|
||||||
수신 헤더 라우팅 정보
|
수신 라우팅 정보
|
||||||
</label>
|
</label>
|
||||||
<div class="d-grid gap-2">
|
<div class="d-grid gap-2">
|
||||||
<button type="button" id="headerRoutingButton" class="btn btn-primary"
|
<button type="button" id="headerRoutingButton" class="btn btn-primary"
|
||||||
@@ -1926,7 +1926,7 @@
|
|||||||
<div class="modal-dialog" role="document">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h5 class="modal-title" id="routingModalLabel">헤더 기반 라우팅 수정</h5>
|
<h5 class="modal-title" id="routingModalLabel">MessageKey 기반 라우팅 수정</h5>
|
||||||
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -617,9 +617,9 @@ public class ApiInterfaceService extends OnlBaseService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HTTP 어댑터도 등록 가능하도록 수정.
|
||||||
if (!"RST".equals(adapterGroup.getAdptrcd())) {
|
if (!"RST".equals(adapterGroup.getAdptrcd())&&!"HTT".equals(adapterGroup.getAdptrcd())) {
|
||||||
throw new RuntimeException("인바운드 어댑터가 타입이 REST가 아닙니다. 타입을 확인하세요");
|
throw new RuntimeException("인바운드 어댑터가 타입이 REST/HTTP가 아닙니다. 타입을 확인하세요");
|
||||||
}
|
}
|
||||||
|
|
||||||
StandardMessageInfo standardMessageInfo = apiInterfaceUIMapper.toStandardMessageInfo(vo);
|
StandardMessageInfo standardMessageInfo = apiInterfaceUIMapper.toStandardMessageInfo(vo);
|
||||||
|
|||||||
Reference in New Issue
Block a user