This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Change all the things #22
Merged
Merged
Changes from 2 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f1285df
Update standalone service to work with latest grails and drop depreca…
paulerickson e7fb9d5
Convert into a two module gradle project: json-proxy-core is the thin…
paulerickson 98a013d
Change servlet-api dependency to provided scope
paulerickson 794f276
Merge branch 'master' of github.com:UW-Madison-DoIT/json-proxy-servic…
paulerickson f7ca6b1
Clean up typos and unused imports
paulerickson a909183
Statically compile non-test classes and replace boilerplate methods w…
paulerickson 4f5f580
Fix broken test (it was ambiguous which method signature to match)
paulerickson 4afd27a
Add nexus deployment configuration
paulerickson e860c52
Rename config to application.properties (this is what spring boot use…
paulerickson ca5a891
Update readme with config and release instructions
paulerickson c1472ee
Fix indentation
paulerickson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,8 @@ hs_err_pid* | |
.classpath | ||
.project | ||
.settings | ||
.gradle | ||
build/ | ||
.idea/ | ||
*.swp | ||
*.iml |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
subprojects { | ||
|
||
group = 'edu.wisc.my.restproxy' | ||
version = '1.2.0-SNAPSHOT' | ||
|
||
apply plugin: 'groovy' | ||
|
||
repositories { | ||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } | ||
maven { url "https://code.doit.wisc.edu/maven/content/repositories/public-releases/" } | ||
maven { url "https://code.doit.wisc.edu/maven/content/repositories/uw-releases/" } | ||
maven { url "http://repo.maven.apache.org/maven2" } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
description = "A simple server-side JSON proxy library" | ||
|
||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.7 | ||
|
||
dependencies { | ||
compile 'org.codehaus.groovy:groovy-all:2.4.4' | ||
compile 'org.apache.commons:commons-lang3:3.3.2' | ||
compile 'commons-codec:commons-codec:1.1' | ||
compile 'com.fasterxml.jackson.core:jackson-databind:2.2.0' | ||
compile 'com.google.guava:guava:18.0' | ||
compile 'org.springframework:spring-core:4.1.5.RELEASE' | ||
compile 'org.springframework:spring-web:4.1.5.RELEASE' | ||
compile 'org.springframework:spring-webmvc:4.1.5.RELEASE' | ||
compile 'org.slf4j:jcl-over-slf4j:1.7.5' | ||
compile 'org.slf4j:slf4j-api:1.7.5' | ||
runtime 'ch.qos.logback:logback-classic:1.0.12' | ||
runtime 'org.slf4j:jul-to-slf4j:1.7.5' | ||
runtime 'org.slf4j:log4j-over-slf4j:1.7.5' | ||
testCompile 'junit:junit:4.11' | ||
testCompile 'org.mockito:mockito-core:1.9.5' | ||
testCompile 'org.springframework:spring-test:4.1.5.RELEASE' | ||
compile('javax.servlet:javax.servlet-api:3.1.0') { // TODO: was 3.0.1 intentional? | ||
/* This dependency was originally in the Maven provided scope, but the project was not of type war. | ||
This behavior is not yet supported by Gradle, so this dependency has been converted to a compile dependency. | ||
Please review and delete this closure when resolved. */ | ||
} | ||
} | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably an accident. Is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a weird and uncharacteristic blind spot that gradle does not have a build in 'provided' scope. Apparently everyone just defines it themselves until gradle comes around, so I updated with that change.
FYI / for reference, 'provided' means a dependency is needed for compilation, but is not meant to be packaged into the final artifact, because that artifact is expected to wind up in a container (e.g. tomcat, jetty) that already has the dependency. Compile often works just as well, but can lead to weird conflicts at runtime.