Compliance deployment guide

Import realm file

Import the following file in keycloak. Go to Realm > Clients > cim > Authorization > Import

compliance-regulations-authz-config-updated.json


Update deployment

Add the following customer attributes in agent desk:

  • timezone

  • region

  • Timezone source

  • Timezone confidence

Update following env variable under cim-customer component in helm-values/ef-cx-custom-values.yaml

       - name: CHECK_TIMEZONE
         value: true

Run the following command to deploy updated values

helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 5.5.0

Import compliance

This section covers the post-deployment steps needed to import the US compliances within the CX solution.
In case of upgrade copy these files in the current release directory

#Copy the script from CX-5.5.0/kubernetes/scripts/import-regulations.sh
Copy From CX-5.5.0/kubernetes/scripts/import-regulations.sh To ./scripts/
Copy From CX-5.5.0/kubernetes/post-deployment/compliance_US.json To ./post-deployment/

Go to script folder in your working directory

cd <current-release>/kubernetes/scripts

update the following values into the import-regulations.sh

FQDN="cx-core-03.expertflow.com"
MONGO_USER="root"
MONGO_PASSWORD="Expertflow123"

run the script using the following commands

chmod +x import-regulations.sh
./import-regulations.sh

Expected output

[INFO] 1/5 Fetching tenants...
[INFO] 2/5 Extracting MongoDB certificates...
[INFO] 3/5 Creating mongo-tools pod...
[INFO] 4/5 Copying files to pod...
[INFO] 5/5 Importing data into tenant databases...

Processing tenant: tenant1
-> Success

Processing tenant: tenant2
-> Success

Processing tenant: tenant3
-> Failed

[SUCCESS] Import completed for all tenants.