Skip to content

Commit

Permalink
rename opendistro occurrences to opensearch, update doc links
Browse files Browse the repository at this point in the history
Signed-off-by: David Cui <davidcui@amazon.com>
  • Loading branch information
davidcui1225 committed May 18, 2021
1 parent 7bd9700 commit 2ea5df6
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion workbench/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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).
4 changes: 2 additions & 2 deletions workbench/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion workbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion workbench/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ exports[`<Main /> spec click clear button 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -477,7 +477,7 @@ exports[`<Main /> spec click run button, and response causes an error 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -856,7 +856,7 @@ exports[`<Main /> spec click run button, and response is not ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1235,7 +1235,7 @@ exports[`<Main /> spec click run button, and response is ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1614,7 +1614,7 @@ exports[`<Main /> spec click run button, response fills null and missing values
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -1996,7 +1996,7 @@ exports[`<Main /> spec click translation button, and response is ok 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down Expand Up @@ -2375,7 +2375,7 @@ exports[`<Main /> spec renders the component 1`] = `
>
<a
class="euiButton euiButton--primary"
href="https://opendistro.github.io/for-elasticsearch-docs/docs/sql/"
href="https://docs-beta.opensearch.org/docs/sql/"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
4 changes: 2 additions & 2 deletions workbench/public/components/Main/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ export class Main extends React.Component<MainProps, MainState> {
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 = (
Expand All @@ -636,7 +636,7 @@ export class Main extends React.Component<MainProps, MainState> {
updatePPLQueries={this.updatePPLQueries}
/>
);
link = 'https://opendistro.github.io/for-elasticsearch-docs/docs/ppl/';
link = 'https://docs-beta.opensearch.org/docs/ppl/';
linkTitle = 'PPL documentation';
}

Expand Down
4 changes: 2 additions & 2 deletions workbench/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class WorkbenchPlugin implements Plugin<WorkbenchPluginSetup, WorkbenchPl
}

public setup(core: CoreSetup) {
this.logger.debug('opendistroQueryWorkbench: Setup');
this.logger.debug('openSearchQueryWorkbench: Setup');
const router = core.http.createRouter();
const client: ILegacyClusterClient = core.opensearch.legacy.createClient(
'query_workbench',
Expand All @@ -62,7 +62,7 @@ export class WorkbenchPlugin implements Plugin<WorkbenchPluginSetup, WorkbenchPl
}

public start(core: CoreStart) {
this.logger.debug('opendistroQueryWorkbench: Started');
this.logger.debug('openSearchQueryWorkbench: Started');
return {};
}

Expand Down

0 comments on commit 2ea5df6

Please sign in to comment.