Search merge requestshttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests2023-08-18T22:06:04Zhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/164include null keys in response2023-08-18T22:06:04ZNeelesh Thakurinclude null keys in responseAddresses issue #68
Also get rid of older SNAPSHOT version as they cause frequent failures with fossa/build.Addresses issue #68
Also get rid of older SNAPSHOT version as they cause frequent failures with fossa/build.M9 - Release 0.12https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/165Updating core-common version to non SNAPSHOT version2023-08-18T22:06:02ZVibhuti Sharma [Microsoft]Updating core-common version to non SNAPSHOT versionos-core-common 0.11.0-SNAPSHOT artifact is deleted from the artifact repository in gitlab. We need to update the service to use non SNAPSHOT version of the dependency, as we are seeing this error in the service pipeline - `Could not find...os-core-common 0.11.0-SNAPSHOT artifact is deleted from the artifact repository in gitlab. We need to update the service to use non SNAPSHOT version of the dependency, as we are seeing this error in the service pipeline - `Could not find artifact org.opengroup.osdu:os-core-common:jar:0.11.0-SNAPSHOT in community-maven-repo`M9 - Release 0.12Vibhuti Sharma [Microsoft]Vibhuti Sharma [Microsoft]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/168improve tutorial2023-08-18T22:06:01ZNeelesh Thakurimprove tutorial- remove deprecated or un-used functionality
- fix broken links
- better examples
- document limitations
- remove old reference of data ecoysytem and related partition information.- remove deprecated or un-used functionality
- fix broken links
- better examples
- document limitations
- remove old reference of data ecoysytem and related partition information.M9 - Release 0.12https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/170Broken pipe IOException handler2023-08-18T22:05:59ZSanjeev-SLBBroken pipe IOException handlerSearch Service is throwing IOException with a `Broken pipe` error message. This is usually thrown when a client closes the connection while its request is still being processed in the server. We should handle this properly so a client ca...Search Service is throwing IOException with a `Broken pipe` error message. This is usually thrown when a client closes the connection while its request is still being processed in the server. We should handle this properly so a client can retry.
Here is one of the stack trace:
![image](https://community.opengroup.org/osdu/platform/system/storage/uploads/3177e0f0678500da915bcb309725d955/image.png)M9 - Release 0.12Sanjeev-SLBSanjeev-SLBhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/171[Azure] Added health checks for search service2023-08-18T22:05:57ZAalekh Jain[Azure] Added health checks for search serviceAdded liveness and readiness probes in azure for search service.Added liveness and readiness probes in azure for search service.M9 - Release 0.12https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/174Use latest core-common, remove explicit dependencies2023-08-18T22:05:56ZAlok JoshiUse latest core-common, remove explicit dependenciesUpdating core-common dependencies as part of this issue fix https://community.opengroup.org/osdu/platform/system/home/-/issues/90
- Removed explicit dependency version declaration in provider pomsUpdating core-common dependencies as part of this issue fix https://community.opengroup.org/osdu/platform/system/home/-/issues/90
- Removed explicit dependency version declaration in provider pomsM9 - Release 0.12Alok JoshiAlok Joshihttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/175update core lib - Search2023-08-18T22:05:54ZNikhil Singh[MicroSoft]update core lib - Search**Introduction**
This MR upgrades the core lib version for azure provider**Introduction**
This MR upgrades the core lib version for azure providerM9 - Release 0.12Nikhil Singh[MicroSoft]Nikhil Singh[MicroSoft]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/176upgrade core lib version to 0.12.0-SNAPSHOT2023-08-18T22:05:53ZAshwani Pandeyupgrade core lib version to 0.12.0-SNAPSHOTupgrade core lib version to 0.12.0-SNAPSHOTupgrade core lib version to 0.12.0-SNAPSHOTM9 - Release 0.12Ashwani PandeyAshwani Pandeyhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/181pointing to cicd ibm-java-git.yml2023-08-18T22:05:51ZAshwani Pandeypointing to cicd ibm-java-git.ymlpointing to cicd ibm-java-git.ymlpointing to cicd ibm-java-git.ymlM10 - Release 0.13Ashwani PandeyAshwani Pandeyhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/183Gonrg 3692 update search variable2023-08-18T22:05:49ZIgor Zimovets (EPAM)Gonrg 3692 update search variableM10 - Release 0.13https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/184Improve bad request response messages(GONRG-3718)2023-08-18T22:05:48ZRustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comImprove bad request response messages(GONRG-3718)# Description:
In case when elasticsearch is acknowledging a request as a "bad request", we will look to suppressed exception and if there will be a response body with the fail reason we will transfer it to the user.<br/>
Issue:https://c...# Description:
In case when elasticsearch is acknowledging a request as a "bad request", we will look to suppressed exception and if there will be a response body with the fail reason we will transfer it to the user.<br/>
Issue:https://community.opengroup.org/osdu/platform/system/search-service/-/issues/70
# How to test:
Perform queries that do not fit existing index mapping at elasticsearch.<br/>
Query:
~~~
{
"kind": "{{data-partition-id}}:wks:master-data--Well:*.*.*",
"query": "nested(data.NameAliases, (AliasName:\"L10-14\" AND AliasNameTypeID:\"osdu:reference-data--AliasNameType:WELL_NAME:\"))"
}
~~~
Mapping:
~~~
"NameAliases": {
"type": "flattened"
},
~~~
Response:
~~~
{
"code": 400,
"reason": "Bad Request",
"message": "failed to create query: [nested] failed to find nested object under path [data.NameAliases]"
}
~~~
# Changes include:
- [ ] Refactor (a non-breaking change that improves code maintainability).
- [ ] Bugfix (a non-breaking change that solves an issue).
- [x] New feature (a non-breaking change that adds functionality).
- [ ] Breaking change (a change that is not backward-compatible and/or changes current functionality).
# Changes in:
- [x] GCP
- [x] Azure
- [x] AWS
- [x] IBM
# Dev Checklist:
- [ ] Added Unit Tests, wherever applicable.
- [x] Updated the Readme, if applicable.
- [x] Existing Tests pass
- [x] Verified functionality locally
- [x] Self Reviewed my code for formatting and complex business logic.M11 - Release 0.14Riabokon Stanislav(EPAM)[GCP]Riabokon Stanislav(EPAM)[GCP]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/185disabled spring web security2023-08-18T22:05:46ZBhushan Radedisabled spring web securityM10 - Release 0.13Anuj GuptaBhushan RadeAnuj Guptahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/186Stabilize Search Service With Postman Collection (GONRG-3817)2023-08-18T22:05:45ZAnastasiia GelmutStabilize Search Service With Postman Collection (GONRG-3817)# Description:
Fixed SonarLint comments.
# How to test:
Search Service can be tested with the help of business cases.
# Changes include:
- [x] Refactor (a non-breaking change that improves code maintainability).
- [ ] Bugfix (a non-b...# Description:
Fixed SonarLint comments.
# How to test:
Search Service can be tested with the help of business cases.
# Changes include:
- [x] Refactor (a non-breaking change that improves code maintainability).
- [ ] Bugfix (a non-breaking change that solves an issue).
- [ ] New feature (a non-breaking change that adds functionality).
- [ ] Breaking change (a change that is not backward-compatible and/or changes current functionality).
# Changes in:
- [x] GCP
- [ ] Azure
- [ ] AWS
- [ ] IBM
# Dev Checklist:
- [ ] Added Unit Tests, wherever applicable.
- [ ] Updated the Readme, if applicable.
- [x] Existing Tests pass
- [x] Verified functionality locally
- [x] Self Reviewed my code for formatting and complex business logic.M10 - Release 0.13Riabokon Stanislav(EPAM)[GCP]Rostislav Dublin (EPAM)Riabokon Stanislav(EPAM)[GCP]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/187fix dependencies issues2023-08-18T22:05:43ZYauheni Lesnikaufix dependencies issuesIssue: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/79Issue: https://community.opengroup.org/osdu/platform/system/search-service/-/issues/79M11 - Release 0.14Yauheni LesnikauYauheni Lesnikauhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/189Updating dns2023-08-18T22:05:41ZVibhuti Sharma [Microsoft]Updating dnsM10 - Release 0.13Vibhuti Sharma [Microsoft]Vibhuti Sharma [Microsoft]https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/194Vuln fix lucene2023-08-18T22:05:40ZGokul NagareVuln fix luceneM10 - Release 0.13Anuj GuptaShrikant GargAnuj Guptahttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/195log4j-vuln-fix by upgrading to log4j 2.16.0 version2023-08-18T22:05:38ZAshwani Pandeylog4j-vuln-fix by upgrading to log4j 2.16.0 version| module pom changes | Ref Issue
| ------ | ------
| IBM | osdu/platform/system/lib/cloud/ibm/os-core-lib-ibm#2
| core | osdu/platform/system/lib/core/os-core-common#54
Part of the #74 series| module pom changes | Ref Issue
| ------ | ------
| IBM | osdu/platform/system/lib/cloud/ibm/os-core-lib-ibm#2
| core | osdu/platform/system/lib/core/os-core-common#54
Part of the #74 seriesM10 - Release 0.13David Diederichd.diederich@opengroup.orgShrikant GargDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/196Patching log4j vulnerability2023-08-18T22:05:37ZSpencer Suttonsuttonsp@amazon.comPatching log4j vulnerabilityPart of the #74 seriesPart of the #74 seriesM10 - Release 0.13Spencer Suttonsuttonsp@amazon.comSpencer Suttonsuttonsp@amazon.comhttps://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/197Disables unsafe subst for log4j2023-08-18T22:05:35ZOleksii Tsyganov (EPAM)Disables unsafe subst for log4jM10 - Release 0.13Oleksii Tsyganov (EPAM)Oleksii Tsyganov (EPAM)https://community.opengroup.org/osdu/platform/system/search-service/-/merge_requests/200Specify Log4J versions explicitly for Azure provider2023-08-18T22:05:33ZDavid Diederichd.diederich@opengroup.orgSpecify Log4J versions explicitly for Azure providerPart of the #74 seriesPart of the #74 seriesM10 - Release 0.13David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.org