Skip to content

Commit 21ca5f8

Browse files
authoredOct 4, 2024
Remove deprecated fields (#628)
1 parent b686bb9 commit 21ca5f8

File tree

2 files changed

+4
-35
lines changed

2 files changed

+4
-35
lines changed
 

‎app/form/v1_0/fields/common/fieldsFactory.ts

-35
Original file line numberDiff line numberDiff line change
@@ -197,41 +197,6 @@ export default abstract class FieldsFactory {
197197
dependentValue: 'NO',
198198
maxChars: summaryCharacterLimit,
199199
}),
200-
// TODO: 🔥
201-
{
202-
text: 'Give details',
203-
code: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors_details`,
204-
type: FieldType.TextArea,
205-
characterCountMax: summaryCharacterLimit,
206-
dependent: {
207-
field: `${this.fieldPrefix}_practitioner_analysis_strengths_or_protective_factors`,
208-
value: 'FOO',
209-
displayInline: true,
210-
},
211-
},
212-
{
213-
text: 'Give details',
214-
code: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm_details`,
215-
type: FieldType.TextArea,
216-
characterCountMax: summaryCharacterLimit,
217-
dependent: {
218-
field: `${this.fieldPrefix}_practitioner_analysis_risk_of_serious_harm`,
219-
value: 'FOO',
220-
displayInline: true,
221-
},
222-
},
223-
{
224-
text: 'Give details',
225-
code: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending_details`,
226-
type: FieldType.TextArea,
227-
characterCountMax: summaryCharacterLimit,
228-
dependent: {
229-
field: `${this.fieldPrefix}_practitioner_analysis_risk_of_reoffending`,
230-
value: 'FOO',
231-
displayInline: true,
232-
},
233-
},
234-
// TODO: 👆
235200
]
236201
}
237202
}

‎docker-compose.yml

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ services:
3939
- coordinator-api
4040
healthcheck:
4141
test: ["CMD", "curl", "-f", "http://arns-handover:7070/health/ping"]
42+
interval: 5s
43+
retries: 60
4244
environment:
4345
SERVER_PORT: 7070
4446
REDIS_HOST: redis
@@ -61,6 +63,8 @@ services:
6163
- redis
6264
healthcheck:
6365
test: ["CMD", "node", "/app/docker/healthcheck.js"]
66+
interval: 5s
67+
retries: 60
6468
environment:
6569
REDIS_ENABLED: "true"
6670
SYSTEM_CLIENT_SECRET: clientsecret

0 commit comments

Comments
 (0)