Skip to content

Commit cf98e37

Browse files
committed
chore: removed mocked files from coverage
1 parent 0425aba commit cf98e37

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

pom.xml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,17 @@
172172
<groupId>org.jacoco</groupId>
173173
<artifactId>jacoco-maven-plugin</artifactId>
174174
<version>0.8.11</version>
175+
<configuration>
176+
<excludes>
177+
<exclude>**/br/com/grupo63/techchallenge/payment/api/controller/dto/PaymentStatusResponseDTO.class</exclude>
178+
<exclude>**/br/com/grupo63/techchallenge/payment/api/controller/dto/QRCodeResponseDTO.class</exclude>
179+
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/order/dto/OrderDTO.java</exclude>
180+
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/payment/PaymentPersistenceEntity.class</exclude>
181+
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/payment/PaymentJpaAdapter.class</exclude>
182+
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/payment/MercadoPagoGateway.class</exclude>
183+
<exclude>**/br/com/grupo63/techchallenge/payment/ServicePaymentApplication.class</exclude>
184+
</excludes>
185+
</configuration>
175186
<executions>
176187
<execution>
177188
<id>prepare-agent</id>
@@ -185,14 +196,6 @@
185196
<goal>report</goal>
186197
</goals>
187198
<configuration>
188-
<excludes>
189-
<exclude>**/br/com/grupo63/techchallenge/payment/api/controller/dto/PaymentStatusResponseDTO.class</exclude>
190-
<exclude>**/br/com/grupo63/techchallenge/payment/api/controller/dto/QRCodeResponseDTO.class</exclude>
191-
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/order/dto/OrderDTO.class</exclude>
192-
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/payment/PaymentPersistenceEntity.class</exclude>
193-
<exclude>**/br/com/grupo63/techchallenge/payment/gateway/payment/PaymentJpaAdapter.class</exclude>
194-
<exclude>**/br/com/grupo63/techchallenge/payment/ServicePaymentApplication.class</exclude>
195-
</excludes>
196199
<formats>
197200
<format>XML</format>
198201
</formats>

src/main/java/br/com/grupo63/techchallenge/payment/gateway/order/IOrderGateway.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import java.util.Optional;
1010

11-
@FeignClient(name = "order", url = "${soat-services.base-url}/orders}")
11+
@FeignClient(name = "order", url = "/orders}")
1212
public interface IOrderGateway {
1313

1414
@RequestMapping(method = RequestMethod.GET, value = "/{orderId}")

src/main/resources/application-dev.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,3 @@ jwt:
2323
key:
2424
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqStd8n4SGNM0eZhV/hzU+urHA5/IMZPoP9YQ9ZcLKWiX33nI6bSuZMCrLZcJExf63xS+uxDpGxM8Mnk2zOdl+lPwANXLzP1us5P1PyA3YPycW9J7C5YTQW0GiEL3M93ZX7vMJiVoBYblP3JPlYnoYlBORuc0JPk33KtfEZP+78qXpPHM8imYrJLe8ceiDLLFDU/nh5KC2dWAy3ci1ahoJ1Q9ELhp3IZLvOTX57H/T2VKOYOya5+ST41h+JjzI+qGTVnLcKaW+k25YLlVnkSspvdx98+yQDi7kbOTS6yRZHUPD6wPk/nUozpD0nZKccoH4W+zMwmQVtsAA6JCA9gfGwIDAQAB}"
2525

26-
soat-services:
27-
base-url: http://localhost:8585/public
28-

0 commit comments

Comments
 (0)