diff --git a/pom.xml b/pom.xml index 209f7a5..2e9dbc5 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,13 @@ - 4.0.0 org.springframework.boot spring-boot-starter-parent 3.2.2 - + br.com.grupo63 serviceorder @@ -15,6 +16,10 @@ FIAP SOAT1 2023 - Group 63 - Phase 4 17 + + **/config/*, + **/dto/*DTO.*, + @@ -127,6 +132,17 @@ + + + + build-info + + + + + + io.github.git-commit-id + git-commit-id-maven-plugin @@ -163,16 +179,8 @@ 0.8.11 - **/br/com/grupo63/serviceorder/controller/dto/ProductControllerDTO.class - **/br/com/grupo63/serviceorder/controller/dto/OrderItemControllerDTO.class - **/br/com/grupo63/serviceorder/controller/dto/OrderControllerDTO.class - **/br/com/grupo63/serviceorder/api/controller/order/dto/CreateOrderRequestDTO.class - **/br/com/grupo63/serviceorder/gateway/identification/dto/ClientDTO.class - **/br/com/grupo63/serviceorder/config/JwtFilterConfig.class - **/br/com/grupo63/serviceorder/config/JPAConfigurer.class - **/br/com/grupo63/serviceorder/config/JwtService.class - **/br/com/grupo63/serviceorder/config/JwtFilter.class - **/br/com/grupo63/serviceorder/config/ValidationConfig.class + **/dto/*DTO.* + **/config/** **/br/com/grupo63/serviceorder/ServiceOrderApplication.class @@ -200,4 +208,4 @@ - + \ No newline at end of file diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 1b8914e..c6efb1f 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -24,8 +24,13 @@ jwt: public: "${JWT_PUBLIC_KEY:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqStd8n4SGNM0eZhV/hzU+urHA5/IMZPoP9YQ9ZcLKWiX33nI6bSuZMCrLZcJExf63xS+uxDpGxM8Mnk2zOdl+lPwANXLzP1us5P1PyA3YPycW9J7C5YTQW0GiEL3M93ZX7vMJiVoBYblP3JPlYnoYlBORuc0JPk33KtfEZP+78qXpPHM8imYrJLe8ceiDLLFDU/nh5KC2dWAy3ci1ahoJ1Q9ELhp3IZLvOTX57H/T2VKOYOya5+ST41h+JjzI+qGTVnLcKaW+k25YLlVnkSspvdx98+yQDi7kbOTS6yRZHUPD6wPk/nUozpD0nZKccoH4W+zMwmQVtsAA6JCA9gfGwIDAQAB}" urls: - baseurl-identification: '${BASE_URL_IDENTIFICATION:localhost:8081}' + baseurl-identification: "${BASE_URL_IDENTIFICATION:localhost:8081}" server: servlet: - context-path: "/order" \ No newline at end of file + context-path: "/order" + +app: + docs-api-url: "${DOCS_API_URL:(no value)}" + api-url: + identification: ${API_URL_IDENTIFICATION:http\://localhost\:8081} diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index 53a832d..36c599d 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -6,5 +6,3 @@ spring: username: ${DB_USERNAME:backend} devtools: add-properties: false -urls: - baseurl: '/' \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index b61411b..865503d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -10,7 +10,7 @@ spring: show-sql: true profiles: # Value comes from Maven profile (pom.xml) - active: '@spring.profiles.active@' + active: "@spring.profiles.active@" flyway: locations: classpath:db/migrations/{vendor}/ enabled: true @@ -31,15 +31,21 @@ management: endpoint: health: show-components: always + shutdown: + enabled: true # For debugging endpoints: web: exposure: - include: health, info -info: - name: '@project.name@' - description: '@project.description@' - version: '@project.version@' + include: health, info, metrics, shutdown + +# --- Custom keys --- -docs: - api: - url: "${DOCS_API_URL:https://9ah1j49vm1.execute-api.us-east-2.amazonaws.com}" +app: + docs-api-url: "${DOCS_API_URL:(no value)}" + api-url: + identification: ${API_URL_IDENTIFICATION} + +info: + name: "@project.name@" + description: "@project.description@" + version: "@project.version@"