bcgov / foi-flow

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

Deployment Request Management to TEST #179

Closed abin-aot closed 3 years ago

abin-aot commented 3 years ago

Title of ticket:

Description

  1. FormsFlow Deployment, includes FOI Flow CustomWeb (FormsFlowWeb) & FOI - Custom WF
  2. Patroni LOB DB
  3. Request Queue Management LOB API
  4. Redis Cluster -

Dependencies

Are there any dependencies?

DOD

acoard-aot commented 3 years ago

The API is currently deployed and functioning with a stock postgres DB. Imagepull issue currently persists for patroni only. Perhaps Sumathi has different templates we can try?

acoard-aot commented 3 years ago

https://request-management-api-test.apps.silver.devops.gov.bc.ca/

Test API

acoard-aot commented 3 years ago

I am unassigning myself from this for now, as API is up and accepting requests. If theres any further integration work in future I have (eg if any after formsflow?) I can be re-assigned/do the work then.

acoard-aot commented 3 years ago

Just discovered there is a dependency between these subtasks task (specifically item 3, the LOB API, and 4, Redis). I did not recall that latest versions of the api required redis. There is also a depencency on getting the Angular app in front of Jackie to QA, as the Angular app needs the LOB API to be functioning.

I have gotten the LOB API done as much as possible, now I need Redis up in order to finish it. @sumathi-thirumani-aot when working on the test environment if you could prioritize redis that would be appreciated, as it's blocking tasks for both you and me. Thanks.

sumathi-thirumani commented 3 years ago

Redis & Patroni is up and running in test region. Service name of redis: redis-formio Service name of patroni: patroni

sumathi-thirumani commented 3 years ago

This requires setup & deployment of listed components

  1. patroni : Completed
  2. redis : Completed
  3. forms-flow-bpm : Completed
  4. forms-flow-web: Completed
  5. forms-flow-forms: Completed
  6. Request Management API: Completed
  7. Keycloak Setup for Camunda: Completed
  8. Keycloak Setup for forms-flow-web: Completed
  9. Deployment of webapi: Completed

Outstanding Issue:

  1. User automatically logged out in foi-flow web tier - Completed
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