bcgov / foi-flow

Freedom of Information modernization
Apache License 2.0
5 stars 3 forks source link

Create workflow instance for raw request #164

Closed sumathi-thirumani closed 3 years ago

sumathi-thirumani commented 3 years ago

On submission of new FOI request, the system is expected to create a workflow instance by listening to redis queue.

Scope: Only create workflow instance .

Definition of Done:

sumathi-thirumani commented 3 years ago

Deployment in Dev : Yes Raw Request Processing (V1) : <<Refer Attachmentfoi-raw-request-processing-v1.jpg>>

sumathi-thirumani commented 3 years ago

PR: https://github.com/bcgov/foi-flow/pull/165

HLD: Class Diagram: foi-create-wf-message-listener.jpg

mpilchar commented 3 years ago

Please review PR @abin-aot @divyav-aot

sumathi-thirumani commented 3 years ago

Use case (Steps):

  1. Submit FOI request using client facing application replica test url -> https://test.foirequestform.gov.bc.ca/
  2. After successful submission; login to new FOI Modernization Portal using url -> https://test-foirequest.apps.silver.devops.gov.bc.ca/ Expected Behavior: The newly submitted request must be listed in home. image.png
  3. Verify the workflow initiation in the workflow engine using url -> https://test-foi-ffa-bpm.apps.silver.devops.gov.bc.ca/camunda [a] Navigate to cockpit module image.png [b] Click on menu item Processes from top menu panel image.png [c] Click on process definition Name FOI Request Processing image.png [c] Clicking over the targeted instance will display the application Id associated with it. image.png
mpilchar commented 3 years ago

During QA testing, team encountered instance numbers in camunda. No QA testing was done on this as there was some confusion. If any testing is required, dev team to please undertake. cc: @JHarrietha-AOT @sumathi-thirumani-aot