bulk-scan-orchestrator
Purpose
The purpose of this application is to:
- Process envelopes (with scanned documents) received from bulk-scan-processor and update CCD with them, either by updating existing cases or by creating exception records (special type of cases that need to be converted into proper service cases or be attached to existing service cases)
- Handle CCD callbacks for exception records' events, so that they can be attached or converted into service cases
Running end to end using docker
- Run up the docker environment from bulk-scan-shared-infrastructure
- You will have to setup these environment variables on either your run configuration or bash shell
IDAM_USERS_BULKSCAN_USERNAME = [email protected]
IDAM_USERS_BULKSCAN_PASSWORD = Password12
-
either using the environment vars or application default you will need to set
queue: envelopes: connection-string: XXXXX queue-name: YYYY
- where:
- XXXX is the connection string from azure to the queue you intend to use.
- YYYY is the name of the queue
- where:
-
add a case into ccd using the case management ui
-
copy the case number from the UI (excluding the # and -'s) and place it into the example1.json#case_ref to reference the created case.
-
get the secret and run the getSasSecret script to create the queue jwt token.
-
put this in the send_message.sh script
-
run the send_message script in and make sure the 201 success is returned.
-
Voila ... you should see the debug of your service retrieving the message and processing it.