mirror of
https://github.com/valitydev/three-ds-server-storage.git
synced 2024-11-06 00:15:16 +00:00
JD-237: add result endpoint (#36)
This commit is contained in:
parent
679666823a
commit
55696c1ae0
@ -1,5 +1,9 @@
|
||||
# Three-ds-server-storage
|
||||
|
||||
Хранилище макросервиса 3DSS
|
||||
|
||||
[3DSS Docker Compose description](https://github.com/rbkmoney/three-ds-server-compose#three-ds-server-compose)
|
||||
|
||||
## важно!
|
||||
значения карточных диапазонов `cardRange.getRangeStart(), cardRange.getRangeEnd()`, а также номер аккаунта `accountNumber` должны быть замаскированы.
|
||||
для этих целей в проекте есть `CardRangeWrapper.toStringHideCardRange` для `cardRange` и отдельный метод `AccountNumberUtils.hideAccountNumber`
|
||||
|
10
pom.xml
10
pom.xml
@ -10,7 +10,7 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>three-ds-server-storage</artifactId>
|
||||
<version>1.3.0-SNAPSHOT</version>
|
||||
<version>1.3.1-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>three-ds-server-storage</name>
|
||||
@ -54,13 +54,13 @@
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.rbkmoney</groupId>
|
||||
<artifactId>three-ds-server-storage-proto</artifactId>
|
||||
<version>1.23-e8e35de</version>
|
||||
<artifactId>three-ds-server-domain-lib</artifactId>
|
||||
<version>1.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.rbkmoney</groupId>
|
||||
<artifactId>three-ds-server-domain-lib</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<artifactId>three-ds-server-storage-proto</artifactId>
|
||||
<version>1.24-ab05a55</version>
|
||||
</dependency>
|
||||
|
||||
<!--spring-->
|
||||
|
@ -43,4 +43,10 @@ public class ChallengeFlowTransactionInfoEntity implements Serializable {
|
||||
@Column(name = "acs_url")
|
||||
private String acsUrl;
|
||||
|
||||
@Column(name = "eci")
|
||||
private String eci;
|
||||
|
||||
@Column(name = "authentication_value")
|
||||
private String authenticationValue;
|
||||
|
||||
}
|
||||
|
@ -18,6 +18,8 @@ public class ChallengeFlowTransactionInfoMapper {
|
||||
.providerId(domain.getProviderId())
|
||||
.messageVersion(domain.getMessageVersion())
|
||||
.acsUrl(domain.getAcsUrl())
|
||||
.eci(domain.getEci())
|
||||
.authenticationValue(domain.getAuthenticationValue())
|
||||
.build();
|
||||
}
|
||||
|
||||
@ -29,6 +31,8 @@ public class ChallengeFlowTransactionInfoMapper {
|
||||
.setAcsDecConInd(entity.getAcsDecConInd())
|
||||
.setProviderId(entity.getProviderId())
|
||||
.setMessageVersion(entity.getMessageVersion())
|
||||
.setAcsUrl(entity.getAcsUrl());
|
||||
.setAcsUrl(entity.getAcsUrl())
|
||||
.setEci(entity.getEci())
|
||||
.setAuthenticationValue(entity.getAuthenticationValue());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,3 @@
|
||||
alter table three_ds_server_storage.challenge_flow_transaction_info
|
||||
add column eci character varying,
|
||||
add column authentication_value character varying;
|
@ -213,6 +213,8 @@ public class HandlerTest extends AbstractConfigWithoutDao {
|
||||
.providerId("1")
|
||||
.messageVersion("2.1.0")
|
||||
.acsUrl("1")
|
||||
.eci("eci")
|
||||
.authenticationValue("value")
|
||||
.build();
|
||||
|
||||
when(challengeFlowTransactionInfoRepository.findById(transactionId))
|
||||
|
@ -27,6 +27,8 @@ public class ChallengeFlowTransactionInfoRepositoryTest extends AbstractDaoConfi
|
||||
.providerId("1")
|
||||
.messageVersion("2.1.0")
|
||||
.acsUrl("1")
|
||||
.eci("eci")
|
||||
.authenticationValue("value")
|
||||
.build();
|
||||
|
||||
repository.save(trap);
|
||||
@ -43,6 +45,8 @@ public class ChallengeFlowTransactionInfoRepositoryTest extends AbstractDaoConfi
|
||||
.providerId("1")
|
||||
.messageVersion("2.1.0")
|
||||
.acsUrl("1")
|
||||
.eci("eci")
|
||||
.authenticationValue("value")
|
||||
.build();
|
||||
|
||||
// When
|
||||
@ -65,6 +69,8 @@ public class ChallengeFlowTransactionInfoRepositoryTest extends AbstractDaoConfi
|
||||
.providerId("1")
|
||||
.messageVersion("2.1.0")
|
||||
.acsUrl("1")
|
||||
.eci("eci")
|
||||
.authenticationValue("value")
|
||||
.build();
|
||||
|
||||
// When
|
||||
|
Loading…
Reference in New Issue
Block a user