From: José Bollo Date: Tue, 10 Dec 2019 22:13:52 +0000 (+0100) Subject: Use of cynagoauth X-Git-Tag: 8.99.4~1 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=e847f14c7688f43b5f74e7362dcd5d4714e98bd3;hp=1b3afac6a3f2f7f64c155d424c132522f4987ac8;p=src%2Fapp-framework-main.git Use of cynagoauth The flow of HTML5 applications is adjusted to use the basic implementation of cynagoauth. Bug-AGL: SPEC-2968 Bug-AGL: SPEC-3032 Change-Id: Iabf7ebb39fe9ed87bf1fd5b6742fb512a6df19a7 Signed-off-by: José Bollo --- diff --git a/conf/system/afm-system-daemon.service.in b/conf/system/afm-system-daemon.service.in index fa83f11..dc980cc 100644 --- a/conf/system/afm-system-daemon.service.in +++ b/conf/system/afm-system-daemon.service.in @@ -1,6 +1,6 @@ [Unit] Description=Application Framework Master, system side -Requires=afm-system-setup.service +Requires=afm-system-setup.service cynagoauth.service [Service] #User=afm diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc index 81758fc..a7188e0 100644 --- a/conf/unit/binder.inc +++ b/conf/unit/binder.inc @@ -47,6 +47,6 @@ ENDIF \ ON_VALUE(tcp, --ws-server=tcp:{{name}}) \ {{/provided-api}} \ ON_PERM(:platform:apis:auto-ws, --auto-api=API_PATH_WS) \ - ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://LOCALUSERAPP:8080/{{content.src}}) \ + ON_CONTENT(text/html, --exec /usr/bin/cynagoauth-launch /usr/bin/web-runtime http://LOCALUSERAPP:8080/{{content.src}}) \ ON_CONTENT(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t) %nl