7 changed files with 168 additions and 10 deletions
Unified View
Diff Options
-
21root-cloud-event/pom.xml
-
15root-cloud-mocker/pom.xml
-
11root-cloud-mocker/src/main/java/com/qniao/iot/rc/RootCloudIotDataEventSourceMocker.java
-
26root-cloud-mocker/src/main/resources/db.setting
-
96root-cloud-statistics/dependency-reduced-pom.xml
-
3root-cloud-statistics/pom.xml
-
6root-cloud-statistics/src/main/java/com/qniao/iot/rc/RootCloudIotDataFormatterJob.java
@ -0,0 +1,26 @@ |
|||||
|
## db.setting文件 |
||||
|
|
||||
|
url = jdbc:mysql://rm-wz9it4fs5tk7n4tm1zo.mysql.rds.aliyuncs.com:3306/cloud_print_cloud_factory?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useTimezone=true&serverTimezone=GMT%2B8&useSSL=false |
||||
|
user = qn_cloudprint |
||||
|
pass = qncloudprint5682 |
||||
|
|
||||
|
# 是否在日志中显示执行的SQL |
||||
|
showSql = true |
||||
|
|
||||
|
# 是否格式化显示的SQL |
||||
|
formatSql = false |
||||
|
|
||||
|
# 是否显示SQL参数 |
||||
|
showParams = true |
||||
|
|
||||
|
# 打印SQL的日志等级,默认debug,可以是info、warn、error |
||||
|
sqlLevel = debug |
||||
|
|
||||
|
# 初始化时建立物理连接的个数 |
||||
|
initialSize = 0 |
||||
|
|
||||
|
# 最大连接池数量 |
||||
|
maxActive = 20 |
||||
|
|
||||
|
# 最小连接池数量 |
||||
|
minIdle = 0 |
||||
@ -0,0 +1,96 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
||||
|
<parent> |
||||
|
<artifactId>iot-root-cloud-model-hw-formatter</artifactId> |
||||
|
<groupId>com.qniao</groupId> |
||||
|
<version>0.0.1-SNAPSHOT</version> |
||||
|
</parent> |
||||
|
<modelVersion>4.0.0</modelVersion> |
||||
|
<artifactId>root-cloud-statistics</artifactId> |
||||
|
<name>root-cloud-statistics</name> |
||||
|
<build> |
||||
|
<plugins> |
||||
|
<plugin> |
||||
|
<artifactId>maven-compiler-plugin</artifactId> |
||||
|
<version>3.1</version> |
||||
|
<configuration> |
||||
|
<source>${target.java.version}</source> |
||||
|
<target>${target.java.version}</target> |
||||
|
</configuration> |
||||
|
</plugin> |
||||
|
<plugin> |
||||
|
<artifactId>maven-shade-plugin</artifactId> |
||||
|
<version>3.1.1</version> |
||||
|
<executions> |
||||
|
<execution> |
||||
|
<phase>package</phase> |
||||
|
<goals> |
||||
|
<goal>shade</goal> |
||||
|
</goals> |
||||
|
<configuration> |
||||
|
<artifactSet> |
||||
|
<excludes> |
||||
|
<exclude>org.apache.flink:flink-shaded-force-shading</exclude> |
||||
|
<exclude>com.google.code.findbugs:jsr305</exclude> |
||||
|
<exclude>org.slf4j:*</exclude> |
||||
|
<exclude>org.apache.logging.log4j:*</exclude> |
||||
|
</excludes> |
||||
|
</artifactSet> |
||||
|
<filters> |
||||
|
<filter> |
||||
|
<artifact>*:*</artifact> |
||||
|
<excludes> |
||||
|
<exclude>META-INF/*.SF</exclude> |
||||
|
<exclude>META-INF/*.DSA</exclude> |
||||
|
<exclude>META-INF/*.RSA</exclude> |
||||
|
</excludes> |
||||
|
</filter> |
||||
|
</filters> |
||||
|
<transformers> |
||||
|
<transformer /> |
||||
|
<transformer> |
||||
|
<mainClass>com.qniao.iot.rc.RootCloudIotDataFormatterJob</mainClass> |
||||
|
</transformer> |
||||
|
</transformers> |
||||
|
</configuration> |
||||
|
</execution> |
||||
|
</executions> |
||||
|
</plugin> |
||||
|
</plugins> |
||||
|
</build> |
||||
|
<dependencies> |
||||
|
<dependency> |
||||
|
<groupId>org.apache.logging.log4j</groupId> |
||||
|
<artifactId>log4j-slf4j-impl</artifactId> |
||||
|
<version>2.17.2</version> |
||||
|
<scope>runtime</scope> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>org.apache.logging.log4j</groupId> |
||||
|
<artifactId>log4j-api</artifactId> |
||||
|
<version>2.17.2</version> |
||||
|
<scope>runtime</scope> |
||||
|
</dependency> |
||||
|
<dependency> |
||||
|
<groupId>org.apache.logging.log4j</groupId> |
||||
|
<artifactId>log4j-core</artifactId> |
||||
|
<version>2.17.2</version> |
||||
|
<scope>runtime</scope> |
||||
|
</dependency> |
||||
|
</dependencies> |
||||
|
<distributionManagement> |
||||
|
<repository> |
||||
|
<id>maven-releases</id> |
||||
|
<name>Nexus releases Repository</name> |
||||
|
<url>http://120.78.76.88:8081/repository/maven-snapshots/</url> |
||||
|
</repository> |
||||
|
</distributionManagement> |
||||
|
<properties> |
||||
|
<target.java.version>1.8</target.java.version> |
||||
|
<log4j.version>2.17.2</log4j.version> |
||||
|
<flink.version>1.15.0</flink.version> |
||||
|
<maven.compiler.source>${target.java.version}</maven.compiler.source> |
||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
|
<maven.compiler.target>${target.java.version}</maven.compiler.target> |
||||
|
</properties> |
||||
|
</project> |
||||
Write
Preview
Loading…
Cancel
Save