aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject git commit: Use asynchronous transport in Thrift.js client
Date Wed, 28 May 2014 21:14:42 GMT
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 <david@dmclaughlin.com>
Authored: Wed May 28 14:13:22 2014 -0700
Committer: Suman Karumuri <skarumuri@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.


Mime
View raw message