Skip to content

Commit

Permalink
Merge pull request #36035 from hmcts/DFR-3462-Add-Draft-Order-overdue…
Browse files Browse the repository at this point in the history
…-review-notifications-cron-to-Prod

DFR-3462 cron job for overdue notification on prod
  • Loading branch information
hamzahtahirhmcts authored Jan 14, 2025
2 parents c452881 + 5ca10d4 commit 77c4155
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: finrem-cron-draft-order-review-overdue
spec:
releaseName: finrem-cron-draft-order-review-overdue
values:
job:
image: hmctspublic.azurecr.io/finrem/cos:prod-a02d57e-20250109084311 #{"$imagepolicy": "flux-system:finrem-cos"}
schedule: "0 2 * * *"
useInterpodAntiAffinity: true
environment:
TASK_NAME: DraftOrderReviewOverdueSendNotificationTask
CRON_DRAFT_ORDER_REVIEW_OVERDUE_NOTIFICATION_SENT_ENABLED: false
CRON_DRAFT_ORDER_REVIEW_OVERDUE_NOTIFICATION_SENT_BATCH_SIZE: 2000
CRON_DRAFT_ORDER_REVIEW_OVERDUE_NOTIFICATION_SENT_DAYS_SINCE_ORDER_UPLOAD: 14
FEATURE_PBA_CASE_TYPE: false
FEATURE_USE_USER_TOKEN: true
FEATURE_SOLICITOR_NOC: true
FEATURE_CASEWORKER_NOC: true
FEATURE_CFV_ENABLED: true
SECURE_DOC_ENABLED: false
DOCUMENT_MANAGEMENT_STORE_URL: http://dm-store-prod.service.core-compute-prod.internal
SEND_LETTER_SERVICE_BASEURL: http://rpe-send-letter-service-prod.service.core-compute-prod.internal
CASE_DOCUMENT_AM_URL: http://ccd-case-document-am-api-prod.service.core-compute-prod.internal
global:
jobKind: CronJob
enableKeyVaults: true
tenantId: "531ff96d-0ae9-462a-8d2d-bec7c0b42082"
environment: prod
2 changes: 2 additions & 0 deletions apps/financial-remedy/prod/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ kind: Kustomization
resources:
- ../../base
- ../../finrem-cron-one-off-task/finrem-cron-one-off-task.yaml
- ../../finrem-cron-draft-order-review-overdue/finrem-cron-draft-order-review-overdue.yaml
- ../../../base/slack-provider/prod
namespace: financial-remedy
patches:
- path: ../../finrem-cos/prod.yaml
- path: ../../serviceaccount/prod.yaml
- path: ../../finrem-cron-one-off-task/prod/prod.yaml
- path: ../../finrem-cron-draft-order-review-overdue/prod/prod.yaml

0 comments on commit 77c4155

Please sign in to comment.