Skip to content

Commit 90cd8ab

Browse files
committed
chore: cleanup, update common
1 parent e8c6ffe commit 90cd8ab

File tree

6 files changed

+9
-14
lines changed

6 files changed

+9
-14
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<dependency>
101101
<groupId>com.github.soat-tech-challenge</groupId>
102102
<artifactId>service-common</artifactId>
103-
<version>4.2.2</version>
103+
<version>5.1.1</version>
104104
</dependency>
105105
<dependency>
106106
<groupId>org.springframework.boot</groupId>

src/main/java/br/com/grupo63/serviceidentification/ServiceIdentificationApplication.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package br.com.grupo63.serviceidentification;
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+
ServiceIdentificationApplication.class,
29+
ECSTaskIdInfoContributor.class
30+
})
2731
public class ServiceIdentificationApplication {
2832

2933
public static void main(String[] args) {

src/main/resources/application-dev.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ spring:
1313
flyway:
1414
locations: classpath:db/migrations/{vendor}/
1515
enabled: true
16-
jwt:
17-
token:
18-
key:
19-
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqStd8n4SGNM0eZhV/hzU+urHA5/IMZPoP9YQ9ZcLKWiX33nI6bSuZMCrLZcJExf63xS+uxDpGxM8Mnk2zOdl+lPwANXLzP1us5P1PyA3YPycW9J7C5YTQW0GiEL3M93ZX7vMJiVoBYblP3JPlYnoYlBORuc0JPk33KtfEZP+78qXpPHM8imYrJLe8ceiDLLFDU/nh5KC2dWAy3ci1ahoJ1Q9ELhp3IZLvOTX57H/T2VKOYOya5+ST41h+JjzI+qGTVnLcKaW+k25YLlVnkSspvdx98+yQDi7kbOTS6yRZHUPD6wPk/nUozpD0nZKccoH4W+zMwmQVtsAA6JCA9gfGwIDAQAB}"
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/main/resources/application.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,3 @@ info:
5555
description: "@project.description@"
5656
version: "@project.version@"
5757

58-
jwt:
59-
token:
60-
key:
61-
public: "${JWT_PUBLIC_KEY}"

src/test/resources/application.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ spring:
1313
output:
1414
ansi:
1515
enabled: always
16-
jwt:
17-
token:
18-
key:
19-
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoNgzDuoQFLRFb3ivIA5CEHFRuqltT7xR6hFu+6xPD5q0sq8Exjue5s5MIQwkJMldk8/Dhp85OT5ULmAA5x4hPZfFlQEMlMPT5QItQImQ7UFCxBbMwksZlUQEP37Aa5OJ+KhEPBDTe0AaXqXFKxIOLEjHYWqhFHq5whxNotbuPrqLWEopCAgY4lqCe0pSoT3V+7Jszpq+czLBOl6eCbD933pK98/aVD9yA2+7LNOwmkYVyR4kvXX25K5Q/DDUZgMWyQTm3TCnfCrbdH6IH/Z12/DkePNuGFygUKDCEYPkPYnHbRXee4CXbeDkEdgZwzGJPM8gPhSUFrrzFVeihvN5OQIDAQAB}"
2016
management:
2117
endpoints:
2218
enabled-by-default: false

0 commit comments

Comments
 (0)