~data-platform/opensearch-project-components/+git/opensearch-index-management:lp-2.9.0

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

Branch merges

Recent commits

3a64d8a... by Mehdi B.

changed gradle distro url

0e17fbf... by Mehdi B.

changed gradle distro url

ccd01b1... by Hailong Cui <email address hidden>

Fix build errors after refactoring of Strings class in core (#786) (#845)

(cherry picked from commit 30e16d999d18e0001c8963794f8fcef5eb3c6e80)
Signed-off-by: Hailong Cui <email address hidden>

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

Upgrade httpcomponent version after OpenSearch core's upgrade (#847) (#848)

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

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

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

remove runtime notification settings (#839) (#843)

Signed-off-by: Hailong Cui <email address hidden>
(cherry picked from commit 2a9bcd682e9cb63253e7a8478be881e046fa43ef)

Co-authored-by: Hailong Cui <email address hidden>

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

Fix LRON concurrent indexing throw ResourceAlreadyExists (#831) (#842)

* fix LRON unwrap exception and some IT

Signed-off-by: zhichao-aws <email address hidden>

* remove useless log

Signed-off-by: zhichao-aws <email address hidden>

---------

Signed-off-by: zhichao-aws <email address hidden>
Co-authored-by: Hailong Cui <email address hidden>
(cherry picked from commit f07fa2b3e47fc392cad77981b7683ef384997202)

Co-authored-by: zhichao-aws <email address hidden>

930157b... by Hailong Cui <email address hidden>

[Backport 2.x] ImmutableOpenMap to j.u.Map (#838)

* Metadata members from ImmutableOpenMap to j.u.Map

Signed-off-by: Hailong Cui <email address hidden>

* add field remoteStoreIndexShallowCopy in SM TestUtils (#825)

Signed-off-by: zhichao-aws <email address hidden>

* fix NPE for transform aggregations (#830)

Signed-off-by: Hailong Cui <email address hidden>

* Fix detekt

Signed-off-by: Hailong Cui <email address hidden>

---------

Signed-off-by: Hailong Cui <email address hidden>
Signed-off-by: zhichao-aws <email address hidden>
Co-authored-by: zhichao-aws <email address hidden>

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

Increment version to 2.9.0-SNAPSHOT (#805)

Signed-off-by: opensearch-ci-bot <email address hidden>
Co-authored-by: opensearch-ci-bot <email address hidden>

3ba8c90... by AWSHurneyt <email address hidden>

Added to CODEOWNERS and MAINTAINERS files. (#810) (#811)

* Added myself to the repo.

* Added myself to the repo.

* Added maintainers to the repo.

* Update MAINTAINERS.md

* Update MAINTAINERS.md

---------

Signed-off-by: AWSHurneyt <email address hidden>
Signed-off-by: bowenlan-amzn <email address hidden>
Co-authored-by: bowenlan-amzn <email address hidden>
Co-authored-by: Sayali Gaikawad <email address hidden>

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

Bugfix/202 transform date add date conversion (#622) (#803)

* 202: Added format property when specifying the date histogram

Signed-off-by: Stevan Buzejic <email address hidden>

* 202: Added component responsible for building the target index mapping once the transform is being triggered.

Signed-off-by: Stevan Buzejic <email address hidden>

* 202: date_histogram considered in the case of the creating the target index for the date fields when transform is executed

Signed-off-by: Stevan Buzejic <email address hidden>

* 202: Enabled target index date field mappings if those fields are used in aggregations or as a term aggregation for defining the buckets

Signed-off-by: Stevan Buzejic <email address hidden>

* Updated code according to comments. Added targetIndexMapping when transform preview action is triggered

Signed-off-by: Stevan Buzejic <email address hidden>

* Updated schema versions

Signed-off-by: Stevan Buzejic <email address hidden>

* Addressed the comments

Signed-off-by: Stevan Buzejic <email address hidden>

* Refactored transform tests related with aggregation based on a date field.
Updated transform preview action to consider target index mapping when using a date field. Kept formatting of the date field in target index.

Signed-off-by: Stevan Buzejic <email address hidden>

* detekt fix

Signed-off-by: Stevan Buzejic <email address hidden>

* Added zone in IT

Signed-off-by: Stevan Buzejic <email address hidden>

* Added function for creating target index mapping that considers transform mapping json. Target date field mappings are generated after transform validation when running transform. Removed target index date field values formatting. emoved default format for date_histogram because of the rollup. Updated schema version in test.

Signed-off-by: Stevan Buzejic <email address hidden>

---------

Signed-off-by: Stevan Buzejic <email address hidden>
(cherry picked from commit 42833b12b292a291f56bc4f94264d32f33317bf2)

Co-authored-by: Stevan Buzejic <email address hidden>