forked from opensearch-project/observability
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump prismjs from 1.24.1 to 1.25.0 (opensearch-project#137) Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](PrismJS/prism@v1.24.1...v1.25.0) --- updated-dependencies: - dependency-name: prismjs dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump immer from 9.0.5 to 9.0.6 (opensearch-project#136) Bumps [immer](https://github.com/immerjs/immer) from 9.0.5 to 9.0.6. - [Release notes](https://github.com/immerjs/immer/releases) - [Commits](immerjs/immer@v9.0.5...v9.0.6) --- updated-dependencies: - dependency-name: immer dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Redirect legacy notebooks URL to current observability one (opensearch-project#141) * Move observability frontend to a sub directory (opensearch-project#142) * Add minimal plugin for backend observability (opensearch-project#143) * Add models for objects and requests (opensearch-project#144) * Add CRUD actions and index operations for observability objects (opensearch-project#145) * Update data modal and enable CI (opensearch-project#148) * Panels' visualization design change (opensearch-project#149) * modified common files * modified UI components * modified panel adaptor and router * moved loading to post http call * fixed prettier quotes * Feature timestamp (opensearch-project#152) * timestamp related changes Signed-off-by: Eric Wei <[email protected]> * cleanup Signed-off-by: Eric Wei <[email protected]> * removed loggings and change to console error Signed-off-by: Eric Wei <[email protected]> * remove unused sidebar component Signed-off-by: Eric Wei <[email protected]> * adding cancel button for edit & panel actions (opensearch-project#153) * Feature toasts errors handling (opensearch-project#155) * timestamp related changes Signed-off-by: Eric Wei <[email protected]> * cleanup Signed-off-by: Eric Wei <[email protected]> * removed loggings and change to console error Signed-off-by: Eric Wei <[email protected]> * remove unused sidebar component Signed-off-by: Eric Wei <[email protected]> * added toasts Signed-off-by: Eric Wei <[email protected]> * resolved build failure Signed-off-by: Eric Wei <[email protected]> * couple of error handling changes Signed-off-by: Eric Wei <[email protected]> * added types Signed-off-by: Eric Wei <[email protected]> * Autocomplete only displays current command (opensearch-project#157) * Only show current command in suggestion Signed-off by: Eugene Lee <[email protected]> * Remove console logs Signed-off by: Eugene Lee <[email protected]> * Only display suggestion Signed-off by: Eugene Lee <[email protected]> * Removed commas Signed-off by: Eugene Lee <[email protected]> * Remove import Signed-off by: Eugene Lee <[email protected]> * changed to support query without 'search' prefix (opensearch-project#158) Signed-off-by: Eric Wei <[email protected]> * Remove app analytics (opensearch-project#154) * removing app analytics from sidenav * removed unused headers * added trace analytics as default page * Use JS API to redirect legacy notebooks URL (opensearch-project#162) * Panels bug fix#1 (opensearch-project#159) * fixed UI bugs #1 * folder name typo fix * changes for adopting new sql artifact (opensearch-project#165) * changes for adopting new sql artifact Signed-off-by: Eric Wei <[email protected]> * minor changes Signed-off-by: Eric Wei <[email protected]> * Improve reindex handling for .opensearch-notebooks (opensearch-project#163) * inherited datepicker format from settings (opensearch-project#164) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joshua <[email protected]> Co-authored-by: Shenoy Pratik <[email protected]> Co-authored-by: Eric Wei <[email protected]> Co-authored-by: eugenesk24 <[email protected]>
- Loading branch information
1 parent
e7783f8
commit e4d33d3
Showing
451 changed files
with
9,663 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
.github/workflows/opensearch-observability-test-and-build-workflow.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Test and Build OpenSearch Observability Backend Plugin | ||
|
||
on: [pull_request, push] | ||
|
||
env: | ||
OPENSEARCH_VERSION: '1.1.0-SNAPSHOT' | ||
OPENSEARCH_BRANCH: '1.1' | ||
COMMON_UTILS_BRANCH: 'main' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: Set up JDK 1.14 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.14 | ||
|
||
# dependencies: OpenSearch | ||
- name: Checkout OpenSearch | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: 'opensearch-project/OpenSearch' | ||
path: OpenSearch | ||
ref: ${{ env.OPENSEARCH_BRANCH }} | ||
- name: Build OpenSearch | ||
working-directory: ./OpenSearch | ||
run: ./gradlew publishToMavenLocal | ||
|
||
# dependencies: common-utils | ||
- name: Checkout common-utils | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: 'opensearch-project/common-utils' | ||
path: common-utils | ||
ref: ${{ env.COMMON_UTILS_BRANCH }} | ||
- name: Build common-utils | ||
working-directory: ./common-utils | ||
run: ./gradlew publishToMavenLocal -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} | ||
|
||
- name: Build with Gradle | ||
run: | | ||
cd opensearch-observability | ||
./gradlew build -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} | ||
- name: Create Artifact Path | ||
run: | | ||
mkdir -p opensearch-observability-builds | ||
cp -r ./opensearch-observability/build/distributions/*.zip opensearch-observability-builds/ | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: opensearch-observability | ||
path: opensearch-observability-builds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,22 +10,29 @@ So you want to contribute code to this project? Excellent! We're glad you're her | |
1. Change your node version to the version specified in `.node-version` inside the OpenSearch Dashboards root directory. | ||
1. cd into `plugins` directory in the OpenSearch Dashboards source code directory. | ||
1. Check out this package from version control into the `plugins` directory. | ||
1. Run `yarn osd bootstrap` inside `OpenSearch-Dashboards/plugins/trace-analytics`. | ||
```bash | ||
git clone [email protected]:opensearch-project/trace-analytics.git plugins --no-checkout | ||
cd plugins | ||
echo 'dashboards-observability/*' >> .git/info/sparse-checkout | ||
git config core.sparseCheckout true | ||
git checkout main | ||
``` | ||
6. Run `yarn osd bootstrap` inside `OpenSearch-Dashboards/plugins/dashboards-observability`. | ||
|
||
Ultimately, your directory structure should look like this: | ||
|
||
```md | ||
. | ||
├── OpenSearch-Dashboards | ||
│ └── plugins | ||
│ └── trace-analytics | ||
│ └── dashboards-observability | ||
``` | ||
|
||
### Build | ||
|
||
To build the plugin's distributable zip simply run `yarn build`. | ||
|
||
Example output: `./build/trace-analytics-dashboards*.zip` | ||
Example output: `./build/observability*.zip` | ||
|
||
### Run | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
* | ||
* Modifications Copyright OpenSearch Contributors. See | ||
* GitHub history for details. | ||
*/ | ||
|
||
import { IUiSettingsClient } from '../../../../src/core/public'; | ||
|
||
let uiSettings: IUiSettingsClient; | ||
|
||
export const uiSettingsService = { | ||
init: (client: IUiSettingsClient) => { | ||
uiSettings = client; | ||
}, | ||
get: (key: string, defaultOverride?: any) => { | ||
return uiSettings?.get(key, defaultOverride) || ''; | ||
}, | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.