Browse Source

Try (#7603)

3.0.0/version-upgrade
kezhenxu94 3 years ago committed by GitHub
parent
commit
7a888c544c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/PluginDao.java
  2. 14
      dolphinscheduler-standalone-server/src/main/resources/application.yaml

18
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/PluginDao.java

@ -39,16 +39,6 @@ public class PluginDao {
return pluginDefineMapper.checkTableExist() > 0; return pluginDefineMapper.checkTableExist() > 0;
} }
/**
* add pluginDefine
*
* @param pluginDefine plugin define entiy
* @return plugin define id
*/
public int addPluginDefine(PluginDefine pluginDefine) {
return pluginDefineMapper.insert(pluginDefine);
}
/** /**
* add or update plugin define * add or update plugin define
* *
@ -83,12 +73,4 @@ public class PluginDao {
public PluginDefine getPluginDefineById(int pluginDefineId) { public PluginDefine getPluginDefineById(int pluginDefineId) {
return pluginDefineMapper.selectById(pluginDefineId); return pluginDefineMapper.selectById(pluginDefineId);
} }
public PluginDefineMapper getPluginDefineMapper() {
return pluginDefineMapper;
}
public void setPluginDefineMapper(PluginDefineMapper pluginDefineMapper) {
this.pluginDefineMapper = pluginDefineMapper;
}
} }

14
dolphinscheduler-standalone-server/src/main/resources/application.yaml

@ -36,17 +36,6 @@ spring:
url: jdbc:h2:mem:dolphinscheduler;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;INIT=runscript from 'classpath:sql/dolphinscheduler_h2.sql' url: jdbc:h2:mem:dolphinscheduler;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;INIT=runscript from 'classpath:sql/dolphinscheduler_h2.sql'
username: sa username: sa
password: "" password: ""
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1
quartz: quartz:
job-store-type: jdbc job-store-type: jdbc
jdbc: jdbc:
@ -75,6 +64,9 @@ spring:
max-request-size: 1024MB max-request-size: 1024MB
messages: messages:
basename: i18n/messages basename: i18n/messages
jpa:
hibernate:
ddl-auto: none
registry: registry:
type: zookeeper type: zookeeper

Loading…
Cancel
Save