use of kong.unirest.JacksonObjectMapper in project openbanking-aspsp by OpenBankingToolkit.
the class TransactionsApiControllerIT method setUp.
@Before
public void setUp() {
Unirest.config().setObjectMapper(new JacksonObjectMapper()).verifySsl(false);
tpp = new Tpp();
tpp.setClientId(CLIENT_ID);
tpp.setAuthorisationNumber(AUTHORISATION_NUMBER);
}
use of kong.unirest.JacksonObjectMapper in project openbanking-aspsp by OpenBankingToolkit.
the class TransactionsApiControllerIT method setUp.
@Before
public void setUp() {
Unirest.config().setObjectMapper(new JacksonObjectMapper()).verifySsl(false);
tpp = new Tpp();
tpp.setClientId(CLIENT_ID);
tpp.setAuthorisationNumber(AUTHORISATION_NUMBER);
}
use of kong.unirest.JacksonObjectMapper in project openbanking-aspsp by OpenBankingToolkit.
the class InfoApiControllerIT method setUp.
@Before
public void setUp() {
ObjectMapper objectMapper = new ObjectMapper();
objectMapper.registerModule(new JodaModule());
JacksonObjectMapper jacksonObjectMapper = new JacksonObjectMapper(objectMapper);
Unirest.config().setObjectMapper(jacksonObjectMapper).verifySsl(false);
tpp = new Tpp();
tpp.setClientId(CLIENT_ID);
tpp.setAuthorisationNumber(AUTHORISATION_NUMBER);
}
use of kong.unirest.JacksonObjectMapper in project openbanking-aspsp by OpenBankingToolkit.
the class AccountsApiControllerIT method setUp.
@Before
public void setUp() {
Unirest.config().setObjectMapper(new JacksonObjectMapper()).verifySsl(false);
tpp = new Tpp();
tpp.setClientId(CLIENT_ID);
tpp.setAuthorisationNumber(AUTHORISATION_NUMBER);
}
use of kong.unirest.JacksonObjectMapper in project openbanking-aspsp by OpenBankingToolkit.
the class CallbackUrlsApiControllerIT method setUp.
@Before
public void setUp() {
tpp = new Tpp();
tpp.setId(UUID.randomUUID().toString());
given(tppRepository.findByClientId(any())).willReturn(tpp);
clientId = UUID.randomUUID().toString();
Unirest.config().setObjectMapper(new JacksonObjectMapper(objectMapper)).verifySsl(false);
}
Aggregations