apply plugin: 'maven' apply plugin: 'java' apply plugin: 'application' repositories { maven { url 'http://artifactory.bnr.perforce.com/artifactory/repos-p4oauth' } mavenLocal() } mainClassName = "com.perforce.workshop.tjuricek.p4oauth.test_server.TestServer" dependencies { compile("commons-io:commons-io:2.4") compile('com.github.jknack:handlebars:1.3.1') compile('com.perforce.workshop.tjuricek:p4java_ext:0.1.1') compile('org.apache.httpcomponents:httpclient:4.3.4') compile('org.eclipse.jetty:jetty-server:9.2.0.RC0') compile("com.fasterxml.jackson.core:jackson-databind:2.3.1") } jar { archiveName = "test_server.jar" manifest { attributes 'Main-Class': mainClassName } doFirst { from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } } exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA' }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 9180 | tjuricek |
0.1.1 Adding mechanism for fetching the p4 token given the bearer token on an Authorization header. This is probably secure since we can't use these tokens except for the restricted hosts. |
||
#3 | 9157 | tjuricek | Added basic "authorization code" workflow test. | ||
#2 | 9144 | tjuricek | Added basic webdriver config and config for P4OAuth service | ||
#1 | 9138 | tjuricek |
Added a "test server" with startTestServer and stopTestServer gradle tasks. The test server isn't 100% complete, but the gradle tasks should be. This is to be used to drive tests forward via a web browser. |