{"action":"created","issue":{"url":"https://api.github.com/repos/dcos/metronome/issues/100","repository_url":"https://api.github.com/repos/dcos/metronome","labels_url":"https://api.github.com/repos/dcos/metronome/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/dcos/metronome/issues/100/comments","events_url":"https://api.github.com/repos/dcos/metronome/issues/100/events","html_url":"https://github.com/dcos/metronome/issues/100","id":184453684,"number":100,"title":"Unable to create a schedule with concurrencyPolicy = FORBID on DC/OS 1.8.4","user":{"login":"lubomir-haralampiev","id":4265745,"avatar_url":"https://avatars.githubusercontent.com/u/4265745?v=3","gravatar_id":"","url":"https://api.github.com/users/lubomir-haralampiev","html_url":"https://github.com/lubomir-haralampiev","followers_url":"https://api.github.com/users/lubomir-haralampiev/followers","following_url":"https://api.github.com/users/lubomir-haralampiev/following{/other_user}","gists_url":"https://api.github.com/users/lubomir-haralampiev/gists{/gist_id}","starred_url":"https://api.github.com/users/lubomir-haralampiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lubomir-haralampiev/subscriptions","organizations_url":"https://api.github.com/users/lubomir-haralampiev/orgs","repos_url":"https://api.github.com/users/lubomir-haralampiev/repos","events_url":"https://api.github.com/users/lubomir-haralampiev/events{/privacy}","received_events_url":"https://api.github.com/users/lubomir-haralampiev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-21T10:34:13Z","updated_at":"2016-11-15T22:39:32Z","closed_at":null,"body":"I'm unable to create a schedule which doesn't start a new job before the old one has finished.\n\nI'm using the REST API of DC/OS 1.8.4 as follows:\n`POST /service/metronome/v1/jobs/<my-job>/schedules`\n\n```\n{\n    \"id\": \"default\",\n    \"enabled\": true,\n    \"cron\": \"*/5 * * * *\",\n    \"concurrencyPolicy\": \"FORBID\"\n}\n```\n\nBut I'm getting the following error:\n`{\"message\":\"No enum constant dcos.metronome.Protos.JobSpec.ScheduleSpec.ConcurrencyPolicy.FORBID\"}`\n\nWhat am I missing?\n"},"comment":{"url":"https://api.github.com/repos/dcos/metronome/issues/comments/260793337","html_url":"https://github.com/dcos/metronome/issues/100#issuecomment-260793337","issue_url":"https://api.github.com/repos/dcos/metronome/issues/100","id":260793337,"user":{"login":"janisz","id":1616386,"avatar_url":"https://avatars.githubusercontent.com/u/1616386?v=3","gravatar_id":"","url":"https://api.github.com/users/janisz","html_url":"https://github.com/janisz","followers_url":"https://api.github.com/users/janisz/followers","following_url":"https://api.github.com/users/janisz/following{/other_user}","gists_url":"https://api.github.com/users/janisz/gists{/gist_id}","starred_url":"https://api.github.com/users/janisz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janisz/subscriptions","organizations_url":"https://api.github.com/users/janisz/orgs","repos_url":"https://api.github.com/users/janisz/repos","events_url":"https://api.github.com/users/janisz/events{/privacy}","received_events_url":"https://api.github.com/users/janisz/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T22:39:32Z","updated_at":"2016-11-15T22:39:32Z","body":"What's more `FORBID` is [default concurrency policy](https://github.com/dcos/metronome/blob/4336d5b15cdd19be4088cd0d68268c5f9b96fc4d/jobs/src/main/scala/dcos/metronome/model/ScheduleSpec.scala#L28). Maybe this feature works only in Enterprise DCOS version."}}
{"actor":{"display_login":"janisz"}}