X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Funit%2Fbinder.inc;h=81758fcccb11ba6c861fee662a51e1ac0b9c1939;hb=653562e1449c935f087d2d8265081eeac1cd73b4;hp=58f877f898fd5bdf91d10769e407d18f52f6b695;hpb=7553044c59814c33763bb4b1c34664dceed68735;p=src%2Fapp-framework-main.git diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc index 58f877f..81758fc 100644 --- a/conf/unit/binder.inc +++ b/conf/unit/binder.inc @@ -18,14 +18,14 @@ IF_AGL_DEVEL \ --verbose \ --monitoring \ --port={{:#metatarget.http-port}} \ - --token=HELLO \ + --interface=tcp:LOCALUSERAPP:8080 \ --roothttp=ON_CONTENT(application/vnd.agl.service, ., ON_PERM(:public:no-htdocs, ., htdocs)) \ ELSE \ IF_CONTENT(application/vnd.agl.service) \ --no-httpd \ ELSE \ --port={{:#metatarget.http-port}} \ - --random-token \ + --interface=tcp:LOCALUSERAPP:8080 \ --roothttp=ON_PERM(:public:no-htdocs, ., htdocs) \ ENDIF \ ENDIF \ @@ -46,6 +46,7 @@ ENDIF \ ON_VALUE(dbus, --dbus-server={{name}}) \ ON_VALUE(tcp, --ws-server=tcp:{{name}}) \ {{/provided-api}} \ - ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t) \ + 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(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t) %nl