string
| Override the application's routing path from /app/${id}
. Must be unique across registered applications. Should not include the base path from HTTP. |
| [chromeless](./kibana-plugin-public.app.chromeless.md) | boolean
| Hide the UI chrome when the application is mounted. Defaults to false
. Takes precedence over chrome service visibility settings. |
| [mount](./kibana-plugin-public.app.mount.md) | AppMount | AppMountDeprecated
| A mount function called when the user navigates to this app's route. May have signature of [AppMount](./kibana-plugin-public.appmount.md) or [AppMountDeprecated](./kibana-plugin-public.appmountdeprecated.md). |
diff --git a/docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md b/docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md
index a1544373ee69..7cd709d61572 100644
--- a/docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md
+++ b/docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md
@@ -4,7 +4,7 @@
## AppMountParameters.appBasePath property
-The base path for configuring the application's router.
+The route path for configuring navigation to the application. This string should not include the base path from HTTP.
Signature:
@@ -22,6 +22,7 @@ export class MyPlugin implements Plugin {
setup({ application }) {
application.register({
id: 'my-app',
+ appRoute: '/my-app',
async mount(params) {
const { renderApp } = await import('./application');
return renderApp(params);
diff --git a/docs/development/core/public/kibana-plugin-public.appmountparameters.md b/docs/development/core/public/kibana-plugin-public.appmountparameters.md
index 8733f9cd4915..aa5ca93ed8ff 100644
--- a/docs/development/core/public/kibana-plugin-public.appmountparameters.md
+++ b/docs/development/core/public/kibana-plugin-public.appmountparameters.md
@@ -15,6 +15,6 @@ export interface AppMountParameters
| Property | Type | Description |
| --- | --- | --- |
-| [appBasePath](./kibana-plugin-public.appmountparameters.appbasepath.md) | string
| The base path for configuring the application's router. |
+| [appBasePath](./kibana-plugin-public.appmountparameters.appbasepath.md) | string
| The route path for configuring navigation to the application. This string should not include the base path from HTTP. |
| [element](./kibana-plugin-public.appmountparameters.element.md) | HTMLElement
| The container element to render the application into. |
diff --git a/src/core/public/application/application_service.mock.ts b/src/core/public/application/application_service.mock.ts
index a2db75522463..b2e2161c92cc 100644
--- a/src/core/public/application/application_service.mock.ts
+++ b/src/core/public/application/application_service.mock.ts
@@ -20,15 +20,13 @@
import { Subject } from 'rxjs';
import { capabilitiesServiceMock } from './capabilities/capabilities_service.mock';
-import { ApplicationService } from './application_service';
import {
ApplicationSetup,
InternalApplicationStart,
ApplicationStart,
InternalApplicationSetup,
} from './types';
-
-type ApplicationServiceContract = PublicMethodsOf