ConductR will default ACLs for play Apps to path-beg = "/". When deploying a Lagom system that exposes some internal APIs through the service gateway that ACL will clash with the ACLs provided by the services.
To support that scenario, Lagom requires every runtime to define ACLs (both lagom services and play apps sitting behind a service gateway) by means of Lagom's ServiceInfo (see Service Metadata).
See an example of that behavior in snippets 1 vs 2 belonging to the sbt-test/play-and-lagom-service-scala test. This test, as currently written is passing because the spec is not fulfilled (or the spec is wrong since attempting to use that sample app would not be possible because FooService is unreachable).
ConductR will default ACLs for play Apps to
path-beg = "/"
. When deploying a Lagom system that exposes some internal APIs through the service gateway that ACL will clash with the ACLs provided by the services.To support that scenario, Lagom requires every runtime to define ACLs (both lagom services and play apps sitting behind a service gateway) by means of Lagom's
ServiceInfo
(see Service Metadata).See an example of that behavior in snippets 1 vs 2 belonging to the
sbt-test/play-and-lagom-service-scala
test. This test, as currently written is passing because the spec is not fulfilled (or the spec is wrong since attempting to use that sample app would not be possible becauseFooService
is unreachable).