Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ export const customAgentRepositoryExtension = {
case ConnectionTypeTestEnum.elasticsearch:
return 'ELASTICSEARCH-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_cassandra:
return 'CASSANDRA-TEST-AGENT-TOKEN';
return 'CASSANDRA-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_redis:
return 'REDIS-TEST-AGENT-TOKEN';
}
},
};
4 changes: 3 additions & 1 deletion backend/src/helpers/is-connection-entity-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export function isConnectionEntityAgent(connection: ConnectionEntity | CreateCon
ConnectionTypesEnum.agent_mssql,
ConnectionTypesEnum.agent_ibmdb2,
ConnectionTypesEnum.agent_mongodb,
ConnectionTypeTestEnum.agent_cassandra,
ConnectionTypesEnum.agent_cassandra,
ConnectionTypesEnum.agent_redis,
];

return agentTypes.includes(connection.type as ConnectionTypesEnum);
Expand All @@ -26,6 +27,7 @@ export function isConnectionTypeAgent(type: ConnectionTypesEnum | string): boole
ConnectionTypeTestEnum.agent_ibmdb2,
ConnectionTypeTestEnum.agent_mongodb,
ConnectionTypeTestEnum.agent_cassandra,
ConnectionTypesEnum.agent_redis,
];

return connectionTypes.includes(type as ConnectionTypeTestEnum);
Expand Down
Loading