Skip to content

Commit 5f44f10

Browse files
committed
chore: cleanup, update common
1 parent 5d4ca80 commit 5f44f10

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
<dependency>
125125
<groupId>com.github.soat-tech-challenge</groupId>
126126
<artifactId>service-common</artifactId>
127-
<version>4.1.0</version>
127+
<version>5.1.1</version>
128128
</dependency>
129129
<dependency>
130130
<groupId>org.springframework.boot</groupId>

src/main/java/br/com/grupo63/serviceproduction/ServiceProductionApplication.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package br.com.grupo63.serviceproduction;
22

3+
import br.com.grupo63.techchallenge.common.config.aws.ecs.ECSTaskIdInfoContributor;
34
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
45
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;
56
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
@@ -23,7 +24,10 @@
2324
bearerFormat = "JWT",
2425
in = SecuritySchemeIn.HEADER
2526
)
26-
@SpringBootApplication
27+
@SpringBootApplication(scanBasePackageClasses = {
28+
ServiceProductionApplication.class,
29+
ECSTaskIdInfoContributor.class
30+
})
2731
public class ServiceProductionApplication {
2832

2933
public static void main(String[] args) {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
spring:
22
devtools:
33
add-properties: false
4+
5+
info:
6+
ecs_metadata_url_v4: "${ECS_CONTAINER_METADATA_URI_V4:unknown}"

src/test/resources/application.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
app:
2-
version: '@project.version@'
31
springdoc:
42
api-docs:
53
enabled: false
@@ -13,10 +11,6 @@ spring:
1311
output:
1412
ansi:
1513
enabled: always
16-
jwt:
17-
token:
18-
key:
19-
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoNgzDuoQFLRFb3ivIA5CEHFRuqltT7xR6hFu+6xPD5q0sq8Exjue5s5MIQwkJMldk8/Dhp85OT5ULmAA5x4hPZfFlQEMlMPT5QItQImQ7UFCxBbMwksZlUQEP37Aa5OJ+KhEPBDTe0AaXqXFKxIOLEjHYWqhFHq5whxNotbuPrqLWEopCAgY4lqCe0pSoT3V+7Jszpq+czLBOl6eCbD933pK98/aVD9yA2+7LNOwmkYVyR4kvXX25K5Q/DDUZgMWyQTm3TCnfCrbdH6IH/Z12/DkePNuGFygUKDCEYPkPYnHbRXee4CXbeDkEdgZwzGJPM8gPhSUFrrzFVeihvN5OQIDAQAB}"
2014
management:
2115
endpoints:
2216
enabled-by-default: false

0 commit comments

Comments
 (0)