Skip to content

Commit

Permalink
[refactor] [code struct] update code struct & sys config password des…
Browse files Browse the repository at this point in the history
…ensitized (DataLinkDC#2017)

* update code struct & sys config password  desensitized

* update code struct & sys config password  desensitized

* update code struct & sys config password  desensitized

* update code struct & sys config password  desensitized

* add idea icon
  • Loading branch information
zackyoungh authored Jun 5, 2023
1 parent 4a8fd19 commit 9686bea
Show file tree
Hide file tree
Showing 406 changed files with 2,309 additions and 875 deletions.
1,400 changes: 1,400 additions & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

package org.dinky.aop;

import org.dinky.enums.CodeEnum;
import org.dinky.enums.Status;
import org.dinky.exception.BusException;
import org.dinky.result.Result;
import org.dinky.data.enums.CodeEnum;
import org.dinky.data.enums.Status;
import org.dinky.data.exception.BusException;
import org.dinky.data.result.Result;
import org.dinky.utils.I18nMsgUtils;

import org.apache.commons.lang3.StringUtils;
Expand Down
10 changes: 5 additions & 5 deletions dinky-admin/src/main/java/org/dinky/assertion/Assert.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

package org.dinky.assertion;

import org.dinky.exception.BusException;
import org.dinky.model.Cluster;
import org.dinky.model.Jar;
import org.dinky.model.Statement;
import org.dinky.model.Task;
import org.dinky.data.exception.BusException;
import org.dinky.data.model.Cluster;
import org.dinky.data.model.Jar;
import org.dinky.data.model.Statement;
import org.dinky.data.model.Task;

/**
* Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.dinky.configure;

import org.dinky.constant.BaseConstant;
import org.dinky.data.constant.BaseConstant;
import org.dinky.interceptor.LocaleChangeInterceptor;
import org.dinky.interceptor.TenantInterceptor;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.dinky.context;

import org.dinky.dto.UserDTO;
import org.dinky.data.dto.UserDTO;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
Expand Down
22 changes: 11 additions & 11 deletions dinky-admin/src/main/java/org/dinky/controller/APIController.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@

package org.dinky.controller;

import org.dinky.dto.APICancelDTO;
import org.dinky.dto.APIExecuteJarDTO;
import org.dinky.dto.APIExecuteSqlDTO;
import org.dinky.dto.APIExplainSqlDTO;
import org.dinky.dto.APISavePointDTO;
import org.dinky.dto.APISavePointTaskDTO;
import org.dinky.data.dto.APICancelDTO;
import org.dinky.data.dto.APIExecuteJarDTO;
import org.dinky.data.dto.APIExecuteSqlDTO;
import org.dinky.data.dto.APIExplainSqlDTO;
import org.dinky.data.dto.APISavePointDTO;
import org.dinky.data.dto.APISavePointTaskDTO;
import org.dinky.data.model.JobInstance;
import org.dinky.data.result.APIJobResult;
import org.dinky.data.result.ExplainResult;
import org.dinky.data.result.Result;
import org.dinky.data.result.SelectResult;
import org.dinky.gateway.result.SavePointResult;
import org.dinky.job.JobResult;
import org.dinky.model.JobInstance;
import org.dinky.result.APIJobResult;
import org.dinky.result.ExplainResult;
import org.dinky.result.Result;
import org.dinky.result.SelectResult;
import org.dinky.service.APIService;
import org.dinky.service.JobInstanceService;
import org.dinky.service.StudioService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

package org.dinky.controller;

import org.dinky.dto.LoginDTO;
import org.dinky.dto.UserDTO;
import org.dinky.enums.Status;
import org.dinky.model.Tenant;
import org.dinky.result.Result;
import org.dinky.data.dto.LoginDTO;
import org.dinky.data.dto.UserDTO;
import org.dinky.data.enums.Status;
import org.dinky.data.model.Tenant;
import org.dinky.data.result.Result;
import org.dinky.service.UserService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

package org.dinky.controller;

import org.dinky.model.AlertGroup;
import org.dinky.model.AlertHistory;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.AlertGroup;
import org.dinky.data.model.AlertHistory;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.AlertGroupService;
import org.dinky.service.AlertHistoryService;
import org.dinky.utils.I18nMsgUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.model.AlertHistory;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.AlertHistory;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.AlertHistoryService;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

import org.dinky.alert.AlertPool;
import org.dinky.alert.AlertResult;
import org.dinky.model.AlertInstance;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.AlertInstance;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.AlertInstanceService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

package org.dinky.controller;

import org.dinky.dto.CatalogueTaskDTO;
import org.dinky.data.dto.CatalogueTaskDTO;
import org.dinky.data.model.Catalogue;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.function.constant.PathConstant;
import org.dinky.model.Catalogue;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.CatalogueService;

import java.io.BufferedReader;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
package org.dinky.controller;

import org.dinky.assertion.Asserts;
import org.dinky.data.model.ClusterConfiguration;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.gateway.result.TestResult;
import org.dinky.model.ClusterConfiguration;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.ClusterConfigurationService;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
package org.dinky.controller;

import org.dinky.assertion.Asserts;
import org.dinky.model.Cluster;
import org.dinky.model.JobInstance;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.Cluster;
import org.dinky.data.model.JobInstance;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.ClusterInstanceService;
import org.dinky.service.JobInstanceService;
import org.dinky.utils.I18nMsgUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
package org.dinky.controller;

import org.dinky.assertion.Asserts;
import org.dinky.constant.CommonConstant;
import org.dinky.data.constant.CommonConstant;
import org.dinky.data.model.Column;
import org.dinky.data.model.DataBase;
import org.dinky.data.model.QueryData;
import org.dinky.data.model.Schema;
import org.dinky.data.model.SqlGeneration;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.metadata.driver.DriverPool;
import org.dinky.metadata.result.JdbcSelectResult;
import org.dinky.model.Column;
import org.dinky.model.DataBase;
import org.dinky.model.QueryData;
import org.dinky.model.Schema;
import org.dinky.model.SqlGeneration;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.DataBaseService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.model.Document;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.Document;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.DocumentService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
package org.dinky.controller;

import org.dinky.assertion.Asserts;
import org.dinky.exception.BusException;
import org.dinky.data.exception.BusException;
import org.dinky.data.model.FlinkUdfManifest;
import org.dinky.function.constant.PathConstant;
import org.dinky.function.util.ZipWriter;
import org.dinky.model.FlinkUdfManifest;

import java.io.File;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

package org.dinky.controller;

import org.dinky.constant.UploadFileConstant;
import org.dinky.result.Result;
import org.dinky.data.constant.UploadFileConstant;
import org.dinky.data.result.Result;
import org.dinky.service.FileUploadService;

import org.apache.commons.lang3.StringUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.model.FragmentVariable;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.FragmentVariable;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.FragmentVariableService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@

package org.dinky.controller;

import org.dinky.dto.GitProjectDTO;
import org.dinky.dto.TreeNodeDTO;
import org.dinky.model.GitProject;
import org.dinky.params.GitProjectSortJarParams;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.dto.GitProjectDTO;
import org.dinky.data.dto.TreeNodeDTO;
import org.dinky.data.model.GitProject;
import org.dinky.data.params.GitProjectSortJarParams;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.GitProjectService;
import org.dinky.sse.SseEmitterUTF8;
import org.dinky.utils.GitProjectStepSseFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.model.History;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.History;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.HistoryService;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@

package org.dinky.controller;

import org.dinky.data.model.Jar;
import org.dinky.data.model.Task;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.function.constant.PathConstant;
import org.dinky.function.data.model.UDF;
import org.dinky.function.util.UDFUtil;
import org.dinky.model.Jar;
import org.dinky.model.Task;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.JarService;
import org.dinky.service.TaskService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

import org.dinky.api.FlinkAPI;
import org.dinky.assertion.Asserts;
import org.dinky.data.model.JobInfoDetail;
import org.dinky.data.model.JobInstance;
import org.dinky.data.model.JobManagerConfiguration;
import org.dinky.data.model.TaskManagerConfiguration;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.explainer.lineage.LineageResult;
import org.dinky.job.BuildConfiguration;
import org.dinky.model.JobInfoDetail;
import org.dinky.model.JobInstance;
import org.dinky.model.JobManagerConfiguration;
import org.dinky.model.TaskManagerConfiguration;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.JobInstanceService;
import org.dinky.service.TaskService;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
package org.dinky.controller;

import org.dinky.assertion.Asserts;
import org.dinky.model.Namespace;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.Namespace;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.NamespaceService;

import org.springframework.web.bind.annotation.DeleteMapping;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.process.model.ProcessEntity;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.service.ProcessService;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

package org.dinky.controller;

import org.dinky.model.Role;
import org.dinky.model.UserRole;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.Role;
import org.dinky.data.model.UserRole;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.RoleService;
import org.dinky.service.UserRoleService;
import org.dinky.utils.I18nMsgUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

package org.dinky.controller;

import org.dinky.model.RoleSelectPermissions;
import org.dinky.result.ProTableResult;
import org.dinky.result.Result;
import org.dinky.data.model.RoleSelectPermissions;
import org.dinky.data.result.ProTableResult;
import org.dinky.data.result.Result;
import org.dinky.service.RoleSelectPermissionsService;
import org.dinky.utils.I18nMsgUtils;

Expand Down
Loading

0 comments on commit 9686bea

Please sign in to comment.