From ab513112dab1ee8f40eedae82cae6224775e0bcb Mon Sep 17 00:00:00 2001 From: huangge1199 Date: Tue, 5 Aug 2025 10:23:23 +0800 Subject: [PATCH] first commit --- .gitattributes | 2 + .gitignore | 33 ++++++++ pom.xml | 84 +++++++++++++++++++ .../iet/ustb/sf/IetKpiServiceApplication.java | 13 +++ src/main/resources/application.properties | 1 + .../sf/IetKpiServiceApplicationTests.java | 13 +++ 6 files changed, 146 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pom.xml create mode 100644 src/main/java/iet/ustb/sf/IetKpiServiceApplication.java create mode 100644 src/main/resources/application.properties create mode 100644 src/test/java/iet/ustb/sf/IetKpiServiceApplicationTests.java diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..667aaef --- /dev/null +++ b/.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/pom.xml b/pom.xml new file mode 100644 index 0000000..a219632 --- /dev/null +++ b/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.5.4 + + + iet.ustb.sf + iet-kpi-service + 0.0.1-SNAPSHOT + iet-kpi-service + iet-kpi-service + + + + + + + + + + + + + + + 17 + + + + org.springframework.boot + spring-boot-starter-web + + + + com.mysql + mysql-connector-j + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/src/main/java/iet/ustb/sf/IetKpiServiceApplication.java b/src/main/java/iet/ustb/sf/IetKpiServiceApplication.java new file mode 100644 index 0000000..18c0735 --- /dev/null +++ b/src/main/java/iet/ustb/sf/IetKpiServiceApplication.java @@ -0,0 +1,13 @@ +package iet.ustb.sf; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class IetKpiServiceApplication { + + public static void main(String[] args) { + SpringApplication.run(IetKpiServiceApplication.class, args); + } + +} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..54d32f2 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=iet-kpi-service diff --git a/src/test/java/iet/ustb/sf/IetKpiServiceApplicationTests.java b/src/test/java/iet/ustb/sf/IetKpiServiceApplicationTests.java new file mode 100644 index 0000000..cd9a2e4 --- /dev/null +++ b/src/test/java/iet/ustb/sf/IetKpiServiceApplicationTests.java @@ -0,0 +1,13 @@ +package iet.ustb.sf; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class IetKpiServiceApplicationTests { + + @Test + void contextLoads() { + } + +}