Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[D&D] Rebase with Node 14 #1236

Merged
Merged
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4133cac
[Git] update PR template (#937)
kavilla Nov 17, 2021
3d69c4f
Add release notes for Dashboards 1.2.0 (#944)
seanneumann Nov 17, 2021
9047044
Add versioned document support in OSD
zuochengding Nov 2, 2021
86c202a
[Branding] prevent logging when config not set (#941)
kavilla Nov 23, 2021
b8c5453
[Version] Increment to 2.0 (#973)
kavilla Nov 23, 2021
8c11eff
Add Lychee Link Checker into OSD (#938)
zuochengding Dec 8, 2021
3ddaecb
Fix Lychee Link Checker Error (#1011)
zuochengding Dec 9, 2021
2d44dab
[CI] Add tests to github workflow
kavilla Nov 3, 2021
74eb00e
Add bwc tests for osd with bundle (#871)
ananzh Dec 15, 2021
879cd33
Add more bwc tests for osd without bundles (#900)
ananzh Dec 15, 2021
382ebe0
Add bwc test data for osd without bundle (#927)
ananzh Dec 15, 2021
160a7fd
Add bwc test data for osd with bundle (#940)
ananzh Dec 15, 2021
f665da3
Add more bwc tests for osd with bundles (#901)
ananzh Dec 15, 2021
b8f276f
[Backwards Compatibility] restore URL forwarding from legacy app
kavilla Dec 12, 2021
034ce71
[Link] Fix yarnpkg link error
zuochengding Dec 21, 2021
6eb6ba0
Use the OpenSearch Dashboards logo in the READMEs
Dec 21, 2021
4fd0649
Add .whitesource file to activate integration scan (#999)
zelinh Jan 4, 2022
ac9c837
[Build] remove legacy version check for plugin builds (#1029)
kavilla Jan 4, 2022
d48d001
[Node 14] Upgrades Node version from 10.24.1 to 14.18.2 (#1028)
boktorbb Jan 5, 2022
b9ae16e
Add a script to run one command for all bwc tests (#931)
ananzh Jan 5, 2022
aa6d7bd
[Map] Remove hardcoded AWS paths
zuochengding Dec 10, 2021
5c4cdb3
[Docs] remove invalid reference in CONVENTIONS.md (#1110)
kavilla Jan 7, 2022
3d9f542
Upgrades babel, storybook, and postcss (#1104)
Jan 7, 2022
8b518e7
Bumps microsoft api-documenter and api-extractor (#1106)
Jan 7, 2022
86d13f8
Fixes incorrect license headers (#1131)
Jan 12, 2022
144eccd
Fixes linting errors (#1115)
Jan 12, 2022
a8d499d
[Backwards Compatibility] update instructions in TESTING.md (#1030)
ananzh Jan 13, 2022
1106bc1
[CI] upgrade to chromedriver 97 for github actions
kavilla Jan 13, 2022
ddb2cc4
Disable WhiteSource check fails on commits/PRs (#1149)
Jan 14, 2022
a765199
Bump parse-link-header from 1.0.1 to 2.0.0 (#1108)
dependabot[bot] Jan 14, 2022
167b993
Upgrades `hapi` from v17 to v20 (#1146)
Jan 15, 2022
8777eb3
[BUG] fix disableWelcomeScreen config (#1143)
kavilla Jan 20, 2022
fc96cc3
[Tests] configurable skip checksum verification (#1207)
kavilla Feb 3, 2022
0c3f901
Bump nanoid from 3.1.30 to 3.2.0 (#1173)
dependabot[bot] Feb 4, 2022
06d06a9
Don't terminate the server on NodeDeprecationWarning (#1185)
ginkel Feb 4, 2022
a7da974
Removes KUI Generator and related dependencies (#1105)
Feb 4, 2022
895a564
Bump markdown-it from 10.0.0 to 12.3.2 (#1140)
dependabot[bot] Feb 4, 2022
5d41936
Fix createStateContainerReactHelpers documentation (#1213)
ginkel Feb 7, 2022
bf6bde3
Bumps `node-fetch` from v2.6.1 to v2.6.7 (#1169)
Feb 7, 2022
c66b034
Removes deprecated `request` and `@percy/agent` (#1113)
Feb 8, 2022
fbf646d
[Bug] fix incorrect import for opensearch aggs (#1192)
kavilla Feb 8, 2022
588cb4d
Re-enable WhiteSource check fails on commits/PRs (#1226)
Feb 8, 2022
6db875f
Removes storybook package and related code (#1172)
Feb 9, 2022
b8a2270
Run build and test workflow on all branches (#1222)
Feb 10, 2022
4c8a7ae
Initial Drag and Drop plugin code (#946)
ashwin-pc Nov 23, 2021
293cd8b
Adds state management to Drag and Drop
ashwin-pc Dec 3, 2021
550e15d
Moves Drag and Drop to create visualization menu
ashwin-pc Dec 11, 2021
4c6e6ff
Field Search in Data panel (#995)
abbashus Jan 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Lychee Link Checker into OSD (#938)
1. Fix broken links in OSD
2. Generate lycheeexcude list to filter out false negative warnings from test files or external links
3. Add TODO items for internal unavaiable links
4. Integrate with doc link service change.
5. Standardize all opensearch url with `https://opensearch.org/` and add unavilable urls into noDocument list

Signed-off-by: Zuocheng Ding <[email protected]>
zuochengding authored Dec 8, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 8c11eff94240169a87288710d0c3acaea6fd24fc
31 changes: 31 additions & 0 deletions .github/workflows/links_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0

name: Link Checker

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
linkchecker:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Load Excludes
run: |
LYCHEE_EXCLUDE=$(sed -e :a -e 'N;s/\n/ --exclude /;ta' .lycheeexclude)
echo "LYCHEE_EXCLUDE=$LYCHEE_EXCLUDE" >> $GITHUB_ENV
- name: Lychee Link Checker
id: lychee
uses: lycheeverse/lychee-action@master
with:
args: --accept=200,403,429 --exclude ${{ env.LYCHEE_EXCLUDE }} --exclude-mail "**/*.html" "**/*.md" "**/*.txt" "**/*.json" "**/*.js" "**/*.ts" "**/*.tsx"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Fail if there were link errors
run: exit ${{ steps.lychee.outputs.exit_code }}
114 changes: 114 additions & 0 deletions .lycheeexclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0

# Local or predefined end points
http://localhost
https://localhost
http://127.0.0.1/
https://127.0.0.1/
http://127.0.0.1:10002/bar
http://127.0.0.1:10002/
http://opensearch
https://opensearch
https://opensearch-dashboards
http://opensearch-dashboards
https://opensearch.internal.org/
https://maps.search-services.aws.a2z.com/
https://tiles.maps.search-services.aws.a2z.com/
https://telemetry.opensearch.org/
https://telemetry-staging.opensearch.org/
https://api.github.com/repos/opensearch-project/OpenSearch-Dashboards/
file:///*
git://*

# Dummy urls in tests
http://domain.
http://www.domain.
http://somehost
https://somehost
http://some.host
https://some-host.com/
https://other.some-host.com/
http://test:user@somehost/
https://some.another.host/
http://noone.nowhere.none/
http://bar
http://foo
http://test.com/
https://files.foobar/
https://tiles.foobar/
https://1.1.1.1:9200/
http://192.168.1.1:1234/
http://9.8.7.6/
http://1.2.3.4/
http://8.8.8.8/
https://path.to/
https://example.com/
http://example.com/
https://example.org/
http://some-url/
http://buildurl/
https://dryrun/
https://url/
http://url/
http://notfound.svg/
https://validurl/
https://myopensearch-dashboardsdomain.com
http://myopensearch-dashboardsdomain.com
https://other-opensearch-dashboards.external:8080/
http://myotherdomain.com:5601/
http://myopensearch-dashboardsdomain.com:5601/
https://your-cdn-host.com/
http://not-your-opensearch-dashboards.com/
http://www.mysite.com/
http://myserver.mydomain.com:5601/
https://myexternaldep.com/
http://notlocalhost/
http://site.com/
http://node-b/
http://node-a:9200/
https://node-c/
https://elsewhere
https://opensearch:[email protected]:9200
http://test:user@somehost/
https://mycloudinstance:9200/
https://dev-url.co/
https://extenal.org/_search
http://plugins.example.com/
https://build-url/
http://test.com/
https://path.to/
http://site.com/
http://not-your-opensearch-dashboards.com/
http://evil.com/
https://opensearch.org/cool/path
https://opensearch.org/redirect
http://www.opensearch.org/painlessDocs
https://opensearch.org/subscriptions
https://www.hostedgraphite.com/

# External urls
https://www.zeek.org/
http://google.com/
https://api.worldbank.org/
https://vega.github.io/
http://twitter.com/
https://twitter.com/
https://storage.googleapis.com/
http://tools.ietf.org/
https://github.com/
http://github.com/
http://jsperf
https://jsperf
https://gist.githubusercontent.com/
https://nodejs.org/
https://www.npmjs.com/
https://microsoft.github.io/
http://api.worldbank.org/
https://f1542b814f674090afd914960583265f.apm.us-central1.gcp.cloud.es.io/
http://www.matthewcopeland.me/
http://threedubmedia.googlecode.com/*
https://developer.mozilla.org/
https://a.tile.openstreetmap.org/
http://www.creedthoughts.gov
https://media-for-the-masses.theacademyofperformingartsandscience.org/
6 changes: 6 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
@@ -50,6 +50,12 @@ Say that you would want to debug a test in CI group 1, you can run the following

This will print of an address, to which you could open your chrome browser on your instance and navigate to `chrome://inspect/#devices` and inspect the functional test runner `scripts/functional_tests.js`.

### Additional checks
Make sure you run lint checker before submitting a pull request. To run lint checker:
`node scripts/precommit_hook.js --fix`

Please ensure that you don't introduce any broken links accidently. For any intentional broken link (e.g. dummy url in unit test), you can add it to [lycheeexclude](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/.lycheeexclude) allow list specifically.

# Continuous Integration
Automated testing is provided with Jenkins for Continuous Integration. Jenkins enables developers to build, deploy, and automate projects and provides us to run groups of tests quickly. CI groups are ran from the [Jenkinsfile](https://github.com/opensearch-project/OpenSearch-Dashboards/blob/main/Jenkinsfile).

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
"number": 8467,
"sha": "6cb7fec4e154faa0a4a3fee4b33dfef91b9870d9"
},
"homepage": "https://www.opensearch.org",
"homepage": "https://opensearch.org",
"bugs": {
"url": "http://github.com/opensearch-project/OpenSearch-Dashboards/issues"
},
Original file line number Diff line number Diff line change
@@ -35,14 +35,14 @@ const { TextHighlightRules } = ace.acequire('ace/mode/text_highlight_rules');
const oop = ace.acequire('ace/lib/oop');

export const OpenSearchSqlHighlightRules = function (this: any) {
// See https://www.opensearch.org/guide/en/elasticsearch/reference/current/sql-commands.html
// See https://opensearch.org/docs/latest/search-plugins/sql/index/
const keywords =
'describe|between|in|like|not|and|or|desc|select|from|where|having|group|by|order' +
'asc|desc|pivot|for|in|as|show|columns|include|frozen|tables|escape|limit|rlike|all|distinct|is';

const builtinConstants = 'true|false';

// See https://www.opensearch.org/guide/en/elasticsearch/reference/current/sql-syntax-show-functions.html
// See https://opensearch.org/docs/latest/search-plugins/sql/functions/
const builtinFunctions =
'avg|count|first|first_value|last|last_value|max|min|sum|kurtosis|mad|percentile|percentile_rank|skewness' +
'|stddev_pop|sum_of_squares|var_pop|histogram|case|coalesce|greatest|ifnull|iif|isnull|least|nullif|nvl' +
@@ -56,7 +56,7 @@ export const OpenSearchSqlHighlightRules = function (this: any) {
'|ltrim|octet_length|position|repeat|replace|right|rtrim|space|substring|ucase|cast|convert|database|user|st_astext|st_aswkt' +
'|st_distance|st_geometrytype|st_geomfromtext|st_wkttosql|st_x|st_y|st_z|score';

// See https://www.opensearch.org/guide/en/elasticsearch/reference/current/sql-data-types.html
// See https://opensearch.org/docs/latest/search-plugins/sql/datatypes/
const dataTypes =
'null|boolean|byte|short|integer|long|double|float|half_float|scaled_float|keyword|text|binary|date|ip|object|nested|time' +
'|interval_year|interval_month|interval_day|interval_hour|interval_minute|interval_second|interval_year_to_month' +
2 changes: 1 addition & 1 deletion packages/osd-babel-preset/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @osd/babel-preset

This package contains the shared bits of babel config that we use for transpiling our source code to code compatible with Node.JS and the various [browsers we support](https://www.opensearch.org/support/matrix#matrix_browsers).
This package contains the shared bits of babel config that we use for transpiling our source code to code compatible with Node.JS and the various [browsers we support](https://opensearch.org/docs/latest/dashboards/browser-compatibility/).

## usage

2 changes: 1 addition & 1 deletion packages/osd-dev-utils/certs/README.md
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ The password used for both of these is "storepass". Other copies are also provid

## Certificate generation

[OpenSearch cert-util](https://www.opensearch.org/guide/en/elasticsearch/reference/current/certutil.html) and [OpenSSL](https://www.openssl.org/) were used to generate these certificates. The following commands were used from the root directory of OpenSearch:
[OpenSearch Self-signed Certificates](https://opensearch.org/docs/latest/security-plugin/configuration/generate-certificates/) and [OpenSSL](https://www.openssl.org/) were used to generate these certificates. The following commands were used from the root directory of OpenSearch:

```
# Generate the PKCS #12 keystore for a CA, valid for 50 years
2 changes: 1 addition & 1 deletion packages/osd-logging/README.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ is still in `core` for now.
- [Log level](#log-level)
- [Layouts](#layouts)

The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [Elasticsearch](https://www.opensearch.org/guide/en/elasticsearch/reference/current/settings.html#logging).
The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [OpenSearch](https://opensearch.org/docs/latest/opensearch/logs/).
The main idea is to have consistent logging behaviour (configuration, log format etc.) across the entire Elastic Stack
where possible.

Original file line number Diff line number Diff line change
@@ -40,6 +40,6 @@
"_cluster/health",
"_cluster/health/{indices}"
],
"documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-health.html"
"documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-health/"
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cluster.health":{
"documentation":{
"url":"https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-health.html",
"url":"https://opensearch.org/docs/latest/opensearch/rest-api/cluster-health/",
"description":"Returns basic information about the health of the cluster."
},
"stability":"stable",
Original file line number Diff line number Diff line change
@@ -29,22 +29,22 @@ You can fix this problem by:
https://on.cypress.io/element-is-animating

Because this error occurred during a `after each` hook we are skipping the remaining tests in the current suite: `timeline flyout button`
at cypressErr (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:146621:16)
at cypressErrByPath (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:146630:10)
at Object.throwErrByPath (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:146593:11)
at Object.ensureElementIsNotAnimating (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:137560:24)
at ensureNotAnimating (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:127434:13)
at runAllChecks (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:127522:9)
at retryActionability (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:127542:16)
at tryCatcher (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:9065:23)
at Function.Promise.attempt.Promise.try (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:6339:29)
at tryFn (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:140680:21)
at whenStable (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:140715:12)
at http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:140259:16
at tryCatcher (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:9065:23)
at Promise._settlePromiseFromHandler (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:7000:31)
at Promise._settlePromise (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:7057:18)
at Promise._settlePromise0 (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:7102:10)]]></failure>
at cypressErr (https://example.com/__cypress/runner/cypress_runner.js:146621:16)
at cypressErrByPath (https://example.com/__cypress/runner/cypress_runner.js:146630:10)
at Object.throwErrByPath (https://example.com/__cypress/runner/cypress_runner.js:146593:11)
at Object.ensureElementIsNotAnimating (https://example.com/__cypress/runner/cypress_runner.js:137560:24)
at ensureNotAnimating (https://example.com/__cypress/runner/cypress_runner.js:127434:13)
at runAllChecks (https://example.com/__cypress/runner/cypress_runner.js:127522:9)
at retryActionability (https://example.com/__cypress/runner/cypress_runner.js:127542:16)
at tryCatcher (https://example.com/__cypress/runner/cypress_runner.js:9065:23)
at Function.Promise.attempt.Promise.try (https://example.com/__cypress/runner/cypress_runner.js:6339:29)
at tryFn (https://example.com/__cypress/runner/cypress_runner.js:140680:21)
at whenStable (https://example.com/__cypress/runner/cypress_runner.js:140715:12)
at https://example.com/__cypress/runner/cypress_runner.js:140259:16
at tryCatcher (https://example.com/__cypress/runner/cypress_runner.js:9065:23)
at Promise._settlePromiseFromHandler (https://example.com/__cypress/runner/cypress_runner.js:7000:31)
at Promise._settlePromise (https://example.com/__cypress/runner/cypress_runner.js:7057:18)
at Promise._settlePromise0 (https://example.com/__cypress/runner/cypress_runner.js:7102:10)]]></failure>
</testcase>
</testsuite>
</testsuites>
Original file line number Diff line number Diff line change
@@ -335,8 +335,8 @@ it('rewrites cypress reports with minimal changes', async () => {
You can fix this problem by:
- Passing \`{force: true}\` which disables all error checking
@@ -46,5 +37,5 @@
at Promise._settlePromise (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:7057:18)
at Promise._settlePromise0 (http://elastic:changeme@localhost:61141/__cypress/runner/cypress_runner.js:7102:10)]]›‹/failure›
at Promise._settlePromise (https://example.com/__cypress/runner/cypress_runner.js:7057:18)
at Promise._settlePromise0 (https://example.com/__cypress/runner/cypress_runner.js:7102:10)]]›‹/failure›
‹/testcase›
‹/testsuite›
-‹/testsuites›
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ export const opensearchTestConfig = new (class OpenSearchTestConfig {
}

getUrlParts() {
// Allow setting one complete TEST_OPENSEARCH_URL for opensearch like https://elastic:changeme@myCloudInstance:9200
// Allow setting one complete TEST_OPENSEARCH_URL for opensearch like https://opensearch:changeme@example.com:9200
if (process.env.TEST_OPENSEARCH_URL) {
const testOpenSearchUrl = url.parse(process.env.TEST_OPENSEARCH_URL);
return {
6 changes: 5 additions & 1 deletion src/core/public/chrome/chrome_service.tsx
Original file line number Diff line number Diff line change
@@ -215,7 +215,11 @@ export class ChromeService {
defaultMessage="Support for Internet Explorer will be dropped in future versions of this software, please check {link}."
values={{
link: (
<EuiLink target="_blank" href="https://www.opensearch.org/support/matrix" external>
<EuiLink
target="_blank"
href={docLinks.links.opensearchDashboards.browser}
external
>
<FormattedMessage
id="core.chrome.browserDeprecationLink"
defaultMessage="the support matrix on our website"
6 changes: 0 additions & 6 deletions src/core/public/chrome/constants.ts
Original file line number Diff line number Diff line change
@@ -30,12 +30,6 @@
* GitHub history for details.
*/

// export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK =
// 'https://www.opensearch.org/products/kibana/feedback?blade=kibanafeedback';
// export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK =
// 'https://www.opensearch.org/products/kibana/ask-elastic?blade=kibanaaskelastic';
// export const GITHUB_CREATE_ISSUE_LINK = 'https://github.com/opensearch-project/OpenSearch-Dashboards/issues/new/choose';

export const OPENSEARCH_DASHBOARDS_FEEDBACK_LINK = 'https://github.com/opensearch-project';
export const OPENSEARCH_DASHBOARDS_ASK_OPENSEARCH_LINK = 'https://github.com/opensearch-project';
export const GITHUB_CREATE_ISSUE_LINK =
2 changes: 1 addition & 1 deletion src/core/public/chrome/ui/header/header_help_menu.tsx
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ export type ChromeHelpExtensionMenuDiscussLink = EuiButtonEmptyProps & {
linkType: 'discuss';
/**
* URL to discuss page.
* i.e. `https://discuss.opensearch.org/c/${appName}`
* i.e. https://discuss.opendistrocommunity.dev/
*/
href: string;
};
6 changes: 3 additions & 3 deletions src/core/public/doc_links/doc_links_service.test.ts
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ describe('DocLinksService#start()', () => {
const api = service.start({ injectedMetadata });
expect(api.DOC_LINK_VERSION).toEqual('test-branch');
expect(api.links.opensearchDashboards.introduction).toEqual(
'https://www.opensearch.org/docs/test-branch/dashboards/index/'
'https://opensearch.org/docs/test-branch/dashboards/index/'
);
});

@@ -52,7 +52,7 @@ describe('DocLinksService#start()', () => {
const api = service.start({ injectedMetadata });
expect(api.DOC_LINK_VERSION).toEqual('latest');
expect(api.links.opensearchDashboards.introduction).toEqual(
'https://www.opensearch.org/docs/latest/dashboards/index/'
'https://opensearch.org/docs/latest/dashboards/index/'
);
});

@@ -63,7 +63,7 @@ describe('DocLinksService#start()', () => {
const api = service.start({ injectedMetadata });
expect(api.DOC_LINK_VERSION).toEqual('1.1');
expect(api.links.opensearchDashboards.introduction).toEqual(
'https://www.opensearch.org/docs/1.1/dashboards/index/'
'https://opensearch.org/docs/1.1/dashboards/index/'
);
});
});
Loading