Add new redis key for tracking agent connections

Issue: Add new redis keys for agent key (#706 - closed)

Description

In Add agent key struct to represent an agent (!2488 - merged) , we introduced AgentKey to uniquely track different types of agents. This MR updates the redis to add a new redis key for agent key connections while keeping the existing redis keys. This will help in a smoother migration. The existing redis keys will be removed in a followup as part of Remove old redis keys for agent id (#708 - closed) .

Steps to verify

  1. Start an agentk.
  2. Connect to Redis server by running gdk redis-cli in the GDK directory.
  3. Within the Redis console, run keys *.
  4. Search for kas_by_agent_. You should see 2 entries - kas_by_agent_id3 and kas_by_agent_key3.

image

Edited by Vishal Tak

Merge request reports

Loading