diff --git a/README.md b/README.md index c389137..73eaee6 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,12 @@ This service is part of the [Payment Hub](https://github.com/DEFRA/ffc-pay-core) ## Validation -There are four files that make up a payment batch. All four are required before the batch can be validated. +There are four files that make up a payment batch. All four are required before the batch can be validated. ### Required files -| File | Description | Mask | -| --- | --- | --- | +| File | Description | Mask | +| ------------------ | ----------------------------------------- | -------------------- | | Payment batch file | Contains a collection of payment requests | `PENDING_{name}.dat` | - payment batch file, `{name}.dat` @@ -19,7 +19,6 @@ There are four files that make up a payment batch. All four are required before - checksum file, `{name}.txt` - checksum control file, `CTL_{name}.txt` - On successful validation, `PENDING_` is added to all filenames and all but the payment batch file are moved to the `inbound` virtual directory. ## Prerequisites @@ -28,6 +27,7 @@ On successful validation, `PENDING_` is added to all filenames and all but the p - Docker Compose Optional: + - Kubernetes - Helm diff --git a/app/config/scheme.js b/app/config/scheme.js index 8634ee7..4261ca7 100644 --- a/app/config/scheme.js +++ b/app/config/scheme.js @@ -98,8 +98,8 @@ const schema = Joi.object({ imps: Joi.object({ name: Joi.string().default(IMPS), fileMasks: Joi.object({ - inbound: Joi.array().items(Joi.string()).default([/^CTL_FIN_IMPS_A[P|R]_\d*.INT$/]), - outbound: Joi.array().items(Joi.string()).default([/^CTL_RET_IMPS_A[P|R]_\d*.INT$/]) + inbound: Joi.array().items(Joi.string()).default([/^CTL_FIN_IMPS_A[P|R]_\d*\.INT$/]), + outbound: Joi.array().items(Joi.string()).default([/^CTL_RET_IMPS_A[P|R]_\d*\.INT$/]) }), server: Joi.string().default(CALLISTO), directories: Joi.object({ diff --git a/package-lock.json b/package-lock.json index c13f1ea..8ca9bc1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ffc-pay-gateway", - "version": "1.4.16", + "version": "1.4.17", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ffc-pay-gateway", - "version": "1.4.16", + "version": "1.4.17", "license": "OGL-UK-3.0", "dependencies": { "@azure/identity": "4.2.1", diff --git a/package.json b/package.json index 97572ef..09f29ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ffc-pay-gateway", - "version": "1.4.16", + "version": "1.4.17", "description": "Managed Gateway integration", "homepage": "https://github.com/DEFRA/ffc-pay-gateway", "main": "app/index.js",