diff --git a/.github/workflows/links_checker.yml b/.github/workflows/links_checker.yml new file mode 100644 index 000000000000..b3ddb22c6bc3 --- /dev/null +++ b/.github/workflows/links_checker.yml @@ -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 }} \ No newline at end of file diff --git a/.lycheeexclude b/.lycheeexclude new file mode 100644 index 000000000000..b7e678bdf5f3 --- /dev/null +++ b/.lycheeexclude @@ -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:changeme@example.com: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/ \ No newline at end of file diff --git a/TESTING.md b/TESTING.md index 2cf5e6d96c7f..c07ced980abf 100644 --- a/TESTING.md +++ b/TESTING.md @@ -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). diff --git a/package.json b/package.json index 11596c104152..b547c283c61f 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts b/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts index b662c1eaf7a8..64f288df877c 100644 --- a/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts +++ b/packages/osd-ace/src/ace/modes/lexer_rules/opensearch_sql_highlight_rules.ts @@ -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' + diff --git a/packages/osd-babel-preset/README.md b/packages/osd-babel-preset/README.md index 34b8685b9c99..bb09db6c57b1 100644 --- a/packages/osd-babel-preset/README.md +++ b/packages/osd-babel-preset/README.md @@ -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 diff --git a/packages/osd-dev-utils/certs/README.md b/packages/osd-dev-utils/certs/README.md index 09eb027982c9..e19f41716ac1 100644 --- a/packages/osd-dev-utils/certs/README.md +++ b/packages/osd-dev-utils/certs/README.md @@ -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 diff --git a/packages/osd-logging/README.md b/packages/osd-logging/README.md index b1f641039a36..022fbe392153 100644 --- a/packages/osd-logging/README.md +++ b/packages/osd-logging/README.md @@ -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. diff --git a/packages/osd-spec-to-console/test/fixtures/cluster_health_autocomplete.json b/packages/osd-spec-to-console/test/fixtures/cluster_health_autocomplete.json index 7ef1d1ee22f3..a7334198cc7f 100644 --- a/packages/osd-spec-to-console/test/fixtures/cluster_health_autocomplete.json +++ b/packages/osd-spec-to-console/test/fixtures/cluster_health_autocomplete.json @@ -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/" } } diff --git a/packages/osd-spec-to-console/test/fixtures/cluster_health_spec.json b/packages/osd-spec-to-console/test/fixtures/cluster_health_spec.json index be2b6442e824..31e504f2a668 100644 --- a/packages/osd-spec-to-console/test/fixtures/cluster_health_spec.json +++ b/packages/osd-spec-to-console/test/fixtures/cluster_health_spec.json @@ -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", diff --git a/packages/osd-test/src/failed_tests_reporter/__fixtures__/cypress_report.xml b/packages/osd-test/src/failed_tests_reporter/__fixtures__/cypress_report.xml index ed0e154552ca..682c1b026c63 100644 --- a/packages/osd-test/src/failed_tests_reporter/__fixtures__/cypress_report.xml +++ b/packages/osd-test/src/failed_tests_reporter/__fixtures__/cypress_report.xml @@ -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)]]> + 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)]]> diff --git a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts index 3c80a9b6fb06..bbaacc74f24a 100644 --- a/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts +++ b/packages/osd-test/src/failed_tests_reporter/add_messages_to_report.test.ts @@ -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› diff --git a/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js b/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js index 8b40c41c9fe7..2bf32cfbc461 100644 --- a/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js +++ b/packages/osd-test/src/legacy_opensearch/opensearch_test_config.js @@ -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 { diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index bcf648556532..1ed05bde073b 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -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: ( - + { 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/' ); }); }); diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index 50d4b77dd8f6..b9a4c78cd67f 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -45,7 +45,7 @@ export class DocLinksService { injectedMetadata.getOpenSearchDashboardsBranch() === 'main' ? 'latest' : injectedMetadata.getOpenSearchDashboardsBranch(); - const OPENSEARCH_WEBSITE_URL = 'https://www.opensearch.org/'; + const OPENSEARCH_WEBSITE_URL = 'https://opensearch.org/'; const OPENSEARCH_WEBSITE_DOCS = `${OPENSEARCH_WEBSITE_URL}docs/${DOC_LINK_VERSION}`; const OPENSEARCH_VERSIONED_DOCS = `${OPENSEARCH_WEBSITE_DOCS}/opensearch/`; const OPENSEARCH_DASHBOARDS_VERSIONED_DOCS = `${OPENSEARCH_WEBSITE_DOCS}/dashboards/`; @@ -329,7 +329,17 @@ export class DocLinksService { // https://opensearch.org/docs/latest/opensearch/popular-api/ popularAPI: `${OPENSEARCH_VERSIONED_DOCS}popular-api`, // https://opensearch.org/docs/latest/opensearch/rest-api/index/ - restAPI: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index/`, + restAPI: { + base: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index/`, + indexAPI: { + base: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/index/`, + create: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/create-index/`, + exists: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/exists/`, + delete: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/delete-index/`, + get: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/get-index/`, + close: `${OPENSEARCH_VERSIONED_DOCS}rest-api/index-apis/close-index/`, + }, + }, }, opensearchDashboards: { // https://opensearch.org/docs/latest/dashboards/index/ @@ -378,14 +388,15 @@ export class DocLinksService { // https://opensearch.org/docs/latest/dashboards/dql/#nested-field-query nested_query: `${OPENSEARCH_DASHBOARDS_VERSIONED_DOCS}dql/#nested-field-query`, }, + browser: `${OPENSEARCH_DASHBOARDS_VERSIONED_DOCS}browser-compatibility`, }, noDocumentation: { - auditbeat: `${OPENSEARCH_WEBSITE_DOCS}`, - filebeat: `${OPENSEARCH_WEBSITE_DOCS}`, - metricbeat: `${OPENSEARCH_WEBSITE_DOCS}`, - heartbeat: `${OPENSEARCH_WEBSITE_DOCS}`, + auditbeat: `https://opensearch.org/docs/latest/downloads/beats/auditbeat`, + filebeat: `https://opensearch.org/docs/latest/downloads/beats/filebeat`, + metricbeat: `https://opensearch.org/docs/latest/downloads/beats/metricbeat`, + heartbeat: `https://opensearch.org/docs/latest/downloads/beats/heartbeat`, logstash: `${OPENSEARCH_WEBSITE_DOCS}`, - functionbeat: `${OPENSEARCH_WEBSITE_DOCS}`, + functionbeat: `https://opensearch.org/docs/latest/downloads/beats/functionbeat`, winlogbeat: `${OPENSEARCH_WEBSITE_DOCS}`, siem: `${OPENSEARCH_WEBSITE_DOCS}`, indexPatterns: { @@ -412,6 +423,122 @@ export class DocLinksService { addData: `${OPENSEARCH_WEBSITE_DOCS}`, vega: `${OPENSEARCH_DASHBOARDS_VERSIONED_DOCS}`, dateMath: `${OPENSEARCH_WEBSITE_DOCS}`, + savedObject: { + manageSavedObject: `https://opensearch.org/docs/latest/guide/en/kibana/current/managing-saved-objects.html#_export`, + }, + clusterAPI: { + clusterRoute: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-reroute.html`, + clusterState: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-state.html`, + clusterStats: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-stats.html`, + clusterPending: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-pending.html`, + }, + mappingTypes: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/current/mapping-types.html`, + moduleScripting: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html`, + indexAPI: { + indexAnalyze: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-analyze.html`, + indexClearCache: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clearcache.html`, + indexClone: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clone-index.html`, + indexSynced: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html`, + indexFlush: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-flush.html`, + indexForceMerge: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-forcemerge.html`, + indexSetting: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-settings.html`, + indexUpgrade: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-upgrade.html`, + indexUpdateSetting: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-update-settings.html`, + indexRecovery: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-recovery.html`, + indexRefresh: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-refresh.html`, + indexRollover: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-rollover-index.html`, + indexSegment: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-segments.html`, + indexShardStore: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shards-stores.html`, + indexShrink: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shrink-index.html`, + indexSplit: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-split-index.html`, + indexStats: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-stats.html`, + indexGetFieldMapping: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html`, + indexGetMapping: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-mapping.html`, + indexOpenClose: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-open-close.html`, + indexPutMapping: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-put-mapping.html`, + indexSearchValidate: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-validate.html`, + }, + ingest: { + deletePipeline: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/delete-pipeline-api.html`, + getPipeline: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/get-pipeline-api.html`, + putPipeline: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/put-pipeline-api.html`, + simulatePipeline: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html`, + grokProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/grok-processor.html`, + appendProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/append-processor.html`, + bytesProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/bytes-processor.html`, + ingestCircleProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-circle-processor.html`, + csvProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/csv-processor.html`, + convertProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/convert-processor.html`, + dataProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-processor.html`, + dataIndexNamProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-index-name-processor.html`, + dissectProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dissect-processor.html`, + dotExpandProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dot-expand-processor.html`, + dropProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/drop-processor.html`, + failProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/fail-processor.html`, + foreachProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/foreach-processor.html`, + geoIPProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/geoip-processor.html`, + gusbProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/gsub-processor.html`, + htmlstripProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/htmlstrip-processor.html`, + inferenceProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/inference-processor.html`, + joinProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/join-processor.html`, + jsonProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/json-processor.html`, + kvProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/kv-processor.html`, + lowecaseProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/lowercase-processor.html`, + pipelineProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/pipeline-processor.html`, + removeProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/remove-processor.html`, + renameProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/rename-processor.html`, + scriptProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/script-processor.html`, + setProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/set-processor.html`, + securityUserProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html`, + splitProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/split-processor.html`, + sortProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/sort-processor.html`, + trimProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/trim-processor.html`, + uppercaseProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/uppercase-processor.html`, + urldecodeProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/urldecode-processor.html`, + userAgentProcessor: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/user-agent-processor.html`, + }, + nodes: { + info: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-info.html`, + hotThreads: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html`, + reloadSecuritySetting: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings`, + // Possible here but no details: https://opensearch.org/docs/latest/opensearch/popular-api/#get-node-statistics + nodeStats: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html`, + usage: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html`, + }, + reIndex: { + // Missing _rethrottle + rethrottle: `https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/reindex/`, + }, + timelineDeprecation: `https://opensearch.org/docs/latest/guide/en/kibana/master/dashboard.html#timeline-deprecation`, + apmServer: `https://opensearch.org/downloads/apm/apm-server`, + tutorial: { + loadDataTutorial: `https://opensearch.org/guide/en/kibana/current/tutorial-load-dataset.html`, + visualizeTutorial: `https://opensearch.org/guide/en/kibana/current/tutorial-visualizing.html`, + }, + scroll: { + clear_scroll: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api`, + }, + documentAPI: { + // missing `rethrottle` info + delete_by_query: `https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-by-query/`, + multiTermVector: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html`, + termVector: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-termvectors.html`, + update_by_query_rethrottle: `https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-by-query/`, + }, + filed_caps: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-field-caps.html`, + painless_execute: `https://opensearch.org/docs/latest/guide/en/elasticsearch/painless/master/painless-execute-api.html`, + search: { + search: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-search.html`, + searchRankEval: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-rank-eval.html`, + searchShards: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-shards.html`, + searchFieldCap: `https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-field-caps.html`, + }, + snapshot: { + deleteSnapshot: `https://opensearch.org/docs/latest/opensearch/snapshot-restore/`, + deleteRepository: `https://opensearch.org/docs/latest/opensearch/snapshot-restore/`, + cleanup: `https://opensearch.org/docs/latest/opensearch/snapshot-restore/`, + veirfyRepository: `https://opensearch.org/docs/latest/opensearch/snapshot-restore/`, + }, }, }, }); @@ -577,7 +704,17 @@ export interface DocLinksStart { readonly supportedUnits: string; readonly commonParameters: string; readonly popularAPI: string; - readonly restAPI: string; + readonly restAPI: { + readonly base: string; + readonly indexAPI: { + readonly base: string; + readonly create: string; + readonly exists: string; + readonly delete: string; + readonly get: string; + readonly close: string; + }; + }; }; readonly opensearchDashboards: { readonly introduction: string; @@ -606,6 +743,7 @@ export interface DocLinksStart { readonly date_query: string; readonly nested_query: string; }; + readonly browser: string; }; readonly noDocumentation: { readonly auditbeat: string; @@ -633,6 +771,110 @@ export interface DocLinksStart { readonly addData: string; readonly vega: string; readonly dateMath: string; + readonly savedObject: { + readonly manageSavedObject: string; + }; + readonly clusterAPI: { + readonly clusterRoute: string; + readonly clusterState: string; + readonly clusterStats: string; + readonly clusterPending: string; + }; + readonly mappingTypes: string; + readonly moduleScripting: string; + readonly ingest: { + readonly appendProcessor: string; + readonly bytesProcessor: string; + readonly ingestCircleProcessor: string; + readonly csvProcessor: string; + readonly convertProcessor: string; + readonly dataProcessor: string; + readonly dataIndexNamProcessor: string; + readonly dissectProcessor: string; + readonly dotExpandProcessor: string; + readonly dropProcessor: string; + readonly failProcessor: string; + readonly foreachProcessor: string; + readonly geoIPProcessor: string; + readonly grokProcessor: string; + readonly gusbProcessor: string; + readonly htmlstripProcessor: string; + readonly inferenceProcessor: string; + readonly joinProcessor: string; + readonly jsonProcessor: string; + readonly kvProcessor: string; + readonly lowecaseProcessor: string; + readonly pipelineProcessor: string; + readonly removeProcessor: string; + readonly renameProcessor: string; + readonly scriptProcessor: string; + readonly setProcessor: string; + readonly securityUserProcessor: string; + readonly splitProcessor: string; + readonly sortProcessor: string; + readonly trimProcessor: string; + readonly uppercaseProcessor: string; + readonly urldecodeProcessor: string; + readonly userAgentProcessor: string; + }; + readonly indexAPI: { + readonly indexAnalyze: string; + readonly indexClearCache: string; + readonly indexClone: string; + readonly indexSynced: string; + readonly indexFlush: string; + readonly indexForceMerge: string; + readonly indexSetting: string; + readonly indexUpgrade: string; + readonly indexUpdateSetting: string; + readonly indexRecovery: string; + readonly indexRefresh: string; + readonly indexRollover: string; + readonly indexSegment: string; + readonly indexShardStore: string; + readonly indexShrink: string; + readonly indexSplit: string; + readonly indexStats: string; + }; + readonly nodes: { + readonly info: string; + readonly hotThreads: string; + readonly reloadSecuritySetting: string; + readonly nodeStats: string; + readonly usage: string; + }; + readonly reIndex: { + readonly rethrottle: string; + }; + readonly timelineDeprecation: string; + readonly apmServer: string; + readonly tutorial: { + readonly loadDataTutorial: string; + readonly visualizeTutorial: string; + }; + readonly scroll: { + readonly clear_scroll: string; + }; + readonly documentAPI: { + readonly delete_by_query: string; + readonly multiTermVector: string; + readonly termVector: string; + readonly update_by_query_rethrottle: string; + }; + readonly filed_caps: string; + readonly painless_execute: string; + readonly search: { + readonly search: string; + readonly searchRankEval: string; + readonly searchShards: string; + readonly searchFieldCap: string; + }; + readonly snapshot: { + readonly deleteSnapshot: string; + readonly deleteRepository: string; + readonly cleanup: string; + readonly veirfyRepository: string; + }; }; }; } diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md index 9e42ef29b5ff..c2360d6e0b51 100644 --- a/src/core/public/public.api.md +++ b/src/core/public/public.api.md @@ -609,7 +609,17 @@ export interface DocLinksStart { readonly supportedUnits: string; readonly commonParameters: string; readonly popularAPI: string; - readonly restAPI: string; + readonly restAPI: { + readonly base: string; + readonly indexAPI: { + readonly base: string, + readonly create: string, + readonly exists: string, + readonly delete: string, + readonly get: string, + readonly close: string, + }, + }; }; readonly opensearchDashboards: { readonly introduction: string; @@ -638,6 +648,7 @@ export interface DocLinksStart { readonly date_query: string; readonly nested_query: string; }; + readonly browser: string; }; readonly noDocumentation: { readonly auditbeat: string; @@ -665,6 +676,110 @@ export interface DocLinksStart { readonly addData: string; readonly vega: string; readonly dateMath: string; + readonly savedObject: { + readonly manageSavedObject: string; + }; + readonly clusterAPI: { + readonly clusterRoute: string; + readonly clusterState: string; + readonly clusterStats: string; + readonly clusterPending: string; + }; + readonly mappingTypes: string; + readonly moduleScripting: string; + readonly ingest: { + readonly appendProcessor: string; + readonly bytesProcessor: string; + readonly ingestCircleProcessor: string; + readonly csvProcessor: string; + readonly convertProcessor: string; + readonly dataProcessor: string; + readonly dataIndexNamProcessor: string; + readonly dissectProcessor: string; + readonly dotExpandProcessor: string; + readonly dropProcessor: string; + readonly failProcessor: string; + readonly foreachProcessor: string; + readonly geoIPProcessor: string; + readonly grokProcessor: string; + readonly gusbProcessor: string; + readonly htmlstripProcessor: string; + readonly inferenceProcessor: string; + readonly joinProcessor: string; + readonly jsonProcessor: string; + readonly kvProcessor: string; + readonly lowecaseProcessor: string; + readonly pipelineProcessor: string; + readonly removeProcessor: string; + readonly renameProcessor: string; + readonly scriptProcessor: string; + readonly setProcessor: string; + readonly securityUserProcessor: string; + readonly splitProcessor: string; + readonly sortProcessor: string; + readonly trimProcessor: string; + readonly uppercaseProcessor: string; + readonly urldecodeProcessor: string; + readonly userAgentProcessor: string; + }; + readonly indexAPI : { + readonly indexAnalyze: string; + readonly indexClearCache: string; + readonly indexClone: string; + readonly indexSynced: string; + readonly indexFlush: string; + readonly indexForceMerge: string; + readonly indexSetting: string; + readonly indexUpgrade: string; + readonly indexUpdateSetting: string; + readonly indexRecovery: string; + readonly indexRefresh: string; + readonly indexRollover: string; + readonly indexSegment: string; + readonly indexShardStore: string; + readonly indexShrink: string; + readonly indexSplit: string; + readonly indexStats: string; + }; + readonly nodes: { + readonly info: string; + readonly hotThreads: string; + readonly reloadSecuritySetting: string; + readonly nodeStats: string; + readonly usage: string; + }; + readonly reIndex: { + readonly rethrottle: string; + }; + readonly timelineDeprecation: string; + readonly apmServer: string; + readonly tutorial: { + readonly loadDataTutorial: string; + readonly visualizeTutorial: string; + }; + readonly scroll: { + readonly clear_scroll: string; + }; + readonly documentAPI: { + readonly delete_by_query: string; + readonly multiTermVector: string; + readonly termVector: string; + readonly update_by_query_rethrottle: string; + }; + readonly filed_caps: string; + readonly painless_execute: string; + readonly search: { + readonly search : string; + readonly searchRankEval: string; + readonly searchShards: string; + readonly searchFieldCap: string; + }; + readonly snapshot: { + readonly deleteSnapshot: string; + readonly deleteRepository: string; + readonly cleanup: string; + readonly veirfyRepository: string; + }; }; }; } diff --git a/src/core/server/logging/README.md b/src/core/server/logging/README.md index 1609e3d9f3ec..ee33e4a6344e 100644 --- a/src/core/server/logging/README.md +++ b/src/core/server/logging/README.md @@ -11,7 +11,7 @@ - [Logging config migration](#logging-config-migration) - [Log record format changes](#log-record-format-changes) -The way logging works in OpenSearch Dashboards is inspired by `log4j 2` logging framework used by [OpenSearch](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 OpenSearch Stack where possible. diff --git a/src/core/server/saved_objects/mappings/types.ts b/src/core/server/saved_objects/mappings/types.ts index 599bcbe2ef9d..b5fbac25c470 100644 --- a/src/core/server/saved_objects/mappings/types.ts +++ b/src/core/server/saved_objects/mappings/types.ts @@ -115,9 +115,6 @@ export interface SavedObjectsMappingProperties { /** * Describe a {@link SavedObjectsTypeMappingDefinition | saved object type mapping} field. * - * Please refer to {@link https://www.opensearch.org/guide/en/elasticsearch/reference/current/mapping-types.html | elasticsearch documentation} - * For the mapping documentation - * * @public */ export type SavedObjectsFieldMapping = diff --git a/src/core/server/saved_objects/migrations/README.md b/src/core/server/saved_objects/migrations/README.md index d7f2415ee552..1c2348913495 100644 --- a/src/core/server/saved_objects/migrations/README.md +++ b/src/core/server/saved_objects/migrations/README.md @@ -99,7 +99,7 @@ If a plugin is disbled, all of its documents are retained in the OpenSearch Dash OpenSearch Dashboards index migrations expose a few config settings which might be tweaked: - `migrations.scrollDuration` - The - [scroll](https://www.opensearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html#scroll-search-context) + [scroll](https://opensearch.org/docs/latest/opensearch/rest-api/scroll/) value used to read batches of documents from the source index. Defaults to `15m`. - `migrations.batchSize` - The number of documents to read / transform / write diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile index 0c370dcbc63c..d2dab5d4ffd6 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/Dockerfile @@ -101,19 +101,19 @@ LABEL org.label-schema.build-date="{{dockerBuildDate}}" \ org.label-schema.license="{{license}}" \ org.label-schema.name="OpenSearch Dashboards" \ org.label-schema.schema-version="1.0" \ - org.label-schema.url="https://www.opensearch.org/" \ - org.label-schema.usage="https://www.opensearch.org/" \ + org.label-schema.url="https://opensearch.org/" \ + org.label-schema.usage="https://opensearch.org/" \ org.label-schema.vcs-ref="{{revision}}" \ org.label-schema.vcs-url="https://github.com/opensearch-project/OpenSearch-Dashboards" \ org.label-schema.vendor="OpenSearch" \ org.label-schema.version="{{version}}" \ org.opencontainers.image.created="{{dockerBuildDate}}" \ - org.opencontainers.image.documentation="https://www.opensearch.org/" \ + org.opencontainers.image.documentation="https://opensearch.org/" \ org.opencontainers.image.licenses="{{license}}" \ org.opencontainers.image.revision="{{revision}}" \ org.opencontainers.image.source="https://github.com/opensearch-project/OpenSearch-Dashboards" \ org.opencontainers.image.title="OpenSearch Dashboards" \ - org.opencontainers.image.url="https://www.opensearch.org/" \ + org.opencontainers.image.url="https://opensearch.org/" \ org.opencontainers.image.vendor="OpenSearch" \ org.opencontainers.image.version="{{version}}" diff --git a/src/dev/build/tasks/os_packages/run_fpm.ts b/src/dev/build/tasks/os_packages/run_fpm.ts index 973404b91d68..1b25f7bdc065 100644 --- a/src/dev/build/tasks/os_packages/run_fpm.ts +++ b/src/dev/build/tasks/os_packages/run_fpm.ts @@ -75,7 +75,7 @@ export async function runFpm( '--version', version, '--url', - 'https://www.opensearch.org', + 'https://opensearch.org', '--vendor', 'OpenSearch', '--maintainer', diff --git a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts index 4fc93fcce298..4372d79bae77 100644 --- a/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts +++ b/src/plugins/apm_oss/server/tutorial/instructions/apm_server_instructions.ts @@ -137,7 +137,7 @@ directory to `APM-Server`.\n4. Open a PowerShell prompt as an Administrator \ **Run As Administrator**). If you are running Windows XP, you might need to download and install \ PowerShell.\n5. From the PowerShell prompt, run the following commands to install APM Server as a Windows service:', values: { - downloadPageLink: 'https://www.opensearch.org/downloads/apm/apm-server', + downloadPageLink: 'https://opensearch.org/downloads/apm/apm-server', zipFileExtractFolder: '`C:\\Program Files`', apmServerDirectory: '`apm-server-{config.opensearchDashboards.version}-windows`', }, diff --git a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts index 2bac7c57d442..8ecb7e164954 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts @@ -41,7 +41,7 @@ const commonPipelineParams = { tag: '', }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/append-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/append-processor.html const appendProcessorDefinition = { append: { __template: { @@ -54,7 +54,7 @@ const appendProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/bytes-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/bytes-processor.html const bytesProcessorDefinition = { bytes: { __template: { @@ -69,7 +69,7 @@ const bytesProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/ingest-circle-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-circle-processor.html const circleProcessorDefinition = { circle: { __template: { @@ -90,7 +90,7 @@ const circleProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/csv-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/csv-processor.html const csvProcessorDefinition = { csv: { __template: { @@ -112,7 +112,7 @@ const csvProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/convert-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/convert-processor.html const convertProcessorDefinition = { convert: { __template: { @@ -131,7 +131,7 @@ const convertProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/date-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-processor.html const dateProcessorDefinition = { date: { __template: { @@ -147,7 +147,7 @@ const dateProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/date-index-name-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-index-name-processor.html const dateIndexNameProcessorDefinition = { date_index_name: { __template: { @@ -166,7 +166,7 @@ const dateIndexNameProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/dissect-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dissect-processor.html const dissectProcessorDefinition = { dissect: { __template: { @@ -183,7 +183,7 @@ const dissectProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/dot-expand-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dot-expand-processor.html const dotExpanderProcessorDefinition = { dot_expander: { __template: { @@ -195,7 +195,7 @@ const dotExpanderProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/drop-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/drop-processor.html const dropProcessorDefinition = { drop: { __template: {}, @@ -203,7 +203,7 @@ const dropProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/fail-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/fail-processor.html const failProcessorDefinition = { fail: { __template: { @@ -214,7 +214,7 @@ const failProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/foreach-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/foreach-processor.html const foreachProcessorDefinition = { foreach: { __template: { @@ -229,7 +229,7 @@ const foreachProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/geoip-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/geoip-processor.html const geoipProcessorDefinition = { geoip: { __template: { @@ -248,7 +248,7 @@ const geoipProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/grok-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/grok-processor.html const grokProcessorDefinition = { grok: { __template: { @@ -268,7 +268,7 @@ const grokProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/gsub-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/gsub-processor.html const gsubProcessorDefinition = { gsub: { __template: { @@ -283,7 +283,7 @@ const gsubProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/htmlstrip-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/htmlstrip-processor.html const htmlStripProcessorDefinition = { html_strip: { __template: { @@ -298,7 +298,7 @@ const htmlStripProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/inference-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/inference-processor.html const inferenceProcessorDefinition = { inference: { __template: { @@ -314,7 +314,7 @@ const inferenceProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/join-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/join-processor.html const joinProcessorDefinition = { join: { __template: { @@ -327,7 +327,7 @@ const joinProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/json-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/json-processor.html const jsonProcessorDefinition = { json: { __template: { @@ -342,7 +342,7 @@ const jsonProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/kv-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/kv-processor.html const kvProcessorDefinition = { kv: { __template: { @@ -362,7 +362,7 @@ const kvProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/lowercase-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/lowercase-processor.html const lowercaseProcessorDefinition = { lowercase: { __template: { @@ -376,7 +376,7 @@ const lowercaseProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/pipeline-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/pipeline-processor.html const pipelineProcessorDefinition = { pipeline: { __template: { @@ -387,7 +387,7 @@ const pipelineProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/remove-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/remove-processor.html const removeProcessorDefinition = { remove: { __template: { @@ -398,7 +398,7 @@ const removeProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/rename-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/rename-processor.html const renameProcessorDefinition = { rename: { __template: { @@ -414,7 +414,7 @@ const renameProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/script-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/script-processor.html const scriptProcessorDefinition = { script: { __template: {}, @@ -427,7 +427,7 @@ const scriptProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/set-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/set-processor.html const setProcessorDefinition = { set: { __template: { @@ -443,7 +443,7 @@ const setProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html const setSecurityUserProcessorDefinition = { set_security_user: { __template: { @@ -455,7 +455,7 @@ const setSecurityUserProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/split-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/split-processor.html const splitProcessorDefinition = { split: { __template: { @@ -471,7 +471,7 @@ const splitProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/sort-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/sort-processor.html const sortProcessorDefinition = { sort: { __template: { @@ -483,7 +483,7 @@ const sortProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/trim-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/trim-processor.html const trimProcessorDefinition = { trim: { __template: { @@ -497,7 +497,7 @@ const trimProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/uppercase-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/uppercase-processor.html const uppercaseProcessorDefinition = { uppercase: { __template: { @@ -511,7 +511,7 @@ const uppercaseProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/urldecode-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/urldecode-processor.html const urlDecodeProcessorDefinition = { urldecode: { __template: { @@ -526,7 +526,7 @@ const urlDecodeProcessorDefinition = { }, }; -// Based on https://www.opensearch.org/guide/en/elasticsearch/reference/master/user-agent-processor.html +// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/user-agent-processor.html const userAgentProcessorDefinition = { user_agent: { __template: { diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json index 1a943ddf9a96..5529771a8f06 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json @@ -24,6 +24,6 @@ "{indices}/_bulk", "{indices}/{type}/_bulk" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-bulk.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/bulk/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json index 5036ac78476b..c0664ebc9d97 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json @@ -22,6 +22,6 @@ "_cat/aliases", "_cat/aliases/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-alias.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-aliases/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json index c7b52c0bc131..57b782e94618 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json @@ -29,6 +29,6 @@ "_cat/allocation", "_cat/allocation/{nodes}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-allocation.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json index 7b5a372e78ab..8093d91da07e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json @@ -14,6 +14,6 @@ "_cat/count", "_cat/count/{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-count.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-count/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json index e19471b40c92..c5e28cd072cd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json @@ -28,6 +28,6 @@ "_cat/fielddata", "_cat/fielddata/{fields}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-fielddata.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-field-data/#cat-fielddata" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json index 1f2a382c3077..3d78a1254175 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json @@ -23,6 +23,6 @@ "patterns": [ "_cat/health" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-health.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-health/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json index b56e393f3e6f..302f56df8dcd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json @@ -10,6 +10,6 @@ "patterns": [ "_cat" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json index 59634a8a39a4..c930cce0b863 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json @@ -52,6 +52,6 @@ "_cat/indices", "_cat/indices/{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-indices.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json index e482e366b0dc..fff5c9c30726 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/master" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-master.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json index a09b94ebd7c0..84c1d13dbf6c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/nodeattrs" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-nodeattrs.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodeattrs/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json index a553de0b3c8a..ae22f88c8567 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json @@ -38,6 +38,6 @@ "patterns": [ "_cat/nodes" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-nodes.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodes/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json index b5ec4b77ede5..c2e1731e5230 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json @@ -24,6 +24,6 @@ "patterns": [ "_cat/pending_tasks" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-pending-tasks.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-pending-tasks/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json index dd738071b616..9e2699a41ae8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/plugins" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-plugins.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-plugins/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json index c51756c5cb04..4c3d8a6cd204 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json @@ -39,6 +39,6 @@ "_cat/recovery", "_cat/recovery/{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-recovery.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json index ecdbed9969de..8e0e417fa5d4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/repositories" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-repositories.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-repositories/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json index d4d486def929..2f74834f9c81 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json @@ -27,6 +27,6 @@ "_cat/segments", "_cat/segments/{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-segments.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-segments/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json index d3ecfeb3d887..6aa7fe8e4663 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json @@ -38,6 +38,6 @@ "_cat/shards", "_cat/shards/{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-shards.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json index d677a92f676e..b055aa585b6f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json @@ -25,6 +25,6 @@ "_cat/snapshots", "_cat/snapshots/{repository}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json index 519f9f948e74..c3575fac3aa1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json @@ -26,6 +26,6 @@ "patterns": [ "_cat/tasks" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-tasks/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json index b789e98b5e92..d68b52655241 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json @@ -16,6 +16,6 @@ "_cat/templates", "_cat/templates/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json index 139e46fd1532..a6c75370334c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json @@ -24,6 +24,6 @@ "_cat/thread_pool", "_cat/thread_pool/{thread_pool_patterns}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cat-thread-pool.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-thread-pool/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json index 591d60b41483..b971f58ac86c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json @@ -6,6 +6,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/scroll/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json index 66a9c66a93ae..ff3e8ed7565f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/allocation/explain" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-allocation/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json index 826fe26012de..145c366683dc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json @@ -10,6 +10,6 @@ "patterns": [ "_component_template/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-component-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/#composable-index-templates" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json index 4eaddced5b7a..10427fa913f5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json @@ -12,6 +12,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-update-settings.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json index 52ac18913616..02e5daeba1b3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json @@ -41,6 +41,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/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json index c79b62b56d4d..68bb48c9c207 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json @@ -10,6 +10,6 @@ "patterns": [ "_cluster/pending_tasks" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-pending.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-pending.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json index 941df721ba7b..01965a331b07 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-update-settings.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json index 1f7743eb6b06..7d7919384b61 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json @@ -6,6 +6,6 @@ "patterns": [ "_remote/info" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-remote-info.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json index 9bab4493241b..f0408c040d57 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json @@ -14,6 +14,6 @@ "patterns": [ "_cluster/reroute" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-reroute.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-reroute.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json index 82413615d524..230762b1ece9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json @@ -37,6 +37,6 @@ ], "indices": null }, - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-state.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-state.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json index 20a9dfdeb0d6..5cebcb2db2b8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json @@ -11,6 +11,6 @@ "_cluster/stats", "_cluster/stats/nodes/{nodes}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-stats.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json index 2e76980fdfe9..3989ba8e7b0d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json @@ -34,6 +34,6 @@ "{indices}/_count", "{indices}/{type}/_count" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-count.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/count/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json index ef0729d6ff41..b329f555e857 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json @@ -24,6 +24,6 @@ "patterns": [ "{indices}/_create/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-index_.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/index-document/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json index 592119bc21de..5d0ae7f48922 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json @@ -25,6 +25,6 @@ "patterns": [ "{indices}/_doc/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-delete.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-document/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json index ea55737c604f..824d226644c6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json @@ -57,6 +57,6 @@ "{indices}/_delete_by_query", "{indices}/{type}/_delete_by_query" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-delete-by-query.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-by-query/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json index f0e683372b53..5df1436c1e13 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_delete_by_query/{task_id}/_rethrottle" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/docs-delete-by-query.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-by-query/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json index b81aaffb5936..88d64b9920ff 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json @@ -10,6 +10,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json index 0eb64d3bdf04..ae2c8ca1e935 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json index 11237dde654f..da0e2e01c2e9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}/_source/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json index 1ebc923551b4..400f0dc767a1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json @@ -25,6 +25,6 @@ "{indices}/_explain/{id}", "{indices}/{type}/{id}/_explain" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-explain.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/explain/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json index 2f10959b4124..1bfedef2f0e1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json @@ -21,6 +21,6 @@ "_field_caps", "{indices}/_field_caps" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-field-caps.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-field-caps.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json index 37f1410412f1..64599b6604be 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json index b10f367eb0e4..685155e5b8d8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json @@ -9,6 +9,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json index 60c63b8389d0..8396fc2412a1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json @@ -23,6 +23,6 @@ "{indices}/_source/{id}", "{indices}/{type}/{id}/_source" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-get.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json index d9824011ffe0..f70f6c9c8022 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json @@ -33,6 +33,6 @@ "{indices}/{type}", "{indices}/{type}/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-index_.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/index-document/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json index 970496acd519..9d4fd6327e34 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json @@ -11,6 +11,6 @@ "_analyze", "{indices}/_analyze" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-analyze.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-analyze.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json index 0ae980c370a8..54eac4489f1b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json @@ -23,6 +23,6 @@ "_cache/clear", "{indices}/_cache/clear" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-clearcache.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clearcache.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json index 419e1d9d8aff..90d8a4e9d482 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json @@ -12,6 +12,6 @@ "patterns": [ "{indices}/_clone/{target}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-clone-index.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clone-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json index a546d9e9c66b..2a390fe00548 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}/_close" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-open-close.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/close-index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json index 675018eca455..76f60474a5b7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json @@ -12,6 +12,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-create-index.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/create-index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json index 32537d596b57..f8e02097101f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json @@ -19,6 +19,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-delete-index.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/delete-index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json index 0cf3f3674f88..deb73655b4da 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json @@ -11,6 +11,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json index b85c38ac0326..7acda3fb6094 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json @@ -10,6 +10,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json index d4f4835dbb06..2d1c3e4e9ae1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-exists.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json index fb18d10b9a6f..044035141b21 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json @@ -19,6 +19,6 @@ "_alias/{name}", "{indices}/_alias/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json index bfc80aeac8c9..fa1e7bdfe869 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json @@ -11,6 +11,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json index 3b9f5988d6a9..80d538d2a561 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json @@ -18,6 +18,6 @@ "patterns": [ "{indices}/_mapping/{type}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-types-exists.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json index aabb4ecd5dbf..78ff28b59f80 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json @@ -21,6 +21,6 @@ "_flush", "{indices}/_flush" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-flush.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-flush.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json index 0c26ac0fb965..f4f44c57643e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json @@ -18,6 +18,6 @@ "_flush/synced", "{indices}/_flush/synced" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json index d86f11884433..e1fe5dfe4d02 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json @@ -21,6 +21,6 @@ "_forcemerge", "{indices}/_forcemerge" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-forcemerge.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-forcemerge.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json index 34fddadb4e5d..553a4839616d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-get-index.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/get-index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json index 715d32c9968b..94c5642a871b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json @@ -21,6 +21,6 @@ "{indices}/_alias/{name}", "{indices}/_alias" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json index 0b072a68fb2a..d4fcde075033 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json @@ -23,6 +23,6 @@ "_mapping/{type}/field/{fields}", "{indices}/_mapping/{type}/field/{fields}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json index e5f8f57c0333..584b0ad5a9bb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json @@ -23,6 +23,6 @@ "_mapping/{type}", "{indices}/_mapping/{type}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json index 693b53625e74..e1dab98ca9cc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json @@ -24,6 +24,6 @@ "{indices}/_settings/{name}", "_settings/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-get-settings.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json index 2b9ae1d56f55..46d679ce320e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json @@ -13,6 +13,6 @@ "_template", "_template/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json index 52e06b863a4d..b3076a5dd74b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json @@ -18,6 +18,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-upgrade.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json index d28559fd2b2c..75e64a773a5f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}/_open" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-open-close.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-open-close.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json index ab1c9f6854e8..c326ec5f4df8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json @@ -12,6 +12,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json index c59c7e562b4d..d161dfaf54c9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json @@ -28,6 +28,6 @@ "{indices}/_mappings", "_mapping/{type}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-put-mapping.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json index d50e366e6a19..b81bde62f986 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json @@ -22,6 +22,6 @@ "_settings", "{indices}/_settings" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-update-settings.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-update-settings.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json index 628410f43ded..79e2d734c63f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json @@ -14,6 +14,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-templates.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json index d76477192894..78a30669242c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json @@ -11,6 +11,6 @@ "_recovery", "{indices}/_recovery" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-recovery.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-recovery.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json index e3149c4a72cf..5bcc00c0d817 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json @@ -19,6 +19,6 @@ "_refresh", "{indices}/_refresh" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-refresh.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-refresh.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json index 69ee64cfb696..3cdbfa07b7fe 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json @@ -14,6 +14,6 @@ "{alias}/_rollover", "{alias}/_rollover/{new_index}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-rollover-index.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-rollover-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json index 0bf62037c64a..1f580af0d69c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json @@ -19,6 +19,6 @@ "_segments", "{indices}/_segments" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-segments.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-segments.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json index 27506456e4e2..089b1209c451 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json @@ -19,6 +19,6 @@ "_shard_stores", "{indices}/_shard_stores" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-shards-stores.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shards-stores.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json index 422018496a4d..cac199d9b0a0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json @@ -13,6 +13,6 @@ "patterns": [ "{indices}/_shrink/{target}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-shrink-index.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shrink-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json index d09644da7bf7..2331487becdc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json @@ -13,6 +13,6 @@ "patterns": [ "{indices}/_split/{target}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-split-index.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-split-index.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json index db61df67e135..c99e47998b6d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json @@ -52,6 +52,6 @@ ], "indices": null }, - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-stats.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json index 83820919056b..097c3c8ec9a4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json @@ -10,6 +10,6 @@ "patterns": [ "_aliases" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-aliases.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json index eacdd2dc7255..a639b369c25f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json @@ -20,6 +20,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-upgrade.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json index affd31322ac9..2802678b0c16 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json @@ -31,6 +31,6 @@ "_validate/query", "{indices}/_validate/query" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-validate.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-validate.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json index 287f9d67054d..145165271f9d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/index.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json index 3b754b8bcacd..9340854d9fd5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json @@ -10,6 +10,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json index 838638c2ff40..df442f3c72a6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json @@ -10,6 +10,6 @@ "_ingest/pipeline", "_ingest/pipeline/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/get-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json index 0f3040e075c6..44e36c4ac3fa 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json @@ -6,6 +6,6 @@ "patterns": [ "_ingest/processor/grok" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json index 4c7323540044..7bf882902252 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json @@ -10,6 +10,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/put-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/put-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json index 008af3d60ded..fc94871268ec 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json @@ -11,6 +11,6 @@ "_ingest/pipeline/_simulate", "_ingest/pipeline/{id}/_simulate" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json index 58dcc8b0cede..183a0c3a43a4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json @@ -19,6 +19,6 @@ "{indices}/_mget", "{indices}/{type}/_mget" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-multi-get.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/multi-get/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json index 070ae2e7c4cc..ce0c0024e383 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json @@ -28,6 +28,6 @@ "{indices}/_mtermvectors", "{indices}/{type}/_mtermvectors" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json index efd41b469de5..0d6ab832c5cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json @@ -19,6 +19,6 @@ "_nodes/hot_threads", "_nodes/{nodes}/hot_threads" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json index 1e224a45d706..d0f5f465721d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json @@ -27,6 +27,6 @@ "transport" ] }, - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-nodes-info.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-info.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json index 0b5632ee02b6..d6e64f127bfb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json @@ -10,6 +10,6 @@ "_nodes/reload_secure_settings", "_nodes/{nodes}/reload_secure_settings" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json index 924081d362be..f8d7065e954c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json @@ -59,6 +59,6 @@ "warmer" ] }, - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json index 6d4ce93685f9..25f41da6cf53 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json @@ -19,6 +19,6 @@ "rest_actions" ] }, - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json index 9f8c4772823d..3552fe49fb2b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/index.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/index/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json index c2702d913d5f..1de476ad8feb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json @@ -13,6 +13,6 @@ "_scripts/{id}", "_scripts/{id}/{context}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json index 69d1ca96b8b6..05457fc55bf5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json @@ -23,6 +23,6 @@ "_rank_eval", "{indices}/_rank_eval" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-rank-eval.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-rank-eval.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json index 1c98a4a0e5ca..b43f61e631df 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json @@ -16,6 +16,6 @@ "patterns": [ "_reindex" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-reindex.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/reindex/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json index b9d406948194..e98ec15db1d4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_reindex/{task_id}/_rethrottle" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-reindex.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/reindex/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json index 9c515780bf3b..67e32cbaf417 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json @@ -8,6 +8,6 @@ "_render/template", "_render/template/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates" + "documentation": "https://opensearch.org/docs/latest/opensearch/search-template/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json index 7c36341ca206..041ea1dafc0b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json @@ -7,6 +7,6 @@ "patterns": [ "_scripts/painless/_execute" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/painless/master/painless-execute-api.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/painless/master/painless-execute-api.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json index 4e8f7dd6cf87..c3619651712c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json @@ -12,6 +12,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll" + "documentation": "https://opensearch.org/docs/latest/opensearch/ux/#scroll-search" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index 9146e6a4c41d..df7373fff040 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -69,6 +69,6 @@ "{indices}/_search", "{indices}/{type}/_search" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-search.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/ux/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json index fac825008277..37a33f1332fa 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json @@ -22,6 +22,6 @@ "_search_shards", "{indices}/_search_shards" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/search-shards.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-shards.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json index 0d29a8b6f0f9..5ecf508cd641 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json @@ -35,6 +35,6 @@ "{indices}/_search/template", "{indices}/{type}/_search/template" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/search-template.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/search-template/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json index 4c56294f5a1b..da6c33ff6972 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/_cleanup" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json index f493962e1af7..1e90cfa4cdb6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json index 07ee54d368e1..95e0cc4a5678 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json @@ -12,6 +12,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#register-repository" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json index 7d8149c03328..679d72c782d9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json @@ -9,6 +9,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json index 61458f0a70e5..ef5e5117e94f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json index 52443a1bd2bf..a582656ce029 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json index 14e87869efc8..dbae1687dc90 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json @@ -11,6 +11,6 @@ "_snapshot", "_snapshot/{repository}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json index 7c54adfdd5dc..972fce7b39ce 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}/_restore" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#restore-snapshots" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json index 7e9a0a271567..19fb493c695e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json @@ -12,6 +12,6 @@ "_snapshot/{repository}/_status", "_snapshot/{repository}/{snapshot}/_status" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json index 5e77cc4c04ab..253c7e988505 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/_verify" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json index d14229e1d229..49f81071204a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json @@ -12,6 +12,6 @@ "_tasks/_cancel", "_tasks/{task_id}/_cancel" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/#task-canceling" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json index 0a30e9bfde3c..5367042057bf 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json @@ -10,6 +10,6 @@ "patterns": [ "_tasks/{task_id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json index 4845f02d6ee2..841906716c2a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json @@ -19,6 +19,6 @@ "patterns": [ "_tasks" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/tasks.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json index 737091a4c781..552716b75a30 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json @@ -28,6 +28,6 @@ "{indices}/{type}/{id}/_termvectors", "{indices}/{type}/_termvectors" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-termvectors.html" + "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-termvectors.html" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json index f251e0e22311..837d958815a8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json @@ -23,6 +23,6 @@ "patterns": [ "{indices}/_update/{id}" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-update.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-document/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json index 117cee9eb9ff..968956417cca 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json @@ -59,6 +59,6 @@ "{indices}/_update_by_query", "{indices}/{type}/_update_by_query" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/master/docs-update-by-query.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-by-query/" } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json index 06d9ec01969a..82fdd869e4d1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_update_by_query/{task_id}/_rethrottle" ], - "documentation": "https://www.opensearch.org/guide/en/elasticsearch/reference/current/docs-update-by-query.html" + "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-by-query/" } } diff --git a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts index e67b786a81f1..758bb4b117bc 100644 --- a/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts +++ b/src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts @@ -100,8 +100,8 @@ const calculateAutoInterval = ( const exactInterval = diff / maxBars; // For integer fields that are less than maxBars, we should use 1 as the value of interval - // Elastic has 4 integer data types: long, integer, short, byte - // see: https://www.opensearch.org/guide/en/elasticsearch/reference/current/number.html + // OpenSearch has 5 integer data types: long, integer, byte, double and float + // see: https://opensearch.org/docs/latest/search-plugins/sql/datatypes/#data-types if ( diff < maxBars && esTypes.every((opensearchType) => diff --git a/src/plugins/data/public/search/errors/timeout_error.test.tsx b/src/plugins/data/public/search/errors/timeout_error.test.tsx index f65041db0940..af530669d123 100644 --- a/src/plugins/data/public/search/errors/timeout_error.test.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.test.tsx @@ -51,7 +51,7 @@ describe('SearchTimeoutError', () => { expect(component.find('EuiButton').length).toBe(1); component.find('EuiButton').simulate('click'); expect(startMock.application.navigateToUrl).toHaveBeenCalledWith( - 'https://www.opensearch.org/subscriptions' + 'https://opensearch.org/subscriptions' ); }); diff --git a/src/plugins/data/public/search/errors/timeout_error.tsx b/src/plugins/data/public/search/errors/timeout_error.tsx index 5a1297646ddd..3370a82f3ad5 100644 --- a/src/plugins/data/public/search/errors/timeout_error.tsx +++ b/src/plugins/data/public/search/errors/timeout_error.tsx @@ -91,7 +91,7 @@ export class SearchTimeoutError extends OsdError { private onClick(application: ApplicationStart) { switch (this.mode) { case TimeoutErrorMode.UPGRADE: - application.navigateToUrl('https://www.opensearch.org/subscriptions'); + application.navigateToUrl('https://opensearch.org/subscriptions'); break; case TimeoutErrorMode.CHANGE: application.navigateToApp('management', { diff --git a/src/plugins/discover/public/application/components/doc/doc.tsx b/src/plugins/discover/public/application/components/doc/doc.tsx index da2a84099183..18de6eadaee1 100644 --- a/src/plugins/discover/public/application/components/doc/doc.tsx +++ b/src/plugins/discover/public/application/components/doc/doc.tsx @@ -34,7 +34,6 @@ import { FormattedMessage, I18nProvider } from '@osd/i18n/react'; import { EuiCallOut, EuiLink, EuiLoadingSpinner, EuiPageContent } from '@elastic/eui'; import { IndexPatternsContract } from 'src/plugins/data/public'; import { OpenSearchRequestState, useOpenSearchDocSearch } from './use_opensearch_doc_search'; -import { getServices } from '../../../opensearch_dashboards_services'; import { DocViewer } from '../doc_viewer/doc_viewer'; export interface DocProps { @@ -59,7 +58,6 @@ export interface DocProps { export function Doc(props: DocProps) { const [reqState, hit, indexPattern] = useOpenSearchDocSearch(props); - return ( @@ -114,9 +112,7 @@ export function Doc(props: DocProps) { values={{ indexName: props.index }} />{' '} saved objects [export UI](https://www.opensearch.org/guide/en/kibana/current/managing-saved-objects.html#_export) +3. Create OpenSearch Dashboards saved objects for sample data including index-patterns, visualizations, and dashboards. The best way to extract the saved objects is from the OpenSearch Dashboards Stack Management -> saved objects. 4. Define sample data spec conforming to [Data Set Schema](/src/plugins/home/server/services/sample_data/lib/sample_dataset_registry_types.ts). 5. Register sample data by calling `plguins.home.sampleData.registerSampleDataset(yourSpecProvider)` in your `setup` method where `yourSpecProvider` is a function that returns an object containing your sample data spec from step 4. diff --git a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts index e19a395adcfd..d0551a6a2122 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts @@ -91,8 +91,7 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[eCommerce] Markdown', }), visState: - // '{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.org/guide/en/kibana/current/index.html)."},"aggs":[]}', - '{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', + '{"title":"[eCommerce] Markdown","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":false,"markdown":"### Sample eCommerce Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://opensearch.org/docs/latest/dashboards/index/)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts index 496a9fdfb3e3..8e7f7acd63a7 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/flights/saved_objects.ts @@ -277,8 +277,7 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[Flights] Markdown Instructions', }), visState: - //'{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.org/guide/en/kibana/current/index.html)."},"aggs":[]}', - '{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', + '{"title":"[Flights] Markdown Instructions","type":"markdown","params":{"fontSize":10,"openLinksInNewTab":true,"markdown":"### Sample Flight data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://opensearch.org/docs/latest/dashboards/index/)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts index 0ec69b5110ac..9fe31a87a867 100644 --- a/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts +++ b/src/plugins/home/server/services/sample_data/data_sets/logs/saved_objects.ts @@ -263,8 +263,7 @@ export const getSavedObjects = (): SavedObject[] => [ defaultMessage: '[Logs] Markdown Instructions', }), visState: - // '{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://www.opensearch.org/guide/en/kibana/current/index.html)."},"aggs":[]}', - '{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://github.com/opensearch-project)."},"aggs":[]}', + '{"title":"[Logs] Markdown Instructions","type":"markdown","params":{"fontSize":12,"openLinksInNewTab":true,"markdown":"### Sample Logs Data\\nThis dashboard contains sample data for you to play with. You can view it, search it, and interact with the visualizations. For more information about OpenSearch Dashboards, check our [docs](https://opensearch.org/docs/latest/dashboards/index/)."},"aggs":[]}', uiStateJSON: '{}', description: '', version: 1, diff --git a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts index 28a46dddcb9a..5cab7ae0fa6f 100644 --- a/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/auditbeat_instructions.ts @@ -70,7 +70,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.opensearch.org/downloads/beats/auditbeat', + linkUrl: 'https://opensearch.org/docs/latest/downloads/beats/auditbeat', }, }), }, @@ -91,7 +91,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ textPost: i18n.translate('home.tutorials.common.auditbeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.opensearch.org/downloads/beats/auditbeat', + linkUrl: 'https://opensearch.org/docs/latest/downloads/beats/auditbeat', }, }), }, @@ -113,7 +113,7 @@ export const createAuditbeatInstructions = (context?: TutorialContext) => ({ values: { folderPath: '`C:\\Program Files`', guideLinkUrl: '{config.docs.beats.auditbeat}/auditbeat-installation-configuration.html', - auditbeatLinkUrl: 'https://www.opensearch.org/downloads/beats/auditbeat', + auditbeatLinkUrl: 'https://opensearch.org/docs/latest/downloads/beats/auditbeat', directoryName: 'auditbeat-{config.opensearchDashboards.version}-windows', }, } diff --git a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts index 8415be5537fd..3686e5ce4a3c 100644 --- a/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/filebeat_instructions.ts @@ -70,7 +70,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ textPost: i18n.translate('home.tutorials.common.filebeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.opensearch.org/downloads/beats/filebeat', + linkUrl: 'https://opensearch.org/docs/latest/downloads/beats/filebeat', }, }), }, @@ -91,7 +91,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ textPost: i18n.translate('home.tutorials.common.filebeatInstructions.install.rpmTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({linkUrl}).', values: { - linkUrl: 'https://www.opensearch.org/downloads/beats/filebeat', + linkUrl: 'https://opensearch.org/docs/latest/downloads/beats/filebeat', }, }), }, @@ -111,7 +111,7 @@ export const createFilebeatInstructions = (context?: TutorialContext) => ({ values: { folderPath: '`C:\\Program Files`', guideLinkUrl: '{config.docs.beats.filebeat}/filebeat-installation-configuration.html', - filebeatLinkUrl: 'https://www.opensearch.org/downloads/beats/filebeat', + filebeatLinkUrl: 'https://opensearch.org/docs/latest/downloads/beats/filebeat', directoryName: 'filebeat-{config.opensearchDashboards.version}-windows', }, }), diff --git a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts index afc5c6c6a406..26d8b9848bc3 100644 --- a/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/functionbeat_instructions.ts @@ -92,7 +92,7 @@ export const createFunctionbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', functionbeatLink: '{config.docs.beats.functionbeat}/functionbeat-installation-configuration.html', - opensearchLink: 'https://www.opensearch.org/downloads/beats/functionbeat', + opensearchLink: 'https://opensearch.org/docs/latest/downloads/beats/functionbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts index c7437a69be47..28b1de2b15fd 100644 --- a/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/heartbeat_instructions.ts @@ -65,7 +65,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.opensearch.org/downloads/beats/heartbeat' }, + values: { link: 'https://opensearch.org/docs/latest/downloads/beats/heartbeat' }, }), }, RPM: { @@ -82,7 +82,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.heartbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.opensearch.org/downloads/beats/heartbeat' }, + values: { link: 'https://opensearch.org/docs/latest/downloads/beats/heartbeat' }, }), }, WINDOWS: { @@ -105,7 +105,7 @@ export const createHeartbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', heartbeatLink: '{config.docs.beats.heartbeat}/heartbeat-installation-configuration.html', - opensearchLink: 'https://www.opensearch.org/downloads/beats/heartbeat', + opensearchLink: 'https://opensearch.org/docs/latest/downloads/beats/heartbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts index b7a4810238b2..fcb8360b19ab 100644 --- a/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/metricbeat_instructions.ts @@ -69,7 +69,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.opensearch.org/downloads/beats/metricbeat' }, + values: { link: 'https://opensearch.org/docs/latest/downloads/beats/metricbeat' }, }), }, RPM: { @@ -88,7 +88,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ ], textPost: i18n.translate('home.tutorials.common.metricbeatInstructions.install.debTextPost', { defaultMessage: 'Looking for the 32-bit packages? See the [Download page]({link}).', - values: { link: 'https://www.opensearch.org/downloads/beats/metricbeat' }, + values: { link: 'https://opensearch.org/docs/latest/downloads/beats/metricbeat' }, }), }, WINDOWS: { @@ -111,7 +111,7 @@ export const createMetricbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', metricbeatLink: '{config.docs.beats.metricbeat}/metricbeat-installation-configuration.html', - opensearchLink: 'https://www.opensearch.org/downloads/beats/metricbeat', + opensearchLink: 'https://opensearch.org/docs/latest/downloads/beats/metricbeat', }, } ), diff --git a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts index 11a4a3c109be..c33cd89b28e2 100644 --- a/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts +++ b/src/plugins/home/server/tutorials/instructions/winlogbeat_instructions.ts @@ -57,7 +57,7 @@ export const createWinlogbeatInstructions = (context?: TutorialContext) => ({ folderPath: '`C:\\Program Files`', winlogbeatLink: '{config.docs.beats.winlogbeat}/winlogbeat-installation-configuration.html', - opensearchLink: 'https://www.opensearch.org/downloads/beats/winlogbeat', + opensearchLink: 'https://opensearch.org/downloads/beats/winlogbeat', }, } ), diff --git a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts index e906031cc51e..d85b24392fdb 100644 --- a/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts +++ b/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/lib/ensure_minimum_time.ts @@ -45,7 +45,6 @@ export async function ensureMinimumTime( ) { let returnValue; - // https://kibana-ci.opensearch.org/job/elastic+kibana+6.x+multijob-intake/128/console // We're having periodic failures around the timing here. I'm not exactly sure // why it's not consistent but I'm going to add some buffer space here to // prevent these random failures diff --git a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap index cf3482faa6e0..4b18bf314541 100644 --- a/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap +++ b/src/plugins/index_pattern_management/public/components/index_pattern_table/empty_state/__snapshots__/empty_state.test.tsx.snap @@ -103,7 +103,7 @@ exports[`EmptyState should render normally 1`] = ` Object { "description": " }, - "url": { "en": "https://www.opensearch.org/opensearch-maps-service" } + "url": { "en": "https://opensearch.org/docs/latest/dashboards/maptiles/" } } ], "formats": [ @@ -40,7 +40,7 @@ { "label": { "en": "MapTiler" }, "url": { "en": "https://www.maptiler.com" } }, { "label": { "en": "OpenSearch Maps Service" }, - "url": { "en": "https://www.opensearch.org/opensearch-maps-service" } + "url": { "en": "https://opensearch.org/docs/latest/dashboards/maptiles/" } } ], "formats": [ @@ -68,7 +68,7 @@ { "label": { "en": "MapTiler" }, "url": { "en": "https://www.maptiler.com" } }, { "label": { "en": "OpenSearch Maps Service" }, - "url": { "en": "https://www.opensearch.org/opensearch-maps-service" } + "url": { "en": "https://opensearch.org/docs/latest/dashboards/maptiles/" } } ], "formats": [ diff --git a/src/plugins/maps_legacy/public/map/grid_dimensions.js b/src/plugins/maps_legacy/public/map/grid_dimensions.js index 8f3d8e73ab8a..369eb02cfc39 100644 --- a/src/plugins/maps_legacy/public/map/grid_dimensions.js +++ b/src/plugins/maps_legacy/public/map/grid_dimensions.js @@ -31,7 +31,7 @@ */ // geohash precision mapping of geohash grid cell dimensions (width x height, in meters) at equator. -// https://www.opensearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html#_cell_dimensions_at_the_equator +// https://opensearch.org/docs/latest/opensearch/bucket-agg/#geo_distance-geohash_grid const gridAtEquator = { 1: [5009400, 4992600], 2: [1252300, 624100], diff --git a/src/plugins/maps_legacy/public/map/service_settings.test.js b/src/plugins/maps_legacy/public/map/service_settings.test.js index d2574ac11caf..661fc167dc4a 100644 --- a/src/plugins/maps_legacy/public/map/service_settings.test.js +++ b/src/plugins/maps_legacy/public/map/service_settings.test.js @@ -108,7 +108,7 @@ describe('service_settings (FKA tile_map test)', function () { expect(attrs.url.includes('{y}')).toEqual(true); expect(attrs.url.includes('{z}')).toEqual(true); expect(attrs.attribution).toEqual( - 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>' + 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>' ); const urlObject = url.parse(attrs.url, true); @@ -189,7 +189,7 @@ describe('service_settings (FKA tile_map test)', function () { minZoom: 0, maxZoom: 10, attribution: - 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>', + 'OpenStreetMap contributors | OpenMapTiles | MapTiler | <iframe id=\'iframe\' style=\'position:fixed;height: 40%;width: 100%;top: 60%;left: 5%;right:5%;border: 0px;background:white;\' src=\'http://256.256.256.256\'></iframe>', subdomains: [], }, ]; @@ -306,7 +306,7 @@ describe('service_settings (FKA tile_map test)', function () { it('should load manifest (individual props)', async () => { const expected = { attribution: - 'Made with NaturalEarth | OpenSearch Maps Service', + 'Made with NaturalEarth | OpenSearch Maps Service', format: 'geojson', fields: [ { type: 'id', name: 'iso2', description: 'ISO 3166-1 alpha-2 Code' }, diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap b/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap index a1e9e1d445fb..198e0119ebd8 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/__snapshots__/overview.test.tsx.snap @@ -137,7 +137,7 @@ exports[`Overview render 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "8e18fcedbc", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/the-go-client-for-elasticsearch-introduction?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/clients/go/", "publishOn": "2020-08-31T10:23:47.000Z", "title": "The Go client for OpenSearch: Introduction", }, @@ -147,7 +147,7 @@ exports[`Overview render 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "fb3e3d42ef", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/alerting-and-anomaly-detection-for-uptime-and-reliability?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/monitoring-plugins/ad/index/", "publishOn": "2020-08-14T10:23:47.000Z", "title": "Alerting and anomaly detection for uptime and reliability", }, @@ -157,7 +157,7 @@ exports[`Overview render 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "b2fc7d47d5", "linkText": "Learn more on the blog", - "linkUrl": "https://www.opensearch.org/blog/optimizing-costs-elastic-cloud-hot-warm-index-lifecycle-management?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/opensearch/cluster/#advanced-step-7-set-up-a-hot-warm-architecture", "publishOn": "2020-08-01T10:23:47.000Z", "title": "Optimizing costs in Elastic Cloud: Hot-warm + index lifecycle management", }, @@ -566,7 +566,7 @@ exports[`Overview without features 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "8e18fcedbc", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/the-go-client-for-elasticsearch-introduction?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/clients/go/", "publishOn": "2020-08-31T10:23:47.000Z", "title": "The Go client for OpenSearch: Introduction", }, @@ -576,7 +576,7 @@ exports[`Overview without features 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "fb3e3d42ef", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/alerting-and-anomaly-detection-for-uptime-and-reliability?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/monitoring-plugins/ad/index/", "publishOn": "2020-08-14T10:23:47.000Z", "title": "Alerting and anomaly detection for uptime and reliability", }, @@ -586,7 +586,7 @@ exports[`Overview without features 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "b2fc7d47d5", "linkText": "Learn more on the blog", - "linkUrl": "https://www.opensearch.org/blog/optimizing-costs-elastic-cloud-hot-warm-index-lifecycle-management?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/opensearch/cluster/#advanced-step-7-set-up-a-hot-warm-architecture", "publishOn": "2020-08-01T10:23:47.000Z", "title": "Optimizing costs in Elastic Cloud: Hot-warm + index lifecycle management", }, @@ -995,7 +995,7 @@ exports[`Overview without solutions 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "8e18fcedbc", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/the-go-client-for-elasticsearch-introduction?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/clients/go/", "publishOn": "2020-08-31T10:23:47.000Z", "title": "The Go client for OpenSearch: Introduction", }, @@ -1005,7 +1005,7 @@ exports[`Overview without solutions 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "fb3e3d42ef", "linkText": "Read more on the blog", - "linkUrl": "https://www.opensearch.org/blog/alerting-and-anomaly-detection-for-uptime-and-reliability?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/monitoring-plugins/ad/index/", "publishOn": "2020-08-14T10:23:47.000Z", "title": "Alerting and anomaly detection for uptime and reliability", }, @@ -1015,7 +1015,7 @@ exports[`Overview without solutions 1`] = ` "expireOn": "2050-12-31T11:59:59.000Z", "hash": "b2fc7d47d5", "linkText": "Learn more on the blog", - "linkUrl": "https://www.opensearch.org/blog/optimizing-costs-elastic-cloud-hot-warm-index-lifecycle-management?blade=opensearchDashboardsfeed", + "linkUrl": "https://opensearch.org/docs/latest/opensearch/cluster/#advanced-step-7-set-up-a-hot-warm-architecture", "publishOn": "2020-08-01T10:23:47.000Z", "title": "Optimizing costs in Elastic Cloud: Hot-warm + index lifecycle management", }, diff --git a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx index 816c7172b7ef..5b212508a26f 100644 --- a/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx +++ b/src/plugins/opensearch_dashboards_overview/public/components/overview/overview.test.tsx @@ -61,8 +61,7 @@ const mockNewsFetchResult = { expireOn: moment('2050-12-31T11:59:59Z'), hash: '8e18fcedbc', linkText: 'Read more on the blog', - linkUrl: - 'https://www.opensearch.org/blog/the-go-client-for-elasticsearch-introduction?blade=opensearchDashboardsfeed', + linkUrl: 'https://opensearch.org/docs/latest/clients/go/', publishOn: moment('2020-08-31T10:23:47Z'), title: 'The Go client for OpenSearch: Introduction', }, @@ -73,8 +72,7 @@ const mockNewsFetchResult = { expireOn: moment('2050-12-31T11:59:59Z'), hash: 'fb3e3d42ef', linkText: 'Read more on the blog', - linkUrl: - 'https://www.opensearch.org/blog/alerting-and-anomaly-detection-for-uptime-and-reliability?blade=opensearchDashboardsfeed', + linkUrl: 'https://opensearch.org/docs/latest/monitoring-plugins/ad/index/', publishOn: moment('2020-08-14T10:23:47Z'), title: 'Alerting and anomaly detection for uptime and reliability', }, @@ -86,7 +84,7 @@ const mockNewsFetchResult = { hash: 'b2fc7d47d5', linkText: 'Learn more on the blog', linkUrl: - 'https://www.opensearch.org/blog/optimizing-costs-elastic-cloud-hot-warm-index-lifecycle-management?blade=opensearchDashboardsfeed', + 'https://opensearch.org/docs/latest/opensearch/cluster/#advanced-step-7-set-up-a-hot-warm-architecture', publishOn: moment('2020-08-01T10:23:47Z'), title: 'Optimizing costs in Elastic Cloud: Hot-warm + index lifecycle management', }, diff --git a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx index a71a576b0323..6fb3ff954b05 100644 --- a/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx +++ b/src/plugins/opensearch_dashboards_react/public/field_icon/field_icon.tsx @@ -62,7 +62,7 @@ export const typeToEuiIconMap: Partial> = { geo_point: { iconType: 'tokenGeo' }, geo_shape: { iconType: 'tokenGeo' }, ip: { iconType: 'tokenIP' }, - // is a plugin's data type https://www.opensearch.org/guide/en/elasticsearch/plugins/current/mapper-murmur3-usage.html + // is a plugin's data type https://opensearch.org/docs/latest/opensearch/install/plugins/#available-plugins murmur3: { iconType: 'tokenFile' }, number: { iconType: 'tokenNumber' }, _source: { iconType: 'editorCodeBlock', color: 'gray' }, diff --git a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx index 93917c9be130..4d443242cac5 100644 --- a/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx +++ b/src/plugins/opensearch_dashboards_react/public/markdown/markdown.test.tsx @@ -70,7 +70,7 @@ test('should add `noreferrer` and `nooopener` to unknown links in new tabs', () // TODO: [RENAMEME] if we fork EUI and update that regex then we can include this test again xtest('should only add `nooopener` to known links in new tabs', () => { const component = shallow( - + ); expect(component.render().find('a').prop('rel')).toBe('noopener'); }); diff --git a/src/plugins/telemetry_collection_manager/server/types.ts b/src/plugins/telemetry_collection_manager/server/types.ts index eb586c01505c..660ea7c1a107 100644 --- a/src/plugins/telemetry_collection_manager/server/types.ts +++ b/src/plugins/telemetry_collection_manager/server/types.ts @@ -107,7 +107,7 @@ export interface UsageStatsPayload extends BasicStatsPayload { collectionSource: string; } -// From https://www.opensearch.org/guide/en/elasticsearch/reference/current/get-license.html +// From https://opensearch.org/docs/latest/#get-involved export interface OpenSearchLicense { status: string; uid: string; diff --git a/src/plugins/timeline/public/directives/timeline_help/timeline_help.html b/src/plugins/timeline/public/directives/timeline_help/timeline_help.html index 993a309f8001..583edb65a4b8 100644 --- a/src/plugins/timeline/public/directives/timeline_help/timeline_help.html +++ b/src/plugins/timeline/public/directives/timeline_help/timeline_help.html @@ -185,7 +185,7 @@

- - } > diff --git a/src/plugins/vis_type_vega/public/default.spec.hjson b/src/plugins/vis_type_vega/public/default.spec.hjson index c64ec431154a..98a0787c46c1 100644 --- a/src/plugins/vis_type_vega/public/default.spec.hjson +++ b/src/plugins/vis_type_vega/public/default.spec.hjson @@ -24,7 +24,7 @@ OpenSearch Dashboards has a special handling for the fields surrounded by "%". %timefield%: @timestamp /* -See .search() documentation for : https://www.opensearch.org/guide/en/elasticsearch/client/javascript-api/current/api-reference.html#api-search +See .search() documentation for : https://opensearch.org/docs/latest/clients/javascript/ */ // Which index to search diff --git a/test/functional/apps/getting_started/_shakespeare.js b/test/functional/apps/getting_started/_shakespeare.js index c6fa9ddcb0c8..d723c88abdeb 100644 --- a/test/functional/apps/getting_started/_shakespeare.js +++ b/test/functional/apps/getting_started/_shakespeare.js @@ -46,8 +46,6 @@ export default function ({ getService, getPageObjects }) { 'visChart', ]); - // https://www.opensearch.org/guide/en/kibana/current/tutorial-load-dataset.html - describe('Shakespeare', function describeIndexTests() { // index starts on the first "count" metric at 1 // Each new metric or aggregation added to a visualization gets the next index. @@ -56,10 +54,6 @@ export default function ({ getService, getPageObjects }) { let aggIndex = 1; before(async function () { - log.debug( - 'Load empty_opensearch_dashboards and Shakespeare Getting Started data\n' + - 'https://www.opensearch.org/guide/en/kibana/current/tutorial-load-dataset.html' - ); await security.testUser.setRoles(['opensearch_dashboards_admin', 'test_shakespeare_reader']); await opensearchArchiver.load('empty_opensearch_dashboards', { skipExisting: true }); log.debug('Load shakespeare data'); @@ -78,7 +72,6 @@ export default function ({ getService, getPageObjects }) { expect(patternName).to.be('shakespeare'); }); - // https://www.opensearch.org/guide/en/kibana/current/tutorial-visualizing.html /* 1. Click New and select Vertical bar chart. 2. Select the shakes* index pattern. Since you haven’t defined any buckets yet, you’ll see a single big bar that shows the total count of documents that diff --git a/test/functional/apps/getting_started/index.js b/test/functional/apps/getting_started/index.js index 8a750c7c8d49..7bb680729f41 100644 --- a/test/functional/apps/getting_started/index.js +++ b/test/functional/apps/getting_started/index.js @@ -39,7 +39,6 @@ export default function ({ getService, loadTestFile }) { before(async function () { await browser.setWindowSize(1200, 800); }); - // https://www.opensearch.org/guide/en/kibana/current/tutorial-load-dataset.html loadTestFile(require.resolve('./_shakespeare')); }); } diff --git a/test/server_integration/__fixtures__/README.md b/test/server_integration/__fixtures__/README.md index cdcce94ceaa4..1a8be1045dc7 100644 --- a/test/server_integration/__fixtures__/README.md +++ b/test/server_integration/__fixtures__/README.md @@ -16,7 +16,7 @@ EE='localhost' ## Step 2. Generate PKCS12 key stores -Using [opensearch-certutil](https://www.opensearch.org/guide/en/opensearch/reference/current/certutil.html): +Using [opensearch-self-signed-certificates](https://opensearch.org/docs/latest/security-plugin/configuration/generate-certificates/): ```sh bin/opensearch-certutil ca --ca-dn "CN=Test Root CA" -days 18250 --out $CA1.p12 --pass castorepass