File tree Expand file tree Collapse file tree
scripts/utilities/letter-test-data Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,3 +29,33 @@ npm run cli -- create-letter-batch \
2929 --status PENDING \
3030 --count 10
3131```
32+
33+ ## Batch Creation Script
34+
35+ For creating multiple batches with different specification and group IDs, use the bash wrapper script:
36+
37+ ``` bash
38+ ./src/create-batch-letters.sh \
39+ --supplier-id supplier-id \
40+ --environment main \
41+ --awsAccountId 820178564574 \
42+ --count 25 \
43+ --status PENDING
44+ ```
45+
46+ This script creates 3 batches with the following configurations:
47+
48+ - Batch 1: ` --specification-id integration-specification-english --group-id group-english `
49+ - Batch 2: ` --specification-id integration-specification-braille --group-id group-accessible `
50+ - Batch 3: ` --specification-id integration-specification-arabic --group-id group-international `
51+
52+ ** Note:** The default configuration creates 2,505 letters total (835 letters × 3 batches) with an 18-month TTL.
53+
54+ ### Script Options
55+
56+ - ` --supplier-id ` (required): Supplier ID for the letters
57+ - ` --environment ` (required): Environment (e.g., pr147, main)
58+ - ` --awsAccountId ` (required): AWS Account ID for S3 bucket resolution
59+ - ` --count ` (optional): Number of letters per batch (default: 835)
60+ - ` --status ` (optional): Letter status (default: PENDING)
61+ - ` --ttl-hours ` (optional): TTL in hours (default: 13140, ~ 18 months)
You can’t perform that action at this time.
0 commit comments