move TcpIngestor to pdb-ui

and start it in the web application.
Also use the spring way of handling property files.
This commit is contained in:
2017-03-19 08:00:18 +01:00
parent 16f9c92d13
commit aadc9cbd21
10 changed files with 77 additions and 13 deletions

View File

@@ -3,6 +3,11 @@ apply plugin: 'application'
mainClassName = "org.lucares.pdbui.PdbWebapp"
applicationDefaultJvmArgs = [
"-Dspring.profiles.active=production",
"-Dspring.config.location=.",
"-Ddb.base=data"
]
dependencies {
compile project(':performanceDb')
@@ -14,4 +19,8 @@ dependencies {
compile("org.springframework.boot:spring-boot-starter-log4j2:1.5.2.RELEASE")
testCompile("org.springframework.boot:spring-boot-starter-test:1.5.2.RELEASE")
}
jar {
exclude 'application-dev.properties'
}