Skip to content

Commit d4e3b97

Browse files
authored
Merge pull request #208 from Tangjiafeng/branch-1.2.0
upgrade
2 parents 0ec8acf + 6940b6e commit d4e3b97

File tree

941 files changed

+57282
-12585
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

941 files changed

+57282
-12585
lines changed

LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
22

3-
English | [中文](docs/zh_CN/ch1/README.md)
3+
English | [中文](docs/zh_CN/ch1)
44

55
## Overview
66
Qualitis is a data quality management platform that supports quality verification, notification, and management for various datasource. It is used to solve various data quality problems caused by data processing.
77

8-
Based on Spring Boot, Qualitis submits quality model task to [Linkis](https://github.com/WeBankFinTech/Linkis) platform. It provides functions such as data quality model construction, data quality model execution, data quality verification, reports of data quality generation and so on. At the same time, Qualitis provides enterprise-level features of financial-level resource isolation, management and access control. It is also guaranteed working well under high-concurrency, high-performance and high-availability scenarios.
8+
Based on Spring Boot, Qualitis submits quality model task to [Linkis](https://github.com/WeBankFinTech/Linkis) platform. It provides functions such as data quality model construction, data quality model execution, data quality verification, reports of data quality generation and so on.
9+
10+
At the same time, Qualitis provides enterprise-level features of financial-level resource isolation, management and access control. It is also guaranteed working well under high-concurrency, high-performance and high-availability scenarios.
911

1012
## Features
1113
- **Define Data Quality Model**
@@ -32,13 +34,14 @@ Supports workflow
3234
Workflow needs [DataSphereStudio](https://github.com/WeBankFinTech/DataSphereStudio).
3335

3436
- **Administrator Console**
35-
Administrator console provided. And it also supports personnel management, access control management, privilege control management, metadata management and so on.
37+
Administrator console provided.
38+
And it also supports personnel management, access control management, privilege control management, metadata management and so on.
3639

3740
## Compared with similar systems
3841
![](images/en_US/ch1/CompareSimilarSystem.png)
3942

4043
## Documents
41-
[Quick Deploy](docs/en_US/ch1/Quick%20Deploy%20Standalone.md)
44+
[Quick Deploy](docs/en_US/ch1/QuickDeploy.md)
4245
[User Manual](docs/en_US/ch1/User%20Manual.md)
4346
[Architecture Design](docs/en_US/ch1/Architecture%20Design.md)
4447
<br/>
@@ -64,15 +67,14 @@ Supports generating data quality reports with optional latitude.
6467
### 4. Support intelligent discovery of data quality problems
6568
<br/>
6669

67-
**If you have any needs, please send us an issue and we will reply to you in time.**
68-
69-
## Contributing
70-
Community partners are very welcome to contribute new engines and codes to us!
71-
7270
## Communication
7371
If you desire immediate response, please kindly raise issues to us or scan the below QR code by WeChat and QQ to join our group:
7472
![](images/en_US/ch1/ContractUs.png)
7573

7674
## License
77-
**Qualitis is under the Apache 2.0 license. See the [LICENSE](/LICENSE) file for details.**
75+
**Linkis is under the Apache 2.0 license. See the [LICENSE](/LICENSE) file for details.**
76+
77+
## Tips
78+
Because the front-end code of Qualitis is FES, a front-end framework developed by WeBank, but the FES framework is not currently open source, so the front-end code of Qualitis is not open source for the time being. We will promote Qualitis's front-end open source as soon as possible. We are very sorry about this.
7879

80+
You can download the source code and unzip web/app/src/main/resources/static/static.zip to get the compiled front-end code, or use it directly by downloading the release.

appconn/src/main/java/com/webank/wedatasphere/dss/appconn/qualitis/execution/QualitisRefExecutionOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class QualitisRefExecutionOperation extends LongTermRefExecutionOperation
6969

7070

7171
private String appId = "linkis_id";
72-
private String appToken = "a33693de51";
72+
private String appToken = "xxxx";
7373

7474
@Override
7575
protected String getAppConnName() {

appconn/src/main/java/com/webank/wedatasphere/dss/appconn/qualitis/ref/operation/QualitisRefCopyOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class QualitisRefCopyOperation extends QualitisDevelopmentOperation<Third
5252
private static final Logger LOGGER = LoggerFactory.getLogger(QualitisRefDeletionOperation.class);
5353

5454
private static String appId = "linkis_id";
55-
private static String appToken = "a33693de51";
55+
private static String appToken = "xxxx";
5656

5757
@Override
5858
protected String getAppConnName() {

appconn/src/main/java/com/webank/wedatasphere/dss/appconn/qualitis/ref/operation/QualitisRefDeletionOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class QualitisRefDeletionOperation extends QualitisDevelopmentOperation<R
5151
private static final Logger LOGGER = LoggerFactory.getLogger(QualitisRefDeletionOperation.class);
5252

5353
private static String appId = "linkis_id";
54-
private static String appToken = "a33693de51";
54+
private static String appToken = "xxxx";
5555

5656
@Override
5757
protected String getAppConnName() {

appconn/src/main/java/com/webank/wedatasphere/dss/appconn/qualitis/ref/operation/QualitisRefUpdateOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class QualitisRefUpdateOperation extends QualitisDevelopmentOperation<Upd
5151
private final static Logger LOGGER = LoggerFactory.getLogger(QualitisRefUpdateOperation.class);
5252

5353
private static String appId = "linkis_id";
54-
private static String appToken = "a33693de51";
54+
private static String appToken = "xxxx";
5555

5656
@Override
5757
protected String getAppConnName() {

build.gradle

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,12 @@ repositories {
6464
mainClassName = "com.webank.wedatasphere.qualitis.QualitisServer"
6565

6666
applicationDefaultJvmArgs =
67-
['-Xms256M', '-Xmx2G',
68-
'-XX:+UseG1GC', '-XX:MaxGCPauseMillis=20', '-XX:InitiatingHeapOccupancyPercent=50',
69-
'-Dfile.encoding=UTF-8', "-Djava.library.path=HADOOP_COMMON_LIB_NATIVE_DIR",
70-
"-Dlog.file=${project.name}-MY_USER-MY_HOSTNAME.log"]
67+
["-Xms256M", "-Xmx2G",
68+
"-XX:+UseG1GC", "-XX:MaxGCPauseMillis=20", "-XX:InitiatingHeapOccupancyPercent=50",
69+
"-Dfile.encoding=UTF-8", "-Djava.library.path=HADOOP_COMMON_LIB_NATIVE_DIR",
70+
"-Dlog.file=${project.name}-MY_USER-MY_HOSTNAME.log",
71+
"-XX:+HeapDumpOnOutOfMemoryError", "-XX:HeapDumpPath=/appcom/logs/qualitis/heapdump.hprof",
72+
"-Dspring.config.location=classpath:application.yml"]
7173

7274
tasks.startScripts << {
7375
def scriptFile = file "${outputDir}/${applicationName}"
@@ -105,13 +107,37 @@ distributions {
105107
}
106108
}
107109
}
110+
def timestamp = new Date().format("yyyyMMddHHmmss")
111+
def projectVersion = project.property("version")
112+
def finalArchiveName = "WDSDQMS-CORE_${projectVersion}_0_R_${timestamp}.zip"
113+
114+
distZip {
115+
archiveName = finalArchiveName
116+
}
108117

109118
subprojects {
110119
apply plugin: 'idea'
111120
apply plugin: 'eclipse'
112121
apply plugin: 'java'
113122
apply plugin: 'maven'
114123

124+
sourceSets {
125+
main {
126+
java {
127+
srcDirs = ['src/main/java']
128+
}
129+
}
130+
}
131+
132+
task sourcesJar(type: Jar, dependsOn: classes) {
133+
classifier = 'sources'
134+
from sourceSets.main.allSource
135+
}
136+
137+
artifacts {
138+
archives sourcesJar
139+
}
140+
115141
[compileJava, compileTestJava, javadoc]*.options*.encoding = defaultEncoding
116142

117143
repositories {
@@ -139,11 +165,22 @@ subprojects {
139165

140166
configurations.all {
141167
resolutionStrategy {
142-
force 'org.apache.logging.log4j:log4j-slf4j-impl:2.17.1'
168+
force 'org.apache.logging.log4j:log4j-slf4j2-impl:2.24.0'
169+
force 'org.apache.logging.log4j:log4j-api:2.24.0'
170+
force 'org.apache.logging.log4j:log4j-core:2.24.0'
171+
force 'org.apache.derby:derby:10.17.1.0'
172+
force 'org.slf4j:slf4j-api:2.0.11'
143173
}
144-
resolutionStrategy.cacheChangingModulesFor 1,'minutes'
145-
exclude group: 'log4j', module: 'log4j'
174+
resolutionStrategy.cacheChangingModulesFor 60,'seconds'
175+
// exclude group: 'log4j', module: 'log4j'
176+
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
146177
exclude group: 'org.codehaus.jackson', module: 'jackson-mapper-asl'
178+
exclude group: 'com.zaxxer', module: 'HikariCP-java7'
179+
exclude group: 'org.apache.poi', module: 'poi-ooxml-schemas'
180+
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15to18'
181+
exclude group: 'javax.servlet', module: 'javax.servlet-api'
147182
}
148183

149184
apply from: "profile.gradle"
185+
186+

core/alarm/src/main/java/com/webank/wedatasphere/qualitis/client/AlarmClient.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ public interface AlarmClient {
1212
/**
1313
* 发送告警
1414
* @param receiver
15+
* @param alertTitle
1516
* @param alertInfo
1617
* @param alertLevel
17-
* @param alertTitle
18+
* @param subSystemId
1819
* @return
1920
*/
20-
void sendAlarm(String receiver, String alertTitle, String alertInfo, String alertLevel);
21+
void sendAlarm(String receiver, String alertTitle, String alertInfo, String alertLevel, String subSystemId);
2122

2223
/**
2324
* Send new alarm.

0 commit comments

Comments
 (0)