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