feat(接口测试): 支持sqlserver
This commit is contained in:
parent
9918d77e51
commit
21ad96c691
|
@ -171,6 +171,13 @@
|
|||
<version>${jmeter.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.microsoft.sqlserver</groupId>
|
||||
<artifactId>mssql-jdbc</artifactId>
|
||||
<version>7.4.1.jre8</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Zookeeper -->
|
||||
<dependency>
|
||||
<groupId>org.apache.dubbo</groupId>
|
||||
|
|
|
@ -541,7 +541,7 @@ export class ConfigCenter extends BaseConfig {
|
|||
}
|
||||
|
||||
export class DatabaseConfig extends BaseConfig {
|
||||
static DRIVER_CLASS = ["com.mysql.jdbc.Driver"];
|
||||
static DRIVER_CLASS = ["com.mysql.jdbc.Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver"];
|
||||
|
||||
constructor(options) {
|
||||
super();
|
||||
|
|
|
@ -536,7 +536,7 @@ export default {
|
|||
form_description: "如果当前配置项无值,则取场景配置项的值",
|
||||
},
|
||||
sql: {
|
||||
dataSource: "数据源",
|
||||
dataSource: "数据源名称",
|
||||
sql_script: "SQL脚本",
|
||||
timeout: "超时时间(ms)",
|
||||
database_driver: "数据库驱动",
|
||||
|
|
|
@ -536,7 +536,7 @@ export default {
|
|||
form_description: "如果當前配置項無值,則取場景配置項的值",
|
||||
},
|
||||
sql: {
|
||||
dataSource: "數據源",
|
||||
dataSource: "數據源名稱",
|
||||
sql_script: "SQL腳本",
|
||||
timeout: "超時時間(ms)",
|
||||
database_driver: "數據庫驅動",
|
||||
|
|
Loading…
Reference in New Issue