From 19611bf6aa1b95d8d8778455bf6d14887b5c6a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E8=B1=AA?= <1437200870@qq.com> Date: Tue, 20 Aug 2024 15:08:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 35 +++++++ Dockerfile | 12 +++ cloud-etl-client/pom.xml | 20 ++++ .../src/main/java/com/muyu/Main.java | 7 ++ cloud-etl-common/pom.xml | 27 +++++ .../src/main/java/com/muyu/Main.java | 7 ++ cloud-etl-remote/pom.xml | 28 ++++++ .../src/main/java/com/muyu/Main.java | 7 ++ cloud-etl-server/pom.xml | 98 +++++++++++++++++++ .../src/main/java/com/muyu/Main.java | 7 ++ pom.xml | 32 ++++++ src/main/java/com/muyu/Main.java | 7 ++ 12 files changed, 287 insertions(+) create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 cloud-etl-client/pom.xml create mode 100644 cloud-etl-client/src/main/java/com/muyu/Main.java create mode 100644 cloud-etl-common/pom.xml create mode 100644 cloud-etl-common/src/main/java/com/muyu/Main.java create mode 100644 cloud-etl-remote/pom.xml create mode 100644 cloud-etl-remote/src/main/java/com/muyu/Main.java create mode 100644 cloud-etl-server/pom.xml create mode 100644 cloud-etl-server/src/main/java/com/muyu/Main.java create mode 100644 pom.xml create mode 100644 src/main/java/com/muyu/Main.java diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3e403e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,35 @@ +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..17f7a53 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM anolis-registry.cn-zhangjiakou.cr.aliyuncs.com/openanolis/dragonwell:17.0.4.0.4.8-standard-ga-8.6 + +ENV TZ=Asia/Shanghai + +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone + +VOLUME ["/home/logs/cloud-etl"] + +COPY ./cloud-etl-server/target/cloud-etl.jar /home/app.jar + +ENTRYPOINT ["java","-jar"] +CMD ["/home/app.jar"] diff --git a/cloud-etl-client/pom.xml b/cloud-etl-client/pom.xml new file mode 100644 index 0000000..d81eaf3 --- /dev/null +++ b/cloud-etl-client/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + + com.muyu + cloud-etl + 1.0.0 + + + cloud-etl-client + + + 17 + 17 + UTF-8 + + + diff --git a/cloud-etl-client/src/main/java/com/muyu/Main.java b/cloud-etl-client/src/main/java/com/muyu/Main.java new file mode 100644 index 0000000..95690d4 --- /dev/null +++ b/cloud-etl-client/src/main/java/com/muyu/Main.java @@ -0,0 +1,7 @@ +package com.muyu; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/cloud-etl-common/pom.xml b/cloud-etl-common/pom.xml new file mode 100644 index 0000000..7cd1df0 --- /dev/null +++ b/cloud-etl-common/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + com.muyu + cloud-etl + 1.0.0 + + + cloud-etl-common + + + 17 + 17 + UTF-8 + + + + + com.muyu + cloud-common-core + + + + diff --git a/cloud-etl-common/src/main/java/com/muyu/Main.java b/cloud-etl-common/src/main/java/com/muyu/Main.java new file mode 100644 index 0000000..95690d4 --- /dev/null +++ b/cloud-etl-common/src/main/java/com/muyu/Main.java @@ -0,0 +1,7 @@ +package com.muyu; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/cloud-etl-remote/pom.xml b/cloud-etl-remote/pom.xml new file mode 100644 index 0000000..c0b2a20 --- /dev/null +++ b/cloud-etl-remote/pom.xml @@ -0,0 +1,28 @@ + + + 4.0.0 + + com.muyu + cloud-etl + 1.0.0 + + + cloud-etl-remote + + + 17 + 17 + UTF-8 + + + + + com.muyu + cloud-etl-common + 1.0.0 + + + + diff --git a/cloud-etl-remote/src/main/java/com/muyu/Main.java b/cloud-etl-remote/src/main/java/com/muyu/Main.java new file mode 100644 index 0000000..95690d4 --- /dev/null +++ b/cloud-etl-remote/src/main/java/com/muyu/Main.java @@ -0,0 +1,7 @@ +package com.muyu; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/cloud-etl-server/pom.xml b/cloud-etl-server/pom.xml new file mode 100644 index 0000000..3b5988e --- /dev/null +++ b/cloud-etl-server/pom.xml @@ -0,0 +1,98 @@ + + + 4.0.0 + + com.muyu + cloud-etl + 1.0.0 + + + cloud-etl-server + + + 17 + 17 + UTF-8 + + + + + + + + com.muyu + cloud-etl-common + 1.0.0 + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.mysql + mysql-connector-j + + + + + com.muyu + cloud-common-datasource + + + + + com.muyu + cloud-common-datascope + + + + + com.muyu + cloud-common-log + + + + + com.muyu + cloud-common-api-doc + + + + + com.muyu + cloud-common-xxl + + + + + + + + + + diff --git a/cloud-etl-server/src/main/java/com/muyu/Main.java b/cloud-etl-server/src/main/java/com/muyu/Main.java new file mode 100644 index 0000000..95690d4 --- /dev/null +++ b/cloud-etl-server/src/main/java/com/muyu/Main.java @@ -0,0 +1,7 @@ +package com.muyu; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d31bb0e --- /dev/null +++ b/pom.xml @@ -0,0 +1,32 @@ + + + 4.0.0 + + + com.muyu + cloud-server-parent + 3.6.4 + + + com.muyu + + cloud-etl + + 1.0.0 + pom + + cloud-etl-client + cloud-etl-common + cloud-etl-remote + cloud-etl-server + + + + 17 + 17 + UTF-8 + + + diff --git a/src/main/java/com/muyu/Main.java b/src/main/java/com/muyu/Main.java new file mode 100644 index 0000000..95690d4 --- /dev/null +++ b/src/main/java/com/muyu/Main.java @@ -0,0 +1,7 @@ +package com.muyu; + +public class Main { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} \ No newline at end of file