{"action":"opened","issue":{"url":"https://api.github.com/repos/typesafehub/sbt-conductr/issues/148","repository_url":"https://api.github.com/repos/typesafehub/sbt-conductr","labels_url":"https://api.github.com/repos/typesafehub/sbt-conductr/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/typesafehub/sbt-conductr/issues/148/comments","events_url":"https://api.github.com/repos/typesafehub/sbt-conductr/issues/148/events","html_url":"https://github.com/typesafehub/sbt-conductr/issues/148","id":147248927,"number":148,"title":"Acl support for Play project","user":{"login":"markusjura","id":1832216,"avatar_url":"https://avatars.githubusercontent.com/u/1832216?v=3","gravatar_id":"","url":"https://api.github.com/users/markusjura","html_url":"https://github.com/markusjura","followers_url":"https://api.github.com/users/markusjura/followers","following_url":"https://api.github.com/users/markusjura/following{/other_user}","gists_url":"https://api.github.com/users/markusjura/gists{/gist_id}","starred_url":"https://api.github.com/users/markusjura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusjura/subscriptions","organizations_url":"https://api.github.com/users/markusjura/orgs","repos_url":"https://api.github.com/users/markusjura/repos","events_url":"https://api.github.com/users/markusjura/events{/privacy}","received_events_url":"https://api.github.com/users/markusjura/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-10T18:19:52Z","updated_at":"2016-04-10T18:19:52Z","closed_at":null,"body":"For a Lagom service we set the `BundleKeys.endpoints` by collecting the endpoints from the service descriptors. If `enableAcls` is \"true\" then the acl format in `BundleKeys.endpoints` is used. Otherwise the service format is used.\r\n\r\nCurrently for a Play project (in `LagomBundlePlugin` and `PlayBundlePlugin`) we set the `BundleKeys.endpoints` to `Map(name.value -> Endpoint(\"http\", 0, Set(URI(\"http://:9000\"))))`. Instead we should set the endpoints by collection the declared Play endpoints in the `routes` file and then store them in the acl or service format depending on the `enableAcls` flag."}}