Skip to content

Commit b07b932

Browse files
committed
style: organize properties
1 parent ac0842c commit b07b932

File tree

3 files changed

+17
-18
lines changed

3 files changed

+17
-18
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
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.1.0</version>
103+
<version>4.2.2</version>
104104
</dependency>
105105
<dependency>
106106
<groupId>org.springframework.boot</groupId>
@@ -126,7 +126,6 @@
126126
</dependencies>
127127

128128
<build>
129-
<finalName>app</finalName>
130129
<plugins>
131130
<plugin>
132131
<groupId>org.springframework.boot</groupId>
@@ -214,4 +213,4 @@
214213
</build>
215214
</profile>
216215
</profiles>
217-
</project>
216+
</project>

src/main/resources/application-dev.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ jwt:
1717
token:
1818
key:
1919
public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqStd8n4SGNM0eZhV/hzU+urHA5/IMZPoP9YQ9ZcLKWiX33nI6bSuZMCrLZcJExf63xS+uxDpGxM8Mnk2zOdl+lPwANXLzP1us5P1PyA3YPycW9J7C5YTQW0GiEL3M93ZX7vMJiVoBYblP3JPlYnoYlBORuc0JPk33KtfEZP+78qXpPHM8imYrJLe8ceiDLLFDU/nh5KC2dWAy3ci1ahoJ1Q9ELhp3IZLvOTX57H/T2VKOYOya5+ST41h+JjzI+qGTVnLcKaW+k25YLlVnkSspvdx98+yQDi7kbOTS6yRZHUPD6wPk/nUozpD0nZKccoH4W+zMwmQVtsAA6JCA9gfGwIDAQAB}"
20-
21-
server:
22-
servlet:
23-
context-path: "/identification"

src/main/resources/application.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ spring:
1010
show-sql: true
1111
profiles:
1212
# Value comes from Maven profile (pom.xml)
13-
active: '@spring.profiles.active@'
13+
active: "@spring.profiles.active@"
1414
flyway:
1515
locations: classpath:db/migrations/{vendor}/
1616
enabled: true
17-
jwt:
18-
token:
19-
key:
20-
public: "${JWT_PUBLIC_KEY}"
2117

2218
springdoc:
2319
swagger-ui:
@@ -37,16 +33,15 @@ management:
3733
web:
3834
exposure:
3935
include: health, info, metrics, shutdown
40-
41-
info:
42-
name: '@project.name@'
43-
description: '@project.description@'
44-
version: '@project.version@'
45-
4636
docs:
4737
api:
4838
url: "${DOCS_API_URL:https://9ah1j49vm1.execute-api.us-east-2.amazonaws.com}"
4939

40+
server:
41+
port: 8001
42+
servlet:
43+
context-path: "/identification"
44+
5045
# --- Custom keys ---
5146

5247
app:
@@ -57,3 +52,12 @@ app:
5752
dynamodb:
5853
endpoint: "${AWS_DYNAMODB_ENDPOINT:dynamodb.us-east-1.amazonaws.com}"
5954

55+
info:
56+
name: "@project.name@"
57+
description: "@project.description@"
58+
version: "@project.version@"
59+
60+
jwt:
61+
token:
62+
key:
63+
public: "${JWT_PUBLIC_KEY}"

0 commit comments

Comments
 (0)