Skip to content

Commit

Permalink
Reduce duplication in staging profile
Browse files Browse the repository at this point in the history
  • Loading branch information
vrajmohan committed Jan 13, 2024
1 parent 67c471f commit f9f27ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
10 changes: 0 additions & 10 deletions src/main/resources/application-demo.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/resources/application-staging.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
spring:
thymeleaf:
cache: true
datasource:
url: jdbc:postgresql://host.docker.internal:5432/mdbenefits
flyway:
placeholders:
uuid_function: "gen_random_uuid"
user_file_doc_type_default_label: ${form-flow.uploads.default-doc-type-label:#{null}}
session:
jdbc:
initialize-schema: always
management:
endpoints:
enabled-by-default: false
form-flow:
disabled-flows: ~
uploads:
max-file-size: '5'
default-doc-type-label: "NotSet"
8 changes: 5 additions & 3 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ form-flow:
lock-after-submitted:
- flow: mdBenefitsFlow
redirect: confirmation
disabled-flows:
- flow: mdBenefitsFlow
staticRedirectPage: /
disabled-flows: ~
pdf:
path: 'src/main/resources/pdfs/'
map-file: pdf-map.yaml
Expand Down Expand Up @@ -41,6 +39,10 @@ form-flow:
smarty_auth_token: ${SMARTY_AUTH_TOKEN}
smarty_url: "https://us-street.api.smartystreets.com/street-address"
spring:
flyway:
placeholders:
uuid_function: "gen_random_uuid"
user_file_doc_type_default_label: ${form-flow.uploads.default-doc-type-label:#{null}}
profiles:
group:
test:
Expand Down

0 comments on commit f9f27ce

Please sign in to comment.