Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding functionality to associate existing detector with a visualization #484

Merged

Conversation

amitgalitz
Copy link
Member

@amitgalitz amitgalitz commented May 17, 2023

Description

Adding a flyout to associate existing visualization with a detector, and solving all issues here #490

Screenshot:
Screenshot 2023-05-17 at 3 12 15 AM

resolves #490

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@amitgalitz amitgalitz force-pushed the associate-exist branch 2 times, most recently from 98867f2 to 729b5f6 Compare May 22, 2023 23:55
@ohltyler
Copy link
Member

Changes LGTM, will wait to approve when #487 is merged

@amitgalitz
Copy link
Member Author

@amitgalitz
Copy link
Member Author

Right now I have the constants for the saved objects set like this:
For the plugin resource I think I should change the type here to "Anomaly Detectors" actually (using https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/blob/featureAnywhere/public/expressions/constants.ts#LL9C14-L9C35)
do you agree?

const pluginResource = {
      type: 'anomaly-detection',
      id: detector.id,
    } as ISavedPluginResource;

    const savedObjectToCreate = {
      title: embeddable.vis.title,
      originPlugin: ORIGIN_PLUGIN_VIS_LAYER,
      pluginResource: pluginResource,
      visId: embeddable.vis.id,
      savedObjectType: 'visualization',
      visLayerExpressionFn: fn,
    } as ISavedAugmentVis;
   

@ohltyler
Copy link
Member

@ohltyler just want to double check, did you take a look here: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/pull/484/files#diff-8ec1ba31bcc4da742d5f9cf13babe0c91adc8b00a9b5066e0c51cb47d8df60f8R260-R311?

This link doesn't work for me, can you point me to the file/lines you want me to look at?

@ohltyler
Copy link
Member

Right now I have the constants for the saved objects set like this: For the plugin resource I think I should change the type here to "Anomaly Detectors" actually (using https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/blob/featureAnywhere/public/expressions/constants.ts#LL9C14-L9C35) do you agree?

const pluginResource = {
      type: 'anomaly-detection',
      id: detector.id,
    } as ISavedPluginResource;

    const savedObjectToCreate = {
      title: embeddable.vis.title,
      originPlugin: ORIGIN_PLUGIN_VIS_LAYER,
      pluginResource: pluginResource,
      visId: embeddable.vis.id,
      savedObjectType: 'visualization',
      visLayerExpressionFn: fn,
    } as ISavedAugmentVis;
   

Yes. We can have this as a constant somewhere to ensure. You could add a comment about it along the lines of "this value will be exposed when listing out the different plugin resource types in the view events page"

@amitgalitz
Copy link
Member Author

@ohltyler just want to double check, did you take a look here: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/pull/484/files#diff-8ec1ba31bcc4da742d5f9cf13babe0c91adc8b00a9b5066e0c51cb47d8df60f8R260-R311?

This link doesn't work for me, can you point me to the file/lines you want me to look at?

File public/components/FeatureAnywhereContextMenu/CreateAnomalyDetector/AddAnomalyDetector.tsx, line 260-311

@ohltyler
Copy link
Member

@ohltyler just want to double check, did you take a look here: https://github.com/opensearch-project/anomaly-detection-dashboards-plugin/pull/484/files#diff-8ec1ba31bcc4da742d5f9cf13babe0c91adc8b00a9b5066e0c51cb47d8df60f8R260-R311?

This link doesn't work for me, can you point me to the file/lines you want me to look at?

File public/components/FeatureAnywhereContextMenu/CreateAnomalyDetector/AddAnomalyDetector.tsx, line 260-311

Just one comment, else LGTM.

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Merging #484 (fa45fd8) into featureAnywhere (cb349ce) will decrease coverage by 0.88%.
The diff coverage is n/a.

❗ Current head fa45fd8 differs from pull request most recent head 15dc68d. Consider uploading reports for the commit 15dc68d to get more accurate results

@@                 Coverage Diff                 @@
##           featureAnywhere     #484      +/-   ##
===================================================
- Coverage            49.00%   48.13%   -0.88%     
===================================================
  Files                  164      165       +1     
  Lines                 5401     5524     +123     
  Branches              1039     1061      +22     
===================================================
+ Hits                  2647     2659      +12     
- Misses                2494     2605     +111     
  Partials               260      260              

see 9 files with indirect coverage changes

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Comment on lines 453 to 460
{mode === 'existing' && (
<AssociateExisting
embeddableVisId={embeddable.vis.id}
selectedDetector={selectedDetector}
setSelectedDetector={setSelectedDetector}
></AssociateExisting>
)}
{mode === 'create' && (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to the conditional on line 830, we can do the same here for these 2 exclusive scenarios.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mode can also be 'associated'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the difference between existing and associated? I'm thinking if we can have these in constants with details about each scenario it would be helpful.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

existing is the one with the button to associate an existing detector flyout and associated is the flyout with the list of all currently associated detectors with ability to unlink. I can add some comments and constants, will do that in my final commit after fixing the dependency issue

public/utils/utils.tsx Outdated Show resolved Hide resolved
… expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
<div>
<EuiButton onClick={() => openAlerting(detectorId)}>
Set up alerts
</EuiButton>{' '}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this {' '} means here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

};

const alertingExists = () => {
try {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a setup alert button on existing AD detector overview page, is this how we currently check if alerting exist? also what does ALERTING_TRIGGER_AD_ID mean here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually don't have this logic on the setup alert button in AD overview page. If there is no alerting plugin, the button still shows and it just sends to a broken page.
ALERTING_TRIGGER_AD_ID is the trigger that David set up on the alerting code to open up the relevant flyout. If the alerting trigger doesn't exist then it means there is no alerting plugin or potentially something else going on but regardless it means the flyout for creating a monitor on top of a detector wont be opened

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually don't have this logic on the setup alert button in AD overview page. If there is no alerting plugin, the button still shows and it just sends to a broken page.

I believe we used to have a check here. Regardless, this is bad UX. Can you open an issue on that. We can probably keep it broad, like "clean up how to detect alerting plugin is installed"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened an issue #493

savedObject
.save({})
.then((response: any) => {
notifications.toasts.addSuccess({
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here's a way to make the toast wider:

  1. Add the following style in the styles.scss file
.euiGlobalToastList {
  width: 500px;
}

.successToast {
  width: 450px;
  position: relative;
  right: 25px;
}
  1. add this line inside the notifictions.toasts.addSuccess...
    className: "successToast",

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2023-05-25 at 3 31 22 PM

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, made the fix

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
ohltyler
ohltyler previously approved these changes May 26, 2023
getAugmentVisSavedObjs(embeddable.vis.id, savedObjectLoader, uiSettings)
.then((savedAugmentObjectsArr: any) => {
if (savedAugmentObjectsArr != undefined) {
console.log(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this console line needed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if not, you can remove it in the next pr

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz merged commit 59c2a60 into opensearch-project:featureAnywhere May 26, 2023
amitgalitz added a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request May 30, 2023
…ion (opensearch-project#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
amitgalitz added a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request Jul 7, 2023
…ion (opensearch-project#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
jackiehanyang added a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz pushed a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz pushed a commit to amitgalitz/anomaly-detection-dashboards-plugin that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (opensearch-project#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (opensearch-project#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (opensearch-project#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (opensearch-project#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (opensearch-project#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (opensearch-project#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (opensearch-project#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (opensearch-project#499)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (opensearch-project#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (opensearch-project#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (opensearch-project#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (opensearch-project#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (opensearch-project#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (opensearch-project#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (opensearch-project#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (opensearch-project#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (opensearch-project#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (opensearch-project#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (opensearch-project#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (opensearch-project#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (opensearch-project#525)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (opensearch-project#527)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (opensearch-project#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (opensearch-project#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (opensearch-project#540)

* Add branch constants in CI workflow (opensearch-project#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (opensearch-project#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (opensearch-project#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (opensearch-project#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (opensearch-project#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (opensearch-project#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (opensearch-project#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (opensearch-project#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (opensearch-project#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (opensearch-project#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (opensearch-project#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (opensearch-project#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (opensearch-project#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (opensearch-project#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (opensearch-project#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (opensearch-project#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (opensearch-project#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (opensearch-project#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (opensearch-project#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (opensearch-project#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (opensearch-project#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (opensearch-project#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (opensearch-project#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (opensearch-project#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)
amitgalitz added a commit that referenced this pull request Jul 11, 2023
* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Adding expression function to retrieve anomalies  (#448)

* adding an AD expression function

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making expression fn changes only to plugin.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments, changed a few constants

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moving getDetectorName into try catch

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Register AD as dashboard context menu option (#482)

* Register AD as dashboard context menu option

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* addressing comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add getActions props

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add EmbeddableStart

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove spread operator

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clenaup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add overlay getter and setter

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Associated detectors flyout through UI actions (#449)

* working js manage detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding associated detectors page

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding unlink modal confirmation

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* prettier formating and merge conflicts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add unlinking capability

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding message for no search results

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* more cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* making changes based on new upper container

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fix notification and clean up associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressing comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* renaming some files and adding index.ts

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Added license to new files

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* clean up after rebase

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* addressed more comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added notifications service as a getter-setter

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Feature anywhere create detector flyout page (#487)

* Add create detector flyout page

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* run prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* remove enzyme usage

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* reuse existing helper function when creating detector

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* rebase with associated detector change

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* move helper functions to helper file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use VisLayerTypes for VisLayerExpressionFn

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* address comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* use OVERLAY_ANOMALIES constant

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Adding functionality to associate existing detector with a visualization (#484)

* Adding associate existing

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed usememo, addressed other comments

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* merge cleanup

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* added integration to call on alerting

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaned up files and added changes to check if detector is deleted in expr fn

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing dependency and notifcations issues

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* removed long toast life time

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* switched argument order (#494)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add jest transform config (#497)

* add jest transform config

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add license header

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file as .ts file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add comment on jest config file

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* add more comments

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* cleanup

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update file export

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Merging main branch into featureAnywhere (#499)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>

* Unit tests for expression function and additional components (#503)

* adding UT for expression function and some components

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* moved helper functions to separate files, cleaned up other tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* custom result bug fix along with a few others

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* revert historical boolean

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add pluginEventType when no error

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Fix various bugs (#504)

* fix bug bash bugs

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fix

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* bug fixes

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* clean up code

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* removed unused snapshot

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>

* Various bug fixes and unit tests for AssociatedDetectors (#505)

* associated detectors unit tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed some bugs and added unit tests for associated detectors

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* make feature anywhere formatted detector name an assgiend value (#506)

* make feature anywhere formatted detector name an assgiend value to return

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update feature anywhere documentation link

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct type

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* correct typo

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* various bug fixes for anywhere features (#507)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add group category and order for context menu (#495)

Signed-off-by: David Sinclair <dsincla@rei.com>

* Update Advanced configuration accordion title (#513)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* update categorical field text on Feature Anywhere flyout (#516)

* update categorical field text on Feature Anywhere flyout

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Use non-breaking space character to prevent removing needed empty space by yarn prettier

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix the max width of associate detector flyout to 740px

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

---------

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* fixing vis eligibility (#519)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* render embeddable by using vis embeddable (#521)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Change to anomaly start time; add test ids (#522)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Adding a callout on flyout when association limit has been reached (#524)

* adding a callout when association limit has been reached

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixed limit check and ran prettier

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Merge main into featureAnywhere (#525)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* Merging main into featureAnywhere with conflicts resolved (#527)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Jackie Han <hnyng@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

* copy files from main to resolve conflicts (#533)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* copy files to resolve conflicts (#538)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Feature anywhere (#540)

* Add branch constants in CI workflow (#345)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump decode-uri-component (#359)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* removed duplicate popout icon and ran prettier (#382)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* Change detector out of time range modal warning into a callout warning (#384)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Fix undefined entity list when heatmap is empty (#383)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Updated MAINTAINERS.md to match recommended opensearch-project format. (#388)

Signed-off-by: dblock <dblock@amazon.com>

* Add windows env to integration test workflow (#390)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Bump json5 to 2.2.3 (#393)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Add 2.5 release notes (#395)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Update cold start message (#398)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* upgrade filter bug (#402)

Previously, we didn't actually add filter type when loading old detector. This PR fixed that.

Testing done:
1. added a unit tes
2. verified e2et

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Changed required minimum intervals in cold start message (#411)

Required minimum intervals to finish cold start is related to shingle size. This PR adds the shingle size in the computation and puts the result in the cold start message.

Testing done:
1. verified changing shingle size will change the message.

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Bump @sideway/formula to 3.0.1 (#418)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Remove auto_expand_replicas override in sample data indices (#423)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Created untriaged issue workflow. (#422)

Signed-off-by: dblock <dblock@amazon.com>

* Add 2.6 release notes (#429)

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>

* Fix Node.js and Yarn installation in CI (#433)

Signed-off-by: Miki <miki@amazon.com>

* run prettier command against all files (#444)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* Add 2.7 release notes (#456)

Signed-off-by: Jackie Han <jkhanjob@gmail.com>

* updating maintainers and code owners (#476)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* fixing test to pass with node 18 (#491)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* add 2.8.0 release notes (#500)

Signed-off-by: Kaituo Li <kaituo@amazon.com>

* Remove invalid link (#470)

Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>

* Remove global OUI style override (#511)

Signed-off-by: Matt Provost <provomat@amazon.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>

---------

Signed-off-by: Tyler Ohlsen <ohltyler@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Jackie Han <jkhanjob@gmail.com>
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Kaituo Li <kaituo@amazon.com>
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Jackie Han <hnyng@amazon.com>
Signed-off-by: David Sinclair <dsincla@rei.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Signed-off-by: Peter Nied <peternied@hotmail.com>
Signed-off-by: Matt Provost <provomat@amazon.com>
Co-authored-by: Tyler Ohlsen <ohltyler@amazon.com>
Co-authored-by: Amit Galitzky <amgalitz@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Kaituo Li <kaituo@amazon.com>
Co-authored-by: Miki <amoo_miki@yahoo.com>
Co-authored-by: David Sinclair <24573542+sikhote@users.noreply.github.com>
Co-authored-by: Peter Nied <peternied@hotmail.com>
Co-authored-by: Matt Provost <mattprovost6@gmail.com>
(cherry picked from commit 1e0d783)

Co-authored-by: Jackie Han <hnyng@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants