Closed rymsha closed 1 month ago
Following tasks
The path variables <app>
and <admintool>
must always are present.
For example:
/admin/tool/_/service/com.enonic.xp.app.main/config
must be replaced by /admin/tool/com.enonic.xp.app.main/home/_/com.enonic.xp.app.main/config
All changes related to this task are done in #10632
API is available on
/admin/tool/<app>/<admintool>/_/
This functionality is similar to widgets and some internal services + launcher
/admin/tool/_/service/com.enonic.xp.app.main/config
← dashboard wants to access some dynamic parameters. Instead should be an API:/admin/tool/com.enonic.xp.app.main/main/_/com.enonic.xp.app.main/config
/admin/tool/_/service/com.enonic.xp.app.main/i18n
← dashboard wants to access dynamic text translations. Instead should be an API:/admin/tool/com.enonic.xp.app.main/main/_/com.enonic.xp.app.main/i18n
/admin/tool/com.enonic.xp.app.main/launcher
← “right menu“ which can be used by any admin tool (not all necessarily do). Instead should be an API:/admin/tool/com.enonic.xp.app.main/_/com.enonic.xp.app.main/launcher
Admin tool descriptor extends with apis section.
Example
/admin/tools/main/main.xml
:Mounts APIs on
/admin/tool/com.enonic.app.contentstudio/main/_/com.enonic.xp.app.main/launcher
/admin/tool/com.enonic.app.contentstudio/main/_/com.enonic.xp.app-system/status
Not the special case with admin tool
/admin/tool/com.enonic.xp.app.main/home
as it has a different tool location right on/admin/tool
. Thus, APIs for home admin tool should be available on/admin/tool/_/com.enonic.xp.app.main/launcher
/admin/tool/_/com.enonic.xp.app-system/status