Open-sourced generic, dynamic POC, RESTful alerting API

This commit is contained in:
2024-02-16 17:37:37 -07:00
parent b2ed41c549
commit 0d1d154c7a
70 changed files with 3272 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import org.springframework.boot.gradle.tasks.bundling.BootJar
plugins {
id("org.flywaydb.flyway") version "7.9.1"
kotlin("plugin.jpa") version "1.5.10"
}
dependencies {
"implementation"("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-validation")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.flywaydb:flyway-core")
implementation("org.apache.tomcat:tomcat-jdbc")
implementation("com.h2database:h2:1.4.200")
}
flyway {
url = "jdbc:h2:mem:alerting"
user = "defaultUser"
password = "secret"
locations = arrayOf("classpath:resources/db/migration")
}
tasks.getByName<BootJar>("bootJar") {
enabled = true
mainClass.set("com.poc.alerting.persistence.Persistence")
}