Skip to content

Commit af8cec1

Browse files
committed
feat: add opengemini support
1 parent 967ec53 commit af8cec1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

console/atest-ui/src/views/DataManager.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ const executeWithQuery = async (sql: string) => {
190190
case 'atest-store-orm':
191191
case 'atest-store-cassandra':
192192
case 'atest-store-iotdb':
193+
case 'atest-store-opengemini':
193194
case 'atest-store-elasticsearch':
194195
ormDataHandler(data)
195196
success = true
@@ -225,7 +226,7 @@ const nextPage = () => {
225226
<template>
226227
<div>
227228
<el-container style="height: calc(100vh - 50px);">
228-
<el-aside v-if="kind === 'atest-store-orm' || kind === 'atest-store-iotdb' || kind === 'atest-store-cassandra' || kind === 'atest-store-elasticsearch'">
229+
<el-aside v-if="kind === 'atest-store-orm' || kind === 'atest-store-iotdb' || kind === 'atest-store-cassandra' || kind === 'atest-store-elasticsearch' || kind === 'atest-store-opengemini'">
229230
<el-scrollbar>
230231
<el-select v-model="queryDataMeta.currentDatabase" placeholder="Select database"
231232
@change="queryTables" filterable>

console/atest-ui/src/views/__test__/types.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('CreateFilter', () => {
4646
describe('GetHTTPMethods', () => {
4747
test('HTTP methods', () => {
4848
const options = GetHTTPMethods()
49-
expect(options).toHaveLength(7)
49+
expect(options).toHaveLength(8)
5050
options.forEach((item) => {
5151
expect(item.key).toBe(item.value)
5252
})

console/atest-ui/src/views/store.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@ const storeExtensions = [
120120
name: 'atest-store-elasticsearch',
121121
params: [],
122122
link: 'https://github.com/LinuxSuRen/atest-ext-store-elasticsearch'
123+
},
124+
{
125+
name: 'atest-store-opengemini',
126+
params: [],
127+
link: 'https://github.com/LinuxSuRen/atest-ext-store-opengemini'
123128
}
124129
] as Store[]
125130

0 commit comments

Comments
 (0)