ATEST-124:

- implement the query validator
This commit is contained in:
Zellweger Christof Ralf
2015-07-30 12:16:31 +02:00
parent 9057d7e32e
commit 1d07c618a9
7 changed files with 98 additions and 23 deletions

View File

@ -24,7 +24,11 @@ applicationDefaultJvmArgs = [
dependencies {
compile (project(':ch.psi.daq.query'))
compile libraries.spring_boot_starter_web
compile 'org.hibernate:hibernate-validator:5.2.0.Final'
compile(libraries.spring_boot_starter_web) {
exclude group: 'org.slf4j', module: 'log4j-over-slf4j'
}
compile libraries.commons_lang
testCompile libraries.spring_boot_starter_test
@ -39,5 +43,5 @@ uploadArchives {
}
task dropItQueryREST(dependsOn: build) << {
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.queryrest-" + version + ".jar", "http://dropit.psi.ch:8080"; }
exec{ executable "curl"; args "-X", "POST", "-F", "file=@build/libs/ch.psi.daq.queryrest-" + version + ".jar", "http://dropit.psi.ch:8080/upload"; }
}