diff --git a/etl-spike/.gitignore b/etl-spike/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/etl-spike/.gitignore @@ -0,0 +1,33 @@ +HELP.md +target/ +!.mvn/wrapper/maven-wrapper.jar +!**/src/main/**/target/ +!**/src/test/**/target/ + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ +build/ +!**/src/main/**/build/ +!**/src/test/**/build/ + +### VS Code ### +.vscode/ diff --git a/etl-spike/pom.xml b/etl-spike/pom.xml new file mode 100644 index 0000000..380e567 --- /dev/null +++ b/etl-spike/pom.xml @@ -0,0 +1,105 @@ + + + 4.0.0 + com.etl + etl-spike + 0.0.1-SNAPSHOT + etl-spike + etl-spike + + com.bwie + etl-cloud + 1.0-SNAPSHOT + + + 1.8 + UTF-8 + UTF-8 + 2.6.13 + + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.boot + spring-boot-starter-data-redis + + + + org.springframework + spring-jdbc + 5.3.22 + + + mysql + mysql-connector-java + 8.0.29 + + + + com.exam + exam-common + 0.0.1-SNAPSHOT + + + com.baomidou + mybatis-plus-annotation + 3.5.7 + compile + + + + + + org.springframework.boot + spring-boot-dependencies + ${spring-boot.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.1 + + 1.8 + 1.8 + UTF-8 + + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + com.etl.spike.EtlSpikeApplication + true + + + + repackage + + repackage + + + + + + + + diff --git a/etl-spike/src/main/java/com/etl/spike/EtlSpikeApplication.java b/etl-spike/src/main/java/com/etl/spike/EtlSpikeApplication.java new file mode 100644 index 0000000..4cae432 --- /dev/null +++ b/etl-spike/src/main/java/com/etl/spike/EtlSpikeApplication.java @@ -0,0 +1,13 @@ +package com.etl.spike; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.ComponentScan; + +@SpringBootApplication +@ComponentScan("com.etl.spike.entity") +public class EtlSpikeApplication { + public static void main(String[] args) { + SpringApplication.run(EtlSpikeApplication.class, args); + } +} diff --git a/etl-spike/src/main/resources/application.properties b/etl-spike/src/main/resources/application.properties new file mode 100644 index 0000000..741395b --- /dev/null +++ b/etl-spike/src/main/resources/application.properties @@ -0,0 +1,14 @@ +# 应用服务 WEB 访问端口 +server.port=10002 + +spring.redis.host=47.101.130.221 +spring.redis.port=6379 +spring.redis.password=123456 +mybatis-plus.type-aliases-package=com.etl.spike.entity +mybatis-plus.mapper-locations=classpath:mapper/*.xml +mybatis-plus.configuration.map-underscore-to-camel-case=true +logging.level.com.etl.**=debug +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.url=jdbc:mysql://47.101.130.221:3306/spike?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC +spring.datasource.username=root +spring.datasource.password=ays@123 diff --git a/etl-spike/src/main/resources/static/index.html b/etl-spike/src/main/resources/static/index.html new file mode 100644 index 0000000..e2d94a2 --- /dev/null +++ b/etl-spike/src/main/resources/static/index.html @@ -0,0 +1,6 @@ + + +

hello word!!!

+

this is a html page

+ + \ No newline at end of file diff --git a/etl-spike/src/test/java/com/etl/spike/EtlSpikeApplicationTests.java b/etl-spike/src/test/java/com/etl/spike/EtlSpikeApplicationTests.java new file mode 100644 index 0000000..6a776dd --- /dev/null +++ b/etl-spike/src/test/java/com/etl/spike/EtlSpikeApplicationTests.java @@ -0,0 +1,13 @@ +package com.etl.spike; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class EtlSpikeApplicationTests { + + @Test + void contextLoads() { + } + +}