Skip to content

Commit

Permalink
FACT-1838 update to use temp db (#2560)
Browse files Browse the repository at this point in the history
* use temp db rather than permfor aat build

* Update snapshot version
  • Loading branch information
joshblackmoor authored Jul 1, 2024
1 parent 14241b7 commit 6265959
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ dependencies {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation group: 'com.icegreen', name: 'greenmail', version: '2.0.0', withoutJunit4
testImplementation 'org.apache.commons:commons-email2-jakarta:2.0.0-M1-SNAPSHOT'
testImplementation 'org.apache.commons:commons-email2-jakarta:2.0.0-M2-SNAPSHOT'
// testImplementation group: 'org.apache.commons', name: 'commons-email', version: '1.6.0'
// the snapshot version of commons-email for jakarta
testImplementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.14.0'
Expand Down
20 changes: 9 additions & 11 deletions charts/rpe-send-letter-service/values.aat.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ java:
alias: FTP_HOSTNAME
- name: upload-summary-report-recipients
alias: UPLOAD_SUMMARY_REPORT_RECIPIENTS
- name: send-letter-service-staging-flexible-db-password
alias: LETTER_TRACKING_DB_PASSWORD
- name: send-letter-service-staging-flexible-db-user
alias: LETTER_TRACKING_DB_USER_NAME
- name: send-letter-service-staging-flexible-db-name
alias: LETTER_TRACKING_DB_NAME
- name: send-letter-service-staging-flexible-db-host
alias: LETTER_TRACKING_DB_HOST
- name: send-letter-service-staging-flexible-db-port
alias: LETTER_TRACKING_DB_PORT
- name: encryption-public-key
alias: ENCRYPTION_PUBLIC_KEY
- name: app-insights-instrumentation-key
Expand All @@ -38,6 +28,14 @@ java:
alias: DELAYED_STALE_REPORT_RECIPIENTS
- name: actions-api-key
alias: ACTIONS_API_KEY

environment:
LETTER_TRACKING_DB_HOST: "{{ .Release.Name }}-postgresql"
LETTER_TRACKING_DB_NAME: "{{ .Values.postgresql.auth.database}}"
LETTER_TRACKING_DB_USER_NAME: "{{ .Values.postgresql.auth.username}}"
LETTER_TRACKING_DB_PASSWORD: "{{ .Values.postgresql.auth.password}}"
LETTER_TRACKING_DB_PORT: "5432"
LETTER_TRACKING_DB_CONN_OPTIONS: "?gssEncMode=disable"
FLYWAY_URL: "jdbc:postgresql://{{ .Release.Name }}-postgresql:5432/{{ .Values.postgresql.auth.database}}"
FLYWAY_NOOP_STRATEGY: "false"
postgresql:
enabled: true

0 comments on commit 6265959

Please sign in to comment.