caskdata/cdap — pull request #728 by gsps1 (2014-12-01 03:38:17+00:00)
Title: Runs endpoint, ignore endTime if status is Running for program

Currently, /runs endpoint returns run records of program. for a "Running" program we would return endTime as -1, its better to not have endTime for a "Running" program. so this PR is to skip sending endTime for Running programs.