From 6736ea0817651a510f889d75b33cd05c06fd1890 Mon Sep 17 00:00:00 2001
From: Zosimer <315630932@qq.com>
Date: Wed, 14 Sep 2022 23:11:38 +0800
Subject: [PATCH 1/7] dataassets dataWarehouse dataModel
Linkis1.2.0+dss1.2.0[datamodel][dataassets][datawarehouse],Realize data model management, connect with Atlas, and realize blood relationship management
---
assembly/bin/executeSQL.sh | 4 +
assembly/bin/install.sh | 54 +-
assembly/config/config.sh | 15 +-
.../src/main/assembly/distribution.xml | 30 +-
conf/atlas-application.properties | 67 +
conf/dss-data-assets-server.properties | 88 +
conf/dss-data-governance-server.properties | 53 -
conf/dss-data-warehouse-server.properties | 51 +
conf/dss-datamodel-center-server.properties | 107 +
db/apps/datamodel.sql | 352 +
db/apps/datawarehouse.sql | 224 +
db/dss_ddl.sql | 24 +-
db/dss_dml.sql | 65 +-
...orkflowToDolphinSchedulerSynchronizer.java | 4 +-
.../dss/data/api/server/entity/ApiConfig.java | 2 +-
.../server/restful/DSSDbApiAuthRestful.java | 4 +-
.../server/restful/DSSDbApiConfigRestful.java | 2 +-
.../restful/DSSDbApiDataSourceRestful.java | 4 +-
.../restful/DSSDbApiManagerRestful.java | 2 +-
.../restful/DSSDbApiMonitorRestful.java | 8 +-
.../dss/data/api/server/util/CryptoUtils.java | 2 +-
.../dss-data-asset-server/pom.xml | 223 -
.../dss/data/asset/dao/MetaInfoMapper.java | 20 -
.../asset/dao/impl/MetaInfoMapperImpl.java | 174 -
.../asset/dao/impl/WorkspaceInfoMapper.xml | 24 -
.../data/asset/entity/HiveStorageInfo.java | 10 -
.../entity/HiveTblClassificationInfo.java | 11 -
.../data/asset/entity/HiveTblDetailInfo.java | 39 -
.../data/asset/entity/HiveTblLabelInfo.java | 10 -
.../dss/data/asset/restful/AssetRestful.java | 91 -
.../data/asset/restful/AssetTblRestful.java | 187 -
.../dss/data/asset/service/AssetService.java | 59 -
.../asset/service/WorkspaceInfoService.java | 13 -
.../asset/service/impl/AssetServiceImpl.java | 518 -
.../impl/WorkspaceInfoServiceImpl.java | 24 -
.../dss-data-classification-server/pom.xml | 191 -
.../restful/ClassificationRestful.java | 98 -
.../service/ClassificationService.java | 26 -
.../impl/ClassificationServiceImpl.java | 134 -
.../common/atlas/AtlasClassificationV2.java | 54 -
.../dss/data/common/atlas/AtlasClient.java | 274 -
.../dss/data/common/atlas/AtlasService.java | 343 -
.../dss/data/common/conf/AtlasConf.java | 32 -
.../data/common/exception/DAOException.java | 17 -
.../exception/DataGovernanceException.java | 8 -
.../dss/data/common/utils/DataSourceUtil.java | 26 -
.../src/main/assembly/distribution.xml | 46 -
.../resources/atlas-application.properties | 0
.../dss-data-governance-server.properties | 53 -
.../src/main/resources/dss.properties | 25 -
.../src/main/resources/log4j2.xml | 51 -
.../src/main/resources/token.properties | 19 -
dss-apps/dss-data-governance/pom.xml | 22 -
.../dss-data-assets-client/pom.xml | 59 +
.../entity/ClassificationConstant.java | 77 +
.../governance/entity/CreateLabelInfo.java | 10 +
.../entity/CreateModelTypeInfo.java | 12 +
.../governance/entity/HiveSimpleInfo.java | 23 +
.../governance/entity/HiveTblStatsDTO.java | 18 +
.../dss/data/governance/entity/PartInfo.java} | 7 +-
.../dss/data/governance/entity/QueryType.java | 18 +
.../governance/entity/SearchLabelInfo.java | 9 +
.../governance/entity/UpdateLabelInfo.java | 10 +
.../entity/UpdateModelTypeInfo.java | 11 +
.../governance/AbstractRemoteClient.scala | 15 +
.../governance/DataAssetsRemoteClient.scala | 47 +
.../dss/data/governance/RemoteClient.scala | 11 +
.../DataAssetsClientBuilderException.scala | 5 +
.../impl/LinkisDataAssetsRemoteClient.scala | 51 +
.../governance/request/BindLabelAction.scala | 77 +
.../request/BindModelTypeAction.scala | 84 +
.../request/CreateLabelAction.scala | 50 +
.../request/CreateModelTypeAction.scala | 61 +
.../governance/request/DataAssetsAction.scala | 5 +
.../request/DeleteLabelAction.scala | 49 +
.../request/DeleteModelTypeAction.scala | 62 +
.../request/GetHiveTblBasicAction.scala | 42 +
.../request/GetHiveTblCreateAction.scala | 41 +
.../request/GetHiveTblPartitionAction.scala | 43 +
.../request/GetTblPartInfoByNameAction.scala | 53 +
.../request/HiveTblSizeAction.scala | 62 +
.../request/HiveTblStatsAction.scala | 68 +
.../request/SearchHiveDbAction.scala | 72 +
.../request/SearchHiveTblAction.scala | 79 +
.../request/SearchLabelAction.scala | 59 +
.../request/UnBindLabelAction.scala | 86 +
.../request/UnBindModelTypeAction.scala | 87 +
.../request/UpdateLabelAction.scala | 57 +
.../request/UpdateModelTypeAction.scala | 72 +
.../governance/response/BindLabelResult.scala | 11 +
.../response/BindModelTypeResult.scala | 11 +
.../response/CreateLabelResult.scala | 20 +
.../response/CreateModelTypeResult.scala | 19 +
.../response/DeleteLabelResult.scala | 11 +
.../response/DeleteModelTypeResult.scala | 11 +
.../response/GetHiveTblBasicResult.scala | 11 +
.../response/GetHiveTblCreateResult.scala | 10 +
.../GetHiveTblPartInfoByNameResult.scala | 22 +
.../response/GetHiveTblPartitionResult.scala | 11 +
.../response/HiveTblSizeResult.scala | 12 +
.../response/HiveTblStatsResult.scala | 19 +
.../response/SearchHiveDbResult.scala | 22 +
.../response/SearchHiveTblResult.scala | 22 +
.../response/SearchLabelResult.scala | 22 +
.../response/UnBindLabelResult.scala | 11 +
.../response/UnBindModelTypeResult.scala | 11 +
.../response/UpdateLabelResult.scala | 20 +
.../response/UpdateModelTypeResult.scala | 19 +
.../TestDataAssetsRemoteClient.scala | 108 +
.../dss-data-assets-server}/pom.xml | 80 +-
.../src/main/assembly/distribution.xml | 6 +-
.../data/governance/atlas/AtlasClient.java | 287 +
.../data/governance/atlas/AtlasService.java | 365 +
.../governance/conf/ClientCommonConfig.java | 34 +
.../data/governance/conf/ClientStrategy.java | 17 +
.../conf/DataWorkspaceRemoteConfig.java | 21 +
.../data/governance/conf/GovernanceConf.java | 44 +
.../data/governance/dao/MetaInfoMapper.java | 19 +
.../dao/TableColumnCountQueryMapper.java | 28 +
.../governance/dao/TableSizeInfoMapper.java | 22 +
.../dao/TableSizePartitionInfoMapper.java | 24 +
.../governance}/dao/WorkspaceInfoMapper.java | 8 +-
.../dao/impl/MetaInfoMapperImpl.java | 140 +
.../data/governance/dto/HiveTblStatsDTO.java | 18 +
.../data/governance/dto/SearchLabelDTO.java | 18 +
.../entity/ClassificationConstant.java | 116 +
.../governance/entity/CreateLabelInfo.java | 19 +
.../entity/CreateModelTypeInfo.java | 12 +
.../governance/entity/GlossaryConstant.java | 55 +
.../governance/entity/HiveTblDetailInfo.java | 33 +
.../governance}/entity/HiveTblSimpleInfo.java | 13 +-
.../dss/data/governance/entity/PartInfo.java | 14 +
.../dss/data/governance/entity/QueryType.java | 18 +
.../governance/entity/RelatedObjectId.java | 17 +
.../governance/entity/TableColumnCount.java | 12 +
.../dss/data/governance/entity/TableInfo.java | 10 +
.../entity/TablePartitionSizeInfo.java | 15 +
.../data/governance/entity/TableSizeInfo.java | 13 +
.../governance/entity/UpdateLabelInfo.java | 18 +
.../entity/UpdateModelTypeInfo.java | 12 +
.../governance/exception/DAOException.java | 15 +
.../exception/DataGovernanceException.java | 16 +
.../DSSDataGovernanceAssetRestful.java | 467 +
.../data/governance/service/AssetService.java | 173 +
.../service/AuthenticationClientStrategy.java | 22 +
.../service/WorkspaceInfoService.java | 31 +
.../service/impl/AssetServiceImpl.java | 847 +
.../impl/WorkspaceInfoServiceImpl.java | 43 +
.../data/governance/utils/DataSourceUtil.java | 27 +
.../dss/data/governance}/utils/DateUtil.java | 24 +-
.../governance}/utils/HttpClientUtil.java | 42 +-
.../dss/data/governance/vo/BindLabelVO.java | 17 +
.../dss/data/governance/vo/BindModelVO.java | 16 +
.../dss/data/governance/vo/CreateLabelVO.java | 9 +
.../data/governance/vo/CreateModelTypeVO.java | 12 +
.../dss/data/governance/vo/DeleteLabelVO.java | 9 +
.../data/governance/vo/DeleteModelTypeVO.java | 11 +
.../dss/data/governance/vo/UnBindLabelVO.java | 17 +
.../dss/data/governance/vo/UnBindModelVO.java | 14 +
.../dss/data/governance/vo/UpdateLabelVO.java | 10 +
.../data/governance/vo/UpdateModelTypeVO.java | 13 +
.../src/main/resources/application.yml | 22 +
.../resources/atlas-application.properties | 67 +
.../src/main/resources/linkis.properties | 82 +
.../src/main/resources/log4j.properties | 33 +-
.../src/main/resources/log4j2.xml | 39 +
.../governance/DataAssetsApplication.scala} | 8 +-
dss-apps/dss-dataasset-management/pom.xml | 85 +
.../dss-datamodel-center-client/pom.xml | 57 +
.../client/entity/ClassificationConstant.java | 76 +
.../client/entity/CreateModelTypeInfo.java | 12 +
.../center/client/entity/HiveSimpleInfo.java | 23 +
.../client/entity/UpdateModelTypeInfo.java | 11 +
.../center/client/AbstractRemoteClient.scala | 15 +
.../client/DatamodelCenterRemoteClient.scala | 11 +
.../center/client/RemoteClient.scala | 11 +
...atamodelCenterClientBuilderException.scala | 5 +
.../LinkisDatamodelCenterRemoteClient.scala | 19 +
.../request/CyclesReferenceAction.scala | 43 +
.../request/DatamodelCenterAction.scala | 5 +
.../request/LayersReferenceAction.scala | 43 +
.../request/ModifiersReferenceAction.scala | 42 +
.../request/ThemesReferenceAction.scala | 42 +
.../response/CyclesReferenceResult.scala | 11 +
.../response/LayersReferenceResult.scala | 11 +
.../response/ModifiersReferenceResult.scala | 11 +
.../response/ThemesReferenceResult.scala | 12 +
.../TestDatamodelCenterRemoteClient.scala | 48 +
.../dss-datamodel-center-common/pom.xml | 101 +
.../center/common/config/ClientStrategy.java | 19 +
.../center/common/config/CommonConfig.java | 127 +
.../DataWarehouseAssetsRemoteConfig.java | 21 +
.../config/DataWarehouseGovernanceConfig.java | 21 +
.../config/DataWorkspaceRemoteConfig.java | 21 +
.../common/config/LinkisJobConfiguration.java | 20 +
.../common/config/ModelMapperConfig.java | 18 +
.../common/config/MyMetaObjectHandler.java | 23 +
.../common/config/MybatisPlusConfig.java | 24 +
.../common/config/ThreadPoolTaskConfig.java | 34 +
.../center/common/constant/ColumnType.java | 16 +
.../center/common/constant/ErrorCode.java | 56 +
.../constant/IndicatorSourceInfoConstant.java | 19 +
.../center/common/constant/LabelConstant.java | 7 +
.../center/common/constant/ModeType.java | 49 +
.../common/constant/ReferenceExpression.java | 25 +
.../center/common/constant/ReferenceKey.java | 35 +
.../common/constant/TabelExternalType.java | 37 +
.../context/DataModelAuthentication.java | 9 +
.../context/DataModelSecurityContext.java | 9 +
.../DataModelSecurityContextHolder.java | 35 +
...ataModelSecurityContextHolderStrategy.java | 30 +
...eadLocalSecurityContextHolderStrategy.java | 35 +
.../center/common/dto/CreateTableDTO.java | 13 +
.../center/common/dto/PreviewDataDTO.java | 11 +
.../center/common/event/BindLabelEvent.java | 36 +
.../center/common/event/BindModelEvent.java | 33 +
.../center/common/event/CreateLabelEvent.java | 22 +
.../center/common/event/CreateModelEvent.java | 24 +
.../center/common/event/DeleteLabelEvent.java | 20 +
.../center/common/event/DeleteModelEvent.java | 24 +
.../center/common/event/UnBindLabelEvent.java | 40 +
.../center/common/event/UnBindModelEvent.java | 32 +
.../center/common/event/UpdateLabelEvent.java | 22 +
.../center/common/event/UpdateModelEvent.java | 29 +
.../DSSDatamodelCenterException.java | 15 +
.../center/common/filter/AuthFilter.java | 32 +
.../launcher/CommonDataModelJobLauncher.java | 12 +
.../CommonExistsDataModelJobTask.java | 10 +
.../DataExistsDataModelJobLauncher.java | 20 +
.../launcher/DataExistsDataModelJobTask.java | 10 +
.../common/launcher/DataModelJobLauncher.java | 28 +
.../common/launcher/DataModelJobTask.java | 62 +
.../launcher/DataModelJobTaskBuilder.java | 46 +
.../launcher/PreviewDataModelJobLauncher.java | 18 +
.../common/listener/AssertsListener.java | 136 +
.../common/service/AssertsSyncService.java | 208 +
.../service/AuthenticationClientStrategy.java | 21 +
.../common/service/CycleReferenceService.java | 11 +
...ataWarehouseDimensionReferenceService.java | 5 +
...ataWarehouseIndicatorReferenceService.java | 5 +
.../DataWarehouseLabelReferenceService.java | 7 +
...DataWarehouseMeasuredReferenceService.java | 6 +
.../DataWarehouseReferenceService.java | 7 +
.../DataWarehouseTableReferenceService.java | 5 +
.../DatamodelIndicatorReferenceService.java | 7 +
.../service/DatamodelReferencService.java | 9 +
.../DatamodelTableReferenceService.java | 5 +
.../service/DimensionReferenceService.java | 12 +
.../DimensionThemeReferenceService.java | 12 +
.../IndicatorCycleReferenceService.java | 11 +
.../IndicatorDimensionReferenceService.java | 12 +
.../IndicatorIndicatorReferenceService.java | 11 +
.../IndicatorLayerReferenceService.java | 13 +
.../IndicatorMeasuredReferenceService.java | 12 +
.../IndicatorModifierReferenceService.java | 11 +
.../service/IndicatorReferenceService.java | 12 +
.../IndicatorThemeReferenceService.java | 11 +
.../common/service/LabelReferenceService.java | 11 +
.../service/LabelThemeReferenceService.java | 11 +
.../common/service/LayerReferenceService.java | 12 +
.../service/MeasureReferenceService.java | 11 +
.../MeasuredThemeReferenceService.java | 12 +
.../service/ModifierReferenceService.java | 11 +
.../service/TableCycleReferenceService.java | 11 +
.../TableDimensionReferenceService.java | 12 +
.../TableIndicatorReferenceService.java | 12 +
.../service/TableLabelReferenceService.java | 12 +
.../service/TableLayerReferenceService.java | 11 +
.../TableMeasuredReferenceService.java | 12 +
.../TableModifierReferenceService.java | 11 +
.../service/TableThemeReferenceService.java | 11 +
.../common/service/ThemeReferenceService.java | 11 +
.../impl/DatamodelReferenceServiceImpl.java | 42 +
.../ujes/DataModelUJESJobTaskBuilder.java | 32 +
.../AbstractDataModelUJESJobLauncher.java | 56 +
.../CreateTableDataModelUJESJobLauncher.java | 24 +
.../DataExistsDataModelUJESJobLauncher.java | 25 +
.../launcher/DataModelUJESJobLauncher.java | 16 +
.../DropTableDataModelUJESJobLauncher.java | 16 +
.../PreviewDataModelUJESJobLauncher.java | 28 +
.../task/CreateTableDataModelUJESJobTask.java | 20 +
.../task/DataExistsDataModelUJESJobTask.java | 18 +
.../ujes/task/DataModelUJESJobTask.java | 16 +
.../task/DropTableDataModelUJESJobTask.java | 21 +
.../task/PreviewDataModelUJESJobTask.java | 21 +
.../datamodel/center/common/vo/PageVO.java | 13 +
.../dss/datamodel/TestJobTask.java | 35 +
.../dss/datamodel/UJESClientImplTestJ.java | 97 +
.../db/datamodel_ddl.sql | 320 +
.../db/datamodel_dml.sql | 40 +
.../dss-datamodel-center-server/pom.xml | 119 +
.../src/main/assembly/distribution.xml | 36 +-
.../src/main/resources/application.yml | 20 +
.../src/main/resources/linkis.properties | 104 +
.../src/main/resources/log4j.properties | 37 +
.../src/main/resources/log4j2.xml | 39 +
.../dss/datamodel/DataModelApplication.scala | 21 +
.../pom.xml | 59 +
.../dao/DssDatamodelDimensionMapper.java | 22 +
.../dao/impl/DssDatamodelDimensionMapper.xml | 174 +
.../dimension/dto/DimensionQueryDTO.java | 47 +
.../entity/DssDatamodelDimension.java | 47 +
.../restful/DimensionRestfulApi.java | 100 +
.../dimension/service/DimensionService.java | 70 +
...arehouseDimensionReferenceServiceImpl.java | 20 +
.../service/impl/DimensionServiceImpl.java | 214 +
.../dimension/vo/DimensionAddVO.java | 35 +
.../dimension/vo/DimensionEnableVO.java | 24 +
.../dimension/vo/DimensionQueryVO.java | 19 +
.../dimension/vo/DimensionUpdateVO.java | 35 +
.../pom.xml | 64 +
.../DssDatamodelIndicatorContentMapper.java | 7 +
.../dao/DssDatamodelIndicatorMapper.java | 7 +
.../DssDatamodelIndicatorVersionMapper.java | 7 +
.../indicator/dao/IndicatorQueryMapper.java | 22 +
.../DssDatamodelIndicatorContentMapper.xml | 26 +
.../dao/impl/DssDatamodelIndicatorMapper.xml | 29 +
.../DssDatamodelIndicatorVersionMapper.xml | 22 +
.../dto/IndicatorContentQueryDTO.java | 143 +
.../indicator/dto/IndicatorQueryDTO.java | 65 +
.../indicator/dto/IndicatorVersionDTO.java | 43 +
.../dto/IndicatorVersionQueryDTO.java | 106 +
.../entity/DssDatamodelIndicator.java | 61 +
.../entity/DssDatamodelIndicatorContent.java | 150 +
.../entity/DssDatamodelIndicatorQuery.java | 258 +
.../entity/DssDatamodelIndicatorVersion.java | 110 +
.../restful/IndicatorRestfulApi.java | 222 +
.../service/IndicatorContentService.java | 59 +
.../indicator/service/IndicatorService.java | 146 +
.../service/IndicatorVersionService.java | 57 +
...arehouseIndicatorReferenceServiceImpl.java | 35 +
...atamodelIndicatorReferenceServiceImpl.java | 40 +
.../impl/IndicatorContentServiceImpl.java | 88 +
.../service/impl/IndicatorServiceImpl.java | 539 +
.../impl/IndicatorVersionServiceImpl.java | 97 +
.../dss/datamodel/indicator/vo/CycleVO.java | 10 +
.../indicator/vo/IndicatorAddVO.java | 54 +
.../indicator/vo/IndicatorContentVO.java | 119 +
.../indicator/vo/IndicatorEnableVO.java | 23 +
.../indicator/vo/IndicatorQueryVO.java | 21 +
.../indicator/vo/IndicatorUpdateVO.java | 50 +
.../indicator/vo/IndicatorVersionAddVO.java | 51 +
.../indicator/vo/IndicatorVersionQueryVO.java | 22 +
.../vo/IndicatorVersionRollBackVO.java | 33 +
.../dss/datamodel/indicator/vo/LayerVO.java | 8 +
.../datamodel/indicator/vo/ModifierVO.java | 10 +
.../dss-datamodel-measure-management/pom.xml | 60 +
.../dao/DssDatamodelMeasureMapper.java | 9 +
.../dao/impl/DssDatamodelMeasureMapper.xml | 24 +
.../measure/dto/MeasureQueryDTO.java | 44 +
.../measure/entity/DssDatamodelMeasure.java | 43 +
.../measure/restful/MeasureRestfulApi.java | 105 +
.../measure/service/MeasureService.java | 70 +
...WarehouseMeasuredReferenceServiceImpl.java | 20 +
.../service/impl/MeasureServiceImpl.java | 214 +
.../datamodel/measure/vo/MeasureAddVO.java | 35 +
.../datamodel/measure/vo/MeasureEnableVO.java | 23 +
.../datamodel/measure/vo/MeasureQueryVO.java | 19 +
.../datamodel/measure/vo/MeasureUpdateVO.java | 34 +
.../dss-datamodel-table-management/pom.xml | 59 +
.../dao/DssDatamodelDictionaryMapper.java | 7 +
.../table/dao/DssDatamodelLabelMapper.java | 8 +
.../DssDatamodelTableCollcetionMapper.java | 7 +
.../dao/DssDatamodelTableColumnsMapper.java | 7 +
.../table/dao/DssDatamodelTableMapper.java | 7 +
...tamodelTableMaterializedHistoryMapper.java | 7 +
.../dao/DssDatamodelTableStaticsMapper.java | 4 +
.../dao/DssDatamodelTableStatsMapper.java | 7 +
.../dao/DssDatamodelTableVersionMapper.java | 7 +
.../datamodel/table/dao/TableQueryMapper.java | 22 +
.../dao/impl/DssDatamodelDictionaryMapper.xml | 19 +
.../dao/impl/DssDatamodelLabelMapper.xml | 25 +
.../DssDatamodelTableCollcetionMapper.xml | 40 +
.../impl/DssDatamodelTableColumnsMapper.xml | 29 +
.../dao/impl/DssDatamodelTableMapper.xml | 38 +
...atamodelTableMaterializedHistoryMapper.xml | 25 +
.../impl/DssDatamodelTableStaticsMapper.xml | 19 +
.../dao/impl/DssDatamodelTableStatsMapper.xml | 26 +
.../impl/DssDatamodelTableVersionMapper.xml | 26 +
.../table/dto/HiveTblDetailInfoDTO.java | 33 +
.../table/dto/HiveTblSimpleInfo.java | 17 +
.../table/dto/HiveTblSimpleInfoDTO.java | 21 +
.../datamodel/table/dto/LabelQueryDTO.java | 52 +
.../datamodel/table/dto/ListDataBasesVO.java | 11 +
.../dss/datamodel/table/dto/ModelTypeDTO.java | 28 +
.../dss/datamodel/table/dto/PartInfoDTO.java | 16 +
.../table/dto/TableCollectionDTO.java | 105 +
.../table/dto/TableColumnQueryDTO.java | 50 +
.../datamodel/table/dto/TableHeadlineDTO.java | 25 +
.../dss/datamodel/table/dto/TableListDTO.java | 102 +
.../datamodel/table/dto/TableQueryDTO.java | 170 +
.../datamodel/table/dto/TableStatsDTO.java | 73 +
.../table/dto/TableVersionQueryDTO.java | 51 +
.../table/entity/DssDatamodelDictionary.java | 100 +
.../table/entity/DssDatamodelLabel.java | 47 +
.../table/entity/DssDatamodelTabelQuery.java | 83 +
.../table/entity/DssDatamodelTable.java | 275 +
.../entity/DssDatamodelTableCollcetion.java | 110 +
.../entity/DssDatamodelTableColumns.java | 169 +
.../DssDatamodelTableMaterializedHistory.java | 57 +
.../entity/DssDatamodelTableStatics.java | 80 +
.../table/entity/DssDatamodelTableStats.java | 163 +
.../entity/DssDatamodelTableVersion.java | 154 +
.../table/event/BindLabelByTableEvent.java | 22 +
.../table/event/BindModelByColumnsEvent.java | 25 +
.../table/event/BindModelByTableEvent.java | 20 +
.../table/event/TableFirstBindEvent.java | 18 +
.../table/event/UnBindLabelByTableEvent.java | 22 +
.../event/UnBindModelByColumnsEvent.java | 24 +
.../table/event/UnBindModelByTableEvent.java | 19 +
.../event/UpdateBindLabelByTableEvent.java | 23 +
.../event/UpdateBindModelByColumnsEvent.java | 27 +
.../event/UpdateBindModelByTableEvent.java | 22 +
.../listener/TableFirstBindListener.java | 47 +
.../table/listener/TableLabelListener.java | 91 +
.../table/listener/TableModelListener.java | 147 +
.../table/materialized/HiveSchema.java | 180 +
.../materialized/HiveSchemaDdlBuilder.java | 182 +
.../table/restful/TableRestfulApi.java | 565 +
.../datamodel/table/service/LabelService.java | 77 +
.../table/service/TableCollectService.java | 38 +
.../table/service/TableColumnsService.java | 77 +
.../table/service/TableDictionaryService.java | 17 +
.../TableMaterializedHistoryService.java | 97 +
.../datamodel/table/service/TableService.java | 267 +
.../table/service/TableStatsService.java | 15 +
.../table/service/TableVersionService.java | 61 +
...ataWarehouseLabelReferenceServiceImpl.java | 19 +
.../DataWarehouseReferenceServiceImpl.java | 50 +
...ataWarehouseTableReferenceServiceImpl.java | 34 +
.../DatamodelTableReferenceServiceImpl.java | 35 +
.../table/service/impl/LabelServiceImpl.java | 203 +
.../service/impl/TableCollectServiceImpl.java | 70 +
.../service/impl/TableColumnsServiceImpl.java | 91 +
.../impl/TableDictionaryServiceImpl.java | 27 +
.../TableMaterializedHistoryServiceImpl.java | 261 +
.../table/service/impl/TableServiceImpl.java | 836 +
.../service/impl/TableStatsServiceImpl.java | 23 +
.../impl/TableThemeReferenceServiceImpl.java | 19 +
.../service/impl/TableVersionServiceImpl.java | 109 +
.../dss/datamodel/table/vo/LabelAddVO.java | 37 +
.../dss/datamodel/table/vo/LabelEnableVO.java | 8 +
.../dss/datamodel/table/vo/LabelUpdateVO.java | 40 +
.../dss/datamodel/table/vo/LabelsQueryVO.java | 15 +
.../dss/datamodel/table/vo/TableAddVO.java | 229 +
.../datamodel/table/vo/TableCheckDataVO.java | 12 +
.../table/vo/TableCollectCancelVO.java | 33 +
.../table/vo/TableCollectQueryVO.java | 99 +
.../datamodel/table/vo/TableCollectVO.java | 94 +
.../datamodel/table/vo/TableColumnBindVO.java | 23 +
.../dss/datamodel/table/vo/TableColumnVO.java | 44 +
.../datamodel/table/vo/TableColumnsAddVO.java | 42 +
.../datamodel/table/vo/TableCreateSqlVO.java | 15 +
.../dss/datamodel/table/vo/TableCreateVO.java | 13 +
.../table/vo/TableDataPreviewVO.java | 11 +
.../table/vo/TableDatabasesQueryVO.java | 17 +
.../table/vo/TableDictionaryListVO.java | 22 +
.../dss/datamodel/table/vo/TableListVO.java | 40 +
.../table/vo/TablePartitionStatsVO.java | 6 +
.../datamodel/table/vo/TableQueryOneVO.java | 21 +
.../dss/datamodel/table/vo/TableUpdateVO.java | 99 +
.../datamodel/table/vo/TableVersionAddVO.java | 90 +
.../table/vo/TableVersionQueryVO.java | 11 +
.../table/vo/TableVersionRollBackVO.java | 14 +
.../table/vo/TblPartitionStatsVO.java | 15 +
dss-apps/dss-datamodel-center/pom.xml | 55 +
.../dss-data-warehouse-client/pom.xml | 62 +
.../warehouse/domain/DwLayerVO.java | 121 +
.../warehouse/domain/DwModifierVO.java | 123 +
.../domain/DwStatisticalPeriodVO.java | 214 +
.../warehouse/domain/DwThemeDomainVO.java | 124 +
.../client/AbstractDwRemoteClient.scala | 13 +
.../warehouse/client/DwAction.scala | 7 +
.../warehouse/client/DwRemoteClient.scala | 14 +
.../client/GovernanceDwRemoteClient.scala | 26 +
.../warehouse/client/RemoteClient.scala | 10 +
.../client/action/ListDwLayerAction.scala | 55 +
.../client/action/ListDwModifierAction.scala | 90 +
.../ListDwStatisticalPeriodAction.scala | 73 +
.../action/ListDwThemeDomainAction.scala | 46 +
.../client/result/ListLayersResult.scala | 23 +
.../client/result/ListModifiersResult.scala | 22 +
.../result/ListStatisticalPeriodsResult.scala | 22 +
.../result/ListThemeDomainsResult.scala | 23 +
.../warehouse/client/RemoteClientTest.java | 51 +
.../client/DwLayerRemoteClientTest.scala | 47 +
.../dss-data-warehouse-mybatis/pom.xml | 62 +
.../linkis/mybatis/DataSourceConfig.java | 76 +
.../mybatis/MyBatisMapperScannerConfig.java | 39 +
.../mybatis/MybatisConfigurationFactory.java | 130 +
.../mybatis/conf/MybatisConfiguration.java | 43 +
.../db/datawarehouse.sql | 224 +
.../dss-data-warehouse-server/db/ddl.sql | 180 +
.../dss-data-warehouse-server/db/dml.sql | 4 +
.../dss-data-warehouse-server}/pom.xml | 43 +-
.../src/main/assembly/distribution.xml | 35 +-
.../configuration/MybatisPlusConfig.java | 27 +
.../warehouse/configuration/WebMvcConfig.java | 31 +
.../warehouse/restful/DwDsRestfulApi.java | 47 +
.../warehouse/restful/DwLayerRestfulApi.java | 114 +
.../restful/DwModifierRestfulApi.java | 119 +
.../DwStatisticalPeriodRestfulApi.java | 120 +
.../restful/DwThemeDomainRestfulApi.java | 112 +
.../src/main/resources/application-dss.yml | 0
.../dss-data-warehouse-server.properties | 51 +
.../src/main/resources/dss.properties | 37 +
.../src/main/resources/log4j.properties | 37 +
.../src/main/resources/log4j2.xml | 39 +
.../src/main/resources/mybatis-config.xml | 7 +
.../warehouse/DataWarehouseApplication.scala | 23 +
.../dss-data-warehouse-service/pom.xml | 164 +
.../warehouse/client/DataSourceDTO.java | 115 +
.../client/DwDataSourceConfiguration.java | 17 +
.../warehouse/cqe/DwLayerCreateCommand.java | 19 +
.../warehouse/cqe/DwLayerQueryCommand.java | 14 +
.../warehouse/cqe/DwLayerUpdateCommand.java | 20 +
.../cqe/DwModifierCreateCommand.java | 37 +
.../warehouse/cqe/DwModifierQueryCommand.java | 16 +
.../cqe/DwModifierUpdateCommand.java | 39 +
.../cqe/DwStatisticalPeriodCreateCommand.java | 20 +
.../cqe/DwStatisticalPeriodQueryCommand.java | 16 +
.../cqe/DwStatisticalPeriodUpdateCommand.java | 21 +
.../cqe/DwThemeDomainCreateCommand.java | 17 +
.../cqe/DwThemeDomainQueryCommand.java | 14 +
.../cqe/DwThemeDomainUpdateCommand.java | 19 +
.../warehouse/cqe/common/PageCommand.java | 17 +
.../warehouse/dto/DwLayerDTO.java | 23 +
.../warehouse/dto/DwLayerListItemDTO.java | 21 +
.../warehouse/dto/DwModifierDTO.java | 25 +
.../warehouse/dto/DwModifierListDTO.java | 18 +
.../warehouse/dto/DwModifierListItemDTO.java | 22 +
.../dto/DwStatisticalPeriodListItemDTO.java | 22 +
.../warehouse/dto/DwThemeDomainDTO.java | 21 +
.../dto/DwThemeDomainListItemDTO.java | 21 +
.../wedatasphere/warehouse/dto/PageInfo.java | 17 +
.../warehouse/exception/DwException.java | 56 +
.../warehouse/exception/DwExceptionCode.java | 27 +
.../service/DwDomainReferenceAdapter.java | 237 +
.../warehouse/service/DwDsService.java | 13 +
.../warehouse/service/DwLayerService.java | 29 +
.../warehouse/service/DwModifierService.java | 27 +
.../service/DwStatisticalPeriodService.java | 27 +
.../service/DwThemeDomainService.java | 25 +
.../service/impl/DwDsServiceImpl.java | 83 +
.../service/impl/DwLayerServiceImpl.java | 523 +
.../service/impl/DwModifierServiceImpl.java | 455 +
.../impl/DwStatisticalPeriodServiceImpl.java | 446 +
.../impl/DwThemeDomainServiceImpl.java | 431 +
.../warehouse/utils/PreconditionUtil.java | 84 +
.../warehouse/utils/RegexUtil.java | 30 +
.../warehouse/LinkisRemoteClientHolder.scala | 72 +
.../warehouse/RemoteClientTest.java | 9 +
.../warehouse/DwLayerRemoteClientTest.scala | 54 +
.../dss-governance-dao/pom.xml | 75 +
.../warehouse/dao/domain/DwLayer.java | 72 +
.../dao/domain/DwLayerGeneralizeRule.java | 56 +
.../warehouse/dao/domain/DwModifier.java | 76 +
.../warehouse/dao/domain/DwModifierList.java | 45 +
.../dao/domain/DwStatisticalPeriod.java | 77 +
.../warehouse/dao/domain/DwThemeDomain.java | 64 +
.../dao/domain/common/DssWorkspaceEntity.java | 7 +
.../interceptor/DssWorkspaceNameAdapter.java | 14 +
...kspaceNameAutoExtractQueryInterceptor.java | 91 +
...paceNameAutoTransformUpdateInteceptor.java | 81 +
.../interceptor/NameAttachWorkspaceTrans.java | 11 +
.../warehouse/dao/mapper/DwLayerMapper.java | 15 +
.../dao/mapper/DwModifierListMapper.java | 9 +
.../dao/mapper/DwModifierMapper.java | 9 +
.../dao/mapper/DwStatisticalPeriodMapper.java | 22 +
.../dao/mapper/DwThemeDomainMapper.java | 15 +
.../mapper/impl/DwStatisticalPeriodMapper.xml | 33 +
.../dao/vo/DwStatisticalPeriodVo.java | 60 +
dss-apps/dss-datawarehouse-design/pom.xml | 154 +
.../src/main/resources/log4j.properties | 2 +-
.../impl/LinkisNodeExecutionImpl.java | 3 +-
.../linkis/node/execution/job/Builder.java | 2 +-
.../node/execution/parser/CodeParser.java | 2 +-
.../service/impl/BuildJobActionImpl.java | 4 +-
.../utils/LinkisJobExecutionUtils.java | 2 +-
k8s/build.info | 4 +-
.../dss-data-assets-server.Dockerfile | 9 +
.../dss-data-governance-server.Dockerfile | 9 -
.../dss-data-warehouse-server.Dockerfile | 9 +
.../dss-datamodel-center-server.Dockerfile | 9 +
.../client/DSSDolphinSchedulerClient.scala | 2 +-
.../DolphinSchedulerAppConnLinkisJob.scala | 3 +-
.../job/DolphinSchedulerJobBuilder.scala | 2 +-
.../DolphinSchedulerTokenRestfulApi.java | 2 +-
pom.xml | 6 +-
sbin/common.sh | 10 +-
sbin/dss-daemon.sh | 2 +-
sbin/dss-start-all.sh | 26 +-
sbin/dss-stop-all.sh | 14 +-
sbin/ext/dss-data-api-server | 2 +-
...vernance-server => dss-data-assets-server} | 6 +-
sbin/ext/dss-data-warehouse-server | 85 +
sbin/ext/dss-datamodel-center-server | 85 +
sbin/k8s/dss-data-assets-server.sh | 25 +
...server.sh => dss-data-warehouse-server.sh} | 4 +-
sbin/k8s/dss-datamodel-center-server.sh | 25 +
web/config.json | 32 +-
web/package-lock.json | 73062 +++++++++++-----
web/package.json | 11 +-
.../assets/styles/console.scss | 69 +
.../directive/clipboard/clipboard.js | 49 +
.../directive/clipboard/index.js | 13 +
web/packages/dataAssetManage/i18n/en.json | 14 +
web/packages/dataAssetManage/i18n/zh.json | 14 +
.../module/common/eventBus/event-bus.js | 3 +
.../dataAssetManage/module/common/iCard.vue | 74 +
.../dataAssetManage/module/common/navMenu.vue | 152 +
.../module/common/tabCard/index.vue | 94 +
.../module/common/tabList/index.scss | 110 +
.../module/common/tabList/index.vue | 175 +
.../module/common/tabList/tabs.vue | 80 +
.../dataAssetManage/module/common/title.vue | 41 +
.../module/common/tree/tree-item.vue | 168 +
.../module/common/tree/tree.vue | 121 +
.../module/common/treeMenu.vue | 201 +
.../module/components/tabCard/index.vue | 81 +
.../module/dataAssetManage/assetsIndex.vue | 230 +
.../module/dataAssetManage/index.js | 10 +
.../module/dataAssetManage/index.vue | 140 +
.../module/dataAssetManage/overview.vue | 186 +
web/packages/dataAssetManage/router.js | 61 +
web/packages/dataAssetManage/service/api.js | 123 +
.../dataAssetManage/service/db/node.js | 103 +
.../dataAssetManage/service/db/project.js | 118 +
.../dataAssetManage/utils/clipboard.js | 43 +
.../dataAssetManage/utils/fomatSQL.js | 23 +
.../dataAssetManage/utils/formatDate.js | 11 +
web/packages/dataAssetManage/utils/storage.js | 11 +
.../components/lineage/icon/AtlasServer.png | Bin 0 -> 3652 bytes
.../components/lineage/icon/DataSet.png | Bin 0 -> 3108 bytes
.../components/lineage/icon/avro.png | Bin 0 -> 4608 bytes
.../components/lineage/icon/aws.png | Bin 0 -> 3825 bytes
.../components/lineage/icon/azure.png | Bin 0 -> 3839 bytes
.../assetsInfo/components/lineage/icon/db.png | Bin 0 -> 3634 bytes
.../lineage/icon/disabled/AtlasServer.png | Bin 0 -> 4921 bytes
.../lineage/icon/disabled/DataSet.png | Bin 0 -> 3362 bytes
.../components/lineage/icon/disabled/avro.png | Bin 0 -> 5707 bytes
.../components/lineage/icon/disabled/aws.png | Bin 0 -> 7337 bytes
.../lineage/icon/disabled/azure.png | Bin 0 -> 5032 bytes
.../components/lineage/icon/disabled/db.png | Bin 0 -> 4729 bytes
.../lineage/icon/disabled/falcon.png | Bin 0 -> 5880 bytes
.../icon/disabled/falcon_feed_creation.png | Bin 0 -> 7833 bytes
.../icon/disabled/falcon_feed_replication.png | Bin 0 -> 7833 bytes
.../lineage/icon/disabled/falcon_process.png | Bin 0 -> 7833 bytes
.../lineage/icon/disabled/file_system.png | Bin 0 -> 6613 bytes
.../lineage/icon/disabled/flink.png | Bin 0 -> 6876 bytes
.../icon/disabled/flink_application.png | Bin 0 -> 6876 bytes
.../disabled/flink_application_processes.png | Bin 0 -> 8213 bytes
.../lineage/icon/disabled/flink_process.png | Bin 0 -> 6876 bytes
.../components/lineage/icon/disabled/gcp.png | Bin 0 -> 3977 bytes
.../lineage/icon/disabled/hadoop.png | Bin 0 -> 6408 bytes
.../lineage/icon/disabled/hbase.png | Bin 0 -> 5289 bytes
.../lineage/icon/disabled/hbase_column.png | Bin 0 -> 5553 bytes
.../icon/disabled/hbase_column_family.png | Bin 0 -> 5553 bytes
.../lineage/icon/disabled/hbase_table.png | Bin 0 -> 5831 bytes
.../lineage/icon/disabled/hdfs_path.png | Bin 0 -> 6613 bytes
.../components/lineage/icon/disabled/hive.png | Bin 0 -> 7791 bytes
.../lineage/icon/disabled/hive_column.png | Bin 0 -> 6252 bytes
.../icon/disabled/hive_column_lineage.png | Bin 0 -> 8560 bytes
.../lineage/icon/disabled/hive_db.png | Bin 0 -> 7713 bytes
.../lineage/icon/disabled/hive_process.png | Bin 0 -> 8560 bytes
.../icon/disabled/hive_process_execution.png | Bin 0 -> 9730 bytes
.../icon/disabled/hive_storagedesc.png | Bin 0 -> 7190 bytes
.../lineage/icon/disabled/hive_table.png | Bin 0 -> 6374 bytes
.../lineage/icon/disabled/impala.png | Bin 0 -> 4612 bytes
.../icon/disabled/impala_column_lineage.png | Bin 0 -> 6541 bytes
.../lineage/icon/disabled/impala_process.png | Bin 0 -> 6541 bytes
.../lineage/icon/disabled/jms_topic.png | Bin 0 -> 6900 bytes
.../lineage/icon/disabled/kafka.png | Bin 0 -> 5285 bytes
.../lineage/icon/disabled/kafka_consumer.png | Bin 0 -> 4038 bytes
.../icon/disabled/kafka_consumer_group.png | Bin 0 -> 4181 bytes
.../icon/disabled/kafka_consumer_lineage.png | Bin 0 -> 5299 bytes
.../lineage/icon/disabled/kafka_producer.png | Bin 0 -> 3737 bytes
.../icon/disabled/kafka_producer_lineage.png | Bin 0 -> 5108 bytes
.../lineage/icon/disabled/kafka_topic.png | Bin 0 -> 3689 bytes
.../lineage/icon/disabled/ozone.png | Bin 0 -> 4929 bytes
.../lineage/icon/disabled/ozone_bucket.png | Bin 0 -> 4378 bytes
.../lineage/icon/disabled/ozone_key.png | Bin 0 -> 4406 bytes
.../lineage/icon/disabled/ozone_volume.png | Bin 0 -> 3658 bytes
.../lineage/icon/disabled/process.png | Bin 0 -> 5702 bytes
.../lineage/icon/disabled/rdbms.png | Bin 0 -> 3541 bytes
.../lineage/icon/disabled/rdbms_column.png | Bin 0 -> 4016 bytes
.../lineage/icon/disabled/rdbms_db.png | Bin 0 -> 5656 bytes
.../lineage/icon/disabled/rdbms_table.png | Bin 0 -> 4165 bytes
.../lineage/icon/disabled/spark.png | Bin 0 -> 5584 bytes
.../lineage/icon/disabled/spark_process.png | Bin 0 -> 7318 bytes
.../lineage/icon/disabled/spark_table.png | Bin 0 -> 5005 bytes
.../lineage/icon/disabled/sqoop.png | Bin 0 -> 4081 bytes
.../lineage/icon/disabled/sqoop_db.png | Bin 0 -> 6123 bytes
.../lineage/icon/disabled/sqoop_process.png | Bin 0 -> 6862 bytes
.../lineage/icon/disabled/storm.png | Bin 0 -> 5787 bytes
.../lineage/icon/disabled/storm_bolt.png | Bin 0 -> 5661 bytes
.../lineage/icon/disabled/storm_spout.png | Bin 0 -> 6196 bytes
.../lineage/icon/disabled/storm_topology.png | Bin 0 -> 6268 bytes
.../lineage/icon/disabled/table.png | Bin 0 -> 3000 bytes
.../components/lineage/icon/falcon.png | Bin 0 -> 3349 bytes
.../lineage/icon/falcon_feed_creation.png | Bin 0 -> 5631 bytes
.../lineage/icon/falcon_feed_replication.png | Bin 0 -> 5631 bytes
.../lineage/icon/falcon_process.png | Bin 0 -> 5631 bytes
.../components/lineage/icon/file_system.png | Bin 0 -> 5564 bytes
.../components/lineage/icon/flink.png | Bin 0 -> 5788 bytes
.../lineage/icon/flink_application.png | Bin 0 -> 5788 bytes
.../icon/flink_application_processes.png | Bin 0 -> 4560 bytes
.../components/lineage/icon/flink_process.png | Bin 0 -> 5788 bytes
.../components/lineage/icon/gcp.png | Bin 0 -> 4899 bytes
.../components/lineage/icon/hadoop.png | Bin 0 -> 4867 bytes
.../components/lineage/icon/hbase.png | Bin 0 -> 3641 bytes
.../components/lineage/icon/hbase_column.png | Bin 0 -> 4198 bytes
.../lineage/icon/hbase_column_family.png | Bin 0 -> 4198 bytes
.../components/lineage/icon/hbase_table.png | Bin 0 -> 4096 bytes
.../components/lineage/icon/hdfs_path.png | Bin 0 -> 5564 bytes
.../components/lineage/icon/hive.png | Bin 0 -> 5899 bytes
.../components/lineage/icon/hive_column.png | Bin 0 -> 5009 bytes
.../lineage/icon/hive_column_lineage.png | Bin 0 -> 6806 bytes
.../components/lineage/icon/hive_db.png | Bin 0 -> 6328 bytes
.../components/lineage/icon/hive_process.png | Bin 0 -> 6806 bytes
.../lineage/icon/hive_process_execution.png | Bin 0 -> 5611 bytes
.../lineage/icon/hive_storagedesc.png | Bin 0 -> 5807 bytes
.../components/lineage/icon/hive_table.png | Bin 0 -> 5027 bytes
.../components/lineage/icon/hourglass.svg | 3 +
.../components/lineage/icon/impala.png | Bin 0 -> 3582 bytes
.../lineage/icon/impala_column_lineage.png | Bin 0 -> 5896 bytes
.../lineage/icon/impala_process.png | Bin 0 -> 5896 bytes
.../components/lineage/icon/jms_topic.png | Bin 0 -> 5860 bytes
.../components/lineage/icon/kafka.png | Bin 0 -> 3979 bytes
.../lineage/icon/kafka_consumer.png | Bin 0 -> 5123 bytes
.../lineage/icon/kafka_consumer_group.png | Bin 0 -> 5631 bytes
.../lineage/icon/kafka_consumer_lineage.png | Bin 0 -> 5847 bytes
.../lineage/icon/kafka_producer.png | Bin 0 -> 5187 bytes
.../lineage/icon/kafka_producer_lineage.png | Bin 0 -> 6682 bytes
.../components/lineage/icon/kafka_topic.png | Bin 0 -> 3730 bytes
.../components/lineage/icon/ozone.png | Bin 0 -> 3512 bytes
.../components/lineage/icon/ozone_bucket.png | Bin 0 -> 5110 bytes
.../components/lineage/icon/ozone_key.png | Bin 0 -> 5005 bytes
.../components/lineage/icon/ozone_volume.png | Bin 0 -> 4916 bytes
.../components/lineage/icon/process.png | Bin 0 -> 4249 bytes
.../components/lineage/icon/rdbms.png | Bin 0 -> 3173 bytes
.../components/lineage/icon/rdbms_column.png | Bin 0 -> 3909 bytes
.../components/lineage/icon/rdbms_db.png | Bin 0 -> 5153 bytes
.../components/lineage/icon/rdbms_table.png | Bin 0 -> 3992 bytes
.../components/lineage/icon/spark.png | Bin 0 -> 4346 bytes
.../components/lineage/icon/spark_process.png | Bin 0 -> 6123 bytes
.../components/lineage/icon/spark_table.png | Bin 0 -> 4339 bytes
.../components/lineage/icon/sqoop.png | Bin 0 -> 3168 bytes
.../components/lineage/icon/sqoop_db.png | Bin 0 -> 5287 bytes
.../components/lineage/icon/sqoop_process.png | Bin 0 -> 5750 bytes
.../components/lineage/icon/storm.png | Bin 0 -> 4363 bytes
.../components/lineage/icon/storm_bolt.png | Bin 0 -> 4846 bytes
.../components/lineage/icon/storm_spout.png | Bin 0 -> 4995 bytes
.../lineage/icon/storm_topology.png | Bin 0 -> 5333 bytes
.../components/lineage/icon/table.png | Bin 0 -> 2288 bytes
.../assetsInfo/components/lineage/index.scss | 47 +
.../assetsInfo/components/lineage/index.vue | 201 +
.../dataAssetManage/view/assetsInfo/index.vue | 296 +
.../view/assetsSearch/index.vue | 424 +
.../dataAssetManage/view/fieldInfo/index.vue | 295 +
.../view/layout/emptylayout.vue | 3 +
.../dataAssetManage/view/layout/index.vue | 19 +
.../view/layout/sidebar-sub-menu.vue | 61 +
.../dataAssetManage/view/layout/sidebar.vue | 39 +
.../dataAssetManage/view/rangeInfo/index.vue | 44 +
.../dataModelCenter/assets/styles/common.scss | 4 +
web/packages/dataModelCenter/i18n/en.json | 3 +
web/packages/dataModelCenter/i18n/zh.json | 3 +
.../module/dimension/editModal.vue | 287 +
.../dataModelCenter/module/dimension/index.js | 10 +
.../module/dimension/index.vue | 284 +
.../module/indicators/editModal.vue | 986 +
.../module/indicators/index.js | 10 +
.../module/indicators/index.vue | 347 +
.../module/indicators/selectPage.vue | 108 +
.../module/indicators/showVersionModal.vue | 295 +
.../module/indicators/statement.js | 56 +
.../module/indicators/versionListModal.vue | 120 +
.../module/labels/editModal.vue | 360 +
.../dataModelCenter/module/labels/index.js | 10 +
.../dataModelCenter/module/labels/index.vue | 304 +
.../module/measure/editModal.vue | 295 +
.../dataModelCenter/module/measure/index.js | 10 +
.../dataModelCenter/module/measure/index.vue | 289 +
.../module/tableEditor/columnEditor.vue | 373 +
.../module/tableEditor/index.js | 10 +
.../module/tableEditor/index.vue | 721 +
.../module/tableEditor/selectModel.vue | 185 +
.../dataModelCenter/module/tableInfo/index.js | 10 +
.../module/tableInfo/index.vue | 876 +
.../module/tableSearch/index.js | 10 +
.../module/tableSearch/index.vue | 640 +
.../module/tableSearch/versionListModal.vue | 129 +
.../module/tableVersionInfo/index.js | 10 +
.../module/tableVersionInfo/index.vue | 420 +
web/packages/dataModelCenter/router.js | 106 +
.../dataModelCenter/service/api/common.js | 50 +
.../dataModelCenter/service/api/dimensions.js | 64 +
.../dataModelCenter/service/api/indicators.js | 109 +
.../dataModelCenter/service/api/labels.js | 69 +
.../dataModelCenter/service/api/measures.js | 65 +
.../service/api/tableManage.js | 230 +
.../dataModelCenter/utils/clipboard.js | 43 +
.../dataModelCenter/utils/fomatSQL.js | 23 +
.../dataModelCenter/utils/formatDate.js | 10 +
.../dataModelCenter/view/dimension/index.vue | 11 +
.../dataModelCenter/view/indicators/index.vue | 11 +
.../dataModelCenter/view/labels/index.vue | 11 +
.../view/layout/emptylayout.vue | 3 +
.../dataModelCenter/view/layout/index.vue | 28 +
.../view/layout/sidebar-sub-menu.vue | 61 +
.../dataModelCenter/view/layout/sidebar.vue | 41 +
.../dataModelCenter/view/measure/index.vue | 11 +
.../view/tableManage/tableEditor/index.vue | 11 +
.../view/tableManage/tableInfo/index.vue | 11 +
.../view/tableManage/tableSearch/index.vue | 11 +
.../tableManage/tableVersionInfo/index.vue | 11 +
.../assets/styles/common.scss | 4 +
web/packages/dataWarehouseDesign/i18n/en.json | 1 +
web/packages/dataWarehouseDesign/i18n/zh.json | 1 +
.../module/layered/editModal.vue | 306 +
.../module/layered/index.js | 10 +
.../module/layered/index.vue | 365 +
.../module/modifier/editModal.vue | 348 +
.../module/modifier/index.js | 10 +
.../module/modifier/index.vue | 278 +
.../module/statPeriod/editModal.vue | 340 +
.../module/statPeriod/index.js | 10 +
.../module/statPeriod/index.vue | 302 +
.../module/themeDomains/editModal.vue | 267 +
.../module/themeDomains/index.js | 10 +
.../module/themeDomains/index.vue | 279 +
web/packages/dataWarehouseDesign/router.js | 56 +
.../dataWarehouseDesign/service/api/common.js | 16 +
.../dataWarehouseDesign/service/api/layer.js | 72 +
.../service/api/modifiers.js | 55 +
.../service/api/statisticalPeriods.js | 55 +
.../dataWarehouseDesign/service/api/theme.js | 56 +
.../dataWarehouseDesign/utils/formatDate.js | 11 +
.../view/layered/index.vue | 11 +
.../view/layout/emptylayout.vue | 3 +
.../dataWarehouseDesign/view/layout/index.vue | 24 +
.../view/layout/sidebar-sub-menu.vue | 61 +
.../view/layout/sidebar.vue | 41 +
.../view/modifier/index.vue | 11 +
.../view/statPeriod/index.vue | 11 +
.../view/themeDomains/index.vue | 11 +
web/packages/shared/common/config/apiPath.js | 5 +-
web/packages/workspace/i18n/zh.json | 1 +
.../workspace/module/management/index.vue | 12 +-
web/patches/package.json | 82 +
851 files changed, 95581 insertions(+), 25411 deletions(-)
create mode 100644 conf/dss-data-assets-server.properties
delete mode 100644 conf/dss-data-governance-server.properties
create mode 100644 conf/dss-data-warehouse-server.properties
create mode 100644 conf/dss-datamodel-center-server.properties
create mode 100644 db/apps/datamodel.sql
create mode 100644 db/apps/datawarehouse.sql
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/pom.xml
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/MetaInfoMapper.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/MetaInfoMapperImpl.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/WorkspaceInfoMapper.xml
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveStorageInfo.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblClassificationInfo.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblDetailInfo.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblLabelInfo.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetRestful.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetTblRestful.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/AssetService.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/WorkspaceInfoService.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/impl/AssetServiceImpl.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/impl/WorkspaceInfoServiceImpl.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-classification-server/pom.xml
delete mode 100644 dss-apps/dss-data-governance/dss-data-classification-server/src/main/java/com/webank/wedatasphere/dss/data/classification/restful/ClassificationRestful.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-classification-server/src/main/java/com/webank/wedatasphere/dss/data/classification/service/ClassificationService.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-classification-server/src/main/java/com/webank/wedatasphere/dss/data/classification/service/impl/ClassificationServiceImpl.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/atlas/AtlasClassificationV2.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/atlas/AtlasClient.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/atlas/AtlasService.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/conf/AtlasConf.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/exception/DAOException.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/exception/DataGovernanceException.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common/utils/DataSourceUtil.java
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/assembly/distribution.xml
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/resources/atlas-application.properties
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/resources/dss-data-governance-server.properties
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/resources/dss.properties
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/resources/log4j2.xml
delete mode 100644 dss-apps/dss-data-governance/dss-data-governance-server/src/main/resources/token.properties
delete mode 100644 dss-apps/dss-data-governance/pom.xml
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/pom.xml
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/ClassificationConstant.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/CreateLabelInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/CreateModelTypeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/HiveSimpleInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/HiveTblStatsDTO.java
rename dss-apps/{dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HivePartInfo.java => dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/PartInfo.java} (61%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/QueryType.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/SearchLabelInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/UpdateLabelInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/UpdateModelTypeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/AbstractRemoteClient.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/DataAssetsRemoteClient.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/RemoteClient.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/exception/DataAssetsClientBuilderException.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/impl/LinkisDataAssetsRemoteClient.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/BindLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/BindModelTypeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/CreateLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/CreateModelTypeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/DataAssetsAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/DeleteLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/DeleteModelTypeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/GetHiveTblBasicAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/GetHiveTblCreateAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/GetHiveTblPartitionAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/GetTblPartInfoByNameAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/HiveTblSizeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/HiveTblStatsAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/SearchHiveDbAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/SearchHiveTblAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/SearchLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/UnBindLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/UnBindModelTypeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/UpdateLabelAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/request/UpdateModelTypeAction.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/BindLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/BindModelTypeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/CreateLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/CreateModelTypeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/DeleteLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/DeleteModelTypeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/GetHiveTblBasicResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/GetHiveTblCreateResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/GetHiveTblPartInfoByNameResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/GetHiveTblPartitionResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/HiveTblSizeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/HiveTblStatsResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/SearchHiveDbResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/SearchHiveTblResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/SearchLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/UnBindLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/UnBindModelTypeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/UpdateLabelResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/main/scala/com/webank/wedatasphere/dss/data/governance/response/UpdateModelTypeResult.scala
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-client/src/test/scala/com/webank/wedatasphere/dss/data/governance/TestDataAssetsRemoteClient.scala
rename dss-apps/{dss-data-governance/dss-data-governance-common => dss-dataasset-management/dss-data-assets-server}/pom.xml (69%)
rename dss-apps/{dss-data-governance/dss-data-governance-common => dss-dataasset-management/dss-data-assets-server}/src/main/assembly/distribution.xml (94%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/atlas/AtlasClient.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/atlas/AtlasService.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/conf/ClientCommonConfig.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/conf/ClientStrategy.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/conf/DataWorkspaceRemoteConfig.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/conf/GovernanceConf.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dao/MetaInfoMapper.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dao/TableColumnCountQueryMapper.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dao/TableSizeInfoMapper.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dao/TableSizePartitionInfoMapper.java
rename dss-apps/{dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset => dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance}/dao/WorkspaceInfoMapper.java (63%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dao/impl/MetaInfoMapperImpl.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dto/HiveTblStatsDTO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/dto/SearchLabelDTO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/ClassificationConstant.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/CreateLabelInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/CreateModelTypeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/GlossaryConstant.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/HiveTblDetailInfo.java
rename dss-apps/{dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset => dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance}/entity/HiveTblSimpleInfo.java (50%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/PartInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/QueryType.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/RelatedObjectId.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/TableColumnCount.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/TableInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/TablePartitionSizeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/TableSizeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/UpdateLabelInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/entity/UpdateModelTypeInfo.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/exception/DAOException.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/exception/DataGovernanceException.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/restful/DSSDataGovernanceAssetRestful.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/service/AssetService.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/service/AuthenticationClientStrategy.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/service/WorkspaceInfoService.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/service/impl/AssetServiceImpl.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/service/impl/WorkspaceInfoServiceImpl.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/utils/DataSourceUtil.java
rename dss-apps/{dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common => dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance}/utils/DateUtil.java (93%)
rename dss-apps/{dss-data-governance/dss-data-governance-common/src/main/java/com/webank/wedatasphere/dss/data/common => dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance}/utils/HttpClientUtil.java (93%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/BindLabelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/BindModelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/CreateLabelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/CreateModelTypeVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/DeleteLabelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/DeleteModelTypeVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/UnBindLabelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/UnBindModelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/UpdateLabelVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/java/com/webank/wedatasphere/dss/data/governance/vo/UpdateModelTypeVO.java
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/resources/application.yml
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/resources/atlas-application.properties
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/resources/linkis.properties
rename dss-apps/{dss-data-governance/dss-data-governance-server => dss-dataasset-management/dss-data-assets-server}/src/main/resources/log4j.properties (52%)
create mode 100644 dss-apps/dss-dataasset-management/dss-data-assets-server/src/main/resources/log4j2.xml
rename dss-apps/{dss-data-governance/dss-data-governance-server/src/main/scala/com/webank/wedatasphere/dss/data/governance/DSSDataGovernanceApplication.scala => dss-dataasset-management/dss-data-assets-server/src/main/scala/com/webank/wedatasphere/dss/data/governance/DataAssetsApplication.scala} (92%)
create mode 100644 dss-apps/dss-dataasset-management/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/java/com/webank/wedatasphere/dss/datamodel/center/client/entity/ClassificationConstant.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/java/com/webank/wedatasphere/dss/datamodel/center/client/entity/CreateModelTypeInfo.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/java/com/webank/wedatasphere/dss/datamodel/center/client/entity/HiveSimpleInfo.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/java/com/webank/wedatasphere/dss/datamodel/center/client/entity/UpdateModelTypeInfo.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/AbstractRemoteClient.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/DatamodelCenterRemoteClient.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/RemoteClient.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/exception/DatamodelCenterClientBuilderException.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/impl/LinkisDatamodelCenterRemoteClient.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/request/CyclesReferenceAction.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/request/DatamodelCenterAction.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/request/LayersReferenceAction.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/request/ModifiersReferenceAction.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/request/ThemesReferenceAction.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/response/CyclesReferenceResult.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/response/LayersReferenceResult.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/response/ModifiersReferenceResult.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/main/scala/com/webank/wedatasphere/dss/datamodel/center/client/response/ThemesReferenceResult.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-client/src/test/scala/com/webank/wedatasphere/dss/datamodel/center/client/TestDatamodelCenterRemoteClient.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/ClientStrategy.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/CommonConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/DataWarehouseAssetsRemoteConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/DataWarehouseGovernanceConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/DataWorkspaceRemoteConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/LinkisJobConfiguration.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/ModelMapperConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/MyMetaObjectHandler.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/MybatisPlusConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/config/ThreadPoolTaskConfig.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/ColumnType.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/ErrorCode.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/IndicatorSourceInfoConstant.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/LabelConstant.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/ModeType.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/ReferenceExpression.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/ReferenceKey.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/constant/TabelExternalType.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/context/DataModelAuthentication.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/context/DataModelSecurityContext.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/context/DataModelSecurityContextHolder.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/context/DataModelSecurityContextHolderStrategy.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/context/ThreadLocalSecurityContextHolderStrategy.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/dto/CreateTableDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/dto/PreviewDataDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/BindLabelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/BindModelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/CreateLabelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/CreateModelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/DeleteLabelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/DeleteModelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/UnBindLabelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/UnBindModelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/UpdateLabelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/event/UpdateModelEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/exception/DSSDatamodelCenterException.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/filter/AuthFilter.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/CommonDataModelJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/CommonExistsDataModelJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/DataExistsDataModelJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/DataExistsDataModelJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/DataModelJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/DataModelJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/DataModelJobTaskBuilder.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/launcher/PreviewDataModelJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/listener/AssertsListener.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/AssertsSyncService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/AuthenticationClientStrategy.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/CycleReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseDimensionReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseIndicatorReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseLabelReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseMeasuredReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DataWarehouseTableReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DatamodelIndicatorReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DatamodelReferencService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DatamodelTableReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DimensionReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/DimensionThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorCycleReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorDimensionReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorIndicatorReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorLayerReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorMeasuredReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorModifierReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/IndicatorThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/LabelReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/LabelThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/LayerReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/MeasureReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/MeasuredThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/ModifierReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableCycleReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableDimensionReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableIndicatorReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableLabelReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableLayerReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableMeasuredReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableModifierReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/TableThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/ThemeReferenceService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/service/impl/DatamodelReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/DataModelUJESJobTaskBuilder.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/AbstractDataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/CreateTableDataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/DataExistsDataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/DataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/DropTableDataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/launcher/PreviewDataModelUJESJobLauncher.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/task/CreateTableDataModelUJESJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/task/DataExistsDataModelUJESJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/task/DataModelUJESJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/task/DropTableDataModelUJESJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/ujes/task/PreviewDataModelUJESJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/main/java/com/webank/wedatasphere/dss/datamodel/center/common/vo/PageVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/test/java/com/webank/wedatasphere/dss/datamodel/TestJobTask.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-common/src/test/java/com/webank/wedatasphere/dss/datamodel/UJESClientImplTestJ.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/db/datamodel_ddl.sql
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/db/datamodel_dml.sql
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/pom.xml
rename dss-apps/{dss-data-governance/dss-data-asset-server => dss-datamodel-center/dss-datamodel-center-server}/src/main/assembly/distribution.xml (59%)
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/src/main/resources/application.yml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/src/main/resources/linkis.properties
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/src/main/resources/log4j.properties
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/src/main/resources/log4j2.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-center-server/src/main/scala/com/webank/wedatasphere/dss/datamodel/DataModelApplication.scala
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/dao/DssDatamodelDimensionMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/dao/impl/DssDatamodelDimensionMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/dto/DimensionQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/entity/DssDatamodelDimension.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/restful/DimensionRestfulApi.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/service/DimensionService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/service/impl/DataWarehouseDimensionReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/service/impl/DimensionServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/vo/DimensionAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/vo/DimensionEnableVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/vo/DimensionQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-dimension-management/src/main/java/com/webank/wedatasphere/dss/datamodel/dimension/vo/DimensionUpdateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/DssDatamodelIndicatorContentMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/DssDatamodelIndicatorMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/DssDatamodelIndicatorVersionMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/IndicatorQueryMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/impl/DssDatamodelIndicatorContentMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/impl/DssDatamodelIndicatorMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dao/impl/DssDatamodelIndicatorVersionMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dto/IndicatorContentQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dto/IndicatorQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dto/IndicatorVersionDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/dto/IndicatorVersionQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/entity/DssDatamodelIndicator.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/entity/DssDatamodelIndicatorContent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/entity/DssDatamodelIndicatorQuery.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/entity/DssDatamodelIndicatorVersion.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/restful/IndicatorRestfulApi.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/IndicatorContentService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/IndicatorService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/IndicatorVersionService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/impl/DataWarehouseIndicatorReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/impl/DatamodelIndicatorReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/impl/IndicatorContentServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/impl/IndicatorServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/service/impl/IndicatorVersionServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/CycleVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorContentVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorEnableVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorUpdateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorVersionAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorVersionQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/IndicatorVersionRollBackVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/LayerVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-indicator-management/src/main/java/com/webank/wedatasphere/dss/datamodel/indicator/vo/ModifierVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/dao/DssDatamodelMeasureMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/dao/impl/DssDatamodelMeasureMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/dto/MeasureQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/entity/DssDatamodelMeasure.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/restful/MeasureRestfulApi.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/service/MeasureService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/service/impl/DataWarehouseMeasuredReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/service/impl/MeasureServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/vo/MeasureAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/vo/MeasureEnableVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/vo/MeasureQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-measure-management/src/main/java/com/webank/wedatasphere/dss/datamodel/measure/vo/MeasureUpdateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/pom.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelDictionaryMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelLabelMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableCollcetionMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableColumnsMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableMaterializedHistoryMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableStaticsMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableStatsMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/DssDatamodelTableVersionMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/TableQueryMapper.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelDictionaryMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelLabelMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableCollcetionMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableColumnsMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableMaterializedHistoryMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableStaticsMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableStatsMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dao/impl/DssDatamodelTableVersionMapper.xml
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/HiveTblDetailInfoDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/HiveTblSimpleInfo.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/HiveTblSimpleInfoDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/LabelQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/ListDataBasesVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/ModelTypeDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/PartInfoDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableCollectionDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableColumnQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableHeadlineDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableListDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableStatsDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/dto/TableVersionQueryDTO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelDictionary.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelLabel.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTabelQuery.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTable.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableCollcetion.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableColumns.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableMaterializedHistory.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableStatics.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableStats.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/entity/DssDatamodelTableVersion.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/BindLabelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/BindModelByColumnsEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/BindModelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/TableFirstBindEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UnBindLabelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UnBindModelByColumnsEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UnBindModelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UpdateBindLabelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UpdateBindModelByColumnsEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/event/UpdateBindModelByTableEvent.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/listener/TableFirstBindListener.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/listener/TableLabelListener.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/listener/TableModelListener.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/materialized/HiveSchema.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/materialized/HiveSchemaDdlBuilder.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/restful/TableRestfulApi.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/LabelService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableCollectService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableColumnsService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableDictionaryService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableMaterializedHistoryService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableStatsService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/TableVersionService.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/DataWarehouseLabelReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/DataWarehouseReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/DataWarehouseTableReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/DatamodelTableReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/LabelServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableCollectServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableColumnsServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableDictionaryServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableMaterializedHistoryServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableStatsServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableThemeReferenceServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/service/impl/TableVersionServiceImpl.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/LabelAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/LabelEnableVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/LabelUpdateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/LabelsQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCheckDataVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCollectCancelVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCollectQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCollectVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableColumnBindVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableColumnVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableColumnsAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCreateSqlVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableCreateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableDataPreviewVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableDatabasesQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableDictionaryListVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableListVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TablePartitionStatsVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableQueryOneVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableUpdateVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableVersionAddVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableVersionQueryVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TableVersionRollBackVO.java
create mode 100644 dss-apps/dss-datamodel-center/dss-datamodel-table-management/src/main/java/com/webank/wedatasphere/dss/datamodel/table/vo/TblPartitionStatsVO.java
create mode 100644 dss-apps/dss-datamodel-center/pom.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/pom.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/java/com/webank/wedatasphere/warehouse/domain/DwLayerVO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/java/com/webank/wedatasphere/warehouse/domain/DwModifierVO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/java/com/webank/wedatasphere/warehouse/domain/DwStatisticalPeriodVO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/java/com/webank/wedatasphere/warehouse/domain/DwThemeDomainVO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/AbstractDwRemoteClient.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/DwAction.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/DwRemoteClient.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/GovernanceDwRemoteClient.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/RemoteClient.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/action/ListDwLayerAction.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/action/ListDwModifierAction.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/action/ListDwStatisticalPeriodAction.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/action/ListDwThemeDomainAction.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/result/ListLayersResult.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/result/ListModifiersResult.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/result/ListStatisticalPeriodsResult.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/main/scala/com/webank/wedatasphere/warehouse/client/result/ListThemeDomainsResult.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/test/java/com/webank/wedatasphere/warehouse/client/RemoteClientTest.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-client/src/test/scala/com/webank/wedatasphere/warehouse/client/DwLayerRemoteClientTest.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-mybatis/pom.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-mybatis/src/main/java/org/apache/linkis/mybatis/DataSourceConfig.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-mybatis/src/main/java/org/apache/linkis/mybatis/MyBatisMapperScannerConfig.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-mybatis/src/main/java/org/apache/linkis/mybatis/MybatisConfigurationFactory.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-mybatis/src/main/java/org/apache/linkis/mybatis/conf/MybatisConfiguration.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/db/datawarehouse.sql
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/db/ddl.sql
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/db/dml.sql
rename dss-apps/{dss-data-governance/dss-data-governance-server => dss-datawarehouse-design/dss-data-warehouse-server}/pom.xml (80%)
rename dss-apps/{dss-data-governance/dss-data-classification-server => dss-datawarehouse-design/dss-data-warehouse-server}/src/main/assembly/distribution.xml (59%)
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/configuration/MybatisPlusConfig.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/configuration/WebMvcConfig.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/restful/DwDsRestfulApi.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/restful/DwLayerRestfulApi.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/restful/DwModifierRestfulApi.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/restful/DwStatisticalPeriodRestfulApi.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/java/com/webank/wedatasphere/warehouse/restful/DwThemeDomainRestfulApi.java
rename dss-apps/{dss-data-governance/dss-data-governance-server => dss-datawarehouse-design/dss-data-warehouse-server}/src/main/resources/application-dss.yml (100%)
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/resources/dss-data-warehouse-server.properties
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/resources/dss.properties
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/resources/log4j.properties
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/resources/log4j2.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/resources/mybatis-config.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/src/main/scala/com/webank/wedatasphere/warehouse/DataWarehouseApplication.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/pom.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/client/DataSourceDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/client/DwDataSourceConfiguration.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwLayerCreateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwLayerQueryCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwLayerUpdateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwModifierCreateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwModifierQueryCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwModifierUpdateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwStatisticalPeriodCreateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwStatisticalPeriodQueryCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwStatisticalPeriodUpdateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwThemeDomainCreateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwThemeDomainQueryCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/DwThemeDomainUpdateCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/cqe/common/PageCommand.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwLayerDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwLayerListItemDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwModifierDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwModifierListDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwModifierListItemDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwStatisticalPeriodListItemDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwThemeDomainDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/DwThemeDomainListItemDTO.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/dto/PageInfo.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/exception/DwException.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/exception/DwExceptionCode.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwDomainReferenceAdapter.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwDsService.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwLayerService.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwModifierService.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwStatisticalPeriodService.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/DwThemeDomainService.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/impl/DwDsServiceImpl.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/impl/DwLayerServiceImpl.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/impl/DwModifierServiceImpl.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/impl/DwStatisticalPeriodServiceImpl.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/service/impl/DwThemeDomainServiceImpl.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/utils/PreconditionUtil.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/java/com/webank/wedatasphere/warehouse/utils/RegexUtil.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/main/scala/com/webank/wedatasphere/warehouse/LinkisRemoteClientHolder.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/test/java/com/webank/wedatasphere/warehouse/RemoteClientTest.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-data-warehouse-service/src/test/scala/com/webank/wedatasphere/warehouse/DwLayerRemoteClientTest.scala
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/pom.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwLayer.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwLayerGeneralizeRule.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwModifier.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwModifierList.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwStatisticalPeriod.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/DwThemeDomain.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/domain/common/DssWorkspaceEntity.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/interceptor/DssWorkspaceNameAdapter.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/interceptor/DssWorkspaceNameAutoExtractQueryInterceptor.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/interceptor/DssWorkspaceNameAutoTransformUpdateInteceptor.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/interceptor/NameAttachWorkspaceTrans.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/DwLayerMapper.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/DwModifierListMapper.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/DwModifierMapper.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/DwStatisticalPeriodMapper.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/DwThemeDomainMapper.java
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/mapper/impl/DwStatisticalPeriodMapper.xml
create mode 100644 dss-apps/dss-datawarehouse-design/dss-governance-dao/src/main/java/com/webank/wedatasphere/warehouse/dao/vo/DwStatisticalPeriodVo.java
create mode 100644 dss-apps/dss-datawarehouse-design/pom.xml
create mode 100644 k8s/dockerfile/dss-data-assets-server.Dockerfile
delete mode 100644 k8s/dockerfile/dss-data-governance-server.Dockerfile
create mode 100644 k8s/dockerfile/dss-data-warehouse-server.Dockerfile
create mode 100644 k8s/dockerfile/dss-datamodel-center-server.Dockerfile
rename sbin/ext/{dss-data-governance-server => dss-data-assets-server} (92%)
create mode 100644 sbin/ext/dss-data-warehouse-server
create mode 100644 sbin/ext/dss-datamodel-center-server
create mode 100644 sbin/k8s/dss-data-assets-server.sh
rename sbin/k8s/{dss-data-governance-server.sh => dss-data-warehouse-server.sh} (79%)
create mode 100644 sbin/k8s/dss-datamodel-center-server.sh
create mode 100644 web/packages/dataAssetManage/assets/styles/console.scss
create mode 100644 web/packages/dataAssetManage/directive/clipboard/clipboard.js
create mode 100644 web/packages/dataAssetManage/directive/clipboard/index.js
create mode 100644 web/packages/dataAssetManage/i18n/en.json
create mode 100644 web/packages/dataAssetManage/i18n/zh.json
create mode 100644 web/packages/dataAssetManage/module/common/eventBus/event-bus.js
create mode 100644 web/packages/dataAssetManage/module/common/iCard.vue
create mode 100644 web/packages/dataAssetManage/module/common/navMenu.vue
create mode 100644 web/packages/dataAssetManage/module/common/tabCard/index.vue
create mode 100644 web/packages/dataAssetManage/module/common/tabList/index.scss
create mode 100644 web/packages/dataAssetManage/module/common/tabList/index.vue
create mode 100644 web/packages/dataAssetManage/module/common/tabList/tabs.vue
create mode 100644 web/packages/dataAssetManage/module/common/title.vue
create mode 100644 web/packages/dataAssetManage/module/common/tree/tree-item.vue
create mode 100644 web/packages/dataAssetManage/module/common/tree/tree.vue
create mode 100644 web/packages/dataAssetManage/module/common/treeMenu.vue
create mode 100644 web/packages/dataAssetManage/module/components/tabCard/index.vue
create mode 100644 web/packages/dataAssetManage/module/dataAssetManage/assetsIndex.vue
create mode 100644 web/packages/dataAssetManage/module/dataAssetManage/index.js
create mode 100644 web/packages/dataAssetManage/module/dataAssetManage/index.vue
create mode 100644 web/packages/dataAssetManage/module/dataAssetManage/overview.vue
create mode 100644 web/packages/dataAssetManage/router.js
create mode 100644 web/packages/dataAssetManage/service/api.js
create mode 100644 web/packages/dataAssetManage/service/db/node.js
create mode 100644 web/packages/dataAssetManage/service/db/project.js
create mode 100644 web/packages/dataAssetManage/utils/clipboard.js
create mode 100644 web/packages/dataAssetManage/utils/fomatSQL.js
create mode 100644 web/packages/dataAssetManage/utils/formatDate.js
create mode 100644 web/packages/dataAssetManage/utils/storage.js
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/AtlasServer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/DataSet.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/avro.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/aws.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/azure.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/AtlasServer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/DataSet.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/avro.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/aws.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/azure.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/falcon.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/falcon_feed_creation.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/falcon_feed_replication.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/falcon_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/file_system.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/flink.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/flink_application.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/flink_application_processes.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/flink_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/gcp.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hadoop.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hbase.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hbase_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hbase_column_family.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hbase_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hdfs_path.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_column_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_process_execution.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_storagedesc.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/hive_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/impala.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/impala_column_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/impala_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/jms_topic.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_consumer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_consumer_group.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_consumer_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_producer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_producer_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/kafka_topic.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/ozone.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/ozone_bucket.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/ozone_key.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/ozone_volume.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/rdbms.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/rdbms_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/rdbms_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/rdbms_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/spark.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/spark_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/spark_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/sqoop.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/sqoop_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/sqoop_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/storm.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/storm_bolt.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/storm_spout.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/storm_topology.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/disabled/table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/falcon.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/falcon_feed_creation.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/falcon_feed_replication.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/falcon_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/file_system.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/flink.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/flink_application.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/flink_application_processes.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/flink_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/gcp.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hadoop.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hbase.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hbase_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hbase_column_family.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hbase_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hdfs_path.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_column_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_process_execution.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_storagedesc.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hive_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/hourglass.svg
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/impala.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/impala_column_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/impala_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/jms_topic.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_consumer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_consumer_group.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_consumer_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_producer.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_producer_lineage.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/kafka_topic.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/ozone.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/ozone_bucket.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/ozone_key.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/ozone_volume.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/rdbms.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/rdbms_column.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/rdbms_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/rdbms_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/spark.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/spark_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/spark_table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/sqoop.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/sqoop_db.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/sqoop_process.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/storm.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/storm_bolt.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/storm_spout.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/storm_topology.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/icon/table.png
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/index.scss
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/components/lineage/index.vue
create mode 100644 web/packages/dataAssetManage/view/assetsInfo/index.vue
create mode 100644 web/packages/dataAssetManage/view/assetsSearch/index.vue
create mode 100644 web/packages/dataAssetManage/view/fieldInfo/index.vue
create mode 100644 web/packages/dataAssetManage/view/layout/emptylayout.vue
create mode 100644 web/packages/dataAssetManage/view/layout/index.vue
create mode 100644 web/packages/dataAssetManage/view/layout/sidebar-sub-menu.vue
create mode 100644 web/packages/dataAssetManage/view/layout/sidebar.vue
create mode 100644 web/packages/dataAssetManage/view/rangeInfo/index.vue
create mode 100644 web/packages/dataModelCenter/assets/styles/common.scss
create mode 100644 web/packages/dataModelCenter/i18n/en.json
create mode 100644 web/packages/dataModelCenter/i18n/zh.json
create mode 100644 web/packages/dataModelCenter/module/dimension/editModal.vue
create mode 100644 web/packages/dataModelCenter/module/dimension/index.js
create mode 100644 web/packages/dataModelCenter/module/dimension/index.vue
create mode 100644 web/packages/dataModelCenter/module/indicators/editModal.vue
create mode 100644 web/packages/dataModelCenter/module/indicators/index.js
create mode 100644 web/packages/dataModelCenter/module/indicators/index.vue
create mode 100644 web/packages/dataModelCenter/module/indicators/selectPage.vue
create mode 100644 web/packages/dataModelCenter/module/indicators/showVersionModal.vue
create mode 100644 web/packages/dataModelCenter/module/indicators/statement.js
create mode 100644 web/packages/dataModelCenter/module/indicators/versionListModal.vue
create mode 100644 web/packages/dataModelCenter/module/labels/editModal.vue
create mode 100644 web/packages/dataModelCenter/module/labels/index.js
create mode 100644 web/packages/dataModelCenter/module/labels/index.vue
create mode 100644 web/packages/dataModelCenter/module/measure/editModal.vue
create mode 100644 web/packages/dataModelCenter/module/measure/index.js
create mode 100644 web/packages/dataModelCenter/module/measure/index.vue
create mode 100644 web/packages/dataModelCenter/module/tableEditor/columnEditor.vue
create mode 100644 web/packages/dataModelCenter/module/tableEditor/index.js
create mode 100644 web/packages/dataModelCenter/module/tableEditor/index.vue
create mode 100644 web/packages/dataModelCenter/module/tableEditor/selectModel.vue
create mode 100644 web/packages/dataModelCenter/module/tableInfo/index.js
create mode 100644 web/packages/dataModelCenter/module/tableInfo/index.vue
create mode 100644 web/packages/dataModelCenter/module/tableSearch/index.js
create mode 100644 web/packages/dataModelCenter/module/tableSearch/index.vue
create mode 100644 web/packages/dataModelCenter/module/tableSearch/versionListModal.vue
create mode 100644 web/packages/dataModelCenter/module/tableVersionInfo/index.js
create mode 100644 web/packages/dataModelCenter/module/tableVersionInfo/index.vue
create mode 100644 web/packages/dataModelCenter/router.js
create mode 100644 web/packages/dataModelCenter/service/api/common.js
create mode 100644 web/packages/dataModelCenter/service/api/dimensions.js
create mode 100644 web/packages/dataModelCenter/service/api/indicators.js
create mode 100644 web/packages/dataModelCenter/service/api/labels.js
create mode 100644 web/packages/dataModelCenter/service/api/measures.js
create mode 100644 web/packages/dataModelCenter/service/api/tableManage.js
create mode 100644 web/packages/dataModelCenter/utils/clipboard.js
create mode 100644 web/packages/dataModelCenter/utils/fomatSQL.js
create mode 100644 web/packages/dataModelCenter/utils/formatDate.js
create mode 100644 web/packages/dataModelCenter/view/dimension/index.vue
create mode 100644 web/packages/dataModelCenter/view/indicators/index.vue
create mode 100644 web/packages/dataModelCenter/view/labels/index.vue
create mode 100644 web/packages/dataModelCenter/view/layout/emptylayout.vue
create mode 100644 web/packages/dataModelCenter/view/layout/index.vue
create mode 100644 web/packages/dataModelCenter/view/layout/sidebar-sub-menu.vue
create mode 100644 web/packages/dataModelCenter/view/layout/sidebar.vue
create mode 100644 web/packages/dataModelCenter/view/measure/index.vue
create mode 100644 web/packages/dataModelCenter/view/tableManage/tableEditor/index.vue
create mode 100644 web/packages/dataModelCenter/view/tableManage/tableInfo/index.vue
create mode 100644 web/packages/dataModelCenter/view/tableManage/tableSearch/index.vue
create mode 100644 web/packages/dataModelCenter/view/tableManage/tableVersionInfo/index.vue
create mode 100644 web/packages/dataWarehouseDesign/assets/styles/common.scss
create mode 100644 web/packages/dataWarehouseDesign/i18n/en.json
create mode 100644 web/packages/dataWarehouseDesign/i18n/zh.json
create mode 100644 web/packages/dataWarehouseDesign/module/layered/editModal.vue
create mode 100644 web/packages/dataWarehouseDesign/module/layered/index.js
create mode 100644 web/packages/dataWarehouseDesign/module/layered/index.vue
create mode 100644 web/packages/dataWarehouseDesign/module/modifier/editModal.vue
create mode 100644 web/packages/dataWarehouseDesign/module/modifier/index.js
create mode 100644 web/packages/dataWarehouseDesign/module/modifier/index.vue
create mode 100644 web/packages/dataWarehouseDesign/module/statPeriod/editModal.vue
create mode 100644 web/packages/dataWarehouseDesign/module/statPeriod/index.js
create mode 100644 web/packages/dataWarehouseDesign/module/statPeriod/index.vue
create mode 100644 web/packages/dataWarehouseDesign/module/themeDomains/editModal.vue
create mode 100644 web/packages/dataWarehouseDesign/module/themeDomains/index.js
create mode 100644 web/packages/dataWarehouseDesign/module/themeDomains/index.vue
create mode 100644 web/packages/dataWarehouseDesign/router.js
create mode 100644 web/packages/dataWarehouseDesign/service/api/common.js
create mode 100644 web/packages/dataWarehouseDesign/service/api/layer.js
create mode 100644 web/packages/dataWarehouseDesign/service/api/modifiers.js
create mode 100644 web/packages/dataWarehouseDesign/service/api/statisticalPeriods.js
create mode 100644 web/packages/dataWarehouseDesign/service/api/theme.js
create mode 100644 web/packages/dataWarehouseDesign/utils/formatDate.js
create mode 100644 web/packages/dataWarehouseDesign/view/layered/index.vue
create mode 100644 web/packages/dataWarehouseDesign/view/layout/emptylayout.vue
create mode 100644 web/packages/dataWarehouseDesign/view/layout/index.vue
create mode 100644 web/packages/dataWarehouseDesign/view/layout/sidebar-sub-menu.vue
create mode 100644 web/packages/dataWarehouseDesign/view/layout/sidebar.vue
create mode 100644 web/packages/dataWarehouseDesign/view/modifier/index.vue
create mode 100644 web/packages/dataWarehouseDesign/view/statPeriod/index.vue
create mode 100644 web/packages/dataWarehouseDesign/view/themeDomains/index.vue
create mode 100644 web/patches/package.json
diff --git a/assembly/bin/executeSQL.sh b/assembly/bin/executeSQL.sh
index 8b60d0f08..eb4da7065 100644
--- a/assembly/bin/executeSQL.sh
+++ b/assembly/bin/executeSQL.sh
@@ -69,6 +69,10 @@ function executeSQL() {
isSuccess "source dss_dataapi_ddl.sql"
mysql -h$MYSQL_HOST -P$MYSQL_PORT -u$MYSQL_USER -p$MYSQL_PASSWORD -D$MYSQL_DB --default-character-set=utf8 -e "source $DB_CONF_PATH/apps/dss_guide_ddl.sql"
isSuccess "source dss_guide_ddl.sql"
+ mysql -h$MYSQL_HOST -P$MYSQL_PORT -u$MYSQL_USER -p$MYSQL_PASSWORD -D$MYSQL_DB --default-character-set=utf8 -e "source $DB_CONF_PATH/apps/datamodel.sql"
+ isSuccess "source datamodel.sql"
+ mysql -h$MYSQL_HOST -P$MYSQL_PORT -u$MYSQL_USER -p$MYSQL_PASSWORD -D$MYSQL_DB --default-character-set=utf8 -e "source $DB_CONF_PATH/apps/datawarehouse.sql"
+ isSuccess "source datawarehouse.sql"
mysql -h$MYSQL_HOST -P$MYSQL_PORT -u$MYSQL_USER -p$MYSQL_PASSWORD -D$MYSQL_DB --default-character-set=utf8 -e "source $DB_DML_PATH"
isSuccess "source dss_dml_real.sql"
echo "Rebuild the table"
diff --git a/assembly/bin/install.sh b/assembly/bin/install.sh
index bf49bea92..611614b57 100644
--- a/assembly/bin/install.sh
+++ b/assembly/bin/install.sh
@@ -121,11 +121,18 @@ function replaceCommonIp() {
DSS_DATA_API_SERVER_PORT=9208
fi
- if [ -z "$DSS_DATA_GOVERNANCE_SERVER_INSTALL_IP" ]; then
- DSS_DATA_GOVERNANCE_SERVER_INSTALL_IP=$LOCAL_IP
+ if [ -z "$DSS_DATA_ASSETS_SERVER_INSTALL_IP" ]; then
+ DSS_DATA_ASSETS_SERVER_INSTALL_IP=$LOCAL_IP
fi
- if [ -z "$DSS_DATA_GOVERNANCE_SERVER_PORT" ]; then
- DSS_DATA_GOVERNANCE_SERVER_PORT=9209
+ if [ -z "$DSS_DATA_ASSETS_SERVER_INSTALL_IP" ]; then
+ DSS_DATA_ASSETS_SERVER_INSTALL_IP=9300
+ fi
+ if [ -z "$DSS_DATAMODEL_CENTER_SERVER_INSTALL_IP" ]; then
+ DSS_DATAMODEL_CENTER_SERVER_INSTALL_IP=9400
+ fi
+
+ if [ -z "$DSS_DATA_WAREHOUSE_SERVER_INSTALL_IP" ]; then
+ DSS_DATA_WAREHOUSE_SERVER_INSTALL_IP=9500
fi
if [ -z "$DSS_GUIDE_SERVER_INSTALL_IP" ]; then
@@ -343,13 +350,38 @@ function installDssProject() {
CONF_APPLICATION_YML=$SERVER_HOME/conf/application-dss.yml
installPackage
- ###install dss-data-governance-server
- SERVER_NAME=dss-data-governance-server
- SERVER_IP=$DSS_DATA_GOVERNANCE_SERVER_INSTALL_IP
- SERVER_PORT=$DSS_DATA_GOVERNANCE_SERVER_PORT
- UPLOAD_LIB_FILES=$DSS_FILE_PATH/lib/dss-data-governance/$SERVER_NAME
- LIB_PATH=$SERVER_HOME/lib/dss-data-governance
- LOG_PATH=$SERVER_HOME/logs/dss-data-governance/$SERVER_NAME
+ ###install dss-data-assets-server
+ SERVER_NAME=dss-data-assets-server
+ SERVER_IP=$DSS_DATA_ASSETS_SERVER_INSTALL_IP
+ SERVER_PORT=$DSS_DATA_ASSETS_SERVER_PORT
+ UPLOAD_LIB_FILES=$DSS_FILE_PATH/lib/dss-data-assets-server/$SERVER_NAME
+ LIB_PATH=$SERVER_HOME/lib/dss-data-assets-server
+ LIB_PATH=$SERVER_HOME/lib/atlas-application.properties
+ LOG_PATH=$SERVER_HOME/logs/dss-data-assets-server/$SERVER_NAME
+ CONF_SERVER_PROPERTIES=$SERVER_HOME/conf/$SERVER_NAME.properties
+ CONF_DSS_PROPERTIES=$SERVER_HOME/conf/dss.properties
+ CONF_APPLICATION_YML=$SERVER_HOME/conf/application-dss.yml
+ installPackage
+
+ ###install dss-data-warehouse-server
+ SERVER_NAME=dss-data-warehouse-server
+ SERVER_IP=$DSS_DATA_WAREHOUSE_SERVER_INSTALL_IP
+ SERVER_PORT=$DSS_DATA_WAREHOUSE_SERVER_PORT
+ UPLOAD_LIB_FILES=$DSS_FILE_PATH/lib/dss-data-warehouse-server/$SERVER_NAME
+ LIB_PATH=$SERVER_HOME/lib/dss-data-warehouse-server
+ LOG_PATH=$SERVER_HOME/logs/dss-data-warehouse-server/$SERVER_NAME
+ CONF_SERVER_PROPERTIES=$SERVER_HOME/conf/$SERVER_NAME.properties
+ CONF_DSS_PROPERTIES=$SERVER_HOME/conf/dss.properties
+ CONF_APPLICATION_YML=$SERVER_HOME/conf/application-dss.yml
+ installPackage
+
+ ###install dss-datamodel-center-server
+ SERVER_NAME=dss-datamodel-center-server
+ SERVER_IP=$DSS_DATAMODEL_CENTER_SERVER_INSTALL_IP
+ SERVER_PORT=$DSS_DATAMODEL_CENTER_SERVER_PORT
+ UPLOAD_LIB_FILES=$DSS_FILE_PATH/lib/dss-datamodel-center-server/$SERVER_NAME
+ LIB_PATH=$SERVER_HOME/lib/dss-datamodel-center-server
+ LOG_PATH=$SERVER_HOME/logs/dss-datamodel-center-server/$SERVER_NAME
CONF_SERVER_PROPERTIES=$SERVER_HOME/conf/$SERVER_NAME.properties
CONF_DSS_PROPERTIES=$SERVER_HOME/conf/dss.properties
CONF_APPLICATION_YML=$SERVER_HOME/conf/application-dss.yml
diff --git a/assembly/config/config.sh b/assembly/config/config.sh
index d36b2acb9..93860f051 100644
--- a/assembly/config/config.sh
+++ b/assembly/config/config.sh
@@ -53,12 +53,18 @@ DSS_FLOW_EXECUTION_SERVER_PORT=9006
DSS_SCRIPTIS_SERVER_INSTALL_IP=127.0.0.1
DSS_SCRIPTIS_SERVER_PORT=9008
+DSS_DATA_ASSETS_SERVER_INSTALL_IP=127.0.0.1
+DSS_DATA_ASSETS_SERVER_PORT=9300
+
+DSS_DATAMODEL_CENTER_SERVER_INSTALL_IP=127.0.0.1
+DSS_DATAMODEL_CENTER_SERVER_PORT=9400
+
+DSS_DATA_WAREHOUSE_SERVER_INSTALL_IP=127.0.0.1
+DSS_DATA_WAREHOUSE_SERVER_PORT=9500
+
###dss-data-api-server
DSS_DATA_API_SERVER_INSTALL_IP=127.0.0.1
DSS_DATA_API_SERVER_PORT=9208
-###dss-data-governance-server
-DSS_DATA_GOVERNANCE_SERVER_INSTALL_IP=127.0.0.1
-DSS_DATA_GOVERNANCE_SERVER_PORT=9209
###dss-guide-server
DSS_GUIDE_SERVER_INSTALL_IP=127.0.0.1
DSS_GUIDE_SERVER_PORT=9210
@@ -83,5 +89,4 @@ EMAIL_PORT=25
EMAIL_USERNAME=xxx@163.com
EMAIL_PASSWORD=xxxxx
EMAIL_PROTOCOL=smtp
-############## ############## dss_appconn_instance configuration end ############## ##############
-
+############## ############## dss_appconn_instance configuration end ############## ##############
\ No newline at end of file
diff --git a/assembly/dss-package/src/main/assembly/distribution.xml b/assembly/dss-package/src/main/assembly/distribution.xml
index 09fce1e05..8ca7ac523 100644
--- a/assembly/dss-package/src/main/assembly/distribution.xml
+++ b/assembly/dss-package/src/main/assembly/distribution.xml
@@ -287,20 +287,40 @@
- ${basedir}/../../dss-data-api/dss-data-api-server/target/out/dss-data-api-server/lib/
+ ${basedir}/../../dss-apps/dss-data-api/dss-data-api-server/target/out/dss-data-api-server/lib/
- lib/dss-data-api/dss-data-api-server
+ lib/dss-apps/dss-data-api-server
+
+ **/*
+
+
+
+
+
+
+ ${basedir}/../../dss-apps/dss-dataasset-management/dss-data-assets-server/target/out/dss-data-assets-server/lib/
+
+ lib/dss-apps/dss-data-assets-server
+
+ **/*
+
+
+
+
+
+ ${basedir}/../../dss-apps/dss-datamodel-center/dss-datamodel-center-server/target/out/dss-datamodel-center-server/lib/
+
+ lib/dss-apps/dss-datamodel-center-server
**/*
-
- ${basedir}/../../dss-data-governance/dss-data-governance-server/target/out/dss-data-governance-server/lib/
+ ${basedir}/../../dss-apps/dss-datawarehouse-design/dss-data-warehouse-server/target/out/dss-data-warehouse-server/lib/
- lib/dss-data-governance/dss-data-governance-server
+ lib/dss-apps/dss-data-warehouse-server
**/*
diff --git a/conf/atlas-application.properties b/conf/atlas-application.properties
index e69de29bb..e37bc792d 100644
--- a/conf/atlas-application.properties
+++ b/conf/atlas-application.properties
@@ -0,0 +1,67 @@
+# Generated by Apache Ambari. Sun Feb 27 10:44:18 2022
+
+atlas.audit.hbase.tablename=ATLAS_ENTITY_AUDIT_EVENTS
+atlas.audit.hbase.zookeeper.quorum=hdp
+atlas.audit.zookeeper.session.timeout.ms=60000
+atlas.authentication.keytab=/etc/security/keytabs/atlas.service.keytab
+atlas.authentication.method.file=true
+atlas.authentication.method.file.filename=/home/hadoop/software/apache-atlas-2.0.0/conf/users-credentials.properties
+atlas.authentication.method.kerberos=false
+atlas.authentication.method.ldap=false
+atlas.authentication.method.ldap.ad.base.dn=
+atlas.authentication.method.ldap.ad.bind.dn=
+atlas.authentication.method.ldap.ad.bind.password=
+atlas.authentication.method.ldap.ad.default.role=ROLE_USER
+atlas.authentication.method.ldap.ad.domain=
+atlas.authentication.method.ldap.ad.referral=ignore
+atlas.authentication.method.ldap.ad.url=
+atlas.authentication.method.ldap.ad.user.searchfilter=(sAMAccountName={0})
+atlas.authentication.method.ldap.base.dn=
+atlas.authentication.method.ldap.bind.dn=
+atlas.authentication.method.ldap.bind.password=
+atlas.authentication.method.ldap.default.role=ROLE_USER
+atlas.authentication.method.ldap.groupRoleAttribute=cn
+atlas.authentication.method.ldap.groupSearchBase=
+atlas.authentication.method.ldap.groupSearchFilter=
+atlas.authentication.method.ldap.referral=ignore
+atlas.authentication.method.ldap.type=ldap
+atlas.authentication.method.ldap.url=
+atlas.authentication.method.ldap.user.searchfilter=
+atlas.authentication.method.ldap.userDNpattern=uid=
+atlas.authentication.principal=atlas
+atlas.authorizer.impl=ranger
+atlas.cluster.name=bigdata_all_in_one
+atlas.enableTLS=false
+atlas.graph.index.search.solr.mode=cloud
+atlas.graph.index.search.solr.wait-searcher=true
+atlas.graph.index.search.solr.zookeeper-url=hadoop:2181/infra-solr
+atlas.graph.storage.hbase.table=atlas_janus
+atlas.graph.storage.hostname=hdp
+atlas.kafka.auto.commit.enable=false
+atlas.kafka.bootstrap.servers=hadoop:6667
+atlas.kafka.hook.group.id=atlas
+atlas.kafka.zookeeper.connect=hadoop:2181
+atlas.kafka.zookeeper.connection.timeout.ms=30000
+atlas.kafka.zookeeper.session.timeout.ms=60000
+atlas.kafka.zookeeper.sync.time.ms=20
+atlas.lineage.schema.query.hive_table=hive_table where __guid='%s'\, columns
+atlas.lineage.schema.query.Table=Table where __guid='%s'\, columns
+atlas.notification.create.topics=true
+atlas.notification.embedded=false
+atlas.notification.replicas=1
+atlas.notification.topics=ATLAS_HOOK,ATLAS_ENTITIES
+atlas.proxyusers=
+atlas.rest.address=http://hadoop:21000
+atlas.server.address.id1=hadoop:21000
+atlas.server.bind.address=0.0.0.0
+atlas.server.ha.enabled=false
+atlas.server.http.port=21000
+atlas.server.https.port=21443
+atlas.server.ids=id1
+atlas.simple.authz.policy.file=/home/hadoop/software/apache-atlas-2.0.0/conf/atlas-simple-authz-policy.json
+atlas.solr.kerberos.enable=false
+atlas.ssl.exclude.protocols=TLSv1.2
+atlas.sso.knox.browser.useragent=
+atlas.sso.knox.enabled=false
+atlas.sso.knox.providerurl=
+atlas.sso.knox.publicKey=
diff --git a/conf/dss-data-assets-server.properties b/conf/dss-data-assets-server.properties
new file mode 100644
index 000000000..3660ed1cd
--- /dev/null
+++ b/conf/dss-data-assets-server.properties
@@ -0,0 +1,88 @@
+#
+# /*
+# * Copyright 2019 WeBank
+# *
+# * Licensed under the Apache License, Version 2.0 (the "License");
+# * you may not use this file except in compliance with the License.
+# * You may obtain a copy of the License at
+# *
+# * http://www.apache.org/licenses/LICENSE-2.0
+# *
+# * Unless required by applicable law or agreed to in writing, software
+# * distributed under the License is distributed on an "AS IS" BASIS,
+# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# * See the License for the specific language governing permissions and
+# * limitations under the License.
+# */
+#
+# Spring configurations
+spring.server.port=9300
+spring.spring.application.name=dss-data-assets-server
+wds.linkis.test.mode=true
+wds.linkis.log.clear=true
+wds.linkis.server.version=v1
+
+
+wds.linkis.server.mybatis.datasource.url=jdbc:mysql://localhost:3306/hive?useSSL=false&characterEncoding=UTF-8
+
+wds.linkis.server.mybatis.datasource.username=root
+
+wds.linkis.server.mybatis.datasource.password=root
+
+
+
+
+
+wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.dss.data.governance.restful
+
+##mybatis
+wds.linkis.server.mybatis.mapperLocations=classpath*:com/webank/wedatasphere/dss/data/governance/dao/impl/*.xml
+
+wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.data.governance.entity
+
+wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.data.governance.dao
+
+
+# atlas config
+atlas.rest.address=http://localhost:21000
+atlas.username=admin
+atlas.password=admin123
+atlas.client.readTimeoutMSecs=60000
+atlas.client.connectTimeoutMSecs=60000
+
+# create root classification
+atlas.root.indicator=datamodel_indicator
+atlas.root.measure=datamodel_measure
+atlas.root.dimension=datamodel_dimension
+atlas.root.layer=datamodel_layer
+atlas.root.theme=datamodel_theme
+
+# create root glossary
+atlas.root.label=datamodel_label
+atlas.root.collection=datamodel_collection
+
+
+# hive metadata config
+metastore.datasource.driver=com.mysql.jdbc.Driver
+metastore.datasource.url=jdbc:mysql://localhost:3306/hive?characterEncoding=UTF-8
+metastore.datasource.username=root
+metastore.datasource.password=root
+
+
+wds.workspace.client.serverurl=http://localhost:9001
+
+wds.workspace.client.authtoken.key=hadoop
+
+wds.workspace.client.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy
+
+wds.workspace.client.discovery.enabled=false
+
+wds.workspace.client.authtoken.value=hadoop
+
+spring.spring.mvc.servlet.path=/api/rest_j/v1
+
+wds.workspace.client.dws.version=v1
+
+wds.wedatasphere.data.assert.client.strategy=static
+
+
diff --git a/conf/dss-data-governance-server.properties b/conf/dss-data-governance-server.properties
deleted file mode 100644
index b3980c6cc..000000000
--- a/conf/dss-data-governance-server.properties
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# /*
-# * Copyright 2019 WeBank
-# *
-# * Licensed under the Apache License, Version 2.0 (the "License");
-# * you may not use this file except in compliance with the License.
-# * You may obtain a copy of the License at
-# *
-# * http://www.apache.org/licenses/LICENSE-2.0
-# *
-# * Unless required by applicable law or agreed to in writing, software
-# * distributed under the License is distributed on an "AS IS" BASIS,
-# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# * See the License for the specific language governing permissions and
-# * limitations under the License.
-# */
-#
-
-# Spring configurations
-spring.server.port=9209
-spring.spring.application.name=dss-data-governance-server
-
-wds.linkis.log.clear=true
-
-wds.linkis.server.version=v1
-
-##restful
-wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.dss.data.asset.restful,com.webank.wedatasphere.dss.data.classification.restful
-
-##mybatis
-wds.linkis.server.mybatis.mapperLocations=classpath*:com/webank/wedatasphere/dss/data/asset/dao/impl/*.xml
-wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.data.asset.entity
-wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.data.asset.dao,com.webank.wedatasphere.dss.data.warehouse.dao,com.webank.wedatasphere.dss.data.warehouse.mapper
-
-#wds.linkis.gateway.ip=127.0.0.1
-#wds.linkis.gateway.port=9001
-#wds.linkis.gateway.url=http://127.0.0.1:9001/
-
-
-# atlas config
-atlas.rest.address=http://xxxxxxx:21000
-atlas.username=xxxxxxxx
-atlas.password=yyyyyyyyy
-atlas.client.readTimeoutMSecs=60000
-atlas.client.connectTimeoutMSecs=60000
-
-atlas.cluster.name=primary
-
-# hive metadata config
-metastore.datasource.driver=com.mysql.jdbc.Driver
-metastore.datasource.url=jdbc:mysql://xxxxxx:yyyy/metastore?characterEncoding=UTF-8
-metastore.datasource.username=xxxxxx
-metastore.datasource.password=yyyyyy
\ No newline at end of file
diff --git a/conf/dss-data-warehouse-server.properties b/conf/dss-data-warehouse-server.properties
new file mode 100644
index 000000000..d8777231a
--- /dev/null
+++ b/conf/dss-data-warehouse-server.properties
@@ -0,0 +1,51 @@
+#
+# Copyright 2019 WeBank
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+spring.server.port=9500
+spring.spring.application.name=dss-data-warehouse-server
+wds.linkis.test.mode=true
+
+wds.linkis.server.mybatis.datasource.url=jdbc:mysql://localhost:3306/governance?useSSL=false&characterEncoding=UTF-8
+
+wds.linkis.server.mybatis.datasource.username=root
+
+wds.linkis.server.mybatis.datasource.password=root
+
+wds.linkis.log.clear=true
+
+wds.linkis.server.version=v1
+
+
+## datasource client
+wds.datawarehouse.datasource.client.serverurl=http://hdp:8085
+wds.datawarehouse.datasource.client.authtoken.key=hadoop
+wds.datawarehouse.datasource.client.authtoken.value=hadoop
+wds.datawarehouse.datasource.client.dws.version=v1
+
+##restful
+wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.warehouse.restful
+
+wds.linkis.server.mybatis.mapperLocations=classpath*:com/webank/wedatasphere/warehouse/dao/mapper/impl/*.xml
+
+wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.warehouse.dao.mapper
+
+wds.entity.workspace.name.auto.transform=false
+
+spring.spring.mvc.servlet.path=/api/rest_j/v1
+
+
+
+
diff --git a/conf/dss-datamodel-center-server.properties b/conf/dss-datamodel-center-server.properties
new file mode 100644
index 000000000..57de3eeff
--- /dev/null
+++ b/conf/dss-datamodel-center-server.properties
@@ -0,0 +1,107 @@
+#
+# Copyright 2019 WeBank
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+spring.server.port=9400
+spring.spring.application.name=dss-datamodel-center-server
+
+wds.linkis.test.mode=true
+
+
+
+wds.linkis.server.mybatis.datasource.url=jdbc:mysql://localhost:3306/datamodel?useSSL=false&characterEncoding=UTF-8
+
+wds.linkis.server.mybatis.datasource.username=root
+
+wds.linkis.server.mybatis.datasource.password=root
+
+
+wds.linkis.log.clear=true
+
+wds.linkis.server.version=v1
+
+
+wds.wedatasphere.linkis.serverurl=http://localhost:8085
+
+wds.wedatasphere.linkis.authtoken.key=hadoop
+
+wds.wedatasphere.linkis.discovery.enabled=false
+
+wds.wedatasphere.linkis.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy
+
+wds.wedatasphere.linkis.authtoken.value=hadoop
+
+wds.wedatasphere.linkis.dws.version=v1
+
+
+##restful
+wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.dss.datamodel.indicator.restful,\
+ com.webank.wedatasphere.dss.datamodel.table.restful,\
+ com.webank.wedatasphere.dss.datamodel.dimension.restful,\
+ com.webank.wedatasphere.dss.datamodel.measure.restful
+
+wds.linkis.server.mybatis.mapperLocations=classpath*:com/webank/wedatasphere/dss/datamodel/dimension/dao/impl/*.xml,\
+ classpath*:com/webank/wedatasphere/dss/datamodel/table/dao/impl/*.xml,\
+ classpath*:com/webank/wedatasphere/dss/datamodel/measure/dao/impl/*.xml,\
+ classpath*:com/webank/wedatasphere/dss/datamodel/indicator/dao/impl/*.xml
+
+wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.datamodel.dimension.dao,\
+ com.webank.wedatasphere.dss.datamodel.table.dao,\
+ com.webank.wedatasphere.dss.datamodel.measure.dao,\
+ com.webank.wedatasphere.dss.datamodel.indicator.dao
+
+wds.wedatasphere.warehouse.client.serverurl=http://localhost:9001
+
+wds.wedatasphere.warehouse.client.authtoken.key=hadoop
+
+wds.wedatasphere.warehouse.client.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy
+
+wds.wedatasphere.warehouse.client.authtoken.value=hadoop
+
+wds.wedatasphere.warehouse.client.discovery.enabled=false
+
+wds.wedatasphere.warehouse.client.dws.version=v1
+
+
+wds.wedatasphere.assets.client.serverurl=http://localhost:9001
+
+wds.wedatasphere.assets.client.authtoken.key=hadoop
+
+wds.wedatasphere.assets.client.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy
+
+wds.wedatasphere.assets.client.discovery.enabled=false
+
+wds.wedatasphere.assets.client.authtoken.value=hadoop
+
+wds.wedatasphere.assets.client.dws.version=v1
+
+
+
+wds.workspace.client.serverurl=http://localhost:9001
+
+wds.workspace.client.authtoken.key=hadoop
+
+wds.workspace.client.authenticationStrategy=org.apache.linkis.httpclient.dws.authentication.TokenAuthenticationStrategy
+
+wds.workspace.client.discovery.enabled=false
+
+wds.workspace.client.authtoken.value=hadoop
+
+wds.workspace.client.dws.version=v1
+spring.spring.mvc.servlet.path=/api/rest_j/v1
+
+
+
+wds.wedatasphere.data.model.client.strategy=static
diff --git a/db/apps/datamodel.sql b/db/apps/datamodel.sql
new file mode 100644
index 000000000..ae5b1ad9d
--- /dev/null
+++ b/db/apps/datamodel.sql
@@ -0,0 +1,352 @@
+
+SET NAMES utf8mb4;
+SET FOREIGN_KEY_CHECKS = 0;
+
+
+-- ----------------------------
+-- Table structure for dss_datamodel_dimension
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_dimension`;
+CREATE TABLE `dss_datamodel_dimension` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `field_identifier` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `formula` varchar(255) COLLATE utf8_bin NOT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `owner` varchar(64) COLLATE utf8_bin NOT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` tinyint(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '英文',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `name` (`name`) USING BTREE,
+ UNIQUE KEY `field_identifier` (`field_identifier`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_indicator
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_indicator`;
+CREATE TABLE `dss_datamodel_indicator` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `field_identifier` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `owner` varchar(64) COLLATE utf8_bin NOT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` tinyint(1) NOT NULL,
+ `is_core_indicator` tinyint(1) NOT NULL,
+ `theme_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的theme的names',
+ `layer_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的layer的names',
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `version` varchar(255) COLLATE utf8_bin NOT NULL,
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题英文',
+ `theme_area_en` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '英文名称',
+ `layer_area_en` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '英文名称',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `name` (`name`) USING BTREE,
+ KEY `field_identifier` (`field_identifier`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_indicator_content
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_indicator_content`;
+CREATE TABLE `dss_datamodel_indicator_content` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `indicator_id` int(11) NOT NULL,
+ `version` varchar(255) COLLATE utf8_bin NOT NULL,
+ `indicator_type` int(4) NOT NULL COMMENT '0 原子 1 衍生 2 派生 3 复杂 4 自定义',
+ `measure_id` int(11) DEFAULT NULL,
+ `indicator_source_info` text COLLATE utf8_bin NOT NULL COMMENT '指标来源信息',
+ `formula` varchar(255) COLLATE utf8_bin NOT NULL,
+ `business` varchar(255) COLLATE utf8_bin NOT NULL,
+ `business_owner` varchar(255) COLLATE utf8_bin NOT NULL,
+ `calculation` varchar(255) COLLATE utf8_bin NOT NULL,
+ `calculation_owner` varchar(255) COLLATE utf8_bin NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_indicator_version
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_indicator_version`;
+CREATE TABLE `dss_datamodel_indicator_version` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `owner` varchar(64) COLLATE utf8_bin NOT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `version` varchar(255) COLLATE utf8_bin NOT NULL,
+ `version_context` text COLLATE utf8_bin NOT NULL COMMENT '历史版本详细信息快照',
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `name` (`name`,`version`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_label
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_label`;
+CREATE TABLE `dss_datamodel_label` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `field_identifier` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `params` text COLLATE utf8_bin COMMENT '标签键值对 json',
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `owner` varchar(64) COLLATE utf8_bin NOT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` tinyint(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '英文',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `name` (`name`) USING BTREE,
+ UNIQUE KEY `field_identifier` (`field_identifier`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_measure
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_measure`;
+CREATE TABLE `dss_datamodel_measure` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `field_identifier` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `formula` varchar(255) COLLATE utf8_bin NOT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `owner` varchar(64) COLLATE utf8_bin NOT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` tinyint(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '英文',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `name` (`name`) USING BTREE,
+ UNIQUE KEY `field_identifier` (`field_identifier`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table`;
+CREATE TABLE `dss_datamodel_table` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `data_base` varchar(255) COLLATE utf8_bin NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `alias` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `creator` varchar(255) COLLATE utf8_bin NOT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `warehouse_layer_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓层级',
+ `warehouse_layer_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓层级英文',
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题英文',
+ `lifecycle` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '生命周期',
+ `is_partition_table` tinyint(1) NOT NULL,
+ `is_available` tinyint(1) NOT NULL,
+ `storage_type` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '存储类型:hive/mysql',
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `compress` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '压缩格式',
+ `file_type` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '文件格式',
+ `version` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '版本信息:默认1',
+ `is_external` tinyint(1) NOT NULL COMMENT '是否外部表 0 内部表 1外部表',
+ `location` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '外部表时 location',
+ `label` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '标签',
+ `lifecycle_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '生命周期英文',
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `database` (`data_base`,`name`) USING BTREE,
+ UNIQUE KEY `name` (`name`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=92 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_collcetion
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_collcetion`;
+CREATE TABLE `dss_datamodel_table_collcetion` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `data_base` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `alias` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `creator` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `warehouse_layer_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓层级',
+ `warehouse_theme_name` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题格式为: theme_domain_name.theme_name',
+ `lifecycle` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '生命周期',
+ `is_partition_table` tinyint(1) DEFAULT NULL,
+ `is_available` tinyint(1) DEFAULT NULL,
+ `storage_type` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '存储类型:hive/mysql',
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `compress` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '压缩格式',
+ `file_type` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '文件格式',
+ `user` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '收藏人',
+ `version` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '版本信息:默认1',
+ `is_external` tinyint(1) DEFAULT NULL COMMENT '是否外部表 0 内部表 1外部表',
+ `location` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '外部表时 location',
+ `label` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '标签',
+ `guid` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT 'atlas标识',
+ `warehouse_layer_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓层级英文',
+ `warehouse_theme_name_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '数仓主题英文',
+ `lifecycle_en` varchar(512) COLLATE utf8_bin DEFAULT NULL COMMENT '生命周期英文',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_columns
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_columns`;
+CREATE TABLE `dss_datamodel_table_columns` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `table_id` int(11) NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `alias` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `type` varchar(64) COLLATE utf8_bin NOT NULL,
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `is_partition_field` tinyint(1) NOT NULL,
+ `is_primary` tinyint(1) NOT NULL,
+ `length` int(11) DEFAULT NULL,
+ `rule` varchar(128) COLLATE utf8_bin DEFAULT NULL,
+ `model_type` int(4) DEFAULT NULL COMMENT '0 维度,1 指标 2 度量',
+ `model_name_en` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '模型信息英文名称',
+ `model_id` int(11) DEFAULT NULL COMMENT '关联具体模型id信息(因为有版本数据表id不可靠,暂时不用)',
+ `model_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '模型信息名称',
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=226 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_materialized_history
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_materialized_history`;
+CREATE TABLE `dss_datamodel_table_materialized_history` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `materialized_code` mediumtext COLLATE utf8_bin COMMENT '物化sql',
+ `reason` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '物化原因',
+ `creator` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '物化者',
+ `status` int(4) NOT NULL COMMENT 'succeed,failed,in progess',
+ `create_time` datetime NOT NULL,
+ `last_update_time` datetime NOT NULL,
+ `task_id` varchar(512) COLLATE utf8_bin NOT NULL,
+ `error_msg` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `tableName` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '表名',
+ `data_base` varchar(255) COLLATE utf8_bin NOT NULL,
+ `version` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '版本信息:默认1',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_params
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_params`;
+CREATE TABLE `dss_datamodel_table_params` (
+ `tbl_id` int(11) NOT NULL,
+ `param_key` varchar(256) COLLATE utf8_bin NOT NULL COMMENT '创建表参数:压缩/orc等',
+ `param_value` mediumtext COLLATE utf8_bin,
+ PRIMARY KEY (`tbl_id`,`param_key`) USING BTREE,
+ KEY `table_params_n49` (`tbl_id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_statics
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_statics`;
+CREATE TABLE `dss_datamodel_table_statics` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `origin_tables` varchar(4000) COLLATE utf8_bin DEFAULT NULL,
+ `table_id` int(11) NOT NULL,
+ `access_count` int(11) NOT NULL,
+ `last_access_time` int(11) NOT NULL,
+ `sample_data_path` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '存储10行用例数据',
+ `sample_update_time` int(11) NOT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_stats
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_stats`;
+CREATE TABLE `dss_datamodel_table_stats` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `data_base` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
+ `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `column_count` int(11) NOT NULL COMMENT '字段数',
+ `storage_size` int(11) NOT NULL COMMENT '存储大小',
+ `file_count` int(11) NOT NULL COMMENT '文件数',
+ `partition_count` int(11) NOT NULL COMMENT '分区数',
+ `access_count` int(11) NOT NULL COMMENT '访问次数',
+ `collect_count` int(11) NOT NULL COMMENT '收藏次数',
+ `ref_count` int(11) NOT NULL COMMENT '引用次数',
+ `version` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '版本信息:默认1',
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Table structure for dss_datamodel_table_version
+-- ----------------------------
+DROP TABLE IF EXISTS `dss_datamodel_table_version`;
+CREATE TABLE `dss_datamodel_table_version` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `tbl_id` int(11) NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `is_materialized` tinyint(1) NOT NULL COMMENT '是否物化',
+ `table_code` mediumtext COLLATE utf8_bin COMMENT '创建table的sql',
+ `comment` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '版本注释',
+ `version` varchar(128) COLLATE utf8_bin NOT NULL COMMENT '版本信息:默认version0002',
+ `table_params` mediumtext COLLATE utf8_bin,
+ `columns` varchar(4000) COLLATE utf8_bin DEFAULT NULL,
+ `source_type` varchar(128) COLLATE utf8_bin DEFAULT 'add' COMMENT 'rollback,update,add',
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `creator` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE,
+ UNIQUE KEY `table_version` (`version`,`name`) USING BTREE
+) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+DROP TABLE IF EXISTS `dss_datamodel_dictionary`;
+CREATE TABLE `dss_datamodel_dictionary` (
+ `id` int(50) NOT NULL COMMENT '主键id',
+ `code` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '类型code',
+ `type` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '字典类型',
+ `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述',
+ `created_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
+ `update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
+ `sort` int(11) NULL DEFAULT NULL,
+ PRIMARY KEY (`id`) USING BTREE
+) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '数模字典' ROW_FORMAT = Dynamic;
+
+-- ----------------------------
+-- Records of dss_datamodel_dictionary
+-- ----------------------------
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000001, 'Snappy', 'COMPRESS', 'Snappy', '2021-10-09 15:41:23', '2021-10-09 15:55:44', 1);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000002, 'None', 'COMPRESS', '无', '2021-10-09 15:42:17', '2021-10-20 14:48:59', 2);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000003, 'ORC', 'FILE_STORAGE', 'orc', '2021-10-09 15:55:32', '2021-10-20 14:49:00', 1);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000004, 'Parquet', 'FILE_STORAGE', 'Parquet', '2021-10-09 15:55:32', '2021-10-20 14:49:02', 2);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000005, 'None', 'FILE_STORAGE', '无', '2021-10-09 15:55:32', '2021-10-20 14:49:04', 3);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000006, 'Once', 'LIFECYCLE', '一次', '2021-10-09 15:55:32', '2021-10-20 14:49:05', 1);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000007, 'OneDay', 'LIFECYCLE', '一天', '2021-10-09 15:55:32', '2021-10-20 14:49:06', 2);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000008, 'HalfMonth', 'LIFECYCLE', '半月', '2021-10-09 15:55:32', '2021-10-20 14:49:07', 3);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000009, 'OneMonth', 'LIFECYCLE', '一个月', '2021-10-09 15:55:32', '2021-10-20 14:49:08', 4);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000010, 'ThreeMonths', 'LIFECYCLE', '三个月', '2021-10-09 15:55:32', '2021-10-20 14:49:09', 5);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000011, 'SixMonths', 'LIFECYCLE', '六个月', '2021-10-09 15:55:32', '2021-10-20 14:49:10', 6);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000012, 'OneYear', 'LIFECYCLE', '一年', '2021-10-09 15:55:32', '2021-10-20 14:49:11', 7);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000013, 'ThreeYears', 'LIFECYCLE', '三年', '2021-10-09 15:55:32', '2021-10-20 14:49:12', 8);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000014, 'Hive', 'STORAGE_ENGINE', 'hive', '2021-10-09 15:55:32', '2021-10-20 14:49:19', 1);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000015, 'Mysql', 'STORAGE_ENGINE', 'mysql', '2021-10-09 15:55:32', '2021-10-20 14:49:20', 2);
+INSERT INTO `dss_datamodel_dictionary` VALUES (10000016, 'ES', 'STORAGE_ENGINE', 'es', '2021-10-09 15:55:32', '2021-10-20 14:49:25', 3);
+
+SET FOREIGN_KEY_CHECKS = 1;
diff --git a/db/apps/datawarehouse.sql b/db/apps/datawarehouse.sql
new file mode 100644
index 000000000..1818a6371
--- /dev/null
+++ b/db/apps/datawarehouse.sql
@@ -0,0 +1,224 @@
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+SET NAMES utf8mb4;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE='NO_AUTO_VALUE_ON_ZERO', SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+
+# 转储表 dss_datawarehouse_layer
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_layer`;
+
+CREATE TABLE `dss_datawarehouse_layer` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `en_name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `owner` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` bit(1) NOT NULL,
+ `preset` bit(1) NOT NULL DEFAULT b'0',
+ `sort` int(4) NOT NULL DEFAULT '1',
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `dbs` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '如果为空代表所有的库',
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `status` bit(1) NOT NULL DEFAULT b'1',
+ `lock_version` bigint(20) NOT NULL DEFAULT '1',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+LOCK TABLES `dss_datawarehouse_layer` WRITE;
+/*!40000 ALTER TABLE `dss_datawarehouse_layer` DISABLE KEYS */;
+
+INSERT INTO `dss_datawarehouse_layer` (`id`, `name`, `en_name`, `owner`, `principal_name`, `is_available`, `preset`, `sort`, `description`, `dbs`, `create_time`, `update_time`, `status`, `lock_version`)
+VALUES
+ (1,'原数据层(ODS)','ods','admin','所有角色',b'1',b'1',10,'由业务系统同步到数据仓库的原始数据,一般不经过加工','ALL','2021-09-01 00:00:00','2021-09-01 00:00:00',b'1',1),
+ (2,'明细层(DWD)','dwd','admin','所有角色',b'1',b'1',20,'从ods层经过ETL得到的明细数据,表示具体的事实','ALL','2021-09-01 00:00:00','2021-09-01 00:00:00',b'1',1),
+ (3,'汇总层(DWS)','dws','admin','所有角色',b'1',b'1',30,'由明细数据经过汇总得到的数据,主要由统计维度和指标构成','ALL','2021-09-01 00:00:00','2021-09-01 00:00:00',b'1',1);
+
+/*!40000 ALTER TABLE `dss_datawarehouse_layer` ENABLE KEYS */;
+UNLOCK TABLES;
+
+
+# 转储表 dss_datawarehouse_layer_generalize_rule
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_layer_generalize_rule`;
+
+CREATE TABLE `dss_datawarehouse_layer_generalize_rule` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `layer_id` bigint(20) NOT NULL,
+ `regex` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '自动归纳表达式',
+ `identifier` varchar(255) COLLATE utf8_bin NOT NULL,
+ `en_identifier` varchar(255) COLLATE utf8_bin NOT NULL,
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `status` bit(1) NOT NULL DEFAULT b'1',
+ `lock_version` bigint(20) NOT NULL DEFAULT '1',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_modifier
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_modifier`;
+
+CREATE TABLE `dss_datawarehouse_modifier` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `modifier_type` varchar(64) COLLATE utf8_bin NOT NULL,
+ `theme_domain_id` bigint(20) DEFAULT NULL,
+ `layer_id` bigint(20) DEFAULT NULL,
+ `theme_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的theme的names',
+ `layer_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的layer的names',
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `is_available` bit(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `status` bit(1) NOT NULL DEFAULT b'1',
+ `lock_version` bigint(20) NOT NULL DEFAULT '1',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_modifier_list
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_modifier_list`;
+
+CREATE TABLE `dss_datawarehouse_modifier_list` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `modifier_id` bigint(20) NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `identifier` varchar(255) COLLATE utf8_bin NOT NULL,
+ `formula` varchar(255) COLLATE utf8_bin NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_statistical_period
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_statistical_period`;
+
+CREATE TABLE `dss_datawarehouse_statistical_period` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `theme_domain_id` bigint(20) NOT NULL,
+ `layer_id` bigint(20) NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `en_name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `start_time_formula` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `end_time_formula` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `owner` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `is_available` bit(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `status` bit(1) NOT NULL DEFAULT b'1',
+ `lock_version` bigint(20) NOT NULL DEFAULT '1',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_table_rule
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_table_rule`;
+
+CREATE TABLE `dss_datawarehouse_table_rule` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` bigint(20) NOT NULL,
+ `theme_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的theme的names',
+ `layer_area` varchar(1000) COLLATE utf8_bin NOT NULL COMMENT '空:代表所有,如果是逗号分隔的字符串则代表对应的layer的names',
+ `table_name_rule` varchar(1000) COLLATE utf8_bin NOT NULL,
+ `table_props_rule` varchar(1000) COLLATE utf8_bin NOT NULL,
+ `partation_rule` varchar(1000) COLLATE utf8_bin NOT NULL,
+ `column_rule` varchar(1000) COLLATE utf8_bin NOT NULL,
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `is_available` bit(1) NOT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_theme
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_theme`;
+
+CREATE TABLE `dss_datawarehouse_theme` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `theme_domain_id` bigint(20) NOT NULL,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `en_name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `parent_theme_name` varchar(255) COLLATE utf8_bin DEFAULT NULL COMMENT '默认为空,如果不为空则指向父主题',
+ `owner` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `is_available` bit(1) NOT NULL,
+ `sort` int(4) NOT NULL,
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+
+
+# 转储表 dss_datawarehouse_theme_domain
+# ------------------------------------------------------------
+
+DROP TABLE IF EXISTS `dss_datawarehouse_theme_domain`;
+
+CREATE TABLE `dss_datawarehouse_theme_domain` (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT,
+ `name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `en_name` varchar(255) COLLATE utf8_bin NOT NULL,
+ `owner` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `principal_name` varchar(128) COLLATE utf8_bin DEFAULT NULL COMMENT '授权的名字:userName、roleName',
+ `is_available` bit(1) NOT NULL,
+ `sort` int(4) NOT NULL,
+ `description` varchar(255) COLLATE utf8_bin DEFAULT NULL,
+ `create_time` datetime NOT NULL,
+ `update_time` datetime NOT NULL,
+ `status` bit(1) NOT NULL DEFAULT b'1',
+ `lock_version` bigint(20) NOT NULL DEFAULT '1',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
+
+LOCK TABLES `dss_datawarehouse_theme_domain` WRITE;
+/*!40000 ALTER TABLE `dss_datawarehouse_theme_domain` DISABLE KEYS */;
+
+INSERT INTO `dss_datawarehouse_theme_domain` (`id`, `name`, `en_name`, `owner`, `principal_name`, `is_available`, `sort`, `description`, `create_time`, `update_time`, `status`, `lock_version`)
+VALUES
+ (1,'主题','英文名','负责人','New York',b'1',1,'描述','2021-09-28 13:18:48','2021-09-28 13:18:48',b'1',1);
+
+/*!40000 ALTER TABLE `dss_datawarehouse_theme_domain` ENABLE KEYS */;
+UNLOCK TABLES;
+
+
+
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/db/dss_ddl.sql b/db/dss_ddl.sql
index 938961d09..6a22e25ab 100644
--- a/db/dss_ddl.sql
+++ b/db/dss_ddl.sql
@@ -25,11 +25,7 @@ CREATE TABLE `dss_appconn_instance` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='dss instance的实例表';
-/*
----------------------------------------------------------------------
-------------------- DSS Orchestrator Framework ---------------------
----------------------------------------------------------------------
-*/
+
DROP TABLE IF EXISTS `dss_orchestrator_info`;
CREATE TABLE `dss_orchestrator_info` (
@@ -82,11 +78,7 @@ CREATE TABLE `dss_orchestrator_ref_orchestration_relation` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=326 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
-/*
----------------------------------------------------------------------
-------------------- DSS Project Framework ---------------------
----------------------------------------------------------------------
-*/
+
DROP TABLE IF EXISTS `dss_project`;
CREATE TABLE `dss_project` (
@@ -141,11 +133,6 @@ CREATE TABLE `dss_appconn_project_relation` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=90 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
-/*
----------------------------------------------------------------------
---------------------- DSS Workspace Framework ----------------------
----------------------------------------------------------------------
-*/
DROP TABLE IF EXISTS `dss_workspace`;
CREATE TABLE `dss_workspace` (
@@ -308,11 +295,7 @@ CREATE TABLE `dss_workspace_download_audit` (
PRIMARY KEY (`id`)
) ENGINE = INNODB DEFAULT CHARSET = utf8 COMMENT = '文件下载审计';
-/*
----------------------------------------------------------------------
---------------------------- DSS Workflow ---------------------------
----------------------------------------------------------------------
-*/
+
DROP TABLE IF EXISTS `dss_workflow`;
CREATE TABLE `dss_workflow` (
@@ -589,4 +572,3 @@ CREATE TABLE `dss_proxy_user` (
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=214 DEFAULT CHARSET=utf8;
-
diff --git a/db/dss_dml.sql b/db/dss_dml.sql
index 7ae770c63..246c41922 100644
--- a/db/dss_dml.sql
+++ b/db/dss_dml.sql
@@ -3,16 +3,28 @@ INSERT INTO `dss_appconn` (`id`, `appconn_name`, `is_user_need_init`, `level`, `
VALUES (1,'sso',0,1,0,0,NULL,"com.webank.wedatasphere.dss.appconn.sso.SSOAppConn",NULL,NULL),
(2,'scriptis',0,1,0,0,"sso",NULL,NULL,NULL),
(3,'workflow',0,1,1,0,NULL,'com.webank.wedatasphere.dss.appconn.workflow.WorkflowAppConn','/appcom/Install/dss/dss-appconns/workflow',NULL),
-(4,'apiservice',0,1,0,0,"sso",NULL,NULL,NULL);
+(4,'apiservice',0,1,0,0,'sso',NULL,NULL,NULL)
+(5,'datamodel',0,1,0,0,'sso',NULL,NULL,NULL),
+(6,'warehouse',0,1,0,0,'sso',NULL,NULL,NULL),
+(7,'dataasset',0,1,0,0,'sso',NULL,NULL,NULL),
+(8,'dataservice',0,1,0,0,'sso',NULL,NULL,NULL);
DELETE FROM dss_appconn_instance;
select @scriptis_appconn_id:= id from dss_appconn where appconn_name="scriptis";
select @workflow_appconn_id:= id from dss_appconn where appconn_name="workflow";
select @apiservice_appconn_id:= id from dss_appconn where appconn_name="apiservice";
+select @datamodel_appconn_id:= id from dss_appconn where appconn_name="datamodel";
+select @warehouse_appconn_id:= id from dss_appconn where appconn_name="warehouse";
+select @dataasset_appconn_id:= id from dss_appconn where appconn_name="dataasset";
+select @dataservice_appconn_id:= id from dss_appconn where appconn_name="dataservice";
INSERT INTO `dss_appconn_instance` (`id`, `appconn_id`, `label`, `url`, `enhance_json`, `homepage_uri`)
VALUES (2, @scriptis_appconn_id, 'DEV', '/home', '', ''),
(3, @workflow_appconn_id,'DEV','/workspaceHome','',''),
-(4, @apiservice_appconn_id, 'DEV', '/apiservices', '', '');
+(4, @apiservice_appconn_id, 'DEV', '/apiservices', '', ''),
+(5,@datamodel_appconn_id,'DEV','/dataModelCenter',NULL,'tableManage/tableSearch'),
+(6,@warehouse_appconn_id,'DEV','/dataWarehouseDesign',NULL,'themeDomains'),
+(7,@dataasset_appconn_id,'DEV','/dataAssetManage',NULL,'overview'),
+(8,@dataservice_appconn_id,'DEV','/dataService','','');
DELETE FROM dss_workspace;
insert into `dss_workspace`(`id`, `name`,`label`,`description`,`create_by`,`create_time`,`department`,`product`,`source`,`last_update_time`,`last_update_user`,`workspace_type`)
@@ -42,16 +54,10 @@ insert into `dss_workspace_dictionary`(`workspace_id`, `parent_key`, `dic_name`,
DELETE FROM dss_sidebar;
insert into `dss_sidebar`(`id`,`workspace_id`,`name`,`name_en`,`title`,`title_en`,`type`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (2,0,'菜单','Menu','菜单','Menu',1,1,NULL,'SYSTEM','2020-12-15 13:21:06',NULL,'2021-02-23 09:45:50');
--- insert into `dss_sidebar`(`id`,`workspace_id`,`name`,`name_en`,`title`,`title_en`,`type`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (3,0,'常见问题','Common problem','常见问题','Common problem',1,1,NULL,'SYSTEM','2020-12-15 13:21:06',NULL,'2021-02-23 09:46:18');
DELETE FROM dss_sidebar_content;
insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (3,0,2,NULL,NULL,'工作空间管理','Workspace management','/workspaceManagement/productsettings',0,'menuIcon',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-02-23 09:47:49');
insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (4,0,2,NULL,NULL,'UDF管理','UDF management','dss/linkis/?noHeader=1&noFooter=1#/urm/udfManagement',1,'menuIcon',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-02-23 09:47:11');
--- insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (5,0,3,NULL,NULL,'资源配置说明',NULL,'http://127.0.0.1:8088/kn/d/38',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-01-12 17:16:52');
--- insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (6,0,3,NULL,NULL,'Spark使用指南','[Discussion on error code 22223]','http://127.0.0.1:8088/kn/d/40',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-02-23 09:48:28');
--- insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (7,0,3,NULL,NULL,'Hive语法介绍',NULL,'http://127.0.0.1:8088/kn/d/34',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-01-12 17:17:00');
--- insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (8,0,3,NULL,NULL,'工作流使用介绍',NULL,'http://127.0.0.1:8088/kn/d/42',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-01-12 17:17:01');
--- insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (9,0,3,NULL,NULL,'数据服务使用介绍','Discussion on error code 22223','http://127.0.0.1:8088/kn/d/32',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-02-23 09:48:19');
DELETE FROM dss_workspace_menu;
INSERT INTO `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('1','数据交换','data exchange','数据交换','数据交换描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
@@ -61,6 +67,7 @@ INSERT INTO `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `descrip
INSERT INTO `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('5','管理员功能','administrator function','管理员功能','管理员功能描述','0',NULL,NULL,NULL,NULL,NULL,NULL);
insert into `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) values('6','数据应用','data application','数据应用','数据应用描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
insert into `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) values('7','应用开发','application development','应用开发','应用开发描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
+insert into `dss_workspace_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) values('8','数据管理','data managee','数据管理','数据管理描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
DELETE FROM dss_workspace_menu_appconn;
INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
@@ -68,8 +75,17 @@ VALUES (@scriptis_appconn_id, 2, 'Scriptis', 'Scriptis', 'Scriptis is a one-stop
INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
VALUES (@workflow_appconn_id, 2, 'workflow', '工作流开发', '工作流开发', '工作流开发', null, null, 1, 'Enter workflow', '进入 工作流开发', null, null, null, null, null, null, null, null, null, null);
INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
-VALUES (@apiservice_appconn_id, 7, 'dataService', '数据服务', '/dataService', '/dataService', null, null, 1, 'Enter dataService', '进入 数据服务', null, null, null, null, null, null, null, null, null, null);
+VALUES (@apiservice_appconn_id, 7, 'SparkdataService', 'spark数据服务', '/dataService', '/dataService', null, null, 1, 'Enter dataService', '进入 spark数据服务', null, null, null, null, null, null, null, null, null, null);
+INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
+VALUES (@dataservice_appconn_id, 7, 'dataService', '数据服务', '/dataService', '/dataService', null, null, 1, 'Enter dataService', '进入 数据服务', null, null, null, null, null, null, null, null, null, null);
+
+INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
+VALUES (@datamodel_appconn_id, 8, 'datamodel', '数据模型管理', 'datamodel', '数据模型管理', null, null, 1, 'Enter datamodel', '进入 数据模型管理', null, null, null, null, null, null, null, null, null, null);
+INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
+VALUES (@warehouse_appconn_id, 8, 'warehouse', '数据仓库管理', 'warehouse', '数据仓库管理', null, null, 1, 'Enter warehouse', '进入 数据仓库管理', null, null, null, null, null, null, null, null, null, null);
+INSERT INTO dss_workspace_menu_appconn (appconn_id, menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image)
+VALUES (@dataasset_appconn_id, 8, 'dataasset', '数据总览', 'dataasset', '数据总览', null, null, 1, 'Enter dataasset', '进入 数据总览', null, null, null, null, null, null, null, null, null, null);
DELETE FROM dss_workspace_role;
INSERT INTO `dss_workspace_role` (`id`, `workspace_id`, `name`, `front_name`, `update_time`, `description`) VALUES('1','-1','admin','管理员','2020-07-13 02:43:35','通用角色管理员');
@@ -123,7 +139,6 @@ insert into `dss_workflow_node_to_group`(`node_id`,`group_id`) values (10, @fun
insert into `dss_workflow_node_to_group`(`node_id`,`group_id`) values (12, @function_node_groupId);
DELETE FROM dss_workflow_node_ui;
--- todo msg.topic在receiver和sender使用了重复key
insert into `dss_workflow_node_ui`(`id`,`key`,`description`,`description_en`,`lable_name`,`lable_name_en`,`ui_type`,`required`,`value`,`default_value`,`is_hidden`,`condition`,`is_advanced`,`order`,`node_menu_type`,`is_base_info`,`position`) values (1,'title','请填写节点名称','Please enter node name','节点名','Node name','Input',1,NULL,NULL,0,NULL,0,1,1,1,'node');
insert into `dss_workflow_node_ui`(`id`,`key`,`description`,`description_en`,`lable_name`,`lable_name_en`,`ui_type`,`required`,`value`,`default_value`,`is_hidden`,`condition`,`is_advanced`,`order`,`node_menu_type`,`is_base_info`,`position`) values (3,'desc','请填写节点描述','Please enter the node description','节点描述','Node description','Text',0,NULL,NULL,0,NULL,0,4,1,1,'node');
insert into `dss_workflow_node_ui`(`id`,`key`,`description`,`description_en`,`lable_name`,`lable_name_en`,`ui_type`,`required`,`value`,`default_value`,`is_hidden`,`condition`,`is_advanced`,`order`,`node_menu_type`,`is_base_info`,`position`) values (5,'businessTag',NULL,NULL,'业务标签','businessTag','Tag',0,NULL,NULL,0,NULL,0,2,1,1,'node');
@@ -309,7 +324,7 @@ insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_ra
insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('58','Regex','(.+)@(.+)@(.+)','此格式错误,例如:ProjectName@WFName@jobName','Invalid format,example:ProjectName@WFName@jobName','blur');
INSERT INTO `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('59','OFT','["true","false"]','请填写是否复用引擎,false:不复用,true:复用','Please fill in whether or not to reuse engine, true: reuse, false: not reuse','blur');
insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('60', 'Regex', '^[0-9.]*g{0,1}$', 'Spark内存设置如2g', 'Drive memory size, default value: 2', 'blur');
-insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('61','Regex','^(.|\s){1,500}$','长度在1到5000个字符','The length is between 1 and 5000 characters','blur');
+insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('61','Regex','^.{1,5000}$','长度在1到5000个字符','The length is between 1 and 5000 characters','blur');
insert into `dss_workflow_node_ui_validate` (`id`, `validate_type`, `validate_range`, `error_msg`, `error_msg_en`, `trigger`) values('62','Regex','^.{1,150}$','长度在1到150个字符','The length is between 1 and 150 characters','blur');
DELETE FROM dss_workflow_node_ui_to_validate;
@@ -408,9 +423,35 @@ INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id
INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@workflow_appconn_id,'6','1',now(),'system');
INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@workflow_appconn_id,'7','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'1','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'2','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'3','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'4','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'5','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'6','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@datamodel_appconn_id,'7','1',now(),'system');
+
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'1','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'2','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'3','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'4','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'5','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'6','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@warehouse_appconn_id,'7','1',now(),'system');
+
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'1','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'2','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'3','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'4','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'5','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'6','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('-1',@dataasset_appconn_id,'7','1',now(),'system');
+
INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@scriptis_appconn_id,'1','1',now(),'system');
INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@workflow_appconn_id,'1','1',now(),'system');
INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@apiservice_appconn_id,'1','1',now(),'system');
-
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@datamodel_appconn_id,'1','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@warehouse_appconn_id,'1','1',now(),'system');
+INSERT INTO `dss_workspace_appconn_role` (`workspace_id`, `appconn_id`, `role_id`, `priv`, `update_time`, `updateby`) VALUES('224',@dataasset_appconn_id,'1','1',now(),'system');
INSERT INTO `dss_workspace_admin_dept` (`id`, `parent_id`, `ancestors`, `dept_name`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES('100','0','0','基础科技','0','leader01','1888888888','123@qq.com','0','0','admin',now(),'admin',now());
diff --git a/dss-appconn/appconns/dss-dolphinscheduler-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/dolphinscheduler/conversion/WorkflowToDolphinSchedulerSynchronizer.java b/dss-appconn/appconns/dss-dolphinscheduler-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/dolphinscheduler/conversion/WorkflowToDolphinSchedulerSynchronizer.java
index 745f0c236..353bcadd0 100644
--- a/dss-appconn/appconns/dss-dolphinscheduler-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/dolphinscheduler/conversion/WorkflowToDolphinSchedulerSynchronizer.java
+++ b/dss-appconn/appconns/dss-dolphinscheduler-appconn/src/main/java/com/webank/wedatasphere/dss/appconn/dolphinscheduler/conversion/WorkflowToDolphinSchedulerSynchronizer.java
@@ -13,6 +13,7 @@
import com.webank.wedatasphere.dss.workflow.core.entity.Workflow;
import com.webank.wedatasphere.dss.workflow.core.entity.WorkflowNode;
import org.apache.commons.collections.CollectionUtils;
+import org.apache.commons.collections.MapUtils;
import java.util.List;
@@ -47,11 +48,12 @@ public void syncToRel(ConvertedRel convertedRel) {
updateOperation.updateOrchestration(ref);
}
+
private void checkSchedulerProject(Workflow flow) throws ExternalOperationFailedException {
List nodes = flow.getWorkflowNodes();
for (WorkflowNode node : nodes) {
DSSNode dssNode = node.getDSSNode();
- if (CollectionUtils.isEmpty(dssNode.getResources())) {
+ if (CollectionUtils.isEmpty(dssNode.getResources()) && MapUtils.isEmpty(dssNode.getJobContent())) {
throw new ExternalOperationFailedException(90021, dssNode.getName() + "节点内容不能为空");
}
}
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/entity/ApiConfig.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/entity/ApiConfig.java
index 8e4ea5a16..afa8675d1 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/entity/ApiConfig.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/entity/ApiConfig.java
@@ -31,7 +31,7 @@ public class ApiConfig {
private String method;
@TableField("`describe`")
private String describe;
- @NotBlank(message = "datasource_id不能为空")
+ @NotNull(message = "datasource_id不能为空")
@TableField(value = "datasource_id")
private Integer datasourceId;
private String tblName;
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiAuthRestful.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiAuthRestful.java
index eb1e5ca16..125c75abb 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiAuthRestful.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiAuthRestful.java
@@ -88,7 +88,7 @@ public Message getApiAuthList(HttpServletRequest httpServletRequest, @RequestPar
}
Workspace workspace = SSOHelper.getWorkspace(httpServletRequest);
List totals = new ArrayList<>();
- List apiAuths = apiAuthService.getApiAuthList(Long.valueOf(workspace.getWorkspaceName()),
+ List apiAuths = apiAuthService.getApiAuthList(workspaceId,
caller, totals, pageNow, pageSize);
return Message.ok().data("list", apiAuths).data("total", totals.get(0));
}
@@ -108,7 +108,7 @@ public Message getApiGroup(HttpServletRequest httpServletRequest, @RequestParam(
Workspace workspace = SSOHelper.getWorkspace(httpServletRequest);
log.info("workspace is {}", workspace.getWorkspaceName());
- List apiGroupInfoList = apiAuthService.getApiGroupList(Long.valueOf(workspace.getWorkspaceName()));
+ List apiGroupInfoList = apiAuthService.getApiGroupList(workspaceId);
Message message = Message.ok().data("list", apiGroupInfoList);
return message;
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiConfigRestful.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiConfigRestful.java
index e144cbee2..6ed7457a2 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiConfigRestful.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiConfigRestful.java
@@ -95,7 +95,7 @@ public Message getApiList(HttpServletRequest httpServletRequest,
@RequestParam(value = "workspaceId", required = false) String workspaceId) {
Workspace workspace = SSOHelper.getWorkspace(httpServletRequest);
- List list = apiConfigService.getGroupList(workspace.getWorkspaceName());
+ List list = apiConfigService.getGroupList(workspaceId);
Message message = Message.ok().data("list", list);
return message;
}
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiDataSourceRestful.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiDataSourceRestful.java
index 2da04f30a..19457549b 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiDataSourceRestful.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiDataSourceRestful.java
@@ -34,7 +34,7 @@ public class DSSDbApiDataSourceRestful {
public Message connect(HttpServletRequest httpServletRequest, @RequestParam(value = "workspaceId", required = false) Integer workspaceId,
@RequestParam("type") String type) {
Workspace workspace = SSOHelper.getWorkspace(httpServletRequest);
- List allConnections = dssDbApiDataSourceService.getAllConnections(Integer.valueOf(workspace.getWorkspaceName()), type);
+ List allConnections = dssDbApiDataSourceService.getAllConnections(workspaceId, type);
return Message.ok().data("availableConns", allConnections);
}
@@ -75,7 +75,7 @@ public Message getAllDs(HttpServletRequest httpServletRequest,
@RequestParam("type") String type, @RequestParam("name") String name) {
Workspace workspace = SSOHelper.getWorkspace(httpServletRequest);
DataSource dataSource = new DataSource();
- dataSource.setWorkspaceId(Integer.valueOf(workspace.getWorkspaceName()));
+ dataSource.setWorkspaceId(workspaceId);
dataSource.setType(type);
dataSource.setName(name);
List allDatasource = dssDbApiDataSourceService.listAllDatasources(dataSource);
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiManagerRestful.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiManagerRestful.java
index 0c25c3432..05a39e1ad 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiManagerRestful.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiManagerRestful.java
@@ -33,7 +33,7 @@ public Message getApiList(HttpServletRequest request,
}
Workspace workspace = SSOHelper.getWorkspace(request);
List totals = new ArrayList<>();
- List apiInfoList = apiManagerService.getApiInfoList(Long.valueOf(workspace.getWorkspaceName())
+ List apiInfoList = apiManagerService.getApiInfoList(workspaceId
, apiName, totals, pageNow, pageSize);
return Message.ok().data("list", apiInfoList).data("total", totals.get(0));
}
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiMonitorRestful.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiMonitorRestful.java
index ee1d9cd8d..9b514450c 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiMonitorRestful.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/restful/DSSDbApiMonitorRestful.java
@@ -45,7 +45,7 @@ public Message getApiList(HttpServletRequest request,
Workspace workspace = SSOHelper.getWorkspace(request);
LOGGER.info("workspace is: {}", workspace.getWorkspaceName());
List totals = new ArrayList<>();
- List apiInfoList = apiManagerService.getOnlineApiInfoList(Long.valueOf(workspace.getWorkspaceName()),
+ List apiInfoList = apiManagerService.getOnlineApiInfoList(workspaceId,
apiName, totals, pageNow, pageSize);
return Message.ok().data("list", apiInfoList).data("total", totals.get(0));
}
@@ -55,7 +55,7 @@ public Message getApiList(HttpServletRequest request,
public Message getOnlineApiCnt(HttpServletRequest request, @RequestParam(value = "workspaceId", required = false) Long workspaceId) {
Workspace workspace = SSOHelper.getWorkspace(request);
LOGGER.info("workspace is: {}", workspace.getWorkspaceName());
- return Message.ok().data("onlineApiCnt", apiMonitorService.getOnlineApiCnt(Long.valueOf(workspace.getWorkspaceName())));
+ return Message.ok().data("onlineApiCnt", apiMonitorService.getOnlineApiCnt(workspaceId));
}
@@ -63,7 +63,7 @@ public Message getOnlineApiCnt(HttpServletRequest request, @RequestParam(value =
public Message getOfflineApiCnt(HttpServletRequest request, @RequestParam(value = "workspaceId", required = false) Long workspaceId) {
Workspace workspace = SSOHelper.getWorkspace(request);
LOGGER.info("workspace is: {}", workspace.getWorkspaceName());
- return Message.ok().data("offlineApiCnt", apiMonitorService.getOfflineApiCnt(Long.valueOf(workspace.getWorkspaceName())));
+ return Message.ok().data("offlineApiCnt", apiMonitorService.getOfflineApiCnt(workspaceId));
}
@@ -99,7 +99,7 @@ public Message getCallCntForPast24H(HttpServletRequest request, @RequestParam(va
throws Exception {
Workspace workspace = SSOHelper.getWorkspace(request);
LOGGER.info("workspace is: {}", workspace.getWorkspaceName());
- return Message.ok().data("list", apiMonitorService.getCallCntForPast24H(Long.valueOf(workspace.getWorkspaceName())));
+ return Message.ok().data("list", apiMonitorService.getCallCntForPast24H(workspaceId));
}
/**
diff --git a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/util/CryptoUtils.java b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/util/CryptoUtils.java
index 0dc82b1c6..f795d53f0 100644
--- a/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/util/CryptoUtils.java
+++ b/dss-apps/dss-data-api/dss-data-api-server/src/main/java/com/webank/wedatasphere/dss/data/api/server/util/CryptoUtils.java
@@ -8,7 +8,7 @@
import java.io.Serializable;
import java.security.MessageDigest;
import org.apache.commons.codec.binary.Base64;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
public class CryptoUtils {
private CryptoUtils() {
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/pom.xml b/dss-apps/dss-data-governance/dss-data-asset-server/pom.xml
deleted file mode 100644
index 88f0ec3fb..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/pom.xml
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
- dss
- com.webank.wedatasphere.dss
- 1.1.0
- ../../../pom.xml
-
- 4.0.0
-
- dss-data-asset-server
-
-
- 2.1.0
-
-
-
- com.webank.wedatasphere.dss
- dss-data-governance-common
- ${dss.version}
-
-
-
- org.apache.linkis
- linkis-module
- ${linkis.version}
- provided
-
-
- org.springframework.cloud
- spring-cloud-netflix
-
-
- spring-cloud-starter-netflix-eureka-client
- org.springframework.cloud
-
-
- javax.ws.rs
- javax.ws.rs-api
-
-
-
-
- org.apache.commons
- commons-math3
- provided
-
-
- xstream
- com.thoughtworks.xstream
-
-
- org.springframework.cloud
- spring-cloud-starter-netflix-eureka-client
- ${spring.cloud.version}
- provided
-
-
- logback-classic
- ch.qos.logback
-
-
- log4j-to-slf4j
- org.apache.logging.log4j
-
-
- gson
- com.google.code.gson
-
-
- jsr311-api
- javax.ws.rs
-
-
- xstream
- com.thoughtworks.xstream
-
-
- commons-math
- org.apache.commons
-
-
- jackson-core
- com.fasterxml.jackson.core
-
-
- spring-boot-autoconfigure
- org.springframework.boot
-
-
- spring-boot-starter-aop
- org.springframework.boot
-
-
- spring-boot-starter
- org.springframework.boot
-
-
- spring-boot-starter-cache
- org.springframework.boot
-
-
-
-
- org.apache.linkis
- linkis-mybatis
- ${linkis.version}
-
-
- com.webank.wedatasphere.dss
- dss-common
- ${dss.version}
- provided
-
-
-
- org.apache.atlas
- atlas-client-v2
- ${atlas.version}
-
-
- com.google.guava
- guava
-
-
- com.fasterxml.jackson.core
- jackson-databind
-
-
- com.fasterxml.jackson.core
- jackson-core
-
-
-
-
- org.projectlombok
- lombok
- 1.18.16
- compile
-
-
-
- com.alibaba
- druid
- 1.1.9
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
-
-
- net.alchim31.maven
- scala-maven-plugin
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
- 2.3
- false
-
-
- make-assembly
- package
-
- single
-
-
-
- src/main/assembly/distribution.xml
-
-
-
-
-
- false
- out
- false
- false
-
- src/main/assembly/distribution.xml
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
-
- 8
-
-
-
-
-
- src/main/java
-
- **/*.xml
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/MetaInfoMapper.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/MetaInfoMapper.java
deleted file mode 100644
index bb2b0ff5a..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/MetaInfoMapper.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.dao;
-
-import com.webank.wedatasphere.dss.data.asset.entity.HivePartInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveStorageInfo;
-import org.apache.ibatis.annotations.*;
-
-import java.sql.SQLException;
-import java.util.List;
-
-@Mapper
-public interface MetaInfoMapper {
- Long getTableStorage() throws SQLException;
- List getTop10Table() throws SQLException;
- int getTableInfo(@Param("dbName") String dbName,@Param("tableName") String tableName,@Param("isPartTable") Boolean isPartTable) throws SQLException;
-
- List getPartInfo(@Param("dbName") String dbName, @Param("tableName") String tableName) throws SQLException;
-
-
-
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/MetaInfoMapperImpl.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/MetaInfoMapperImpl.java
deleted file mode 100644
index 72989801d..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/MetaInfoMapperImpl.java
+++ /dev/null
@@ -1,174 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.dao.impl;
-
-import com.webank.wedatasphere.dss.data.asset.dao.MetaInfoMapper;
-import com.webank.wedatasphere.dss.data.asset.entity.HivePartInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveStorageInfo;
-import com.webank.wedatasphere.dss.data.common.exception.DAOException;
-import com.webank.wedatasphere.dss.data.common.utils.DataSourceUtil;
-import com.webank.wedatasphere.dss.data.common.utils.DateUtil;
-
-import javax.sql.DataSource;
-import java.sql.Connection;
-import java.sql.PreparedStatement;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-public class MetaInfoMapperImpl implements MetaInfoMapper {
- @Override
- public Long getTableStorage() throws SQLException {
- DataSource dataSource = DataSourceUtil.getDataSource();
-
- Connection con =dataSource.getConnection();
- long num=0;
- PreparedStatement ps=null;
- ResultSet rs=null;
- try {
- String sql="select SUM(PARAM_VALUE) from TABLE_PARAMS WHERE PARAM_KEY='totalSize'";
- ps=con.prepareStatement(sql);
- rs=ps.executeQuery();
- while (rs.next()){
- num =rs.getLong(1);
- }
- String sql2 ="select SUM(PARAM_VALUE) from PARTITION_PARAMS WHERE PARAM_KEY='totalSize'";
- ps=con.prepareStatement(sql2);
- rs=ps.executeQuery();
- while (rs.next()){
- num= num + rs.getLong(1);
- }
-
- } catch (DAOException | SQLException e){
- throw new DAOException(e.getMessage(),e);
- }
- finally {
- con.close();
- }
-
- return num;
- }
-
- @Override
- public List getTop10Table() throws SQLException{
- DataSource dataSource = DataSourceUtil.getDataSource();
- Connection con =dataSource.getConnection();
- PreparedStatement ps=null;
- ResultSet rs=null;
- List hiveStorageInfos = new ArrayList<>();
- try {
- String sql="SELECT DBS.NAME ,TBLS.TBL_NAME,CAST(TABLE_PARAMS.PARAM_VALUE AS UNSIGNED) AS totalSize from DBS, TBLS,TABLE_PARAMS where TBLS.TBL_ID=TABLE_PARAMS.TBL_ID AND TBLS.DB_ID=DBS.DB_ID AND TABLE_PARAMS.PARAM_KEY='totalSize' order by totalSize DESC limit 10";
- ps=con.prepareStatement(sql);
- rs=ps.executeQuery();
- while (rs.next()){
- HiveStorageInfo tableinfo=new HiveStorageInfo();
- tableinfo.setTableName(rs.getString(1)+"."+rs.getString(2));
- tableinfo.setStorage(rs.getLong(3));
- hiveStorageInfos.add(tableinfo);
- }
- String sql2="SELECT DBS.NAME ,TBLS.TBL_NAME,SUM(CAST(PARTITION_PARAMS.PARAM_VALUE AS UNSIGNED)) AS totalSize from DBS,TBLS,PARTITIONS ,PARTITION_PARAMS where DBS.DB_ID=TBLS.DB_ID AND TBLS.TBL_ID=PARTITIONS.TBL_ID AND PARTITIONS.PART_ID =PARTITION_PARAMS.PART_ID AND PARTITION_PARAMS.PARAM_KEY='totalSize' group by TBLS.TBL_NAME order by totalSize desc limit 10";
- ps=con.prepareStatement(sql2);
- rs=ps.executeQuery();
- while (rs.next()){
- HiveStorageInfo tableinfo=new HiveStorageInfo();
- tableinfo.setTableName(rs.getString(1)+"."+rs.getString(2));
- tableinfo.setStorage(rs.getLong(3));
- hiveStorageInfos.add(tableinfo);
- }
- /**
- * 特别注意LONG类型相减超出INT范围
- * System.out.println((int) (4401131805L -1796673800L))
- * System.out.println(Long.parseLong("4401131805")-Long.parseLong("1796673800"))
- */
- Collections.sort(hiveStorageInfos, new Comparator() {
- @Override
- public int compare(HiveStorageInfo o1, HiveStorageInfo o2) {
- //return (int) (Long.valueOf(o2.getStorage())-Long.valueOf(o1.getStorage()))
- if(o2.getStorage() > o1.getStorage()){
- return 1;
- }
- else if(o2.getStorage() < o1.getStorage()){
- return -1;
- }
- else{
- return 0;
- }
- }
- });
- } catch (DAOException | SQLException e){
- throw new DAOException(e.getMessage(),e);
- }
- finally {
- con.close();
- }
- return hiveStorageInfos.subList(0,10);
- }
-
- @Override
- public int getTableInfo(String dbName, String tableName, Boolean isPartTable) throws SQLException {
- DataSource dataSource = DataSourceUtil.getDataSource();
- Connection con =dataSource.getConnection();
- PreparedStatement ps=null;
- ResultSet rs=null;
- int res = 0;
- try {
- String sql=null;
- if(isPartTable==false){
- sql="select TABLE_PARAMS.PARAM_VALUE as totalSize from DBS, TBLS,TABLE_PARAMS where TBLS.TBL_ID=TABLE_PARAMS.TBL_ID AND TBLS.DB_ID=DBS.DB_ID AND TABLE_PARAMS.PARAM_KEY='totalSize' AND DBS.NAME="+"'"+dbName+"' AND TBLS.TBL_NAME="+"'"+tableName+"'";
- }
- else {
-
- sql="select SUM(PARTITION_PARAMS.PARAM_VALUE) as totalSize from DBS,TBLS,PARTITIONS ,PARTITION_PARAMS where DBS.DB_ID=TBLS.DB_ID AND TBLS.TBL_ID=PARTITIONS.TBL_ID AND PARTITIONS.PART_ID =PARTITION_PARAMS.PART_ID AND PARTITION_PARAMS.PARAM_KEY='totalSize' AND DBS.NAME="+"'"+dbName +"' AND TBLS.TBL_NAME="+"'"+tableName+"' group by TBLS.TBL_NAME";
- }
- ps=con.prepareStatement(sql);
- rs=ps.executeQuery();
- while (rs.next()){
- res=rs.getInt(1);
- }
-
- } catch (DAOException | SQLException e){
- throw new DAOException(e.getMessage(),e);
- }
- finally {
- con.close();
- }
- return res;
- }
-
- @Override
- public List getPartInfo(String dbName, String tableName)throws SQLException {
- DataSource dataSource = DataSourceUtil.getDataSource();
- Connection con =dataSource.getConnection();
- PreparedStatement ps=null;
- ResultSet rs=null;
- List hivePartInfos = new ArrayList<>();
- try {
- String sql="select b.PART_NAME,b.CREATE_TIME,MAX(CASE c.PARAM_KEY WHEN 'transient_lastDdlTime' THEN c.PARAM_VALUE ELSE null END) transient_lastDdlTime ,MAX(CASE c.PARAM_KEY WHEN 'numRows' THEN c.PARAM_VALUE ELSE null END) numRows,MAX(CASE c.PARAM_KEY WHEN 'totalSize' THEN c.PARAM_VALUE ELSE null END) totalSize from TBLS a,PARTITIONS b,PARTITION_PARAMS c,DBS d where a.TBL_NAME="+"'"+tableName+"'"+"AND d.NAME="+"'"+dbName+"'" +"AND a.TBL_ID=b.TBL_ID AND a.DB_ID=d.DB_ID AND b.PART_ID=c.PART_ID GROUP BY c.PART_ID";
- ps=con.prepareStatement(sql);
- rs=ps.executeQuery();
- while (rs.next()){
- HivePartInfo part =new HivePartInfo();
- part.setPartName(rs.getString(1));
- Long lastAccessTime = Long.valueOf(rs.getInt(3));
- if(lastAccessTime !=null && lastAccessTime !=0L) {
- part.setLastAccessTime(DateUtil.unixToTimeStr(lastAccessTime * 1000));
- }
- Long createTime = Long.valueOf(rs.getInt(2));
- if(createTime !=null && createTime !=0L) {
- part.setCreateTime(DateUtil.unixToTimeStr(createTime * 1000));
- }
- part.setReordCnt(rs.getInt(4));
- part.setStore(rs.getInt(5));
- hivePartInfos.add(part);
- }
-
- } catch (DAOException | SQLException e){
- throw new DAOException(e.getMessage(),e);
- }
- finally {
- con.close();
- }
- return hivePartInfos;
- }
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/WorkspaceInfoMapper.xml b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/WorkspaceInfoMapper.xml
deleted file mode 100644
index 8dcfde4e3..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/dao/impl/WorkspaceInfoMapper.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveStorageInfo.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveStorageInfo.java
deleted file mode 100644
index 75d60bbb5..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveStorageInfo.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.entity;
-
-import lombok.Data;
-
-@Data
-public class HiveStorageInfo {
- private String tableName;
- private Long storage;
- private String guid;
-}
\ No newline at end of file
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblClassificationInfo.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblClassificationInfo.java
deleted file mode 100644
index 7977271e8..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblClassificationInfo.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.entity;
-
-import lombok.Data;
-
-import java.util.List;
-
-@Data
-public class HiveTblClassificationInfo {
- private List oldClassifications;
- private List newClassifications;
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblDetailInfo.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblDetailInfo.java
deleted file mode 100644
index 1204e2e9b..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblDetailInfo.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.entity;
-import lombok.AllArgsConstructor;
-import lombok.Data;
-
-import java.io.Serializable;
-import java.util.List;
-import java.util.Set;
-
-@Data
-public class HiveTblDetailInfo implements Serializable {
- private HiveTblBasicInfo basic;
- private List columns;
- private List partitionKeys;
- private List classifications;
-
- @Data
- public static class HiveTblBasicInfo extends HiveTblSimpleInfo {
- private String store; //存储量
- private Boolean isParTbl; //是否分区表
- private String tableType; //Hive表类型 tableType: EXTERNAL_TABLE, MANAGED_TABLE
- private String location; //Hive表存储路径
- }
-
- @Data
- public static class HiveColumnInfo {
- private String name;
- private String type;
- private String guid;
- private String comment;
- }
-
- @Data
- @AllArgsConstructor
- public static class HiveClassificationInfo {
- private String typeName;
- private Set superTypeNames;
- private Set subTypeNames;
- }
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblLabelInfo.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblLabelInfo.java
deleted file mode 100644
index 5a4be4a35..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/entity/HiveTblLabelInfo.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.entity;
-
-import lombok.Data;
-
-import java.util.Set;
-
-@Data
-public class HiveTblLabelInfo {
- private Set labels;
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetRestful.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetRestful.java
deleted file mode 100644
index 44c7dbeba..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetRestful.java
+++ /dev/null
@@ -1,91 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.restful;
-
-import com.webank.wedatasphere.dss.data.asset.entity.HiveTblLabelInfo;
-import com.webank.wedatasphere.dss.data.asset.service.AssetService;
-import com.webank.wedatasphere.dss.data.asset.service.WorkspaceInfoService;
-import org.apache.linkis.server.Message;
-import lombok.AllArgsConstructor;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.RestController;
-
-import java.util.List;
-import java.util.Map;
-
-@RestController
-@RequestMapping(path = "/dss/data/governance/asset", produces = {"application/json"})
-@AllArgsConstructor
-public class AssetRestful {
- private static final Logger logger = LoggerFactory.getLogger(AssetRestful.class);
-
- private AssetService assetService;
- private WorkspaceInfoService workspaceInfoService;
-
- /**
- * 获取数据资产概要:hivedb数、hivetable数据、总存储量
- */
- @RequestMapping(method = RequestMethod.GET, path ="/hiveSummary")
- public Message getHiveSummary() throws Exception {
- return Message.ok().data("result", assetService.getHiveSummary());
- }
-
- /**
- * 修改单个表或单个列注释
- */
- @RequestMapping(method = RequestMethod.PUT, path ="/comment/{guid}")
- public Message modifyComment(@PathVariable String guid, @RequestParam String comment) throws Exception {
- comment="\""+comment+"\"";
- assetService.modifyComment(guid,comment);
- return Message.ok().data("result","修改成功");
- }
-
- /**
- * 批量修改多个个表或列注释
- */
- @RequestMapping(method = RequestMethod.PUT, path ="/comment/bulk")
- public Message modifyComment(@RequestBody Map commentMap) throws Exception {
- for (Map.Entry stringStringEntry : commentMap.entrySet()) {
- stringStringEntry.setValue("\""+stringStringEntry.getValue()+"\"");
- }
- assetService.bulkModifyComment(commentMap);
-
- return Message.ok().data("result","修改成功");
- }
-
-
- /**
- * 设置单个表或单个列的标签
- */
- @RequestMapping(method = RequestMethod.POST, path ="/label/{guid}")
- public Message setLabels(@PathVariable String guid, @RequestBody HiveTblLabelInfo hiveTblLabelInfo) throws Exception {
- assetService.setLabels(guid,hiveTblLabelInfo.getLabels());
-
- return Message.ok().data("result","设置成功");
- }
-
- /**
- * 删除单个表或单个列的标签,linkis-gateway不支持DELETE方法
- */
- @RequestMapping(method = RequestMethod.PUT, path ="/label/{guid}")
- public Message removeLabels(@PathVariable String guid, @RequestBody HiveTblLabelInfo hiveTblLabelInfo) throws Exception {
- assetService.removeLabels(guid,hiveTblLabelInfo.getLabels());
-
- return Message.ok().data("result","删除成功");
- }
-
- /**
- * 获取工作空间下所有用户名
- */
- @RequestMapping(method = RequestMethod.GET, path ="getWorkspaceUsers/{workspaceId}/{search}")
- public Message getWorkspaceUsers(@PathVariable int workspaceId,@PathVariable String search) throws Exception{
- String searchs="%"+search+"%";
- List workspaceUsers = workspaceInfoService.getWorkspaceUsers(workspaceId,searchs);
- return Message.ok().data("result",workspaceUsers);
-
- }
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetTblRestful.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetTblRestful.java
deleted file mode 100644
index e74039753..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/restful/AssetTblRestful.java
+++ /dev/null
@@ -1,187 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.restful;
-
-import com.webank.wedatasphere.dss.data.asset.entity.HivePartInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveStorageInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveTblClassificationInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveTblSimpleInfo;
-import com.webank.wedatasphere.dss.data.asset.service.AssetService;
-import com.webank.wedatasphere.dss.data.asset.service.WorkspaceInfoService;
-import org.apache.linkis.server.Message;
-import lombok.AllArgsConstructor;
-import org.apache.atlas.model.instance.AtlasClassification;
-import org.apache.atlas.model.lineage.AtlasLineageInfo;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.web.bind.annotation.PathVariable;
-import org.springframework.web.bind.annotation.RequestBody;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RequestMethod;
-import org.springframework.web.bind.annotation.RequestParam;
-import org.springframework.web.bind.annotation.RestController;
-
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Objects;
-import java.util.Optional;
-import java.util.regex.Pattern;
-import java.util.stream.Collectors;
-
-@RestController
-@RequestMapping(path = "/dss/data/governance/asset/hiveTbl", produces = {"application/json"})
-@AllArgsConstructor
-public class AssetTblRestful {
- private static final Logger logger = LoggerFactory.getLogger(AssetTblRestful.class);
-
- private static final String DEFAULT_DIRECTION = "BOTH";
- private static final String DEFAULT_DEPTH = "3";
- private static final String DEFAULT_LIMIT = "10";
- private static final String DEFAULT_OFFSET = "0";
-
- private AssetService assetService;
- private WorkspaceInfoService workspaceInfoService;
-
- /**
- * 获取存储量前10的表信息
- */
- @RequestMapping(method = RequestMethod.GET, path ="/topStorage")
- public Message getTop10Storage() throws Exception{
- List top10Table = assetService.getTop10Table();
- for (HiveStorageInfo hiveStorageInfo : top10Table) {
- String qualifiedName=hiveStorageInfo.getTableName();
- String hiveTblGuid = assetService.getHiveTblGuid(qualifiedName);
- hiveStorageInfo.setGuid(hiveTblGuid);
- }
- return Message.ok().data("result",top10Table);
- }
-
- /**
- * 搜索hive表
- */
- @RequestMapping(method = RequestMethod.GET, path ="/search")
- public Message searchHiveTbl(@RequestParam(required = false) String classification,
- @RequestParam(defaultValue = "") String query,
- @RequestParam(defaultValue = "") String keyword,
- @RequestParam(defaultValue = DEFAULT_LIMIT) int limit,
- @RequestParam(defaultValue = DEFAULT_OFFSET) int offset) throws Exception {
- List hiveTblSimpleInfoList = assetService.searchHiveTable(classification,query.trim(),limit,offset);
- if(hiveTblSimpleInfoList ==null || keyword ==null || keyword.trim().equals("")) {
- return Message.ok().data("result",hiveTblSimpleInfoList);
- }
- else {
- Pattern regex = Pattern.compile(keyword);
- return Message.ok().data("result",hiveTblSimpleInfoList.stream().filter(ele -> regex.matcher(ele.getOwner()).find()).collect(Collectors.toList()));
- }
- }
-
- /**
- * 获取单个表的详细信息,包括:基本信息、字段信息
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/basic")
- public Message getHiveTblBasic(@PathVariable String guid) throws Exception {
- return Message.ok().data("result",assetService.getHiveTblDetail(guid));
- }
-
- /**
- * 获取表分区信息
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/partition")
- public Message getHiveTblPartition(@PathVariable String guid) throws Exception {
- List hiveTblPartition = assetService.getHiveTblPartition(guid);
- if (hiveTblPartition.size()>0){
- return Message.ok().data("result",hiveTblPartition);
- }
- else {
- return Message.ok().data("result",null);
- }
- }
-
- /**
- * 获取表的血缘信息
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/lineage")
- public Message getHiveTblLineage(@PathVariable String guid,
- @RequestParam(defaultValue = DEFAULT_DIRECTION) AtlasLineageInfo.LineageDirection direction,
- @RequestParam(defaultValue = DEFAULT_DEPTH) int depth) throws Exception {
- return Message.ok().data("result",assetService.getHiveTblLineage(guid,direction,depth));
- }
-
- /**
- * 获取表的select语句
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/select")
- public Message getHiveTblSelect(@PathVariable String guid) throws Exception {
- return Message.ok().data("result",assetService.getTbSelect(guid));
- }
-
- /**
- * 获取表的create语句
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/create")
- public Message getHiveTblCreate(@PathVariable String guid) throws Exception {
- return Message.ok().data("result",assetService.getTbCreate(guid));
-
- }
-
- /**
- * 获取分类
- */
- @RequestMapping(method = RequestMethod.GET, path ="/{guid}/classifications")
- public Message getClassifications(@PathVariable String guid) throws Exception {
- return Message.ok().data("result",assetService.getClassifications(guid));
- }
-
- /**
- * 添加分类
- */
- @Deprecated
- @RequestMapping(method = RequestMethod.POST, path ="/{guid}/classifications")
- public Message addClassifications(@PathVariable String guid, @RequestBody List classifications) throws Exception {
- assetService.addClassifications(guid, classifications);
- return Message.ok().data("result","添加成功");
- }
-
-// /**
-// * 删除已有全部旧分类,并添加新分类
-// * linkis-gateway无法正常转换json为list
-// * [{"typeName": "test"},{"typeName": "DWD"}] ---> List classifications
-// * ["test","DWD"] ---> List typeNames
-// */
-// @RequestMapping(method = RequestMethod.PUT, path ="/{guid}/classifications")
-// public Message removeAndAddNewClassifications(@PathVariable String guid, @RequestBody List classifications) throws Exception {
-// assetService.removeAndAddClassifications(guid, classifications);
-//
-// return Message.ok().data("result","更新成功");
-// }
-
- /**
- * 删除已有全部旧分类,并添加新分类
- * 支持 {"newClassifications":["test","DWD"]} 非顶层的List数组转换
- */
- @RequestMapping(method = RequestMethod.PUT, path ="/{guid}/classifications")
- public Message removeAndAddClassifications(@PathVariable String guid, @RequestBody HiveTblClassificationInfo hiveTblClassificationInfo) throws Exception {
- List newClassifications = new ArrayList<>();
- Optional.ofNullable(hiveTblClassificationInfo.getNewClassifications()).orElseGet(()-> {
- logger.warn("hive table uid is %s, newClassifications is null",guid);
- return new ArrayList<>();
- }).stream().filter(Objects::nonNull).forEach(typeName -> {
- AtlasClassification atlasClassification =new AtlasClassification(typeName);
- atlasClassification.setPropagate(false);
- atlasClassification.setRemovePropagationsOnEntityDelete(true);
- newClassifications.add(atlasClassification);
- });
- assetService.removeAndAddClassifications(guid, newClassifications);
-
- return Message.ok().data("result","更新成功");
- }
-
- /**
- * 删除分类
- * @DELETE linkis-gateway 不支持DELETE方式
- */
- @RequestMapping(method = RequestMethod.POST, path ="/{guid}/classification/{classificationName}")
- public Message deleteClassification(@PathVariable String guid, @PathVariable final String classificationName) throws Exception {
- assetService.deleteClassification(guid, classificationName);
-
- return Message.ok().data("result","删除成功");
- }
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/AssetService.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/AssetService.java
deleted file mode 100644
index d42190e27..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/AssetService.java
+++ /dev/null
@@ -1,59 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.service;
-
-import com.webank.wedatasphere.dss.data.asset.entity.*;
-import com.webank.wedatasphere.dss.data.common.exception.DataGovernanceException;
-import com.webank.wedatasphere.dss.data.common.atlas.AtlasClassificationV2.AtlasClassificationsV2;
-import org.apache.atlas.model.instance.AtlasClassification;
-import org.apache.atlas.model.lineage.AtlasLineageInfo;
-
-import java.sql.SQLException;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-public interface AssetService {
- public Map getHiveSummary() throws DataGovernanceException;
-
- public List searchHiveTable(String classification, String query,
- int limit, int offset) throws DataGovernanceException;
-
- public HiveTblDetailInfo getHiveTblDetail(String guid) throws DataGovernanceException;
-
- public List getHiveTblPartition(String guid) throws DataGovernanceException;
-
- public String getHiveTblGuid(String qualifiedName) throws DataGovernanceException;
-
- public String getTbSelect(String guid) throws DataGovernanceException;
-
- public String getTbCreate(String guid) throws DataGovernanceException;
-
- public void modifyComment(String guid, String commentStr) throws DataGovernanceException;
-
- public void bulkModifyComment(Map commentMap) throws DataGovernanceException;
-
- public void setLabels(String guid, Set labels) throws DataGovernanceException;
-
- public void removeLabels(String guid, Set labels) throws DataGovernanceException;
-
- /**
- * 获取表实体的血缘信息
- */
- public AtlasLineageInfo getHiveTblLineage(final String guid, final AtlasLineageInfo.LineageDirection direction, final int depth) throws DataGovernanceException;
-
- public List getTop10Table() throws DataGovernanceException, SQLException;
-
- public void addClassifications(String guid, List classifications) throws DataGovernanceException;
-
- public void deleteClassification(String guid, String classificationName) throws DataGovernanceException;
-
- public void deleteClassifications(String guid, List classifications) throws DataGovernanceException;
-
- public void updateClassifications(String guid, List classifications) throws DataGovernanceException;
-
- /**
- * 为实体删除已有的分类,添加新的分类
- */
- public void removeAndAddClassifications(String guid, List newClassifications) throws DataGovernanceException;
-
- public AtlasClassificationsV2 getClassifications(String guid) throws DataGovernanceException;
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/WorkspaceInfoService.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/WorkspaceInfoService.java
deleted file mode 100644
index b21828026..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/WorkspaceInfoService.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.service;
-
-
-import com.webank.wedatasphere.dss.data.common.exception.DataGovernanceException;
-
-
-import java.util.List;
-
-public interface WorkspaceInfoService {
-
- public List getWorkspaceUsers(int workspaceId,String search) throws DataGovernanceException;
-
-}
diff --git a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/impl/AssetServiceImpl.java b/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/impl/AssetServiceImpl.java
deleted file mode 100644
index 31bf580ff..000000000
--- a/dss-apps/dss-data-governance/dss-data-asset-server/src/main/java/com/webank/wedatasphere/dss/data/asset/service/impl/AssetServiceImpl.java
+++ /dev/null
@@ -1,518 +0,0 @@
-package com.webank.wedatasphere.dss.data.asset.service.impl;
-
-import com.google.gson.internal.LinkedTreeMap;
-import com.webank.wedatasphere.dss.data.asset.dao.MetaInfoMapper;
-import com.webank.wedatasphere.dss.data.asset.dao.impl.MetaInfoMapperImpl;
-import com.webank.wedatasphere.dss.data.asset.entity.HivePartInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveStorageInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveTblDetailInfo;
-import com.webank.wedatasphere.dss.data.asset.entity.HiveTblSimpleInfo;
-import com.webank.wedatasphere.dss.data.asset.service.AssetService;
-import com.webank.wedatasphere.dss.data.common.atlas.AtlasClassificationV2;
-import com.webank.wedatasphere.dss.data.common.atlas.AtlasService;
-import com.webank.wedatasphere.dss.data.common.conf.AtlasConf;
-import com.webank.wedatasphere.dss.data.common.exception.DAOException;
-import com.webank.wedatasphere.dss.data.common.exception.DataGovernanceException;
-import com.webank.wedatasphere.dss.data.common.utils.DateUtil;
-import org.apache.atlas.AtlasServiceException;
-import org.apache.atlas.model.instance.AtlasClassification;
-import org.apache.atlas.model.instance.AtlasEntity;
-import org.apache.atlas.model.instance.AtlasEntityHeader;
-import org.apache.atlas.model.instance.AtlasRelatedObjectId;
-import org.apache.atlas.model.lineage.AtlasLineageInfo;
-import org.apache.atlas.model.typedef.AtlasClassificationDef;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.springframework.stereotype.Service;
-
-import java.sql.SQLException;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Objects;
-import java.util.Set;
-import java.util.regex.Pattern;
-import java.util.stream.Collectors;
-
-@Service
-public class AssetServiceImpl implements AssetService {
- private static final Logger logger = LoggerFactory.getLogger(AssetServiceImpl.class);
-
- private AtlasService atlasService;
- private MetaInfoMapper metaInfoMapper;
-
- public AssetServiceImpl(AtlasService atlasService) {
- this.atlasService = atlasService;
- this.metaInfoMapper = new MetaInfoMapperImpl();
- }
-
- @Override
- public Map getHiveSummary() throws DataGovernanceException {
- try {
- Map result = new HashMap<>();
-
- result.put("hiveDb", atlasService.getHiveDbCnt());
- result.put("hiveTable", atlasService.getHiveTableCnt());
- result.put("hiveStore", metaInfoMapper.getTableStorage());
-
- return result;
- } catch (AtlasServiceException | DAOException | SQLException exception) {
- throw new DataGovernanceException(exception.getMessage());
- }
- }
-
- @Override
- public List searchHiveTable(String classification, String query,
- int limit, int offset) throws DataGovernanceException {
- List atlasEntityHeaders = null;
- try {
- atlasEntityHeaders = atlasService.searchHiveTable(classification, "*" + query + "*", true, limit, offset);
- } catch (AtlasServiceException ex) {
- throw new DataGovernanceException(ex.getMessage());
- }
-
- if (atlasEntityHeaders != null) {
- //columns 根据keyword来正则匹配过滤
- Pattern regex = Pattern.compile(query);
- return atlasEntityHeaders.parallelStream().filter(Objects::nonNull).map(atlasEntityHeader -> {
- HiveTblSimpleInfo hiveTblSimpleInfo = new HiveTblSimpleInfo();
- hiveTblSimpleInfo.setGuid(atlasEntityHeader.getGuid());
- hiveTblSimpleInfo.setName(stringValueOfObject(atlasEntityHeader.getAttribute("name")));
- String qualifiedName =stringValueOfObject(atlasEntityHeader.getAttribute("qualifiedName"));
- hiveTblSimpleInfo.setQualifiedName(qualifiedName);
- hiveTblSimpleInfo.setOwner(stringValueOfObject(atlasEntityHeader.getAttribute("owner")));
- Object createTime = atlasEntityHeader.getAttribute("createTime");
- if (createTime != null) {
- hiveTblSimpleInfo.setCreateTime(DateUtil.unixToTimeStr((Double) createTime));
- }
- if(null != qualifiedName && qualifiedName.split("\\.").length >0){
- String dbName = qualifiedName.split("\\.")[0];
- hiveTblSimpleInfo.setDbName(dbName);
- }
- hiveTblSimpleInfo.setLabels(atlasEntityHeader.getLabels());
-
- try {
- AtlasEntity atlasEntity = atlasService.getHiveTblByGuid(atlasEntityHeader.getGuid());
-
- //comment
- hiveTblSimpleInfo.setComment(stringValueOfObject(atlasEntity.getAttribute("comment")));
- List