Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- made statuses field on MarathonTask obsolete - added status field that contains only the last status - added migration for status field changes - added `status` and `status[]` params to /v2/tasks - updated docs Conflicts: docs/docs/rest-api.md src/main/java/mesosphere/marathon/Protos.java src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala src/main/scala/mesosphere/marathon/api/EndpointsHelper.scala src/main/scala/mesosphere/marathon/api/v2/TasksResource.scala src/main/scala/mesosphere/marathon/state/AppDefinition.scala src/main/scala/mesosphere/marathon/state/Migration.scala src/test/scala/mesosphere/marathon/tasks/TaskTrackerTest.scala
- Loading branch information
1 parent
58fb982
commit cffd9c4
Showing
8 changed files
with
426 additions
and
195 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,4 @@ object StorageVersions { | |
} | ||
|
||
def empty: StorageVersion = StorageVersions(0, 0, 0) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cffd9c4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP backport; still needs task status migration. Pulled that part out due to large diff. CC @drexin