Search merge requestshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests2023-08-18T22:13:00Zhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/66Azure Pipeline removed reference to community settings2023-08-18T22:13:00ZDaniel SchollAzure Pipeline removed reference to community settingsAzure only pipeline for ADO fixing references to settings.Azure only pipeline for ADO fixing references to settings.M1 - Release 0.1Daniel SchollDaniel Schollhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/67Bug Fixing Azure ADO Pipeline build settings2023-08-18T22:08:54ZDaniel SchollBug Fixing Azure ADO Pipeline build settingsAzure only MR for fixing ADO customer ADO pipelines.Azure only MR for fixing ADO customer ADO pipelines.M1 - Release 0.1Daniel SchollDaniel Schollhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/542AWS Merge Dev Into Master2023-08-24T11:59:29ZGuillaume CailletAWS Merge Dev Into MasterM20 - Release 0.23Guillaume CailletGuillaume Caillethttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/541Enable highlighting results2023-08-31T06:05:10ZStanisław BienieckiEnable highlighting results## Type of change
- [ ] Bug Fix
- [X] Feature
Changes related to the ADR: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/128
## Does this introduce a change in the core logic?
- [NO]
## Does this introd...## Type of change
- [ ] Bug Fix
- [X] Feature
Changes related to the ADR: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/128
## Does this introduce a change in the core logic?
- [NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [X] AWS
- [X] Azure
- [X] Google Cloud
- [X] IBM
Changes are for all provider however related code before and and after changes fully identical.
## Does this introduce a breaking change?
- [NO]
This feature had some different implementation before, but it was never enabled. Also it wasn't working correctly as it wasn't handling json paths so only top level field could be selected and there was no support for list fields.
## What is the current behavior?
Currently there is no highlighting available for the users
## What is the new/expected behavior?
Users can specify optional field `highlightedFields` which will add to each search result additional dictionary under key `highlight` with phrases from selected fields which matched the query. Example in the updated docs
## Have you added/updated Unit Tests and Integration Tests?
Unit tests have been updated and some were added
## Any other useful informationM20 - Release 0.23Stanisław BienieckiStanisław Bienieckihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/540Draft: Elastic 82023-08-16T16:51:26ZRiabokon Stanislav(EPAM)[GCP]Draft: Elastic 8## 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 informationRustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comRiabokon Stanislav(EPAM)[GCP]Rustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/539Tmp commit for elastic 82023-08-14T12:21:40ZRiabokon Stanislav(EPAM)[GCP]Tmp commit for elastic 8## 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/538Draft: jackson-databind-upgrade2023-08-10T12:06:30Zsagar thapaDraft: jackson-databind-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 informationhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/537Draft: Update version of default branch to 0.22.0-SNAPSHOT2023-08-09T20:08:28ZMahsa HanifiDraft: Update version of default branch to 0.22.0-SNAPSHOT## 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 informationMahsa HanifiMahsa Hanifihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/536Fixing vulnerability2023-08-24T17:10:43ZHarsheet ShahFixing vulnerability## Type of change
- [ ] Bug Fix No
- [ ] Feature No
**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...## Type of change
- [ ] Bug Fix No
- [ ] Feature No
**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 No
- [ ] Azure Yes
- [ ] Google Cloud No
- [ ] IBM No
## Does this introduce a breaking change?
- [YES/NO] No
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful information
Bumping version of libraries to fix vulnerabilities.Harsheet ShahHarsheet Shahhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/535Add filter to nested sort2023-08-18T22:35:31ZStanisław BienieckiAdd filter to nested sort## Type of change
- [ ] Bug Fix
- [X] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
Changes related to ADR https://community.opengroup.org/osdu/platform/system/search-service/-/issues/106
## Do...## Type of change
- [ ] Bug Fix
- [X] Feature
**Please provide link to gitlab issue or ADR(Architecture Decision Record)**
Changes related to ADR https://community.opengroup.org/osdu/platform/system/search-service/-/issues/106
## 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
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [NO]
## What is the current behavior?
Currently specifying filter for nested sorting is not possible.
## What is the new/expected behavior?
Users can pass filter for nested field sorting. From official docs `A filter that the inner objects inside the nested path should match with in order for its field values to be taken into account by sorting. Common case is to repeat the query / filter inside the nested filter or query.` Filter is applied to the "first" nested level in the case of sort field being nested multiple times. Related Elastic feature docs: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/sort-search-results.html#nested-sorting
## Have you added/updated Unit Tests and Integration Tests?
Unit tests have been added/updated.
## Any other useful information
parseSort method is only used in byoc-provider so that's why only this provider has changed. Others use getSortQuery which has signature unchangedM20 - Release 0.23https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/534Revert a "revert commit" that seems to have been done by error2023-07-25T05:27:48ZSabarish K R ERevert a "revert commit" that seems to have been done by error## 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/532JDK 17 migration (GONRG-7477)2024-01-25T13:47:32ZYurii Ruban [EPAM / GCP]JDK 17 migration (GONRG-7477)# Description:
Migration from Java 8 to Java 17.
# How to test:
Via Unit and Integration tests.
# Changes include:
- [ ] Breaking change (a change that is not backward-compatible and/or changes current functionality).
# Changes in:...# Description:
Migration from Java 8 to Java 17.
# How to test:
Via Unit and Integration tests.
# Changes include:
- [ ] Breaking change (a change that is not backward-compatible and/or changes current functionality).
# Changes in:
- [ ] Common code
# Dev Checklist:
- [ ] Added Unit Tests, wherever applicable.
- [ ] Updated the Readme, if applicable.
- [ ] Existing Tests pass
- [ ] Verified functionality locally
- [ ] Self Reviewed my code for formatting and complex business logic.
# Other comments:
* Upgraded 'lombok' & 'jacoco' plugin version
* Changed TestRunner 'PowerMockRunner' to 'MockitoJUnitRunner'
* Removed 'powermock-api-mockito2' & 'powermock-module-junit4' dependenciesM20 - Release 0.23Riabokon Stanislav(EPAM)[GCP]Riabokon Stanislav(EPAM)[GCP]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/531Cherry-pick 'spring-security-core upgrade' into release/0.222023-07-13T13:25:55ZChad LeongCherry-pick 'spring-security-core upgrade' into release/0.22**Original MR**: !530
### This MR is a Cherry Pick into a Release Branch.
After the release branch is first created, any subsequent changes use this process to update the release (often resulting in a new patch tag) without incorporati...**Original MR**: !530
### This MR is a Cherry Pick into a Release Branch.
After the release branch is first created, any subsequent changes use this process to update the release (often resulting in a new patch tag) without incorporating all changes in the default branch.
These MRs must be approved by the PMC before they are merged, since they alter the scope of the release.
To see more details about the change itself, look at the Original MR listed above.
#### Skipped Pipeline
Normally, pipelines are not executed on the cherry pick branch/MR prior to merging.
This optimization is accepted because the code was tested when it merged into the default branch, and will be tested again in the release branch prior to tagging.
However, if anybody feels that the MR requires further scrutiny -- whether because it had conflicts in the cherry-picking, it interfaces with some drastically altered logic between the branches, or any other reason -- we can run the pipeline here prior to merging.
#### If There's Reason to Run a Pipeline
If you want to see a pipeline result before this merges, first add a comment explaining why you'd like to see the pipeline results so the PMC and others know your thinking.
Then, mark the MR as a Draft MR (using the vertical ellipsis above, choose 'Mark as Draft').
This prevents the MR from being approved & merged accidentally by a busy release coordinator who didn't see your comment.
Finally, if you are a maintainer on the project, launch a pipeline on this branch.
Since this branch is a protected branch and the MR has ~no-detached-pipeline set, all integration tests will run and there's no need for any `trusted-*` branches.
[Launch a Pipeline for this Branch](https://community.opengroup.org/osdu/platform/system/search-service/-/pipelines/new?ref=cherry-pick-for-530)M19 - Release 0.22David Diederichd.diederich@opengroup.orgChad LeongSrinivasan NarayananDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/530spring-security-core upgrade2023-07-13T09:13:54Zsagar thapaspring-security-core upgrade# Issue links: -
https://community.opengroup.org/osdu/platform/system/search-service/-/security/vulnerabilities/28318 - AWS
https://community.opengroup.org/osdu/platform/system/search-service/-/security/vulnerabilities/28316 - IBM
http...# Issue links: -
https://community.opengroup.org/osdu/platform/system/search-service/-/security/vulnerabilities/28318 - AWS
https://community.opengroup.org/osdu/platform/system/search-service/-/security/vulnerabilities/28316 - IBM
https://community.opengroup.org/osdu/platform/system/search-service/-/security/vulnerabilities/28317 - search-core
## spring-security-core upgrade affects following cloud provider.
- [x] AWS
- [ ] Azure
- [ ] Google Cloud
- [x] IBM
# Additional information
common core **spring-security-core** is also upgraded as per the vulnerability scan report.M19 - Release 0.22sagar thapasagar thapahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/529tomcat upgrade2023-07-05T10:49:19ZHarshika Dhoottomcat 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 informationHarshika DhootHarshika Dhoothttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/528tomcat upgraded2023-07-05T07:08:09ZHarshika Dhoottomcat upgraded## 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...## 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]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/527Add Documentation for Azure specific limitation2023-07-04T11:01:21ZThulasi Dass SubramanianAdd Documentation for Azure specific limitation- Issue: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/103
- added Documentation for Azure specific Http Header size limitation- Issue: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/103
- added Documentation for Azure specific Http Header size limitationM19 - Release 0.22Thulasi Dass SubramanianThulasi Dass Subramanianhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/526Tomcat vuln fixed component governance2023-07-03T12:13:47ZHarshika DhootTomcat vuln fixed component governance## 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 clou...## 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] NO
## What is the current behavior?
## What is the new/expected behavior? Vulnerability for tomcat to be fixed
## Have you added/updated Unit Tests and Integration Tests? NO
## Any other useful information
https://dev.azure.com/OpenEnergyPlatform/Open%20Energy%20Platform/_componentGovernance/oep-deployment-resources/alert/7921145?typeId=13890738&pipelinesTrackingFilter=0Harshika DhootHarshika Dhoothttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/525GONRG-7392: use non-root user for images2023-06-30T12:30:14ZYauheni Rykhter (EPAM)GONRG-7392: use non-root user for images## 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
- [x] 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 informationM19 - Release 0.22Yauheni Rykhter (EPAM)Yauheni Rykhter (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/524Add global variable limitsEnabled (GONRG-7266)2023-06-27T07:29:40ZAndrei Skorkin [EPAM / GCP]Add global variable limitsEnabled (GONRG-7266)## 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?
- [NO]
## Does this introduce a change in the cloud provi...## 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?
- [NO]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [x] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [NO]
## What is the current behavior?
## What is the new/expected behavior?
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationM19 - Release 0.22Andrei Skorkin [EPAM / GCP]Andrei Skorkin [EPAM / GCP]