Skip to content

Case Management

afwilcox edited this page Apr 25, 2024 · 4 revisions

The case management component of this application is located in the Emerald Cluster. The GitHub repo is located here: https://github.com/bcgov/nr-compliance-enforcement-cm/. Documentation related to this project is located in the repo's wiki.

Conventions to Indicate that your PR requires a specific Case Management PR

  • If your PR in this repository also has a corresponding PR in the Case Management repository please follow the following conventions:
    • decorate your PR in this repository with a label indicating which "Slot" your Case Management PR is deployed into
    • If your change is a breaking change put an exclamation mark (!) into your PR title. For example fix!: Refactored Case Management to be more awesome

For more information on Case Management slots see the following: https://github.com/bcgov/nr-compliance-enforcement-cm/wiki/Deployment-Process

Updating your OpenShift Instance to point to the correct Case Management PR

By default all new PRs point to a Case Management environment that reflects what is currently in the Main branch of that repository, but there are some instances when you need to override this and point to one of the 5 available Case Management deployment slots.

  • Navigate to the Secret Page in OpenShift
  • Find the secret nr-compliance-enforcement-{PR #}-case-management
  • Update the secret to point to the current URL e.g. https://dc0a4a-compenf-dev-3-backend.apps.emerald.devops.gov.bc.ca/graphql
  • Navigate to the Deployment Config Page
  • Find the nr-compliance-enforcement-{PR #}-backend deployment config
  • Select "Start rollout" from the three dot menu
  • To monitor that the containers are updated, navigate to Pods; and verify that the nr-compliance-enforcement-{PR #}-backend have an updated Create timestamp