From 21ca5f8f132ae708d69a127dc3b1bcb59d008356 Mon Sep 17 00:00:00 2001 From: Lucas Cairns Date: Fri, 4 Oct 2024 12:37:50 +0100 Subject: [PATCH] Remove deprecated fields (#628) --- app/form/v1_0/fields/common/fieldsFactory.ts | 35 -------------------- docker-compose.yml | 4 +++ 2 files changed, 4 insertions(+), 35 deletions(-) diff --git a/app/form/v1_0/fields/common/fieldsFactory.ts b/app/form/v1_0/fields/common/fieldsFactory.ts index c6c88974..f4dc259b 100644 --- a/app/form/v1_0/fields/common/fieldsFactory.ts +++ b/app/form/v1_0/fields/common/fieldsFactory.ts @@ -197,41 +197,6 @@ export default abstract class FieldsFactory { dependentValue: 'NO', maxChars: summaryCharacterLimit, }), - // TODO: 🔥 - { - text: 'Give details', - code: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors_details`, - type: FieldType.TextArea, - characterCountMax: summaryCharacterLimit, - dependent: { - field: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors`, - value: 'FOO', - displayInline: true, - }, - }, - { - text: 'Give details', - code: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm_details`, - type: FieldType.TextArea, - characterCountMax: summaryCharacterLimit, - dependent: { - field: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm`, - value: 'FOO', - displayInline: true, - }, - }, - { - text: 'Give details', - code: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending_details`, - type: FieldType.TextArea, - characterCountMax: summaryCharacterLimit, - dependent: { - field: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending`, - value: 'FOO', - displayInline: true, - }, - }, - // TODO: 👆 ] } } diff --git a/docker-compose.yml b/docker-compose.yml index 16c273b3..802a9142 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,6 +39,8 @@ services: - coordinator-api healthcheck: test: ["CMD", "curl", "-f", "http://arns-handover:7070/health/ping"] + interval: 5s + retries: 60 environment: SERVER_PORT: 7070 REDIS_HOST: redis @@ -61,6 +63,8 @@ services: - redis healthcheck: test: ["CMD", "node", "/app/docker/healthcheck.js"] + interval: 5s + retries: 60 environment: REDIS_ENABLED: "true" SYSTEM_CLIENT_SECRET: clientsecret