From 2ea5df6bf7a5e5abcd3f990a7691330adb6a7e11 Mon Sep 17 00:00:00 2001 From: David Cui Date: Tue, 18 May 2021 14:46:00 -0700 Subject: [PATCH] rename opendistro occurrences to opensearch, update doc links Signed-off-by: David Cui --- workbench/CODE_OF_CONDUCT.md | 2 +- workbench/CONTRIBUTING.md | 4 ++-- workbench/README.md | 2 +- workbench/common/index.ts | 2 +- .../Main/__snapshots__/main.test.tsx.snap | 14 +++++++------- workbench/public/components/Main/main.tsx | 4 ++-- workbench/server/plugin.ts | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/workbench/CODE_OF_CONDUCT.md b/workbench/CODE_OF_CONDUCT.md index c673f8d062..ed4f094f6d 100644 --- a/workbench/CODE_OF_CONDUCT.md +++ b/workbench/CODE_OF_CONDUCT.md @@ -1,3 +1,3 @@ ## Code of Conduct -This project has adopted an [Open Source Code of Conduct](https://opendistro.github.io/for-elasticsearch/codeofconduct.html). +This project has adopted an [Open Source Code of Conduct](https://github.com/opensearch-project/project-website/blob/main/CONTRIBUTING.md#code-of-conduct). diff --git a/workbench/CONTRIBUTING.md b/workbench/CONTRIBUTING.md index c2b7d7fdcd..9f26b91f54 100644 --- a/workbench/CONTRIBUTING.md +++ b/workbench/CONTRIBUTING.md @@ -41,12 +41,12 @@ GitHub provides additional document on [forking a repository](https://help.githu ## Finding contributions to work on -Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any issue tagged ["good first issue"](https://github.com/opendistro-for-elasticsearch/sql/issues?q=is%3Aopen+label%3A%22help+wanted%22+label%3A%22good+first+issue%22+label%3AWorkbench) is a great place to start. +Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any issue tagged ["good first issue"](https://github.com/opensearch-project/sql/issues?q=is%3Aopen+is%3Aissue+label%3Aworkbench+label%3A%22good+first+issue%22) is a great place to start. ## Code of Conduct -This project has adopted an [Open Source Code of Conduct](https://opendistro.github.io/for-elasticsearch/codeofconduct.html). +This project has adopted an [Open Source Code of Conduct](https://github.com/opensearch-project/project-website/blob/main/CONTRIBUTING.md#code-of-conduct). ## Security issue notifications diff --git a/workbench/README.md b/workbench/README.md index 9037e6d152..739116b173 100644 --- a/workbench/README.md +++ b/workbench/README.md @@ -5,7 +5,7 @@ The OpenSearch Dashboards Query Workbench enables you to query your OpenSearch d ## Documentation -Please see our technical [documentation](https://opendistro.github.io/for-elasticsearch-docs/) to learn more about its features. +Please see our technical [documentation](https://docs-beta.opensearch.org/) to learn more about its features. ## Setup diff --git a/workbench/common/index.ts b/workbench/common/index.ts index 646776e383..7c8798ca0e 100644 --- a/workbench/common/index.ts +++ b/workbench/common/index.ts @@ -24,5 +24,5 @@ * permissions and limitations under the License. */ -export const PLUGIN_ID = 'opendistroQueryWorkbench'; +export const PLUGIN_ID = 'openSearchQueryWorkbench'; export const PLUGIN_NAME = 'Query Workbench'; diff --git a/workbench/public/components/Main/__snapshots__/main.test.tsx.snap b/workbench/public/components/Main/__snapshots__/main.test.tsx.snap index 399ed8d9e9..e50ff9b06b 100644 --- a/workbench/public/components/Main/__snapshots__/main.test.tsx.snap +++ b/workbench/public/components/Main/__snapshots__/main.test.tsx.snap @@ -98,7 +98,7 @@ exports[`
spec click clear button 1`] = ` > @@ -477,7 +477,7 @@ exports[`
spec click run button, and response causes an error 1`] = ` > @@ -856,7 +856,7 @@ exports[`
spec click run button, and response is not ok 1`] = ` > @@ -1235,7 +1235,7 @@ exports[`
spec click run button, and response is ok 1`] = ` > @@ -1614,7 +1614,7 @@ exports[`
spec click run button, response fills null and missing values > @@ -1996,7 +1996,7 @@ exports[`
spec click translation button, and response is ok 1`] = ` > @@ -2375,7 +2375,7 @@ exports[`
spec renders the component 1`] = ` > diff --git a/workbench/public/components/Main/main.tsx b/workbench/public/components/Main/main.tsx index 625c485f80..0ead63aa5f 100644 --- a/workbench/public/components/Main/main.tsx +++ b/workbench/public/components/Main/main.tsx @@ -623,7 +623,7 @@ export class Main extends React.Component { updateSQLQueries={this.updateSQLQueries} /> ); - link = 'https://opendistro.github.io/for-elasticsearch-docs/docs/sql/'; + link = 'https://docs-beta.opensearch.org/docs/sql/'; linkTitle = 'SQL documentation'; } else { page = ( @@ -636,7 +636,7 @@ export class Main extends React.Component { updatePPLQueries={this.updatePPLQueries} /> ); - link = 'https://opendistro.github.io/for-elasticsearch-docs/docs/ppl/'; + link = 'https://docs-beta.opensearch.org/docs/ppl/'; linkTitle = 'PPL documentation'; } diff --git a/workbench/server/plugin.ts b/workbench/server/plugin.ts index e7856b9264..f431e1ca37 100644 --- a/workbench/server/plugin.ts +++ b/workbench/server/plugin.ts @@ -46,7 +46,7 @@ export class WorkbenchPlugin implements Plugin