Search merge requestshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests2023-05-19T08:46:29Zhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/498GONRG-7029: update anthos to baremetal2023-05-19T08:46:29ZYauheni Rykhter (EPAM)GONRG-7029: update anthos to baremetalM18 - Release 0.21Yauheni Rykhter (EPAM)Yauheni Rykhter (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/497M18 service and CICD updates2023-05-09T19:10:28ZMadalyn MarabellaM18 service and CICD updatesAWS code updates only
## 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 ...AWS code updates only
## 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 informationM18 - Release 0.21Madalyn MarabellaMadalyn Marabellahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/496Renamed domain env variable (GONRG-6912)2023-05-17T09:05:47ZYurii Ruban [EPAM / GCP]Renamed domain env variable (GONRG-6912)# Description:
Renamed the domain environment variable to group id for a better understanding of the origin of the variables
# How to test:
Check unit and int tests.
# Changes include:
- [x] Refactor (a non-breaking change that impro...# Description:
Renamed the domain environment variable to group id for a better understanding of the origin of the variables
# How to test:
Check unit and int tests.
# Changes include:
- [x] Refactor (a non-breaking change that improves code maintainability).
# Changes in:
- [x] GCPM18 - Release 0.21Riabokon Stanislav(EPAM)[GCP]Riabokon Stanislav(EPAM)[GCP]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/493GONGR-6885 Reduce requests according to VPA2023-08-18T22:03:58ZAndriy Halka [EPAM / GCP]GONGR-6885 Reduce requests according to VPAM18 - Release 0.21https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/492AWS Integration merge2023-07-04T11:19:24ZYash DholakiaAWS Integration merge## 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?
- [X] AWS
- [ ] Azure
- [ ] 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 informationM18 - Release 0.21Yash DholakiaYash Dholakiahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/491handle too long response from elasticsearch2023-08-18T22:03:59ZMykyta Savchukhandle too long response from elasticsearchreturn 413 instead of 500 when elasticsearch response is too long and client throws exceptionreturn 413 instead of 500 when elasticsearch response is too long and client throws exceptionM18 - Release 0.21Mykyta SavchukMykyta Savchukhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/490Fix bug on creating alias for kind with major version2023-05-03T13:15:56ZZhibin MaiFix bug on creating alias for kind with major version## 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
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [NO]
## What is the current behavior?
The alias for kind with major version (e.g.osdu:wks:wellbore:1.\*.\*) can't be created
## What is the new/expected behavior?
The alias for kind with major version (e.g.osdu:wks:wellbore:1.\*.\*) should be created on demand
## Have you added/updated Unit Tests and Integration Tests?
Yes
## Any other useful information
This is a minor fix for MR [Use alias to shorten the index names in multi-kind searchMulti kind alias](https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/423)M18 - Release 0.21Zhibin MaiZhibin Maihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/489Updating NOTICE2023-04-13T16:17:08ZChad LeongUpdating NOTICEUpdating FOSSA noticeUpdating FOSSA noticeM17 - Release 0.20https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/488Merge branch azure/cherrypick-m14-m16 into azure/m16-master2023-05-11T22:51:10ZOsborn ChenMerge branch azure/cherrypick-m14-m16 into azure/m16-master## 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/487Draft: Create unique legal tag with timestamp2023-04-13T16:08:21ZMadalyn MarabellaDraft: Create unique legal tag with timestamp## 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 informationM18 - Release 0.21Madalyn MarabellaMadalyn Marabellahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/485Draft: Merge branch 'upgrade-dependencies' into 'master'2023-05-11T22:51:03ZOsborn ChenDraft: Merge branch 'upgrade-dependencies' into 'master'## 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/484create unique legal tag with timestamp2023-04-13T16:08:22ZMadalyn Marabellacreate unique legal tag with timestamp## 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 informationM18 - Release 0.21Madalyn MarabellaMadalyn Marabellahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/483Cherry-pick 'Change maven id for testing pom tree' into release/0.202023-04-11T09:36:33ZDavid Diederichd.diederich@opengroup.orgCherry-pick 'Change maven id for testing pom tree' into release/0.20**Original MR**: !475
### 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**: !475
### 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-475)M17 - Release 0.20David Diederichd.diederich@opengroup.orgChad LeongSrinivasan NarayananDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/481ReadOnlyRootFileSystem changes for Aws2023-04-12T15:31:40ZAbhay JoshiReadOnlyRootFileSystem changes for Aws## Type of change
- [ ] Bug Fix
- [ X] 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
- [ ] Bug Fix
- [ X] 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?
- [ X] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
No
## What is the current behavior?
AWS can write in search pod
## What is the new/expected behavior?
Service code can no longer write in search pod
## Have you added/updated Unit Tests and Integration Tests?
No
## Any other useful informationM18 - Release 0.21Okoun-Ola Fabien HouetoAbhay JoshiOkoun-Ola Fabien Houetohttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/480Updating core lib aws to latest rc version2023-04-07T18:46:21ZManish JangidUpdating core lib aws to latest rc version## 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] No
## Does this introduce a change in the clou...## 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] No
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ X] AWS
- [ ] Azure
- [ ] Google Cloud
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
## What is the new/expected behavior? Updating core lib aws
## Have you added/updated Unit Tests and Integration Tests?
## Any other useful informationM18 - Release 0.21https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/478Merge branch 'GONRG-6844-Enable-Policy' into 'master'2023-04-04T21:00:44ZDanylo Vanin (EPAM)Merge branch 'GONRG-6844-Enable-Policy' into 'master'Original MR: !476
Enabling policy be default for Google CloudOriginal MR: !476
Enabling policy be default for Google CloudM17 - Release 0.20Danylo Vanin (EPAM)Danylo Vanin (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/477Upgrading dependencies2023-04-20T17:51:46ZAbhay JoshiUpgrading 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 informationM18 - Release 0.21Okoun-Ola Fabien HouetoAbhay JoshiOkoun-Ola Fabien Houetohttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/476[GONRG-6844] Enable policy2023-04-04T11:46:31ZDanylo Vanin (EPAM)[GONRG-6844] Enable policyM17 - Release 0.20Danylo Vanin (EPAM)Danylo Vanin (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/475Change maven id for testing pom tree2023-04-11T09:33:59ZDavid Diederichd.diederich@opengroup.orgChange maven id for testing pom treeThis MR alters the maven artifact-id for the `testing/integration-tests` root POM to be unique from the artifactID associated with the main POM.
This discrepancy, and the solution, was reported by Zach LaVallee (zach@fossa.com).
### Wh...This MR alters the maven artifact-id for the `testing/integration-tests` root POM to be unique from the artifactID associated with the main POM.
This discrepancy, and the solution, was reported by Zach LaVallee (zach@fossa.com).
### Why does this matter?
The artifactID and version combined give a kind of locator for maven to identify the project.
By using the artifactID and version for the testing code, it implies that they are the same project.
This caused problems while trying to upgrade the FOSSA scanners to version 3.x.
Their newer scanners are better integrated with maven conventions, so they consider the projects to be the same based on this same ID.
Ironically, that led to the FOSSA tool missing half of the program.
FOSSA 3.x was the mechanism we used to discover this issue, but it should be changed regardless of whether we upgrade our license scanning tool or not.
### Other Projects
It is possible that other projects have the same problem, but the few I spot checked
([Storage](https://community.opengroup.org/osdu/platform/system/storage/-/blob/master/testing/pom.xml),
[Indexer](https://community.opengroup.org/osdu/platform/system/indexer-service/-/blob/master/testing/pom.xml),
[Entitlements](https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/testing/pom.xml))
did not.
### This isn't changing FOSSA yet
Just to be clear, this MR fixes a maven configuration problem that was blocking a FOSSA upgrade.
It does not include that upgrade itself -- that will be a more complex MR requiring more analysis across multiple projects.M17 - Release 0.20David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/474optimize geo queries: remove redundant call2023-08-31T14:39:18ZNeelesh Thakuroptimize geo queries: remove redundant call- We make one extra query to retrieve field types when we have geo filter supplied on requests. This was required as same name attribute across different kinds can be of geo-point or geo-shape. This can be removed as Elasticsearch apis (...- We make one extra query to retrieve field types when we have geo filter supplied on requests. This was required as same name attribute across different kinds can be of geo-point or geo-shape. This can be removed as Elasticsearch apis (>=v7.11) handle it natively on Elasticsearch SDK.
## Type of change
- [X] Bug Fix
## 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] Azure
## Does this introduce a breaking change?
- [NO]M17 - Release 0.20