You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/05/28 23:14:42 UTC

git commit: Use asynchronous transport in Thrift.js client

Repository: incubator-aurora
Updated Branches:
  refs/heads/master b6c71cc0f -> 7277525a3


Use asynchronous transport in Thrift.js client

JavaScript thrift bindings need to be generated with js:query rather than
js to get asynchronous XMLHttpRequest support.

Testing Done:
./gradlew clean build && ./gradlew clean run

Bugs closed: AURORA-463

Reviewed at https://reviews.apache.org/r/21828/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/7277525a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/7277525a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/7277525a

Branch: refs/heads/master
Commit: 7277525a367964ba5492d91637ff655578733049
Parents: b6c71cc
Author: David McLaughlin <da...@dmclaughlin.com>
Authored: Wed May 28 14:13:22 2014 -0700
Committer: Suman Karumuri <sk...@twitter.com>
Committed: Wed May 28 14:13:22 2014 -0700

----------------------------------------------------------------------
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/7277525a/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 9dea858..f105e9e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -403,7 +403,7 @@ task generateSources(dependsOn: ['bootstrapThrift', 'checkPython']) {
     inputFiles.each { File file ->
       exec {
         executable = project.thrift
-        args = ['--gen', 'java:hashcode', '--gen', 'js', '-o', outputDir, file]
+        args = ['--gen', 'java:hashcode', '--gen', 'js:jquery', '-o', outputDir, file]
       }
     }
     // TODO(wfarner): Change codegen tool to generate for all structs in a thrift file.