From 50875e7e48440c8b3a92423e5c6d7858f671042b Mon Sep 17 00:00:00 2001 From: GokaPek Date: Thu, 13 Feb 2025 21:05:04 +0400 Subject: [PATCH] init --- course/.gitattributes | 2 + course/.gitignore | 33 +++++ course/pom.xml | 113 ++++++++++++++++++ .../edu/unive/course/CourseApplication.java | 13 ++ .../src/main/resources/application.properties | 1 + .../unive/course/CourseApplicationTests.java | 13 ++ gate/.gitattributes | 2 + gate/.gitignore | 33 +++++ gate/pom.xml | 91 ++++++++++++++ .../java/edu/unive/gate/GateApplication.java | 13 ++ .../src/main/resources/application.properties | 1 + .../edu/unive/gate/GateApplicationTests.java | 13 ++ schedule/.gitattributes | 2 + schedule/.gitignore | 33 +++++ schedule/pom.xml | 113 ++++++++++++++++++ .../unive/schedule/ScheduleApplication.java | 13 ++ .../src/main/resources/application.properties | 1 + .../schedule/ScheduleApplicationTests.java | 13 ++ university/.gitattributes | 2 + university/.gitignore | 33 +++++ university/pom.xml | 113 ++++++++++++++++++ .../university/UniversityApplication.java | 13 ++ .../src/main/resources/application.properties | 1 + .../UniversityApplicationTests.java | 13 ++ 24 files changed, 678 insertions(+) create mode 100644 course/.gitattributes create mode 100644 course/.gitignore create mode 100644 course/pom.xml create mode 100644 course/src/main/java/edu/unive/course/CourseApplication.java create mode 100644 course/src/main/resources/application.properties create mode 100644 course/src/test/java/edu/unive/course/CourseApplicationTests.java create mode 100644 gate/.gitattributes create mode 100644 gate/.gitignore create mode 100644 gate/pom.xml create mode 100644 gate/src/main/java/edu/unive/gate/GateApplication.java create mode 100644 gate/src/main/resources/application.properties create mode 100644 gate/src/test/java/edu/unive/gate/GateApplicationTests.java create mode 100644 schedule/.gitattributes create mode 100644 schedule/.gitignore create mode 100644 schedule/pom.xml create mode 100644 schedule/src/main/java/edu/unive/schedule/ScheduleApplication.java create mode 100644 schedule/src/main/resources/application.properties create mode 100644 schedule/src/test/java/edu/unive/schedule/ScheduleApplicationTests.java create mode 100644 university/.gitattributes create mode 100644 university/.gitignore create mode 100644 university/pom.xml create mode 100644 university/src/main/java/edu/unive/university/UniversityApplication.java create mode 100644 university/src/main/resources/application.properties create mode 100644 university/src/test/java/edu/unive/university/UniversityApplicationTests.java diff --git a/course/.gitattributes b/course/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/course/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/course/.gitignore b/course/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/course/.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/course/pom.xml b/course/pom.xml new file mode 100644 index 0000000..7052682 --- /dev/null +++ b/course/pom.xml @@ -0,0 +1,113 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.2 + + + edu.unive + course + 0.0.1-SNAPSHOT + course + Сервис Владимира Строева (курсы и свидетельства) + + + + + + + + + + + + + + + 21 + 2024.0.0 + + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + org.springframework.kafka + spring-kafka + + + + org.postgresql + postgresql + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.kafka + spring-kafka-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/course/src/main/java/edu/unive/course/CourseApplication.java b/course/src/main/java/edu/unive/course/CourseApplication.java new file mode 100644 index 0000000..626732e --- /dev/null +++ b/course/src/main/java/edu/unive/course/CourseApplication.java @@ -0,0 +1,13 @@ +package edu.unive.course; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class CourseApplication { + + public static void main(String[] args) { + SpringApplication.run(CourseApplication.class, args); + } + +} diff --git a/course/src/main/resources/application.properties b/course/src/main/resources/application.properties new file mode 100644 index 0000000..5b6ee4e --- /dev/null +++ b/course/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=course diff --git a/course/src/test/java/edu/unive/course/CourseApplicationTests.java b/course/src/test/java/edu/unive/course/CourseApplicationTests.java new file mode 100644 index 0000000..7e20984 --- /dev/null +++ b/course/src/test/java/edu/unive/course/CourseApplicationTests.java @@ -0,0 +1,13 @@ +package edu.unive.course; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class CourseApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/gate/.gitattributes b/gate/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/gate/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/gate/.gitignore b/gate/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/gate/.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/gate/pom.xml b/gate/pom.xml new file mode 100644 index 0000000..1ad8de3 --- /dev/null +++ b/gate/pom.xml @@ -0,0 +1,91 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.2 + + + edu.unive + gate + 0.0.1-SNAPSHOT + gate + Gateway для клиентов (реактивный) + + + + + + + + + + + + + + + 21 + 2024.0.0 + + + + org.springframework.cloud + spring-cloud-starter-gateway-mvc + + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/gate/src/main/java/edu/unive/gate/GateApplication.java b/gate/src/main/java/edu/unive/gate/GateApplication.java new file mode 100644 index 0000000..e58abff --- /dev/null +++ b/gate/src/main/java/edu/unive/gate/GateApplication.java @@ -0,0 +1,13 @@ +package edu.unive.gate; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class GateApplication { + + public static void main(String[] args) { + SpringApplication.run(GateApplication.class, args); + } + +} diff --git a/gate/src/main/resources/application.properties b/gate/src/main/resources/application.properties new file mode 100644 index 0000000..c1f79dd --- /dev/null +++ b/gate/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=gate diff --git a/gate/src/test/java/edu/unive/gate/GateApplicationTests.java b/gate/src/test/java/edu/unive/gate/GateApplicationTests.java new file mode 100644 index 0000000..894f15b --- /dev/null +++ b/gate/src/test/java/edu/unive/gate/GateApplicationTests.java @@ -0,0 +1,13 @@ +package edu.unive.gate; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class GateApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/schedule/.gitattributes b/schedule/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/schedule/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/schedule/.gitignore b/schedule/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/schedule/.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/schedule/pom.xml b/schedule/pom.xml new file mode 100644 index 0000000..3cdb671 --- /dev/null +++ b/schedule/pom.xml @@ -0,0 +1,113 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.2 + + + edu.unive + schedule + 0.0.1-SNAPSHOT + schedule + Сервис Егора Петрушина (Расписание) + + + + + + + + + + + + + + + 21 + 2024.0.0 + + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + org.springframework.kafka + spring-kafka + + + + org.postgresql + postgresql + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.kafka + spring-kafka-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/schedule/src/main/java/edu/unive/schedule/ScheduleApplication.java b/schedule/src/main/java/edu/unive/schedule/ScheduleApplication.java new file mode 100644 index 0000000..6e21ec8 --- /dev/null +++ b/schedule/src/main/java/edu/unive/schedule/ScheduleApplication.java @@ -0,0 +1,13 @@ +package edu.unive.schedule; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class ScheduleApplication { + + public static void main(String[] args) { + SpringApplication.run(ScheduleApplication.class, args); + } + +} diff --git a/schedule/src/main/resources/application.properties b/schedule/src/main/resources/application.properties new file mode 100644 index 0000000..27e3fba --- /dev/null +++ b/schedule/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=schedule diff --git a/schedule/src/test/java/edu/unive/schedule/ScheduleApplicationTests.java b/schedule/src/test/java/edu/unive/schedule/ScheduleApplicationTests.java new file mode 100644 index 0000000..776a6df --- /dev/null +++ b/schedule/src/test/java/edu/unive/schedule/ScheduleApplicationTests.java @@ -0,0 +1,13 @@ +package edu.unive.schedule; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class ScheduleApplicationTests { + + @Test + void contextLoads() { + } + +} diff --git a/university/.gitattributes b/university/.gitattributes new file mode 100644 index 0000000..3b41682 --- /dev/null +++ b/university/.gitattributes @@ -0,0 +1,2 @@ +/mvnw text eol=lf +*.cmd text eol=crlf diff --git a/university/.gitignore b/university/.gitignore new file mode 100644 index 0000000..549e00a --- /dev/null +++ b/university/.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/university/pom.xml b/university/pom.xml new file mode 100644 index 0000000..3dcef8f --- /dev/null +++ b/university/pom.xml @@ -0,0 +1,113 @@ + + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.4.2 + + + edu.unive + university + 0.0.1-SNAPSHOT + university + Общий сервис направлений, групп, факультетов, кафедр, преподавателей + + + + + + + + + + + + + + + 21 + 2024.0.0 + + + + org.flywaydb + flyway-core + + + org.flywaydb + flyway-database-postgresql + + + org.springframework.cloud + spring-cloud-starter-openfeign + + + org.springframework.kafka + spring-kafka + + + + org.postgresql + postgresql + runtime + + + org.projectlombok + lombok + true + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.kafka + spring-kafka-test + test + + + + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + org.projectlombok + lombok + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + + + + + + diff --git a/university/src/main/java/edu/unive/university/UniversityApplication.java b/university/src/main/java/edu/unive/university/UniversityApplication.java new file mode 100644 index 0000000..d65c822 --- /dev/null +++ b/university/src/main/java/edu/unive/university/UniversityApplication.java @@ -0,0 +1,13 @@ +package edu.unive.university; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class UniversityApplication { + + public static void main(String[] args) { + SpringApplication.run(UniversityApplication.class, args); + } + +} diff --git a/university/src/main/resources/application.properties b/university/src/main/resources/application.properties new file mode 100644 index 0000000..4972a67 --- /dev/null +++ b/university/src/main/resources/application.properties @@ -0,0 +1 @@ +spring.application.name=university diff --git a/university/src/test/java/edu/unive/university/UniversityApplicationTests.java b/university/src/test/java/edu/unive/university/UniversityApplicationTests.java new file mode 100644 index 0000000..17dc4a9 --- /dev/null +++ b/university/src/test/java/edu/unive/university/UniversityApplicationTests.java @@ -0,0 +1,13 @@ +package edu.unive.university; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class UniversityApplicationTests { + + @Test + void contextLoads() { + } + +}