Breadcrumbs

Grandmama Test Stub Deployment

Following is the configuration guide for both utilities

Grandmama Connector Utility Configuration Guide

Environment Variable

Default value

Description

CONV_RAMPUP_TIME_SS

1

The ramp up time after which a new conversation is added to the system. This time is in seconds.

NO_CONCURRENT_CON

500

The number of concurrent conversations.

CONV_RESPAWN_DELAY_SS

-1

The respawn delay of a new conversation after an old conversation is closed. This time is in seconds. If you do not want to respawn a new conversation, use -1 as its value.

MSG_REPLY_THINKTIME_MS

5000

After receiving a message from the agent, the Grandmama connector utility waits for this much time in milliseconds before replying to the agent message. This time is in milliseconds.

SEND_INIT_MSG

false

This configuration is not used. Ignore it.

REST_API_PORT

3000

Do not change.

BASE_URL

https://FQDN/ef-chat/fnb-cme

The base URL of Grandmama connector.

MSG_REQ_TIMEOUT_MS

10000000

Message request timeout in milliseconds. Do not change unless there is a certain need to use it.

PREFIX

1223000

The prefix of customer UCN. Grandmama connector utility will start creating UCNs after this number.

INPUT_FILE_PATH

/usr/src/app/

The path where the input csv file is placed inside the image. Do not forget the trailing / in this path.

USE_INPUT_FILE

false

Use true if you want to use an input file to provide list of UCNs

INPUT_FILE_NAME

data.csv

The input csv file name

COMPANY_CODE

15

The company code for all the UCNs in case USE_INPUT_FILE is true

Pep Connector Utility Configuration Guide

Environment Variable

Default Value

Description

AGENTS_API_URL

https://FQDN/routing-engine/agents

The agent API URL of the routing engine. FQDN will be the same as the FQDN of EFCX. This is where the Pep connector utility gets agents from.

AGENT_PWD

12345

The password for all the agents who are intended to be logged in via the Pep connector utility.

AGENT_LOGIN_RAMPUP_TIME_SS

1

The time in seconds after which a new agent is logged into the system.

PEP_CONNECTOR_BASE_URL

https://FQDN/ef-chat/fnb-cme

The base URL of Pep connector.

PEP_REQ_TIMEOUT_MS

100000

The request timeout of Pep Connector REST requests. Do not change unless it is desired.

AGENT_STATE_CHANGE_DELAY_SS

2

The time in seconds after which the agent changes his state to READY after logging in.

MSG_REPLY_THINKTIME_SS

5

The time in seconds after which Pep connector utility replies to a customer message.

END_CONVERSATION_DELAY_SS

120

The delay in seconds after which a conversation is ended by agent. This timeout starts when an agent accepts a chat.

REST_API_PORT

3000

Do not change

MRD_NAME

CHAT

Do not change

CALLBACK_FQDN

http://IP:PORT

The base URL of the Pep Connector utility itself. The Pep Connector uses this URL to send messages to the Pep Connector Utility

OCEP_ENDPOINT

/agent-state

Do not change

ISSUER

ef-chat

Do not change


Deployment Guide

To get the deployment manifests for utilities

  1. Clone the repo

git clone git clone https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/load-test/utilities-deployment
  1. To deploy grandmama utility use the following commands.

cd utilities-deployment/grandmamastub/
kubectl apply -f test-grandmama-cm.yaml
kubectl apply -f test-grandmama.yaml
kubectl apply -f test-grandmama-svc.yaml

To copy a file into a container use the following command

kubectl cp <local-file-path> <namespace>/<pod-name>:<container-path>
  1. To deploy agent utility

cd utilities-deployment/pep-connector-mock/
kubectl apply -f ef-test-agent-cm.yaml
kubectl apply -f agent-test-deployment.yaml
kubectl apply -f ef-test-agent-svc.yaml