Skip to content

Commit

Permalink
Merge branch 'master' into response-notification-to-appliant
Browse files Browse the repository at this point in the history
  • Loading branch information
shashisk97 authored Sep 2, 2024
2 parents be34c47 + 7a400ee commit c21ccdf
Show file tree
Hide file tree
Showing 8 changed files with 94 additions and 60 deletions.
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ def versions = [
pitest: '1.7.3',
powerMock: '2.0.0',
puppyCrawl: '8.29',
reformPropertiesVolume: '0.0.4',
reformsJavaLogging: '5.1.1',
restAssured: '4.5.1',
serenity: '2.2.13',
Expand Down Expand Up @@ -250,7 +249,6 @@ dependencies {
implementation (group: 'commons-beanutils', name: 'commons-beanutils', version: versions.commonsBeanUtils) {
force = true
}

implementation (group: 'org.springframework.security', name: 'spring-security-rsa', version: versions.spring_security_rsa) {
force = true
exclude group: 'org.springframework.security', module: 'spring-security-crypto'
Expand All @@ -259,7 +257,6 @@ dependencies {
implementation group: 'org.springframework.security', name: 'spring-security-crypto', version: versions.springSecurityCrypto

implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-bootstrap', version: versions.springCloud
implementation group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: versions.bouncycastle

implementation group: 'com.github.hmcts', name:'ccd-case-document-am-client', version: versions.ccdCaseDocumentAmClient
Expand Down Expand Up @@ -292,7 +289,6 @@ dependencies {
implementation group: 'uk.gov.hmcts.reform', name: 'logging-appinsights', version: versions.reformsJavaLogging
implementation group: 'uk.gov.hmcts.reform', name: 'logging-spring', version: versions.reformsJavaLogging
implementation group: 'uk.gov.hmcts.reform', name: 'logging-httpcomponents', version: versions.reformsJavaLogging
implementation group: 'uk.gov.hmcts.reform', name: 'properties-volume-spring-boot-starter', version: versions.reformPropertiesVolume
implementation (group: 'uk.gov.hmcts.reform', name:'service-auth-provider-client', version: versions.serviceTokenGenerator) {
exclude group: 'io.reactivex', module: 'io.reactivex'
exclude group: 'io.reactivex', module: 'rxnetty'
Expand Down
2 changes: 1 addition & 1 deletion charts/prl-dgs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "1.0"
description: Family Private Law - Document Generator Service
name: prl-dgs
version: 0.0.50
version: 0.0.51
dependencies:
- name: java
version: 5.2.0
Expand Down
30 changes: 20 additions & 10 deletions charts/prl-dgs/values.aat.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,25 @@ java:
prl:
resourceGroup: prl
secrets:
- microservicekey-prl-dgs-api
- docmosis-api-key
- launchDarkly-sdk-key
- AppInsightsInstrumentationKey
- prl-cos-idam-client-secret
- test-genericpassword
- idam-solicitor-username
- idam-solicitor-password
- system-update-user-username
- system-update-user-password
- name: microservicekey-prl-dgs-api
alias: AUTH_PROVIDER_SERVICE_CLIENT_KEY
- name: docmosis-api-key
alias: DOCMOSIS_SERVICE_ACCESS_KEY
- name: launchDarkly-sdk-key
alias: LAUNCH_DARKLY_SDK_KEY
- name: AppInsightsInstrumentationKey
alias: APP_INSIGHTS_INSTRUMENTATION_KEY
- name: prl-cos-idam-client-secret
alias: IDAM_CLIENT_SECRET
- name: test-genericpassword
alias: PRL_GENERIC_PASSWORD
- name: idam-solicitor-username
alias: IDAM_SOLICITOR_USERNAME
- name: idam-solicitor-password
alias: IDAM_SOLICITOR_PASSWORD
- name: system-update-user-username
alias: SYSTEM_UPDATE_USER_USERNAME
- name: system-update-user-password
alias: PRL_SYSTEM_UPDATE_PASSWORD

aadIdentityName: prl
35 changes: 23 additions & 12 deletions charts/prl-dgs/values.preview.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,33 @@ java:
prl:
resourceGroup: prl
secrets:
- microservicekey-prl-dgs-api
- docmosis-api-key
- launchDarkly-sdk-key
- AppInsightsInstrumentationKey
- prl-cos-idam-client-secret
- test-genericpassword
- idam-solicitor-username
- idam-solicitor-password
- system-update-user-username
- system-update-user-password
- app-insights-connection-string
- name: microservicekey-prl-dgs-api
alias: AUTH_PROVIDER_SERVICE_CLIENT_KEY
- name: docmosis-api-key
alias: DOCMOSIS_SERVICE_ACCESS_KEY
- name: launchDarkly-sdk-key
alias: LAUNCH_DARKLY_SDK_KEY
- name: AppInsightsInstrumentationKey
alias: APP_INSIGHTS_INSTRUMENTATION_KEY
- name: prl-cos-idam-client-secret
alias: IDAM_CLIENT_SECRET
- name: test-genericpassword
alias: PRL_GENERIC_PASSWORD
- name: idam-solicitor-username
alias: IDAM_SOLICITOR_USERNAME
- name: idam-solicitor-password
alias: IDAM_SOLICITOR_PASSWORD
- name: system-update-user-username
alias: SYSTEM_UPDATE_USER_USERNAME
- name: system-update-user-password
alias: PRL_SYSTEM_UPDATE_PASSWORD
- name: app-insights-connection-string
alias: app-insights-connection-string
environment:
MANAGEMENT_ENDPOINT_HEALTH_CACHE_TIMETOLIVE: "30000"
DOCMOSIS_SERVICE_DEV_MODE_FLAG: "true"
PDF_TEST_ENABLED: "true"
CCD_CASE_DOCS_AM_API: http://prl-ccd-definitions-pr-2281-cdam
CCD_CASE_DOCS_AM_API: http://prl-ccd-definitions-pr-2223-cdam
AUTH_PROVIDER_SERVICE_CLIENT_BASEURL: "http://rpe-service-auth-provider-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
IDAM_S2S_URL: "http://rpe-service-auth-provider-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
DOCMOSIS_SERVICE_BASE_URL: "https://docmosis.aat.platform.hmcts.net"
Expand Down
33 changes: 22 additions & 11 deletions charts/prl-dgs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,28 @@ java:
prl:
resourceGroup: prl
secrets:
- microservicekey-prl-dgs-api
- docmosis-api-key
- launchDarkly-sdk-key
- AppInsightsInstrumentationKey
- prl-cos-idam-client-secret
- test-genericpassword
- idam-solicitor-username
- idam-solicitor-password
- system-update-user-username
- system-update-user-password
- app-insights-connection-string
- name: microservicekey-prl-dgs-api
alias: AUTH_PROVIDER_SERVICE_CLIENT_KEY
- name: docmosis-api-key
alias: DOCMOSIS_SERVICE_ACCESS_KEY
- name: launchDarkly-sdk-key
alias: LAUNCH_DARKLY_SDK_KEY
- name: AppInsightsInstrumentationKey
alias: APP_INSIGHTS_INSTRUMENTATION_KEY
- name: prl-cos-idam-client-secret
alias: IDAM_CLIENT_SECRET
- name: test-genericpassword
alias: PRL_GENERIC_PASSWORD
- name: idam-solicitor-username
alias: IDAM_SOLICITOR_USERNAME
- name: idam-solicitor-password
alias: IDAM_SOLICITOR_PASSWORD
- name: system-update-user-username
alias: SYSTEM_UPDATE_USER_USERNAME
- name: system-update-user-password
alias: PRL_SYSTEM_UPDATE_PASSWORD
- name: app-insights-connection-string
alias: app-insights-connection-string
environment:
AUTH_PROVIDER_SERVICE_CLIENT_BASEURL: "http://rpe-service-auth-provider-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
IDAM_S2S_URL: "http://rpe-service-auth-provider-{{ .Values.global.environment }}.service.core-compute-{{ .Values.global.environment }}.internal"
Expand Down
12 changes: 12 additions & 0 deletions src/contractTest/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@ document:
- templateName: PRL-LET-WEL-C100-AP15.docx
filename: Cover_letter_ap15_welsh.pdf
document-generator: docmosis
- templateName: PRL-LET-ENG-FL401-RE8.docx
filename: Cover_letter_re8.pdf
document-generator: docmosis
- templateName: PRL-LET-WEL-FL401-RE8.docx
filename: Cover_letter_welsh_re8.pdf
document-generator: docmosis
- templateName: PRL-LET-ENG-C100-RE7.docx
filename: cover_letter_re7.pdf
document-generator: docmosis
- templateName: PRL-LET-WEL-C100-RE7.docx
filename: cover_letter_welsh_re7.pdf
document-generator: docmosis
pdf:
familyCourtImgKey: "familycourt"
familyCourtImgVal: "[userImage:familycourt.png]"
Expand Down
21 changes: 16 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,16 +231,16 @@ document:
- templateName: FL-PRL-GOR-ENG-Citizen-Uploaded-Statement.docx
filename: Citizen_Uploaded_Statement.pdf
document-generator: docmosis
- templateName: FL-PRL-GOR-ENG-C7R.docx
- templateName: FL-PRL-GOR-ENG-LIP-C7R-DRAFT.docx
filename: C7_Draft_Document.pdf
document-generator: docmosis
- templateName: FL-PRL-GOR-WEL-C7R.docx
- templateName: FL-PRL-GOR-WEL-LIP-C7R-DRAFT.docx
filename: Draft_C7_response_Welsh.pdf
document-generator: docmosis
- templateName: FL-PRL-GOR-ENG-C7R-Final.docx
- templateName: FL-PRL-GOR-ENG-LIP-C7R-FINAL.docx
filename: C7_Document.pdf
document-generator: docmosis
- templateName: FL-PRL-GOR-WEL-C7R-Final.docx
- templateName: FL-PRL-GOR-WEL-LIP-C7R-FINAL.docx
filename: Final_C7_response_Welsh.pdf
document-generator: docmosis
- templateName: FL-PRL-GOR-ENG-SOLICITOR-C7R-DRAFT.docx
Expand Down Expand Up @@ -423,6 +423,9 @@ document:
- templateName: PRL-LET-ENG-C100-RE7.docx
filename: cover_letter_re7.pdf
document-generator: docmosis
- templateName: PRL-LET-WEL-C100-RE7.docx
filename: cover_letter_welsh_re7.pdf
document-generator: docmosis
- templateName: PRL-LET-ENG-FL401-AP1.docx
filename: cover_letter_ap1.pdf
document-generator: docmosis
Expand Down Expand Up @@ -503,7 +506,12 @@ document:
- templateName: PRL-LET-WEL-C100-AP15.docx
filename: Cover_letter_ap15_welsh.pdf
document-generator: docmosis

- templateName: PRL-LET-ENG-FL401-RE8.docx
filename: Cover_letter_re8.pdf
document-generator: docmosis
- templateName: PRL-LET-WEL-FL401-RE8.docx
filename: Cover_letter_welsh_re8.pdf
document-generator: docmosis
pdf:
familyCourtImgKey: "familycourt"
familyCourtImgVal: "[userImage:familycourt.png]"
Expand All @@ -527,6 +535,9 @@ spring:
web:
resources:
static-locations:
config:
import: "optional:configtree:/mnt/secrets/prl/"


# GENERAL SPRING BOOT ACTUATOR CONFIG
# Context path for Spring Boot Actuator endpoints
Expand Down
17 changes: 0 additions & 17 deletions src/main/resources/bootstrap.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1 @@
spring:
cloud:
propertiesvolume:
enabled: true
prefixed: true
paths: /mnt/secrets/prl
aliases:
prl.microservicekey-prl-dgs-api: AUTH_PROVIDER_SERVICE_CLIENT_KEY
prl.docmosis-api-key: DOCMOSIS_SERVICE_ACCESS_KEY
prl.launchDarkly-sdk-key: LAUNCH_DARKLY_SDK_KEY
prl.AppInsightsInstrumentationKey: APP_INSIGHTS_INSTRUMENTATION_KEY
prl.prl-cos-idam-client-secret: IDAM_CLIENT_SECRET
prl.test-genericpassword: PRL_GENERIC_PASSWORD
prl.idam-solicitor-username: IDAM_SOLICITOR_USERNAME
prl.idam-solicitor-password: IDAM_SOLICITOR_PASSWORD
prl.system-update-user-password: PRL_SYSTEM_UPDATE_PASSWORD
prl.system-update-user-username: SYSTEM_UPDATE_USER_USERNAME

0 comments on commit c21ccdf

Please sign in to comment.