first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
plugins {
|
||||
id("java-application-conventions")
|
||||
id("org.springframework.boot")
|
||||
id("io.spring.dependency-management")
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("net.bquarkz.ai.gateway.GatewayApplication")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":main-infrastructure"))
|
||||
implementation(project(":main-service"))
|
||||
implementation(project(":main-contract-subjects"))
|
||||
implementation(project(":adapter-http-security-infra"))
|
||||
implementation(project(":adapter-http-gateway"))
|
||||
implementation(project(":gateway-module-policy:policy-domain"))
|
||||
implementation(project(":gateway-module-authorization:authorization-domain"))
|
||||
implementation(project(":gateway-module-audit:audit-domain"))
|
||||
implementation(project(":gateway-module-fraud-detection:fraud-detection-domain"))
|
||||
implementation(project(":gateway-module-tool-registry:tool-registry-domain"))
|
||||
implementation(project(":gateway-providers:jira-provider"))
|
||||
implementation(project(":gateway-providers:jenkins-provider"))
|
||||
implementation(project(":gateway-providers:database-provider"))
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
implementation("org.springframework.boot:spring-boot-starter-security")
|
||||
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
|
||||
|
||||
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
|
||||
|
||||
testImplementation(project(":test-infrastructure"))
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package net.bquarkz.ai.gateway;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication(scanBasePackages = {"net.bquarkz.ai.gateway"})
|
||||
public class GatewayApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(GatewayApplication.class, args);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: ai-gateway-tool
|
||||
|
||||
gateway:
|
||||
policy:
|
||||
config-path: files/config/policies.yaml
|
||||
Reference in New Issue
Block a user