{"action":"closed","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/2131","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/2131/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/2131/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/2131/events","html_url":"https://github.com/mesosphere/marathon/issues/2131","id":104011423,"number":2131,"title":"Create a health checks panel in the application creation/edit modal dialog","user":{"login":"aldipower","id":859154,"avatar_url":"https://avatars.githubusercontent.com/u/859154?v=3","gravatar_id":"","url":"https://api.github.com/users/aldipower","html_url":"https://github.com/aldipower","followers_url":"https://api.github.com/users/aldipower/followers","following_url":"https://api.github.com/users/aldipower/following{/other_user}","gists_url":"https://api.github.com/users/aldipower/gists{/gist_id}","starred_url":"https://api.github.com/users/aldipower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldipower/subscriptions","organizations_url":"https://api.github.com/users/aldipower/orgs","repos_url":"https://api.github.com/users/aldipower/repos","events_url":"https://api.github.com/users/aldipower/events{/privacy}","received_events_url":"https://api.github.com/users/aldipower/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mesosphere/marathon/labels/design","name":"design","color":"d4c5f9"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/gui","name":"gui","color":"eb6420"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/OKR%20Usability","name":"OKR Usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/mesosphere/marathon/labels/ready%20for%20review","name":"ready for review","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"aldipower","id":859154,"avatar_url":"https://avatars.githubusercontent.com/u/859154?v=3","gravatar_id":"","url":"https://api.github.com/users/aldipower","html_url":"https://github.com/aldipower","followers_url":"https://api.github.com/users/aldipower/followers","following_url":"https://api.github.com/users/aldipower/following{/other_user}","gists_url":"https://api.github.com/users/aldipower/gists{/gist_id}","starred_url":"https://api.github.com/users/aldipower/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldipower/subscriptions","organizations_url":"https://api.github.com/users/aldipower/orgs","repos_url":"https://api.github.com/users/aldipower/repos","events_url":"https://api.github.com/users/aldipower/events{/privacy}","received_events_url":"https://api.github.com/users/aldipower/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mesosphere/marathon/milestones/20","html_url":"https://github.com/mesosphere/marathon/milestones/0.12.0","labels_url":"https://api.github.com/repos/mesosphere/marathon/milestones/20/labels","id":1231438,"number":20,"title":"0.12.0","description":"RC-1 will be released on 2015-09-28","creator":{"login":"aquamatthias","id":330485,"avatar_url":"https://avatars.githubusercontent.com/u/330485?v=3","gravatar_id":"","url":"https://api.github.com/users/aquamatthias","html_url":"https://github.com/aquamatthias","followers_url":"https://api.github.com/users/aquamatthias/followers","following_url":"https://api.github.com/users/aquamatthias/following{/other_user}","gists_url":"https://api.github.com/users/aquamatthias/gists{/gist_id}","starred_url":"https://api.github.com/users/aquamatthias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aquamatthias/subscriptions","organizations_url":"https://api.github.com/users/aquamatthias/orgs","repos_url":"https://api.github.com/users/aquamatthias/repos","events_url":"https://api.github.com/users/aquamatthias/events{/privacy}","received_events_url":"https://api.github.com/users/aquamatthias/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":56,"state":"open","created_at":"2015-07-29T12:23:28Z","updated_at":"2015-09-29T09:38:30Z","due_on":"2015-10-14T22:00:00Z","closed_at":null},"comments":7,"created_at":"2015-08-31T08:42:20Z","updated_at":"2015-09-29T09:38:30Z","closed_at":"2015-09-29T09:38:30Z","body":"In the application modal dialog I should be able to add and edit multiple health checks.\r\n\r\nWe could do this in a collapsible panel like the DockerContainerSettings.\r\n\r\nThere are 3 types of health checks with different settings (corrected, see below).\r\n\r\n```javascript\r\n\"healthChecks\":\r\n[\r\n// HTTP\r\n  {\r\n    \"path\": \"/api/health\",\r\n    \"portIndex\": 0,\r\n    \"protocol\": \"HTTP\",\r\n    \"gracePeriodSeconds\": 300,\r\n    \"intervalSeconds\": 60,\r\n    \"timeoutSeconds\": 20,\r\n    \"maxConsecutiveFailures\": 3,\r\n    \"ignoreHttp1xx\": false,\r\n  },\r\n// TCP\r\n  {\r\n    \"portIndex\": 0,\r\n    \"protocol\": \"TCP\",\r\n    \"gracePeriodSeconds\": 300,\r\n    \"intervalSeconds\": 60,\r\n    \"timeoutSeconds\": 20,\r\n    \"maxConsecutiveFailures\": 0\r\n  },\r\n// COMMAND\r\n  {\r\n    \"protocol\": \"COMMAND\",\r\n    \"command\": { \"value\": \"curl -f -X GET http://$HOST:$PORT0/health\" },\r\n    \"gracePeriodSeconds\": 300,\r\n    \"intervalSeconds\": 60,\r\n    \"timeoutSeconds\": 20,\r\n    \"maxConsecutiveFailures\": 3\r\n  }\r\n]\r\n```"}}