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
1 change: 1 addition & 0 deletions autoadmin-ws-server/src/constants/command-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const COMMAND_TYPE = {
dataFromAgent: 'dataFromAgent',
isView: 'isView',
getRowsAsStream: 'getRowsAsStream',
executeRawQuery: 'executeRawQuery',
} as const;

export type CommandType = (typeof COMMAND_TYPE)[keyof typeof COMMAND_TYPE];
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ export const customAgentRepositoryExtension = {
return 'IBMDB2-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_mongodb:
return 'MONGODB-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_redis:
return 'REDIS-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_cassandra:
return 'CASSANDRA-TEST-AGENT-TOKEN';
case ConnectionTypeTestEnum.agent_clickhouse:
return 'CLICKHOUSE-TEST-AGENT-TOKEN';
default:
throw new Error(`Unsupported connection type for test agent token: ${connectionType}`);
}
Expand Down
Loading