Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ http(s)://{host}:8080/mocketbank
##### Для трифтовых запросов
```
http(s)://{host}:8022/proxy/mocketbank - эквайринг
http(s)://{host}:8022/proxy/mocketbank/p2p-credit - выплаты
http(s)://{host}:8022/proxy/mocketbank/transfer-credit - выплаты
http(s)://{host}:8022/proxy/mocketbank/terminal - оплата через терминал
http(s)://{host}:8022/proxy/mocketbank/dw - оплата с помощью электронных кошельков
http(s)://{host}:8022/proxy/mocketbank/mobile/operator - определение оператора мобильного телефона
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ public String mpi20AcsNotification(HttpServletRequest servletRequest,
return response;
}

@RequestMapping(value = "/p2p", method = RequestMethod.POST)
public String receiveP2pIncomingParameters(HttpServletRequest request,
HttpServletResponse servletResponse) throws IOException {
@RequestMapping(value = "/transfer", method = RequestMethod.POST)
public String receiveTransferIncomingParameters(HttpServletRequest request,
HttpServletResponse servletResponse) throws IOException {
String tag = getTag(request);
log.info("receiveP2pIncomingParameters with tag {}, info {}", tag, httpServletRequestToString(request));
throw new UnsupportedOperationException("p2p is not supported");
log.info("receiveTransferIncomingParameters with tag {}, info {}", tag, httpServletRequestToString(request));
throw new UnsupportedOperationException("transfer is not supported");
}

@RequestMapping(value = "/qps", method = RequestMethod.GET)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.io.IOException;

@RequiredArgsConstructor
@WebServlet("/proxy/mocketbank/p2p-credit/balance")
@WebServlet("/proxy/mocketbank/transfer-credit/balance")
public class AdapterServletBalance extends GenericServlet {

private final AccountBalanceHandler handler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.io.IOException;

@RequiredArgsConstructor
@WebServlet("/proxy/mocketbank/p2p-credit")
@WebServlet("/proxy/mocketbank/transfer-credit")
public class AdapterServletOct extends GenericServlet {

private final transient WithdrawalServerHandlerLog handler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public enum SuspendPrefix {

RECURRENT("REC_MPI-"),
PAYMENT("COM_MPI-"),
P2P("P2P_MPI-");
TRANSFER("TRANSFER_MPI-");

private final String prefix;
}
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ hellgate:
fistful:
client:
adapter:
url: http://127.0.0.1:8025/v1/ff_p2p_adapter_host
url: http://127.0.0.1:8025/v1/ff_transfer_adapter_host
networkTimeout: 30000

timer:
Expand Down
Loading