aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject incubator-aurora git commit: Show update status change messages in the scheduler UI.
Date Fri, 13 Mar 2015 17:56:08 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 93c338dc7 -> 128e5540e


Show update status change messages in the scheduler UI.

Bugs closed: AURORA-1077

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


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

Branch: refs/heads/master
Commit: 128e5540ec3e5b2e54862990d9f9d0cc947f83fe
Parents: 93c338d
Author: Bill Farner <wfarner@apache.org>
Authored: Fri Mar 13 10:55:29 2015 -0700
Committer: Bill Farner <wfarner@apache.org>
Committed: Fri Mar 13 10:55:29 2015 -0700

----------------------------------------------------------------------
 src/main/resources/scheduler/assets/update.html      | 4 +++-
 src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/128e5540/src/main/resources/scheduler/assets/update.html
----------------------------------------------------------------------
diff --git a/src/main/resources/scheduler/assets/update.html b/src/main/resources/scheduler/assets/update.html
index 2ce13b4..e95053f 100644
--- a/src/main/resources/scheduler/assets/update.html
+++ b/src/main/resources/scheduler/assets/update.html
@@ -88,11 +88,13 @@
               <th>event</th>
               <th>time</th>
               <th>user</th>
+              <th>message</th>
             </tr>
             <tr ng-repeat="e in update.updateEvents">
               <td>{{e.status | toNiceStatus}}</td>
               <td>{{e.timestampMs | toElapsedTime }} ago</td>
               <td>{{e.user}}</td>
+              <td>{{e.message}}</td>
             </tr>
           </table>
         </div>
@@ -127,4 +129,4 @@
     </div>
 
   </div>
-</div>
\ No newline at end of file
+</div>

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/128e5540/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
----------------------------------------------------------------------
diff --git a/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh b/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
index 5cff81f..f255f2d 100755
--- a/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
+++ b/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
@@ -172,7 +172,7 @@ test_update() {
   assert_update_state $_jobkey 'ROLLING_FORWARD'
   sudo restart aurora-scheduler
   assert_update_state $_jobkey 'ROLLING_FORWARD'
-  aurora beta-update pause $_jobkey
+  aurora beta-update pause $_jobkey --message='hello'
   assert_update_state $_jobkey 'ROLL_FORWARD_PAUSED'
   aurora beta-update resume $_jobkey
   assert_update_state $_jobkey 'ROLLING_FORWARD'


Mime
View raw message