Skip to content

Commit 9abb703

Browse files
authored
feat: add opengemini support (#665)
* feat: add opengemini support * fix the ui unit testing error * upgrade ubuntu from 20.04 to 22.04 --------- Co-authored-by: rick <[email protected]>
1 parent 967ec53 commit 9abb703

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/license-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
Test:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
steps:
1010
- name: Check License Header
1111
uses: apache/[email protected]

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__/store.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { SupportedExtension, SupportedExtensions } from "../store";
1919
describe("SupportedExtensions", () => {
2020
test('length check', () => {
2121
const extensions = SupportedExtensions()
22-
expect(extensions.length).toBe(9)
22+
expect(extensions.length).toBe(10)
2323
})
2424

2525
for (const extension of SupportedExtensions()) {

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)