Browse Source

cal duration in processInstancesList (#944)

* rename from DatasourceUserMapper to DataSourceUserMapper

* add unit test in UserMapper and WorkerGroupMapper

* change cn.escheduler to org.apache.dolphinscheduler

* add unit test in UdfFuncMapperTest

* add unit test in UdfFuncMapperTest

* remove DatabaseConfiguration

* add ConnectionFactoryTest

* cal duration in processInstancesList

* change desc to description
pull/2/head
lgcareer 5 years ago committed by qiaozhanwei
parent
commit
4ea0466bc3
  1. 4
      dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java

4
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/UdfFuncService.java

@ -115,7 +115,7 @@ public class UdfFuncService extends BaseService{
if (StringUtils.isNotEmpty(argTypes)) { if (StringUtils.isNotEmpty(argTypes)) {
udf.setDatabase(database); udf.setDatabase(database);
} }
udf.setDesc(desc); udf.setDescription(desc);
udf.setResourceId(resourceId); udf.setResourceId(resourceId);
udf.setResourceName(resource.getAlias()); udf.setResourceName(resource.getAlias());
udf.setType(type); udf.setType(type);
@ -220,7 +220,7 @@ public class UdfFuncService extends BaseService{
if (StringUtils.isNotEmpty(argTypes)) { if (StringUtils.isNotEmpty(argTypes)) {
udf.setDatabase(database); udf.setDatabase(database);
} }
udf.setDesc(desc); udf.setDescription(desc);
udf.setResourceId(resourceId); udf.setResourceId(resourceId);
udf.setResourceName(resource.getAlias()); udf.setResourceName(resource.getAlias());
udf.setType(type); udf.setType(type);

Loading…
Cancel
Save