bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Entity UIs: need to load session keys for SBC components #7694

Closed severinbeauvais closed 3 years ago

severinbeauvais commented 3 years ago

Description

Some SBC common components (like SbcHeader) expect to find some session keys in order to function corrrectly. (See root issue in #6801.)

As a temporary workaround, THIS ticket is to add the following keys to all Entity UIs:

  1. VUE_APP_STATUS_ROOT_API
  2. VUE_APP_AUTH_ROOT_API

(Example: see https://github.com/bcgov/business-create-ui/blob/7e87e969cdc120acf449b071a16c54cd66645238/src/utils/config-helper.ts#L43)

The subject Entity UIs are:

Please ensure the key/values exist in the local configuration files (public/config/configuration.json).

Please ensure the key/values exist in the config maps in OCP (for each UI, for each environment). If not, follow up with @pwei1018 to load them accordingly.

severinbeauvais commented 3 years ago

This is now deployed to all UIs listed above (in Dev).

severinbeauvais commented 3 years ago

Testing Notes

This change is not directly visible to the user. However, when opening a new page on a UI (ie, not navigating from BCROS home page), you should see:

(*) this is only implemented in Filings UI atm