Search merge requestshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests2022-04-18T13:57:32Zhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/162Add hpa config & memory limit setup using feature flag2022-04-18T13:57:32ZMina OtgonboldAdd hpa config & memory limit setup using feature flagAdd hpa config & memory limit setup using feature flagAdd hpa config & memory limit setup using feature flagM9 - Release 0.12Mina OtgonboldMina Otgonboldhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/156Updating OSDU dependencies2021-09-03T10:30:48ZDavid Diederichd.diederich@opengroup.orgUpdating OSDU dependenciesUpdating OSDU dependencies, to maintain use of the latest release among those that were previously doing soUpdating OSDU dependencies, to maintain use of the latest release among those that were previously doing soM8 - Release 0.11David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/138Draft: Resolve "Use Stable Core Common Dependency"2022-01-11T13:24:17ZDavid Diederichd.diederich@opengroup.orgDraft: Resolve "Use Stable Core Common Dependency"Closes #51
See osdu/platform&9 for more details.
## MR's Raison d'ĂȘtre
This MR updates the core common dependency to use the latest release candidate version of the library. This utilizes newly developed features, and will be upgrade...Closes #51
See osdu/platform&9 for more details.
## MR's Raison d'ĂȘtre
This MR updates the core common dependency to use the latest release candidate version of the library. This utilizes newly developed features, and will be upgraded to a full release during the new release cycle.
*Dependency Table, after the application of this MR's changes*
| Maven Dependencies | _Root POM_ | testing/integration-tests/ |
| ------------------------ | --------------- | -------------------------- |
| os-core-common | 0.10.0-rc1 | 0.10.0-rc1 |
| core-lib-gcp | 0.10.0-SNAPSHOT | |
| core.aws.os-core-lib-aws | 0.3.17 | 0.3.16 |
| core-lib-azure | 0.9.0 | 0.0.33 |
| os-core-lib-ibm | 0.10.0-SNAPSHOT | 0.0.18 |
## Housekeeping Updates
### FOSSA Update
This MR also updates the FOSSA attributions, since these need to be kept up to date on every MR. Changes are expected whenever the library dependencies are updated.
### Update Deprecated Pipeline Includes
This MR also updates the `.gitlab-ci.yml` file to use the newer pipeline includes, rather than relying on deprecated includes that mimic old behavior. These housekeeping updates should be done regularly on MRs when they are discovered so the old CI include files can be deleted and no longer supported.M7 - Release 0.10David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/621Draft: fix tests2024-02-08T11:47:00ZVidyaDharani LokamDraft: fix testshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/620Draft: Az/vl test2024-02-06T18:19:10ZVidyaDharani LokamDraft: Az/vl test## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/589Health api2023-12-03T20:26:53ZRiabokon Stanislav(EPAM)[GCP]Health api## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/588Changed a common path for health api2023-12-03T20:44:35ZRiabokon Stanislav(EPAM)[GCP]Changed a common path for health api## Type of change
- [ ] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [YES]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Clou...## Type of change
- [ ] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [YES]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES]
## What is the current behavior?
## What is the new/expected behavior?
search/v2/liveness_check
search/v2/readiness_check
## Have you added/updated Unit Tests and Integration Tests?
Yeshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/586Fix vulnerabilities2023-11-27T21:57:31ZVaibhavi KamaniFix vulnerabilities## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] S360 fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [NO]
## Does this introduce a change in ...## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] S360 fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [ ] Google Cloud
- [ ] IBMVaibhavi KamaniVaibhavi Kamanihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/582Draft: Empty change in m162023-10-23T20:07:28ZAdrian SaliDraft: Empty change in m16## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/581Draft: Add empty change2023-10-25T23:09:13ZAdrian SaliDraft: Add empty change## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/571retry in send method update2023-10-20T05:43:00ZHarshika Dhootretry in send method update## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationHarshika DhootHarshika Dhoothttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/568Draft: Dk/az fix upgrade2023-10-11T11:29:16ZDeepa KumariDraft: Dk/az fix upgrade## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationDeepa KumariDeepa Kumarihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/567Full Upgrade of First Party Library Dependencies2023-10-11T07:38:16ZDeepa KumariFull Upgrade of First Party Library Dependencies## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationDeepa KumariDeepa Kumarihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/555Draft: Az/sa test pipeline2023-09-19T10:32:32Zsaketh somarajuDraft: Az/sa test pipeline## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud p...## Type of change
- [ ] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/547Draft: Gonrg 7560 policy update2023-08-24T18:13:39ZYauheni Rykhter (EPAM)Draft: Gonrg 7560 policy updateYauheni Rykhter (EPAM)Yauheni Rykhter (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/523Fix for a sporadic IT failure2023-08-25T22:30:13ZSabarish K R EFix for a sporadic IT failure## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a chang...## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
One of the MultiKindsValidator test cases fails with an error from search service indicating that the length exceeds 3840 bytes.
This happens because, in the IT, we assume that the hashCode() function used in finding out the Index Alias, always returns positive numbers. So, this case fails when the hashCode() results in negative numbers as the "-" causes the length of the index to increase beyond 3840.
## What is the new/expected behavior?
Modified IT to account for the negative hashCode()
## Have you added/updated Unit Tests and Integration Tests?
Yes
## Any other useful information
The kind's alias uses hashCode() function that sometimes returns negative numbers. The test does not account for the extra character occupied by the - symbol, when the hashCode is used for the construction of index alias namehttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/522The kind's alias uses hashCode() function that sometimes returns negative...2023-06-20T07:20:19ZSabarish K R EThe kind's alias uses hashCode() function that sometimes returns negative...## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a chang...## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
One of the MultiKindsValidator test cases fails with an error from search service indicating that the length exceeds 3840 bytes.
This happens because, in the IT, we assume that the hashCode() function used in finding out the Index Alias, always returns positive numbers. So, this case fails when the hashCode() results in negative numbers as the "-" causes the length of the index to increase beyond 3840.
## What is the new/expected behavior?
Modified IT to account for the negative hashCode()
## Have you added/updated Unit Tests and Integration Tests?
Yes
## Any other useful information
The kind's alias uses hashCode() function that sometimes returns negative numbers. The test does not account for the extra character occupied by the - symbol, when the hashCode is used for the construction of index alias namehttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/520component governance build failure fixed2023-06-27T06:34:52ZHarshika Dhootcomponent governance build failure fixed## Type of change
- [X] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
- NO
## Does this introduce a change in the cl...## Type of change
- [X] Bug Fix
- [ ] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO]
- NO
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [X] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationHarshika DhootHarshika Dhoothttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/517Draft: enabling vm cache for elasticsearchcred2023-06-28T06:39:43ZAkanksha PrasadDraft: enabling vm cache for elasticsearchcred## Type of change
- [yes] Bug Fix
- [no] Feature
## Does this introduce a change in the core logic?
- [YES]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [YES] Azure
## Does this introduc...## Type of change
- [yes] Bug Fix
- [no] Feature
## Does this introduce a change in the core logic?
- [YES]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [YES] Azure
## Does this introduce a breaking change?
- [NO]
## What is the current behavior?
ElasticSearch Cred is fetched from redis cache which was causing during update of elastic search primary user secret as 500 ,internal server error.This was majorly because,refresh time of redis is 60 minutes.Hence,in that duration 500 status code was returned
## What is the new/expected behavior?
After the duration of secret rotation completed,search should return 200 success status code
## Have you added/updated Unit Tests and Integration Tests?
yes
## Any other useful informationAkanksha PrasadAkanksha Prasadhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/516Fix for a sporadic IT failure2023-06-20T05:06:06ZSabarish K R EFix for a sporadic IT failure## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a chang...## Type of change
- [ ] Bug Fix
- [ ] Feature
- [x] IT Fix
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
## Does this introduce a change in the core logic?
- [YES/NO] NO
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
One of the MultiKindsValidator test cases fails with an error from search service indicating that the length exceeds 3840 bytes.
This happens because, in the IT, we assume that the hashCode() function used in finding out the Index Alias, always returns positive numbers. So, this case fails when the hashCode() results in negative numbers as the "-" causes the length of the index to increase beyond 3840.
## What is the new/expected behavior?
Modified IT to account for the negative hashCode()
## Have you added/updated Unit Tests and Integration Tests?
Yes
## Any other useful information
The kind's alias uses hashCode() function that sometimes returns negative numbers. The test does not account for the extra character occupied by the - symbol, when the hashCode is used for the construction of index alias name