typesafehub / sbt-conductr

Typesafe ConductR plugin for sbt
Other
29 stars 22 forks source link

Acl support for Play project #148

Closed markusjura closed 6 years ago

markusjura commented 8 years ago

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.

Currently 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.