Skip to content

Commit

Permalink
chore: cleanup, update common
Browse files Browse the repository at this point in the history
  • Loading branch information
g-otn committed Mar 29, 2024
1 parent e8c6ffe commit 90cd8ab
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<dependency>
<groupId>com.github.soat-tech-challenge</groupId>
<artifactId>service-common</artifactId>
<version>4.2.2</version>
<version>5.1.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package br.com.grupo63.serviceidentification;

import br.com.grupo63.techchallenge.common.config.aws.ecs.ECSTaskIdInfoContributor;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeIn;
import io.swagger.v3.oas.annotations.enums.SecuritySchemeType;
Expand All @@ -23,7 +24,10 @@
bearerFormat = "JWT",
in = SecuritySchemeIn.HEADER
)
@SpringBootApplication
@SpringBootApplication(scanBasePackageClasses = {
ServiceIdentificationApplication.class,
ECSTaskIdInfoContributor.class
})
public class ServiceIdentificationApplication {

public static void main(String[] args) {
Expand Down
4 changes: 0 additions & 4 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,3 @@ spring:
flyway:
locations: classpath:db/migrations/{vendor}/
enabled: true
jwt:
token:
key:
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqStd8n4SGNM0eZhV/hzU+urHA5/IMZPoP9YQ9ZcLKWiX33nI6bSuZMCrLZcJExf63xS+uxDpGxM8Mnk2zOdl+lPwANXLzP1us5P1PyA3YPycW9J7C5YTQW0GiEL3M93ZX7vMJiVoBYblP3JPlYnoYlBORuc0JPk33KtfEZP+78qXpPHM8imYrJLe8ceiDLLFDU/nh5KC2dWAy3ci1ahoJ1Q9ELhp3IZLvOTX57H/T2VKOYOya5+ST41h+JjzI+qGTVnLcKaW+k25YLlVnkSspvdx98+yQDi7kbOTS6yRZHUPD6wPk/nUozpD0nZKccoH4W+zMwmQVtsAA6JCA9gfGwIDAQAB}"
3 changes: 3 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
spring:
devtools:
add-properties: false

info:
ecs_metadata_url_v4: "${ECS_CONTAINER_METADATA_URI_V4:unknown}"
4 changes: 0 additions & 4 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,3 @@ info:
description: "@project.description@"
version: "@project.version@"

jwt:
token:
key:
public: "${JWT_PUBLIC_KEY}"
4 changes: 0 additions & 4 deletions src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ spring:
output:
ansi:
enabled: always
jwt:
token:
key:
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoNgzDuoQFLRFb3ivIA5CEHFRuqltT7xR6hFu+6xPD5q0sq8Exjue5s5MIQwkJMldk8/Dhp85OT5ULmAA5x4hPZfFlQEMlMPT5QItQImQ7UFCxBbMwksZlUQEP37Aa5OJ+KhEPBDTe0AaXqXFKxIOLEjHYWqhFHq5whxNotbuPrqLWEopCAgY4lqCe0pSoT3V+7Jszpq+czLBOl6eCbD933pK98/aVD9yA2+7LNOwmkYVyR4kvXX25K5Q/DDUZgMWyQTm3TCnfCrbdH6IH/Z12/DkePNuGFygUKDCEYPkPYnHbRXee4CXbeDkEdgZwzGJPM8gPhSUFrrzFVeihvN5OQIDAQAB}"
management:
endpoints:
enabled-by-default: false

0 comments on commit 90cd8ab

Please sign in to comment.