mirror of
https://github.com/valitydev/adapter-flow-lib.git
synced 2024-11-06 00:05:22 +00:00
Fix id (#7)
This commit is contained in:
parent
8a48e7260a
commit
4ae1db1be5
2
pom.xml
2
pom.xml
@ -13,7 +13,7 @@
|
|||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>adapter-flow-lib</artifactId>
|
<artifactId>adapter-flow-lib</artifactId>
|
||||||
<version>0.0.3</version>
|
<version>0.0.4</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>adapter-flow-lib</name>
|
<name>adapter-flow-lib</name>
|
||||||
|
@ -21,6 +21,8 @@ public class RetryProcessor implements Processor<ExitStateModel, BaseResponseMod
|
|||||||
log.debug("Start redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
log.debug("Start redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
||||||
ExitStateModel exitStateModel = new ExitStateModel();
|
ExitStateModel exitStateModel = new ExitStateModel();
|
||||||
exitStateModel.setLastOperationStatus(response.getStatus());
|
exitStateModel.setLastOperationStatus(response.getStatus());
|
||||||
|
exitStateModel.setProviderTrxId(entryStateModel.getBaseRequestModel().getProviderTrxId());
|
||||||
|
exitStateModel.setTrxExtra(response.getSaveData());
|
||||||
log.debug("Finish redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
log.debug("Finish redirect process response: {} entryStateModel: {}", response, entryStateModel);
|
||||||
return exitStateModel;
|
return exitStateModel;
|
||||||
}
|
}
|
||||||
|
@ -44,12 +44,8 @@ import static org.mockito.ArgumentMatchers.any;
|
|||||||
"adapter.callbackUrl=http://localhost:8080/test",
|
"adapter.callbackUrl=http://localhost:8080/test",
|
||||||
"server.rest.endpoint=adapter",
|
"server.rest.endpoint=adapter",
|
||||||
"server.rest.port=8083"})
|
"server.rest.port=8083"})
|
||||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
|
|
||||||
public class PaymentSuccess3dsTest extends AbstractPaymentTest {
|
public class PaymentSuccess3dsTest extends AbstractPaymentTest {
|
||||||
|
|
||||||
@LocalServerPort
|
|
||||||
int randomServerPort;
|
|
||||||
|
|
||||||
@BeforeEach
|
@BeforeEach
|
||||||
public void setUp() throws TException {
|
public void setUp() throws TException {
|
||||||
MockitoAnnotations.openMocks(this);
|
MockitoAnnotations.openMocks(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user