@Override
public void handleStart(Operation startPost) {
super.handleStart(startPost);
startForwardingService(UriUtils.buildUriPath(SELF_LINK, "assets/i18n/base"),
UriUtils.buildUriPath(ManagementUriParts.UI_OG_SERVICE, "messages/admiral"));
startForwardingService(UriUtils.buildUriPath(SELF_LINK, LOGIN_PATH, "assets/i18n/base"),
UriUtils.buildUriPath(ManagementUriParts.UI_OG_SERVICE, "messages/admiral"));
startForwardingService(UriUtils.buildUriPath(SELF_LINK, LOGIN_PATH, "assets/i18n"),
UriUtils.buildUriPath(SELF_LINK, "assets/i18n"));
String loginServicePath = UriUtils.buildUriPath(SELF_LINK, LOGIN_PATH);
if (!loginServicePath.endsWith(UriUtils.URI_PATH_CHAR)) {
loginServicePath += UriUtils.URI_PATH_CHAR;
}
String uiServicePath = ManagementUriParts.UI_SERVICE;
if (!uiServicePath.endsWith(UriUtils.URI_PATH_CHAR)) {
uiServicePath += UriUtils.URI_PATH_CHAR;
}
startForwardingService(loginServicePath, uiServicePath);
startRedirectService(UriUtils.buildUriPath(SELF_LINK, "/index-embedded.html"),
UriUtils.buildUriPath(ManagementUriParts.UI_OG_SERVICE, "/index-embedded.html"));
}