HttpDynamicInAdapterUrl() 수정
This commit is contained in:
@@ -180,7 +180,7 @@ public class ApiAdapterController implements HttpAdapterServiceKey {
|
|||||||
StandardMessageInfo stdInfo = dao.getSTDMsgByPath(apiUri);
|
StandardMessageInfo stdInfo = dao.getSTDMsgByPath(apiUri);
|
||||||
String serviceKey = stdInfo.getBzwksvckeyname();
|
String serviceKey = stdInfo.getBzwksvckeyname();
|
||||||
int idx = serviceKey.indexOf(":");
|
int idx = serviceKey.indexOf(":");
|
||||||
String adapterGrpName = (idx != -1) ? serviceKey.substring(0, idx) : serviceKey; // ':' 이전 문자열 추출
|
String adapterGrpName = (idx != -1) ? serviceKey.substring(0, idx) : serviceKey; // ':' 이전 문자열 추출
|
||||||
//***
|
//***
|
||||||
|
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
@@ -188,8 +188,7 @@ public class ApiAdapterController implements HttpAdapterServiceKey {
|
|||||||
if (adptUri != null) {
|
if (adptUri != null) {
|
||||||
if (adptUri.getAdptGrpName().equals(adapterGrpName)) {
|
if (adptUri.getAdptGrpName().equals(adapterGrpName)) {
|
||||||
return adptUri;
|
return adptUri;
|
||||||
}
|
}
|
||||||
//return adptUri;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// /api/v1/public
|
// /api/v1/public
|
||||||
|
|||||||
Reference in New Issue
Block a user