{"action":"created","comment":{"url":"https://api.github.com/repos/mesosphere/universe/pulls/comments/25797352","id":25797352,"diff_hunk":"@@ -0,0 +1,147 @@\n+{\n+  \"type\": \"object\",\n+  \"properties\": {\n+    \"marathon/libprocess-ip\": {\n+      \"description\": \"Interface to bind to for communication with the Mesos master.\",\n+      \"type\": \"string\"\n+    },\n+    \"mesos/master\": {\n+      \"description\": \"The URL of the Mesos master. The format is a comma-delimited list of of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard URLs like http://localhost are also acceptable.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/cpus\": {\n+      \"description\": \"CPU shares to allocate to each Marathon instance.\",\n+      \"type\": \"number\",\n+      \"minimum\": 0.0,\n+      \"default\": 1.0\n+    },\n+    \"marathon/mem\": {\n+      \"description\": \"Memory (MB) to allocate to each Marathon instance.\",\n+      \"type\": \"number\",\n+      \"minimum\": 0.0,\n+      \"default\": 512.0\n+    },\n+    \"marathon/instances\": {\n+      \"description\": \"Number of Marathon instances to run.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0,\n+      \"default\": 1\n+    },\n+    \"marathon/artifact_store\": {\n+      \"description\": \"URL to the artifact store. Examples: \\\"hdfs://localhost:54310/path/to/store\\\", \\\"file:///var/log/store\\\". For details, see the artifact store docs: https://mesosphere.github.io/marathon/docs/artifact-store.html.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/checkpoint\": {\n+      \"description\": \"Enable checkpointing of tasks. Requires checkpointing enabled on slaves. Allows tasks to continue running during mesos-slave restarts and Marathon scheduler failover.\",\n+      \"type\": \"boolean\",\n+      \"default\": true\n+    },\n+    \"marathon/executor\": {\n+      \"description\": \"Executor to use when none is specified.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/failover-timeout\": {\n+      \"description\": \"The failover_timeout for Mesos in seconds. If a new Marathon instance has not re-registered with Mesos this long after a failover, Mesos will shut down all running tasks started by Marathon. Requires checkpointing to be enabled.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0,\n+      \"default\": 604800\n+    },\n+    \"marathon/framework-name\": {\n+      \"description\": \"The framework name to register with Mesos.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/ha\": {\n+      \"description\": \"Runs Marathon in HA mode with leader election. Allows starting an arbitrary number of other Marathons but all need to be started in HA mode. This mode requires a running ZooKeeper.\",\n+      \"type\": \"boolean\",\n+      \"default\": true\n+    },\n+    \"marathon/local-port-max\": {\n+      \"description\": \"Maximum port number to use when assigning service ports to apps.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0,\n+      \"maximum\": 65535\n+    },\n+    \"marathon/local-port-min\": {\n+      \"description\": \"Minimum port number to use when assigning service ports to apps.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0,\n+      \"maximum\": 65535\n+    },\n+    \"marathon/mesos-role\": {\n+      \"description\": \"Mesos role for this framework.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/reconciliation-initial-delay\": {\n+      \"description\": \"The delay, in milliseconds, before Marathon begins to periodically perform task reconciliation operations.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0\n+    },\n+    \"marathon/reconciliation-interval\": {\n+      \"description\": \"The period, in milliseconds, between task reconciliation operations.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0\n+    },\n+    \"marathon/event-subscriber\": {\n+      \"description\": \"Event subscriber module to enable. Currently the only valid value is \\\"http_callback\\\".\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/http-endpoints\": {\n+      \"description\": \"Pre-configured http callback URLs. Valid only in conjunction with --event_subscriber http_callback. Additional callback URLs may also be set dynamically via the REST API.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/zk\": {\n+      \"description\": \"ZooKeeper URL for storing state. Format: zk://host1:port1,host2:port2,.../path\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/zk-max-versions\": {\n+      \"description\": \"Limit the number of versions stored for one entity.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0\n+    },\n+    \"marathon/zk-timeout\": {\n+      \"description\": \"Timeout for ZooKeeper in milliseconds.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0\n+    },\n+    \"marathon/mesos-authentication-principal\": {\n+      \"description\": \"The Mesos principal used for authentication.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/mesos-authentication-secret-file\": {\n+      \"description\": \"The path to the Mesos secret file containing the authentication secret.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/marathon-store-timeout\": {\n+      \"description\": \"Maximum time in milliseconds, to wait for persistent storage operations to complete.\",\n+      \"type\": \"integer\",\n+      \"minimum\": 0\n+    },\n+    \"marathon/http-credentials\": {\n+      \"description\": \"Credentials for accessing the HTTP service in the format of username:password. The username may not contain a colon (:).\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/http-port\": {\n+      \"description\": \"The port on which to listen for HTTP requests.\",\n+      \"type\": \"integer\",\n+      \"minumum\": 0,\n+      \"default\": 8080\n+    },\n+    \"marathon/https-port\": {\n+      \"description\": \"The port on which to listen for HTTPS requests.\",\n+      \"type\": \"integer\",\n+      \"minumum\": 0\n+    },\n+    \"marathon/ssl-keystore-password\": {\n+      \"description\": \"Password for the keystore supplied with the marathon/ssl-keystore-path option.\",\n+      \"type\": \"string\"\n+    },\n+    \"marathon/ssl-keystore-path\": {\n+      \"description\": \"Path to the SSL keystore. SSL will be enabled if this option is supplied.\",\n+      \"type\": \"string\"\n+    }\n+  },\n+  \"required\": [\n+    \"mesos/master\",\n+    \"marathon/zk\"","path":"repo/packages/M/marathon/0/config.json","position":145,"original_position":145,"commit_id":"68d78c4508fe6bb8a0313d65370689c377231bde","original_commit_id":"68d78c4508fe6bb8a0313d65370689c377231bde","user":{"login":"jsancio","id":794394,"avatar_url":"https://avatars.githubusercontent.com/u/794394?v=3","gravatar_id":"","url":"https://api.github.com/users/jsancio","html_url":"https://github.com/jsancio","followers_url":"https://api.github.com/users/jsancio/followers","following_url":"https://api.github.com/users/jsancio/following{/other_user}","gists_url":"https://api.github.com/users/jsancio/gists{/gist_id}","starred_url":"https://api.github.com/users/jsancio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsancio/subscriptions","organizations_url":"https://api.github.com/users/jsancio/orgs","repos_url":"https://api.github.com/users/jsancio/repos","events_url":"https://api.github.com/users/jsancio/events{/privacy}","received_events_url":"https://api.github.com/users/jsancio/received_events","type":"User","site_admin":false},"body":"I see you have {#...}...{/...} in the marathon app resource. Based on that, it looks like we require: `marathon/cpus`, `marathon/mem`, `marathon/instances`, `marathon/http-port`. It doesn't look like `meso/master` and `marathon/zk` are required.","created_at":"2015-03-04T18:08:49Z","updated_at":"2015-03-04T18:08:49Z","html_url":"https://github.com/mesosphere/universe/pull/26#discussion_r25797352","pull_request_url":"https://api.github.com/repos/mesosphere/universe/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/comments/25797352"},"html":{"href":"https://github.com/mesosphere/universe/pull/26#discussion_r25797352"},"pull_request":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/mesosphere/universe/pulls/26","id":30268730,"html_url":"https://github.com/mesosphere/universe/pull/26","diff_url":"https://github.com/mesosphere/universe/pull/26.diff","patch_url":"https://github.com/mesosphere/universe/pull/26.patch","issue_url":"https://api.github.com/repos/mesosphere/universe/issues/26","number":26,"state":"open","locked":false,"title":"Added package for Marathon.","user":{"login":"ConnorDoyle","id":379372,"avatar_url":"https://avatars.githubusercontent.com/u/379372?v=3","gravatar_id":"","url":"https://api.github.com/users/ConnorDoyle","html_url":"https://github.com/ConnorDoyle","followers_url":"https://api.github.com/users/ConnorDoyle/followers","following_url":"https://api.github.com/users/ConnorDoyle/following{/other_user}","gists_url":"https://api.github.com/users/ConnorDoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/ConnorDoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConnorDoyle/subscriptions","organizations_url":"https://api.github.com/users/ConnorDoyle/orgs","repos_url":"https://api.github.com/users/ConnorDoyle/repos","events_url":"https://api.github.com/users/ConnorDoyle/events{/privacy}","received_events_url":"https://api.github.com/users/ConnorDoyle/received_events","type":"User","site_admin":false},"body":"Also disables validation of Marathon templates as JSON, since Mustache template syntax is outside of the language.","created_at":"2015-03-02T09:31:04Z","updated_at":"2015-03-04T18:08:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b45d93928fc040b7f17f36c035dee8335eca16c8","assignee":{"login":"jsancio","id":794394,"avatar_url":"https://avatars.githubusercontent.com/u/794394?v=3","gravatar_id":"","url":"https://api.github.com/users/jsancio","html_url":"https://github.com/jsancio","followers_url":"https://api.github.com/users/jsancio/followers","following_url":"https://api.github.com/users/jsancio/following{/other_user}","gists_url":"https://api.github.com/users/jsancio/gists{/gist_id}","starred_url":"https://api.github.com/users/jsancio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsancio/subscriptions","organizations_url":"https://api.github.com/users/jsancio/orgs","repos_url":"https://api.github.com/users/jsancio/repos","events_url":"https://api.github.com/users/jsancio/events{/privacy}","received_events_url":"https://api.github.com/users/jsancio/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mesosphere/universe/pulls/26/commits","review_comments_url":"https://api.github.com/repos/mesosphere/universe/pulls/26/comments","review_comment_url":"https://api.github.com/repos/mesosphere/universe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mesosphere/universe/issues/26/comments","statuses_url":"https://api.github.com/repos/mesosphere/universe/statuses/68d78c4508fe6bb8a0313d65370689c377231bde","head":{"label":"mesosphere:marathon-framework","ref":"marathon-framework","sha":"68d78c4508fe6bb8a0313d65370689c377231bde","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":26291234,"name":"universe","full_name":"mesosphere/universe","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/universe","description":"The Mesos package repository.","fork":false,"url":"https://api.github.com/repos/mesosphere/universe","forks_url":"https://api.github.com/repos/mesosphere/universe/forks","keys_url":"https://api.github.com/repos/mesosphere/universe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/universe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/universe/teams","hooks_url":"https://api.github.com/repos/mesosphere/universe/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/universe/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/universe/events","assignees_url":"https://api.github.com/repos/mesosphere/universe/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/universe/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/universe/tags","blobs_url":"https://api.github.com/repos/mesosphere/universe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/universe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/universe/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/universe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/universe/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/universe/languages","stargazers_url":"https://api.github.com/repos/mesosphere/universe/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/universe/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/universe/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/universe/subscription","commits_url":"https://api.github.com/repos/mesosphere/universe/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/universe/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/universe/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/universe/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/universe/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/universe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/universe/merges","archive_url":"https://api.github.com/repos/mesosphere/universe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/universe/downloads","issues_url":"https://api.github.com/repos/mesosphere/universe/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/universe/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/universe/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/universe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/universe/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/universe/releases{/id}","created_at":"2014-11-06T21:37:31Z","updated_at":"2015-02-18T22:56:37Z","pushed_at":"2015-03-02T22:02:08Z","git_url":"git://github.com/mesosphere/universe.git","ssh_url":"git@github.com:mesosphere/universe.git","clone_url":"https://github.com/mesosphere/universe.git","svn_url":"https://github.com/mesosphere/universe","homepage":"http://mesosphere.github.io/universe","size":462,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":6,"default_branch":"master"}},"base":{"label":"mesosphere:master","ref":"master","sha":"a72799ef5e95d57f75ff70209c888a41c015370a","user":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"repo":{"id":26291234,"name":"universe","full_name":"mesosphere/universe","owner":{"login":"mesosphere","id":3458585,"avatar_url":"https://avatars.githubusercontent.com/u/3458585?v=3","gravatar_id":"","url":"https://api.github.com/users/mesosphere","html_url":"https://github.com/mesosphere","followers_url":"https://api.github.com/users/mesosphere/followers","following_url":"https://api.github.com/users/mesosphere/following{/other_user}","gists_url":"https://api.github.com/users/mesosphere/gists{/gist_id}","starred_url":"https://api.github.com/users/mesosphere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesosphere/subscriptions","organizations_url":"https://api.github.com/users/mesosphere/orgs","repos_url":"https://api.github.com/users/mesosphere/repos","events_url":"https://api.github.com/users/mesosphere/events{/privacy}","received_events_url":"https://api.github.com/users/mesosphere/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mesosphere/universe","description":"The Mesos package repository.","fork":false,"url":"https://api.github.com/repos/mesosphere/universe","forks_url":"https://api.github.com/repos/mesosphere/universe/forks","keys_url":"https://api.github.com/repos/mesosphere/universe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesosphere/universe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesosphere/universe/teams","hooks_url":"https://api.github.com/repos/mesosphere/universe/hooks","issue_events_url":"https://api.github.com/repos/mesosphere/universe/issues/events{/number}","events_url":"https://api.github.com/repos/mesosphere/universe/events","assignees_url":"https://api.github.com/repos/mesosphere/universe/assignees{/user}","branches_url":"https://api.github.com/repos/mesosphere/universe/branches{/branch}","tags_url":"https://api.github.com/repos/mesosphere/universe/tags","blobs_url":"https://api.github.com/repos/mesosphere/universe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesosphere/universe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesosphere/universe/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesosphere/universe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesosphere/universe/statuses/{sha}","languages_url":"https://api.github.com/repos/mesosphere/universe/languages","stargazers_url":"https://api.github.com/repos/mesosphere/universe/stargazers","contributors_url":"https://api.github.com/repos/mesosphere/universe/contributors","subscribers_url":"https://api.github.com/repos/mesosphere/universe/subscribers","subscription_url":"https://api.github.com/repos/mesosphere/universe/subscription","commits_url":"https://api.github.com/repos/mesosphere/universe/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesosphere/universe/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesosphere/universe/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesosphere/universe/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesosphere/universe/contents/{+path}","compare_url":"https://api.github.com/repos/mesosphere/universe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesosphere/universe/merges","archive_url":"https://api.github.com/repos/mesosphere/universe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesosphere/universe/downloads","issues_url":"https://api.github.com/repos/mesosphere/universe/issues{/number}","pulls_url":"https://api.github.com/repos/mesosphere/universe/pulls{/number}","milestones_url":"https://api.github.com/repos/mesosphere/universe/milestones{/number}","notifications_url":"https://api.github.com/repos/mesosphere/universe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesosphere/universe/labels{/name}","releases_url":"https://api.github.com/repos/mesosphere/universe/releases{/id}","created_at":"2014-11-06T21:37:31Z","updated_at":"2015-02-18T22:56:37Z","pushed_at":"2015-03-02T22:02:08Z","git_url":"git://github.com/mesosphere/universe.git","ssh_url":"git@github.com:mesosphere/universe.git","clone_url":"https://github.com/mesosphere/universe.git","svn_url":"https://github.com/mesosphere/universe","homepage":"http://mesosphere.github.io/universe","size":462,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":9,"forks":2,"open_issues":9,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/26"},"html":{"href":"https://github.com/mesosphere/universe/pull/26"},"issue":{"href":"https://api.github.com/repos/mesosphere/universe/issues/26"},"comments":{"href":"https://api.github.com/repos/mesosphere/universe/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mesosphere/universe/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/mesosphere/universe/statuses/68d78c4508fe6bb8a0313d65370689c377231bde"}}}}