You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/11/04 01:25:15 UTC

git commit: Updated to use the admin password

Repository: incubator-usergrid
Updated Branches:
  refs/heads/key-row-sharding 018673c30 -> 74e365a40


Updated to use the admin password


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/74e365a4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/74e365a4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/74e365a4

Branch: refs/heads/key-row-sharding
Commit: 74e365a4008e86c952a6159fea65d7b85e7508ce
Parents: 018673c
Author: Todd Nine <tn...@apigee.com>
Authored: Mon Nov 3 17:25:03 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Mon Nov 3 17:25:03 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/74e365a4/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
index aa30296..73ba3a9 100755
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/TokenScenarios.scala
@@ -43,7 +43,7 @@ object TokenScenarios {
     .post(Settings.baseUrl+"/management/token")
     .headers(Headers.jsonAnonymous)
     //pass in the the username and password, store the "access_token" json response element as the var "authToken" in the session
-    .body(StringBody("{\"username\":\"" + Settings.admin + "\",\"password\":\"test\",\"grant_type\":\"password\"}"))
+    .body(StringBody("{\"username\":\"" + Settings.admin + "\",\"password\":\""+Settings.password+"\",\"grant_type\":\"password\"}"))
     .check(jsonPath("$.access_token").find(0).saveAs("authToken"))
   )