jd-152: bump deps (#35)

This commit is contained in:
Anatoly Karlov 2021-03-29 23:32:19 +07:00 committed by GitHub
parent ca35cd418d
commit 679666823a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 13 deletions

@ -1 +1 @@
Subproject commit fc6ac0f6810b77a670036f7468575c37e5f9a829 Subproject commit 24aa772730be966667adb285a09fcb494d4f218e

View File

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.rbkmoney</groupId> <groupId>com.rbkmoney</groupId>
<artifactId>service-parent-pom</artifactId> <artifactId>service-parent-pom</artifactId>
<version>1.0.8</version> <version>1.0.9</version>
</parent> </parent>
<artifactId>three-ds-server-storage</artifactId> <artifactId>three-ds-server-storage</artifactId>
@ -17,7 +17,6 @@
<description>three-ds-server-storage</description> <description>three-ds-server-storage</description>
<properties> <properties>
<java.version>11</java.version>
<server.port>8022</server.port> <server.port>8022</server.port>
<management.port>8023</management.port> <management.port>8023</management.port>
<exposed.ports>${server.port} ${management.port}</exposed.ports> <exposed.ports>${server.port} ${management.port}</exposed.ports>
@ -121,7 +120,6 @@
<dependency> <dependency>
<groupId>org.assertj</groupId> <groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId> <artifactId>assertj-core</artifactId>
<version>3.13.2</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
@ -139,7 +137,6 @@
<dependency> <dependency>
<groupId>org.awaitility</groupId> <groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId> <artifactId>awaitility</artifactId>
<version>4.0.3</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>

View File

@ -12,14 +12,14 @@ import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@RestController @RestController
@ConditionalOnProperty(name = "rest-handler.enabled", havingValue = "true") @ConditionalOnProperty(name = "rest-endpoint.enabled", havingValue = "true")
@RequiredArgsConstructor @RequiredArgsConstructor
@Slf4j @Slf4j
public class PreparationFlowController { public class PreparationFlowController {
private final PreparationFlowService preparationFlowService; private final PreparationFlowService preparationFlowService;
@PostMapping("/preparation") @PostMapping("/three-ds-server-storage/rest/preparation-flow")
@ResponseStatus(HttpStatus.OK) @ResponseStatus(HttpStatus.OK)
public void preparationHandler(@RequestBody PreparationRequest request) { public void preparationHandler(@RequestBody PreparationRequest request) {
log.info("Init RBKMoney preparation flow, providerId={}", request.getProviderId()); log.info("Init RBKMoney preparation flow, providerId={}", request.getProviderId());

View File

@ -1,7 +1,7 @@
{ {
"hints": [ "hints": [
{ {
"name": "rest-handler.enabled", "name": "rest-endpoint.enabled",
"values": [ "values": [
{ {
"value": "true", "value": "true",

View File

@ -31,7 +31,7 @@ management:
spring: spring:
application: application:
name: @project.name@ name: '@project.name@'
output: output:
ansi: ansi:
enabled: always enabled: always
@ -63,5 +63,5 @@ client:
asyncConfig: asyncConfig:
enabled: true enabled: true
rest-handler: rest-endpoint:
enabled: false enabled: false

View File

@ -15,7 +15,7 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
@TestPropertySource(properties = "rest-handler.enabled=false") @TestPropertySource(properties = "rest-endpoint.enabled=false")
@AutoConfigureMockMvc @AutoConfigureMockMvc
public class PreparationFlowControllerNotFoundTest extends AbstractConfigWithoutDao { public class PreparationFlowControllerNotFoundTest extends AbstractConfigWithoutDao {

View File

@ -15,7 +15,7 @@ import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
@TestPropertySource(properties = "rest-handler.enabled=true") @TestPropertySource(properties = "rest-endpoint.enabled=true")
@AutoConfigureMockMvc @AutoConfigureMockMvc
public class PreparationFlowControllerWithRestHandlerTest extends AbstractConfigWithoutDao { public class PreparationFlowControllerWithRestHandlerTest extends AbstractConfigWithoutDao {
@ -36,7 +36,7 @@ public class PreparationFlowControllerWithRestHandlerTest extends AbstractConfig
preparationRequest.setProviderId("visa"); preparationRequest.setProviderId("visa");
MockHttpServletRequestBuilder request = MockMvcRequestBuilders MockHttpServletRequestBuilder request = MockMvcRequestBuilders
.post("/preparation") .post("/three-ds-server-storage/rest/preparation-flow")
.contentType(MediaType.APPLICATION_JSON) .contentType(MediaType.APPLICATION_JSON)
.accept(MediaType.APPLICATION_JSON) .accept(MediaType.APPLICATION_JSON)
.content(objectMapper.writeValueAsBytes(preparationRequest)); .content(objectMapper.writeValueAsBytes(preparationRequest));