~data-platform/opensearch-project-components/+git/opensearch-alerting:lp-2.8.0

Last commit made on 2023-08-14
Get this branch:
git clone -b lp-2.8.0 https://git.launchpad.net/~data-platform/opensearch-project-components/+git/opensearch-alerting
Members of Canonical Data Platform can upload to this branch. Log in for directions.

Branch merges

Branch information

Recent commits

453995d... by Mehdi B.

changed gradle distro url

5a05315... by Mehdi B.

changed gradle distro url

3f2e86b... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

Use strong password in security test (#933) (#953)

* Use strong password in security test

Signed-off-by: bowenlan-amzn <email address hidden>

* Update PR tempate

Signed-off-by: bowenlan-amzn <email address hidden>

* Update more password

Signed-off-by: bowenlan-amzn <email address hidden>

---------

Signed-off-by: bowenlan-amzn <email address hidden>
(cherry picked from commit 43754bedfcfeb26a367a4216bf405da866703d0e)

Co-authored-by: bowenlan-amzn <email address hidden>

4277977... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

fix schema version in tests and delegate monitor metadata construction in tests (#948) (#951)

* fix schema version in tests for findings and scheduled jobs index mappings

Signed-off-by: Surya Sashank Nistala <email address hidden>

* fix workflow delegate monitor metadata construction in tests with metadata verification

Signed-off-by: Surya Sashank Nistala <email address hidden>

* unify all workflow transport tests

Signed-off-by: Surya Sashank Nistala <email address hidden>

* unify all single node tests into one single class

Signed-off-by: Surya Sashank Nistala <email address hidden>

---------

Signed-off-by: Surya Sashank Nistala <email address hidden>
(cherry picked from commit 32c0bb0550508de3a003dffb55f23761119951e2)

Co-authored-by: Surya Sashank Nistala <email address hidden>

3c2d5a6... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

Adds transport layer actions for CRUD workflows (#934) (#938) (#941)

(cherry picked from commit e0b7a5a7905b977e58d80e3b9134b14893d122b0)

* remove unneeded import

---------

* Stashed user together with it's roles

---------

* Added workflow execution logic (#850)

* Added workflow execution logic

* Adjusted code according to comments

* Updated version of the findings json

* Updating the workflow metadata in the case of updating flag set to false while the metadata alerady exist

* Added logging for workflow metadata update

* Added Rest Execute Workflow action

* Extended workflow context with workflowMetadataId. Adjusted the doc level monitor findings

* Updated conditions for unstashing the context when indexing and deleting the workflow

---------

* Added fix when executing the workflow and when chained findings index… (#890)

* Fixed deleting monitor workflow metadata (#882)

* Fixed deleting monitor metadata and workflow metadata.

* fix monitor metadata error from conflict resolution

* remove unused import

* remove rest execute workflow action

* increment schema version for findings mapping json

---------

Signed-off-by: Stevan Buzejic <email address hidden>
Signed-off-by: Angie Zhang <email address hidden>
Signed-off-by: Ashish Agrawal <email address hidden>
Signed-off-by: Surya Sashank Nistala <email address hidden>
Co-authored-by: Stevan Buzejic <email address hidden>
Co-authored-by: Angie Zhang <email address hidden>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Petar Dzepina <email address hidden>
Co-authored-by: Ashish Agrawal <email address hidden>
(cherry picked from commit 171cd2ef85a27c8aef4b643fad3140580a1d20cd)

Co-authored-by: Surya Sashank Nistala <email address hidden>

f8063fa... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

Added 2.8 release notes (#939) (#940)

Signed-off-by: bowenlan-amzn <email address hidden>
(cherry picked from commit 3cb1a3d229513a61c1875ef2b5941e4a8fa43af9)

Co-authored-by: bowenlan-amzn <email address hidden>

051a94a... by "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>

revert to deleting monitor metadata after deleting doc level queries to fix regression. Metadata is required for correct query index clean up (#931) (#936)

Signed-off-by: Surya Sashank Nistala <email address hidden>
(cherry picked from commit 5e2312d7a6afdf35dc39534723df1947592e01ec)

Co-authored-by: Surya Sashank Nistala <email address hidden>

841ac90... by Surya Sashank Nistala <email address hidden>

bump version to 2.8.0 (#930)

* bump version to 2.8.0

Signed-off-by: Surya Sashank Nistala <email address hidden>

* fix import string entity

Signed-off-by: Surya Sashank Nistala <email address hidden>

* revert commenting out jackson dependencies

Signed-off-by: Surya Sashank Nistala <email address hidden>

* revert to deleting monitor metadata after deleting doc level queries to fix regression

Signed-off-by: Surya Sashank Nistala <email address hidden>

* upgrade gradle wrapper for 7.6.1

Signed-off-by: Surya Sashank Nistala <email address hidden>

* revert delete monitor action order change

Signed-off-by: Surya Sashank Nistala <email address hidden>

---------

Signed-off-by: Surya Sashank Nistala <email address hidden>

3440a4d... by Surya Sashank Nistala <email address hidden>

log error messages and clean up monitor when indexing doc level queries or metadata creation fails (#900) (#912)

* log errors and clean up monitor when indexing doc level queries or metadata creation fails
* refactor delete monitor action to re-use delete methods
Signed-off-by: Surya Sashank Nistala <email address hidden>

670b188... by Petar Dzepina <email address hidden>

DocLevelMonitor Error Alert revisit (#905) (#909)

* DocLevelMonitor Error Alert revisit (#905)

* refactored to process multiple alerts when clearing/moving

* limited upserting error alerts only in alertsIndex

Signed-off-by: Petar Dzepina <email address hidden>