mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
(improvement)(headless) Opt logic of obtaining faker user (#2014)
* (improvement)(headless) opt logic of obtaining faker user * (improvement)(headless) Fill in default values for data set creating * (improvement)(headless) modify dataEvent type when creating model --------- Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -2,10 +2,12 @@ package com.tencent.supersonic.headless.api.pojo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class DataSetDetail {
|
||||
|
||||
private List<DataSetModelConfig> dataSetModelConfigs;
|
||||
private List<DataSetModelConfig> dataSetModelConfigs = Collections.emptyList();
|
||||
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public class DataSetReq extends SchemaItem {
|
||||
|
||||
private Long domainId;
|
||||
|
||||
private DataSetDetail dataSetDetail;
|
||||
private DataSetDetail dataSetDetail = new DataSetDetail();
|
||||
|
||||
private String alias;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user