Skip to content

Commit

Permalink
Add suggest anomaly detector action to discover page (#849)
Browse files Browse the repository at this point in the history
* Add generate anomaly detector action to discover page

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Add more test code and rename the file

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Modify flyout header

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Make the detectorName follow the convention

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Truncate the index pattern name if it's too long

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Move entry point to query editor

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Call the node API in dashboard-assistant plugin to generate parameters

Refactor unit test code

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Fix test failure

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Revert the code format

Signed-off-by: gaobinlong <gbinlong@amazon.com>

* Remove some empty lines

Signed-off-by: gaobinlong <gbinlong@amazon.com>

---------

Signed-off-by: gaobinlong <gbinlong@amazon.com>
(cherry picked from commit ec02b63)
  • Loading branch information
gaobinlong authored and github-actions[bot] committed Sep 9, 2024
1 parent c9a567f commit 67f7e44
Show file tree
Hide file tree
Showing 12 changed files with 1,413 additions and 47 deletions.
3 changes: 2 additions & 1 deletion opensearch_dashboards.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
],
"optionalPlugins": [
"dataSource",
"dataSourceManagement"
"dataSourceManagement",
"assistantDashboards"
],
"requiredPlugins": [
"opensearchDashboardsUtils",
Expand Down
449 changes: 449 additions & 0 deletions public/components/DiscoverAction/SuggestAnomalyDetector.test.tsx

Large diffs are not rendered by default.

Loading

0 comments on commit 67f7e44

Please sign in to comment.