Async-Sync 타입 인터페이스 timeout 설정안되는 bugfix

This commit is contained in:
cho
2026-01-27 10:52:51 +09:00
parent 8c575f3d60
commit d9c4764224
3 changed files with 11 additions and 5 deletions
@@ -1601,10 +1601,14 @@
<label for="toutVal"><span class="material-icons-outlined">timer</span> 타임아웃 값</label> <label for="toutVal"><span class="material-icons-outlined">timer</span> 타임아웃 값</label>
<input type="number" class="form-control" id="toutVal" name="toutVal" required></input> <input type="number" class="form-control" id="toutVal" name="toutVal" required></input>
</div> </div>
<div id="contentTypePart" class="form-group col-md-8"> <div class="form-group col-md-2" x-show="showInboundResponse">
<label for="contentType"><span class="material-icons-outlined">movie</span> Content-Type (기본값:application/json)</label> <label for="toutVal"><span class="material-icons-outlined">timer</span> 타임아웃 값2</label>
<input type="text" class="form-control" id="contentType" name="restContentType"></input> <input type="number" class="form-control" id="toutVal2" name="toutVal2" required :disabled="!showInboundResponse"></input>
</div> </div>
<div id="contentTypePart" class="form-group col-md-6">
<label for="contentType"><span class="material-icons-outlined">movie</span> Content-Type (기본값:application/json)</label>
<input type="text" class="form-control" id="contentType" name="restContentType"></input>
</div>
</div> </div>
</fieldset> </fieldset>
</div> </div>
@@ -213,6 +213,7 @@ public class ApiInterfaceService extends OnlBaseService {
if("asyncSync".equals(apiInterfaceUI.getSyncAsyncType()) && serviceMessageEntityList != null && serviceMessageEntityList.size() > 1){ if("asyncSync".equals(apiInterfaceUI.getSyncAsyncType()) && serviceMessageEntityList != null && serviceMessageEntityList.size() > 1){
ServiceMessageEntity extraServiceMessageEntity = serviceMessageEntityList.get(1); ServiceMessageEntity extraServiceMessageEntity = serviceMessageEntityList.get(1);
apiInterfaceUI.setFromResponseAdapter(extraServiceMessageEntity.getPsvsysadptrbzwkgroupname()); apiInterfaceUI.setFromResponseAdapter(extraServiceMessageEntity.getPsvsysadptrbzwkgroupname());
apiInterfaceUI.setToutVal2(extraServiceMessageEntity.getToutval());
String restOptionStr = extraServiceMessageEntity.getRestoption(); String restOptionStr = extraServiceMessageEntity.getRestoption();
if(StringUtils.isNotBlank(restOptionStr)) { if(StringUtils.isNotBlank(restOptionStr)) {
@@ -480,7 +481,7 @@ public class ApiInterfaceService extends OnlBaseService {
// 응답용 ServiceMessageEntity 설정 // 응답용 ServiceMessageEntity 설정
responseEntity.setPsvsysadptrbzwkgroupname(vo.getFromResponseAdapter()); responseEntity.setPsvsysadptrbzwkgroupname(vo.getFromResponseAdapter());
responseEntity.setPsvintfacdsticname("ASYN"); responseEntity.setPsvintfacdsticname("ASYN");
responseEntity.setToutval(vo.getToutVal()); responseEntity.setToutval(vo.getToutVal2());
// 응답용 REST 정보 설정 // 응답용 REST 정보 설정
AdapterGroupUI responseAdapter = adapterService.selectDetail(vo.getFromResponseAdapter()); AdapterGroupUI responseAdapter = adapterService.selectDetail(vo.getFromResponseAdapter());
@@ -57,6 +57,7 @@ public class ApiInterfaceUI {
private String inboundResponseHttpMethod; private String inboundResponseHttpMethod;
private String inboundResponseRestPath; private String inboundResponseRestPath;
private String fromResponseAdapter; private String fromResponseAdapter;
private Long toutVal2;
//SYNC-ASYNC 용 //SYNC-ASYNC 용
private String outboundResponseHttpMethod; private String outboundResponseHttpMethod;