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.
For a Lagom service we set the
BundleKeys.endpoints
by collecting the endpoints from the service descriptors. IfenableAcls
is "true" then the acl format inBundleKeys.endpoints
is used. Otherwise the service format is used.Currently for a Play project (in
LagomBundlePlugin
andPlayBundlePlugin
) we set theBundleKeys.endpoints
toMap(name.value -> Endpoint("http", 0, Set(URI("http://:9000"))))
. Instead we should set the endpoints by collection the declared Play endpoints in theroutes
file and then store them in the acl or service format depending on theenableAcls
flag.