mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Use documentation link service for remote clusters (#93937)
This commit is contained in:
parent
70fd3bbf8b
commit
cd56c1341a
3 changed files with 12 additions and 14 deletions
|
@ -13,13 +13,10 @@ export let transportPortUrl: string;
|
|||
export let proxyModeUrl: string;
|
||||
export let proxySettingsUrl: string;
|
||||
|
||||
export function init(docLinks: DocLinksStart): void {
|
||||
const { DOC_LINK_VERSION, ELASTIC_WEBSITE_URL } = docLinks;
|
||||
const esDocBasePath = `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}`;
|
||||
|
||||
skippingDisconnectedClustersUrl = `${esDocBasePath}/modules-cross-cluster-search.html#_skipping_disconnected_clusters`;
|
||||
remoteClustersUrl = `${esDocBasePath}/modules-remote-clusters.html`;
|
||||
transportPortUrl = `${esDocBasePath}/modules-transport.html`;
|
||||
proxyModeUrl = `${esDocBasePath}/modules-remote-clusters.html#proxy-mode`;
|
||||
proxySettingsUrl = `${esDocBasePath}/modules-remote-clusters.html#remote-cluster-proxy-settings`;
|
||||
export function init({ links }: DocLinksStart): void {
|
||||
skippingDisconnectedClustersUrl = `${links.ccs.skippingDisconnectedClusters}`;
|
||||
remoteClustersUrl = `${links.elasticsearch.remoteClusters}`;
|
||||
transportPortUrl = `${links.elasticsearch.transportSettings}`;
|
||||
proxyModeUrl = `${links.elasticsearch.remoteClustersProxy}`;
|
||||
proxySettingsUrl = `${links.elasticsearch.remoteClusersProxySettings}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue