Skip to content

Commit

Permalink
[Optimization-2567][core] Merge dinky-executor into dinky-core (DataL…
Browse files Browse the repository at this point in the history
…inkDC#2568)

* [Optimization-2567][core] Merge dinky-executor into dinky-core

* fix pom

* fix pom

---------

Co-authored-by: wenmo <32723967+wenmo@users.noreply.github.com>
  • Loading branch information
aiwenmo and aiwenmo authored Nov 23, 2023
1 parent 3f9bf1c commit 8dfad8c
Show file tree
Hide file tree
Showing 42 changed files with 49 additions and 181 deletions.
4 changes: 0 additions & 4 deletions dinky-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@
<groupId>com.alibaba.fastjson2</groupId>
<artifactId>fastjson2</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-base</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions dinky-admin/src/main/java/org/dinky/service/TaskService.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ public interface TaskService extends ISuperService<Task> {
/**
* Submit the given task and return the job result.
*
* @param id The ID of the task to submit.
* @param savePointPath The path of the save point for the job execution.
* @param submitDto The param of the task to submit.
* @return A {@link JobResult} object representing the result of the submitted task.
* @throws ExcuteException If there is an error executing the task.
*/
Expand Down
2 changes: 1 addition & 1 deletion dinky-app/dinky-app-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
<artifactId>dinky-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.github.xiaoymin</groupId>
Expand Down
51 changes: 47 additions & 4 deletions dinky-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,30 @@
<artifactId>dinky-core</artifactId>
<packaging>jar</packaging>
<name>Dinky : Core</name>

<properties>
<hadoop.version>3.1.0</hadoop.version>
</properties>
<dependencies>
<dependency>
<!--<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>3.0.9</version>
</dependency>-->
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-common</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-cdc-core</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
<artifactId>dinky-gateway</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-base</artifactId>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -179,6 +193,36 @@
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- test dependencies -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl3</artifactId>
</dependency>
</dependencies>

<profiles>
Expand Down Expand Up @@ -230,7 +274,6 @@
<artifactId>dinky-flink-1.14</artifactId>
<scope>${scope.runtime}</scope>
</dependency>

<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-1.15</artifactId>
Expand Down
164 changes: 0 additions & 164 deletions dinky-executor/pom.xml

This file was deleted.

6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<module>dinky-function</module>
<module>dinky-metadata</module>
<module>dinky-connectors</module>
<module>dinky-executor</module>
<module>dinky-extends</module>
<module>dinky-alert</module>
<module>dinky-daemon</module>
Expand Down Expand Up @@ -507,11 +506,6 @@
<artifactId>dinky-gateway</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-hadoop</artifactId>
Expand Down

0 comments on commit 8dfad8c

Please sign in to comment.