mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-04 22:52:54 +00:00
Rename DAO and model into table and view sub-package (#722)
This commit is contained in:
parent
1206703e7d
commit
cd5f72b7ee
@ -25,7 +25,7 @@ import play.Logger;
|
||||
import play.Play;
|
||||
import play.mvc.Controller;
|
||||
import play.mvc.Result;
|
||||
import wherehows.dao.ConnectionPoolProperties;
|
||||
import wherehows.dao.table.ConnectionPoolProperties;
|
||||
import wherehows.dao.DaoFactory;
|
||||
|
||||
|
||||
|
||||
@ -31,8 +31,8 @@ import wherehows.common.schemas.Record;
|
||||
import wherehows.common.utils.StringUtil;
|
||||
import play.libs.Json;
|
||||
import play.Logger;
|
||||
import wherehows.dao.DatasetClassificationDao;
|
||||
import wherehows.models.DatasetClassification;
|
||||
import wherehows.dao.table.DatasetClassificationDao;
|
||||
import wherehows.models.table.DatasetClassification;
|
||||
|
||||
|
||||
public class GobblinTrackingAuditProcessor extends KafkaConsumerProcessor {
|
||||
|
||||
@ -14,6 +14,13 @@
|
||||
package wherehows.dao;
|
||||
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import wherehows.dao.table.ClusterInfoDao;
|
||||
import wherehows.dao.table.DatasetClassificationDao;
|
||||
import wherehows.dao.table.DatasetSchemaInfoDao;
|
||||
import wherehows.dao.table.DatasetsDao;
|
||||
import wherehows.dao.table.DictDatasetDao;
|
||||
import wherehows.dao.table.FieldDetailDao;
|
||||
import wherehows.dao.view.MetadataReadOnlyDao;
|
||||
|
||||
|
||||
public class DaoFactory {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import java.util.List;
|
||||
import javax.persistence.EntityManager;
|
||||
@ -20,7 +20,7 @@ import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Root;
|
||||
import lombok.SneakyThrows;
|
||||
import wherehows.models.ClusterInfo;
|
||||
import wherehows.models.table.ClusterInfo;
|
||||
|
||||
|
||||
public class ClusterInfoDao extends BaseDao {
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
@ -11,11 +11,11 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import wherehows.models.DatasetClassification;
|
||||
import wherehows.models.table.DatasetClassification;
|
||||
|
||||
|
||||
public class DatasetClassificationDao extends BaseDao {
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
@ -19,7 +19,7 @@ import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Root;
|
||||
import lombok.SneakyThrows;
|
||||
import wherehows.models.DatasetSchemaInfo;
|
||||
import wherehows.models.table.DatasetSchemaInfo;
|
||||
|
||||
|
||||
public class DatasetSchemaInfoDao extends BaseDao {
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import com.fasterxml.jackson.core.type.TypeReference;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
@ -29,9 +29,9 @@ import org.springframework.dao.EmptyResultDataAccessException;
|
||||
import org.springframework.jdbc.core.BatchPreparedStatementSetter;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
||||
import wherehows.models.DatasetCompliance;
|
||||
import wherehows.models.DatasetFieldEntity;
|
||||
import wherehows.models.DatasetOwner;
|
||||
import wherehows.models.table.DatasetCompliance;
|
||||
import wherehows.models.table.DatasetFieldEntity;
|
||||
import wherehows.models.view.DatasetOwner;
|
||||
|
||||
import static wherehows.util.JsonUtil.*;
|
||||
|
||||
@ -11,16 +11,15 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import java.util.Objects;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Root;
|
||||
import lombok.SneakyThrows;
|
||||
import wherehows.models.DictDataset;
|
||||
import wherehows.models.table.DictDataset;
|
||||
|
||||
|
||||
public class DictDatasetDao extends BaseDao {
|
||||
@ -11,17 +11,16 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.table;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
import javax.persistence.EntityManager;
|
||||
import javax.persistence.EntityManagerFactory;
|
||||
import javax.persistence.criteria.CriteriaBuilder;
|
||||
import javax.persistence.criteria.CriteriaQuery;
|
||||
import javax.persistence.criteria.Root;
|
||||
import lombok.SneakyThrows;
|
||||
import wherehows.models.DictFieldDetail;
|
||||
import wherehows.models.table.DictFieldDetail;
|
||||
|
||||
|
||||
public class FieldDetailDao extends BaseDao {
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.dao;
|
||||
package wherehows.dao.view;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -22,8 +22,8 @@ import javax.persistence.Query;
|
||||
import lombok.SneakyThrows;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import wherehows.models.DatasetOwner;
|
||||
import wherehows.models.DatasetColumn;
|
||||
import wherehows.models.view.DatasetOwner;
|
||||
import wherehows.models.view.DatasetColumn;
|
||||
|
||||
import static org.apache.commons.lang3.StringUtils.isNotBlank;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.Column;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class ColumnComment {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
|
||||
public class DashboardBarData {
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DashboardOwnerStat {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetColumnComment {
|
||||
public long id;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetComment {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetDependency {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetFieldEntity {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Column;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetInstance {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class DatasetListViewNode {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.Date;
|
||||
import javax.persistence.Column;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Column;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class FlowJob {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class FlowListViewNode {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class IdpcInfo {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class ImpactDataset {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class Job {
|
||||
public Long id;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class LdapInfo {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class LineageEdge {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class LineageLink {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class LineagePathInfo {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class Metric {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class MetricListViewNode {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class Project {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class SchemaDataset {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class SchemaHistoryData {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class ScriptInfo {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class ScriptLineage {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class ScriptRuntime {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class SimilarColumns {
|
||||
public Long datasetId;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class SimilarComments {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class TreeNode {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
public class UserEntity {
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.table;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.view;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import javax.persistence.Column;
|
||||
@ -11,7 +11,7 @@
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
package wherehows.models;
|
||||
package wherehows.models.view;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.Column;
|
||||
@ -37,7 +37,7 @@ import play.mvc.Result;
|
||||
import play.mvc.Security;
|
||||
import security.AuthenticationManager;
|
||||
import utils.Tree;
|
||||
import wherehows.dao.ConnectionPoolProperties;
|
||||
import wherehows.dao.table.ConnectionPoolProperties;
|
||||
import wherehows.dao.DaoFactory;
|
||||
|
||||
import static play.data.Form.*;
|
||||
|
||||
@ -34,15 +34,15 @@ import play.libs.F.Promise;
|
||||
import play.libs.Json;
|
||||
import play.mvc.Controller;
|
||||
import play.mvc.Result;
|
||||
import wherehows.dao.DatasetClassificationDao;
|
||||
import wherehows.dao.DatasetsDao;
|
||||
import wherehows.dao.MetadataReadOnlyDao;
|
||||
import wherehows.models.DatasetClassification;
|
||||
import wherehows.models.DatasetColumn;
|
||||
import wherehows.models.DatasetCompliance;
|
||||
import wherehows.models.DatasetDependency;
|
||||
import wherehows.models.DatasetOwner;
|
||||
import wherehows.models.ImpactDataset;
|
||||
import wherehows.dao.table.DatasetClassificationDao;
|
||||
import wherehows.dao.table.DatasetsDao;
|
||||
import wherehows.dao.view.MetadataReadOnlyDao;
|
||||
import wherehows.models.table.DatasetClassification;
|
||||
import wherehows.models.view.DatasetColumn;
|
||||
import wherehows.models.table.DatasetCompliance;
|
||||
import wherehows.models.table.DatasetDependency;
|
||||
import wherehows.models.view.DatasetOwner;
|
||||
import wherehows.models.table.ImpactDataset;
|
||||
|
||||
|
||||
public class Dataset extends Controller {
|
||||
@ -104,7 +104,7 @@ public class Dataset extends Controller {
|
||||
|
||||
public static Result getDatasetByID(int id) {
|
||||
String username = session("user");
|
||||
wherehows.models.Dataset dataset = DatasetsDAO.getDatasetByID(id, username);
|
||||
wherehows.models.table.Dataset dataset = DatasetsDAO.getDatasetByID(id, username);
|
||||
|
||||
ObjectNode result = Json.newObject();
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ import java.util.List;
|
||||
import play.libs.Json;
|
||||
import play.mvc.Controller;
|
||||
import play.mvc.Result;
|
||||
import wherehows.models.JiraTicket;
|
||||
import wherehows.models.table.JiraTicket;
|
||||
|
||||
|
||||
public class Jira extends Controller {
|
||||
|
||||
@ -22,6 +22,7 @@ import play.Play;
|
||||
import play.libs.Json;
|
||||
import play.mvc.Controller;
|
||||
import play.mvc.Result;
|
||||
import wherehows.models.table.Dataset;
|
||||
|
||||
|
||||
public class Lineage extends Controller {
|
||||
@ -36,7 +37,7 @@ public class Lineage extends Controller {
|
||||
return ok(result);
|
||||
}
|
||||
|
||||
wherehows.models.Dataset dataset = DatasetsDAO.getDatasetByID(id, username);
|
||||
Dataset dataset = DatasetsDAO.getDatasetByID(id, username);
|
||||
if (dataset == null || StringUtils.isBlank(dataset.urn)) {
|
||||
result.put("status", "error");
|
||||
result.put("message", "wrong dataset id");
|
||||
|
||||
@ -138,7 +138,7 @@ public class Metric extends Controller {
|
||||
|
||||
public static Result getMetricByID(int id) {
|
||||
String user = session("user");
|
||||
wherehows.models.Metric metric = MetricsDAO.getMetricByID(id, user);
|
||||
wherehows.models.table.Metric metric = MetricsDAO.getMetricByID(id, user);
|
||||
|
||||
ObjectNode result = Json.newObject();
|
||||
|
||||
|
||||
@ -22,9 +22,9 @@ import play.cache.Cache;
|
||||
import play.libs.Json;
|
||||
import play.mvc.Controller;
|
||||
import play.mvc.Result;
|
||||
import wherehows.models.CompanyUser;
|
||||
import wherehows.models.Group;
|
||||
import wherehows.models.UserEntity;
|
||||
import wherehows.models.table.CompanyUser;
|
||||
import wherehows.models.table.Group;
|
||||
import wherehows.models.table.UserEntity;
|
||||
|
||||
|
||||
public class User extends Controller {
|
||||
@ -42,7 +42,7 @@ public class User extends Controller {
|
||||
return ok(result);
|
||||
}
|
||||
|
||||
wherehows.models.User user = UserDAO.getCurrentUser(username);
|
||||
wherehows.models.table.User user = UserDAO.getCurrentUser(username);
|
||||
if (StringUtils.isBlank(user.getUserName())) {
|
||||
result.put("status", "failed");
|
||||
result.put("message", "can't find user info");
|
||||
|
||||
@ -15,9 +15,9 @@ package dao;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import wherehows.models.Dataset;
|
||||
import wherehows.models.FlowJob;
|
||||
import wherehows.models.Metric;
|
||||
import wherehows.models.table.Dataset;
|
||||
import wherehows.models.table.FlowJob;
|
||||
import wherehows.models.table.Metric;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.dao.EmptyResultDataAccessException;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.ColumnComment;
|
||||
import wherehows.models.table.ColumnComment;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -23,10 +23,10 @@ import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import wherehows.models.DashboardBarData;
|
||||
import wherehows.models.DashboardDataset;
|
||||
import wherehows.models.DashboardOwnerStat;
|
||||
import wherehows.models.LdapInfo;
|
||||
import wherehows.models.table.DashboardBarData;
|
||||
import wherehows.models.table.DashboardDataset;
|
||||
import wherehows.models.table.DashboardOwnerStat;
|
||||
import wherehows.models.table.LdapInfo;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.dao.EmptyResultDataAccessException;
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.DatasetColumnComment;
|
||||
import wherehows.models.table.DatasetColumnComment;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.DatasetComment;
|
||||
import wherehows.models.table.DatasetComment;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.Dataset;
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.table.Dataset;
|
||||
import wherehows.models.table.User;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
import play.Play;
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.Dataset;
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.table.Dataset;
|
||||
import wherehows.models.table.User;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
import play.Play;
|
||||
|
||||
@ -40,20 +40,20 @@ import org.springframework.transaction.support.TransactionTemplate;
|
||||
import play.Logger;
|
||||
import play.Play;
|
||||
import play.libs.Json;
|
||||
import wherehows.models.DashboardDataset;
|
||||
import wherehows.models.Dataset;
|
||||
import wherehows.models.DatasetAccessItem;
|
||||
import wherehows.models.DatasetAccessibility;
|
||||
import wherehows.models.DatasetColumnComment;
|
||||
import wherehows.models.DatasetComment;
|
||||
import wherehows.models.DatasetDependency;
|
||||
import wherehows.models.DatasetInstance;
|
||||
import wherehows.models.DatasetListViewNode;
|
||||
import wherehows.models.DatasetPartition;
|
||||
import wherehows.models.ImpactDataset;
|
||||
import wherehows.models.SimilarColumns;
|
||||
import wherehows.models.SimilarComments;
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.table.DashboardDataset;
|
||||
import wherehows.models.table.Dataset;
|
||||
import wherehows.models.table.DatasetAccessItem;
|
||||
import wherehows.models.table.DatasetAccessibility;
|
||||
import wherehows.models.table.DatasetColumnComment;
|
||||
import wherehows.models.table.DatasetComment;
|
||||
import wherehows.models.table.DatasetDependency;
|
||||
import wherehows.models.table.DatasetInstance;
|
||||
import wherehows.models.table.DatasetListViewNode;
|
||||
import wherehows.models.table.DatasetPartition;
|
||||
import wherehows.models.table.ImpactDataset;
|
||||
import wherehows.models.table.SimilarColumns;
|
||||
import wherehows.models.table.SimilarComments;
|
||||
import wherehows.models.table.User;
|
||||
|
||||
|
||||
public class DatasetsDAO extends AbstractMySQLOpenSourceDAO
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.Flow;
|
||||
import wherehows.models.table.Flow;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -27,10 +27,10 @@ import org.springframework.transaction.support.TransactionCallback;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
import play.Logger;
|
||||
import play.libs.Json;
|
||||
import wherehows.models.Flow;
|
||||
import wherehows.models.FlowListViewNode;
|
||||
import wherehows.models.Job;
|
||||
import wherehows.models.TreeNode;
|
||||
import wherehows.models.table.Flow;
|
||||
import wherehows.models.table.FlowListViewNode;
|
||||
import wherehows.models.table.Job;
|
||||
import wherehows.models.table.TreeNode;
|
||||
|
||||
|
||||
public class FlowsDAO extends AbstractMySQLOpenSourceDAO {
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.ImpactDataset;
|
||||
import wherehows.models.LineagePathInfo;
|
||||
import wherehows.models.table.ImpactDataset;
|
||||
import wherehows.models.table.LineagePathInfo;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
import utils.Lineage;
|
||||
|
||||
@ -15,8 +15,8 @@ package dao;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import wherehows.models.JiraTicket;
|
||||
import wherehows.models.LdapInfo;
|
||||
import wherehows.models.table.JiraTicket;
|
||||
import wherehows.models.table.LdapInfo;
|
||||
|
||||
public class JiraDAO extends AbstractMySQLOpenSourceDAO
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.JiraTicket;
|
||||
import wherehows.models.table.JiraTicket;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.LdapInfo;
|
||||
import wherehows.models.table.LdapInfo;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -27,7 +27,11 @@ import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
|
||||
import play.Logger;
|
||||
import play.libs.Json;
|
||||
import utils.Lineage;
|
||||
import wherehows.models.*;
|
||||
import wherehows.models.table.ImpactDataset;
|
||||
import wherehows.models.table.LineageEdge;
|
||||
import wherehows.models.table.LineageNode;
|
||||
import wherehows.models.table.LineagePathInfo;
|
||||
import wherehows.models.table.ScriptInfo;
|
||||
|
||||
|
||||
public class LineageDAO extends AbstractMySQLOpenSourceDAO
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.Metric;
|
||||
import wherehows.models.table.Metric;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
|
||||
@ -21,8 +21,8 @@ import java.util.Map;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
import com.google.common.primitives.Ints;
|
||||
import wherehows.models.MetricListViewNode;
|
||||
import wherehows.models.TreeNode;
|
||||
import wherehows.models.table.MetricListViewNode;
|
||||
import wherehows.models.table.TreeNode;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.dao.EmptyResultDataAccessException;
|
||||
import org.springframework.jdbc.core.JdbcTemplate;
|
||||
@ -32,7 +32,7 @@ import org.springframework.transaction.support.TransactionCallback;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
import play.Logger;
|
||||
import play.libs.Json;
|
||||
import wherehows.models.Metric;
|
||||
import wherehows.models.table.Metric;
|
||||
|
||||
public class MetricsDAO extends AbstractMySQLOpenSourceDAO
|
||||
{
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.Project;
|
||||
import wherehows.models.table.Project;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.SchemaDataset;
|
||||
import wherehows.models.table.SchemaDataset;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
|
||||
@ -24,8 +24,8 @@ import org.springframework.transaction.support.TransactionCallback;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
import play.Logger;
|
||||
import play.libs.Json;
|
||||
import wherehows.models.SchemaDataset;
|
||||
import wherehows.models.SchemaHistoryData;
|
||||
import wherehows.models.table.SchemaDataset;
|
||||
import wherehows.models.table.SchemaHistoryData;
|
||||
|
||||
public class SchemaHistoryDAO extends AbstractMySQLOpenSourceDAO{
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
package dao;
|
||||
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import wherehows.models.SchemaHistoryData;
|
||||
import wherehows.models.table.SchemaHistoryData;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
import play.Logger;
|
||||
|
||||
@ -29,9 +29,9 @@ import org.springframework.transaction.support.TransactionCallback;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
import play.Logger;
|
||||
import play.libs.Json;
|
||||
import wherehows.models.ScriptInfo;
|
||||
import wherehows.models.ScriptLineage;
|
||||
import wherehows.models.ScriptRuntime;
|
||||
import wherehows.models.table.ScriptInfo;
|
||||
import wherehows.models.table.ScriptLineage;
|
||||
import wherehows.models.table.ScriptRuntime;
|
||||
|
||||
public class ScriptFinderDAO extends AbstractMySQLOpenSourceDAO{
|
||||
|
||||
@ -63,7 +63,7 @@ public class ScriptFinderDAO extends AbstractMySQLOpenSourceDAO{
|
||||
|
||||
private final static String GET_SCRIPT_LINEAGE = "SELECT * FROM " +
|
||||
"job_execution_data_lineage WHERE app_id = ? AND job_exec_id = ? ORDER BY source_target_type DESC";
|
||||
|
||||
|
||||
public static List<String> getAllScriptTypes()
|
||||
{
|
||||
return getJdbcTemplate().queryForList(GET_SCRIPT_TYPE, String.class);
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.ScriptInfo;
|
||||
import wherehows.models.table.ScriptInfo;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.ScriptLineage;
|
||||
import wherehows.models.table.ScriptLineage;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.*;
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.ScriptRuntime;
|
||||
import wherehows.models.table.ScriptRuntime;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
|
||||
@ -31,9 +31,9 @@ import play.Play;
|
||||
import play.libs.F.Promise;
|
||||
import play.libs.Json;
|
||||
import play.libs.ws.*;
|
||||
import wherehows.models.Dataset;
|
||||
import wherehows.models.FlowJob;
|
||||
import wherehows.models.Metric;
|
||||
import wherehows.models.table.Dataset;
|
||||
import wherehows.models.table.FlowJob;
|
||||
import wherehows.models.table.Metric;
|
||||
|
||||
|
||||
public class SearchDAO extends AbstractMySQLOpenSourceDAO
|
||||
|
||||
@ -18,10 +18,10 @@ import java.util.*;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.dao.EmptyResultDataAccessException;
|
||||
import play.Logger;
|
||||
import wherehows.models.CompanyUser;
|
||||
import wherehows.models.Group;
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.UserEntity;
|
||||
import wherehows.models.table.CompanyUser;
|
||||
import wherehows.models.table.Group;
|
||||
import wherehows.models.table.User;
|
||||
import wherehows.models.table.UserEntity;
|
||||
|
||||
public class UserDAO extends AbstractMySQLOpenSourceDAO
|
||||
{
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
*/
|
||||
package dao;
|
||||
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.UserSetting;
|
||||
import wherehows.models.table.User;
|
||||
import wherehows.models.table.UserSetting;
|
||||
import org.springframework.jdbc.core.RowMapper;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
package security;
|
||||
|
||||
import dao.UserDAO;
|
||||
import wherehows.models.User;
|
||||
import wherehows.models.table.User;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import play.Logger;
|
||||
import play.Play;
|
||||
|
||||
@ -15,7 +15,7 @@ package utils;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import wherehows.models.LineagePathInfo;
|
||||
import wherehows.models.table.LineagePathInfo;
|
||||
|
||||
|
||||
public class Lineage {
|
||||
|
||||
@ -22,7 +22,7 @@ import javax.persistence.EntityManagerFactory;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.hibernate.hikaricp.internal.HikariCPConnectionProvider;
|
||||
import wherehows.actors.KafkaConsumerMaster;
|
||||
import wherehows.dao.ConnectionPoolProperties;
|
||||
import wherehows.dao.table.ConnectionPoolProperties;
|
||||
import wherehows.dao.DaoFactory;
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user