OS Core Common - Spring 5 merge requestshttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests2023-08-18T13:09:02Zhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/31Added new Partition API (List) to client library2023-08-18T13:09:02ZDuvelis CaraoAdded new Partition API (List) to client libraryPartition service has a new API to list all partitions Id
Client is updated in order to support the new API added to partition service.
This MR depends on the Partition Service MR that includes the new API:
https://community.opengroup.o...Partition service has a new API to list all partitions Id
Client is updated in order to support the new API added to partition service.
This MR depends on the Partition Service MR that includes the new API:
https://community.opengroup.org/osdu/platform/system/partition/-/merge_requests/15M1 - Release 0.1ethiraj krishnamanaiduNitin-slbNeelesh ThakurSherman YangAlok JoshiDuvelis Caraoethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/33Replace Gson by Jackson on legal tag creation in LegalService2023-08-18T13:09:00ZRostyslav Matushkin (SLB)Replace Gson by Jackson on legal tag creation in LegalServiceResolves [the issue: [Bug] 'expirationDate' field is serialized incorrectly due to the use of Gson](https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/16)
1. Add `ObjectMapper` to `LegalService`.
2. Ch...Resolves [the issue: [Bug] 'expirationDate' field is serialized incorrectly due to the use of Gson](https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/16)
1. Add `ObjectMapper` to `LegalService`.
2. Change `HttpRequest.post(<Object>)` by `HttpRequest.post().body(<String>)` in `LegalService` using `ObjectMapper`.
3. Add `LegalServiceTest` to check the field `expirationDate` serializes correctly.
# Changes include
* [ ] Refactoring
* [x] Bugfix (non-breaking change that solves an issue)
* [ ] New feature (non-breaking change that adds functionality)
* [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
# Checklist
* [x] Added Unit Tests, wherever applicable.
* [ ] Updated the Readme
* [x] Existing Tests passed
* [x] Verified functionality locally
* [x] Self Reviewed my code for formatting and complex business logic.M1 - Release 0.1ethiraj krishnamanaiduRostyslav Matushkin (SLB)Mingyang Zhuethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/35Storage tags2023-08-18T13:08:56ZYauheni LesnikauStorage tagsThis MR introduces the support of the Tags for the Stoarage Record and RecordMetadata entitiesThis MR introduces the support of the Tags for the Stoarage Record and RecordMetadata entitiesM1 - Release 0.1ethiraj krishnamanaiduPavel BachylaAlok JoshiYauheni Lesnikauethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/36Partition patch api2023-08-18T13:08:55ZAlok JoshiPartition patch apiAdd client library support for Partition patch apiAdd client library support for Partition patch apiM1 - Release 0.1ethiraj krishnamanaiduNeelesh ThakurAliaksei DarafeyeuYauheni Lesnikauethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/34Move Search Config out of os-core-common (GONRG-744)2023-08-18T13:08:58ZArtem Dobrynin (EPAM)Move Search Config out of os-core-common (GONRG-744)# Description:
ADR: https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/5
* Removed search-related config from os-core-common
* Removed unit tests for the config
# How to test:
Unit tests were modifie...# Description:
ADR: https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/5
* Removed search-related config from os-core-common
* Removed unit tests for the config
# How to test:
Unit tests were modified in accordance with changes in config
# Changes include:
- [ ] 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).
- [X] 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:
- [X] 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.
# Other comments:M1 - Release 0.1Rostislav Dublin (EPAM)Rostislav Dublin (EPAM)https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/38Url normalization (GONRG-1211)2023-08-18T13:08:53ZRustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comUrl normalization (GONRG-1211)# Description:
Service endpoints receiving with simple string joining
`return StringUtils.join(this.rootUrl, pathAndQuery);`
makes service configuration more complex,
it leads to issues related to root url value.
Service endpoint rece...# Description:
Service endpoints receiving with simple string joining
`return StringUtils.join(this.rootUrl, pathAndQuery);`
makes service configuration more complex,
it leads to issues related to root url value.
Service endpoint receiving was changed from simple string concatenation
to URL normalization.
# Changes include:
- [x] Refactor (a non-breaking change that improves code maintainability).
- [x] 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
- [x] Azure
- [x] AWS
- [x] IBM
# Dev Checklist:
- [x] 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.M1 - Release 0.1Rostislav Dublin (EPAM)Rostislav Dublin (EPAM)https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/40Update fossa notice2023-08-18T13:08:51ZDavid Diederichd.diederich@opengroup.orgUpdate fossa noticeM1 - Release 0.1https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/44Record id relax2023-08-18T13:08:48Zethiraj krishnamanaiduRecord id relaxTo support R3 Schema we need to relax the Record Id and Kind Id validation.
Please see more details in [Relax Id](https://community.opengroup.org/osdu/platform/system/storage/-/issues/26) /platform/system/storage/-/issues/26
Storage se...To support R3 Schema we need to relax the Record Id and Kind Id validation.
Please see more details in [Relax Id](https://community.opengroup.org/osdu/platform/system/storage/-/issues/26) /platform/system/storage/-/issues/26
Storage service tested with this changes : https://community.opengroup.org/osdu/platform/system/storage/-/merge_requests/119M1 - Release 0.1ethiraj krishnamanaiduDania Kodeih (Microsoft)JoeDmitriy Rudkoethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/47Added Apache Headers2023-08-18T13:08:47Zethiraj krishnamanaiduAdded Apache HeadersAdded Apache HeadersAdded Apache HeadersM1 - Release 0.1https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/50add view operation for policy service2023-08-18T13:08:42ZAlok Joshiadd view operation for policy serviceAdd "view" as an OperationType; required for Policy service integrationAdd "view" as an OperationType; required for Policy service integrationM3 - Release 0.5Alok JoshiAlok Joshihttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/49R3 record validation2023-08-18T13:08:43ZMatt WiseR3 record validationM3 - Release 0.5ethiraj krishnamanaiduDania Kodeih (Microsoft)Wladmir FrazaoJoeDmitriy RudkoMatt Wiseethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/51Cors2023-08-18T13:08:40ZSpencer Suttonsuttonsp@amazon.comCorsM3 - Release 0.5Spencer Suttonsuttonsp@amazon.comSpencer Suttonsuttonsp@amazon.comhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/52Fix multi record info2023-08-18T13:08:38ZMatt WiseFix multi record infoNo existing core service uses MultiRecordInfo that I have seen. Therefore, should be a non-breaking fix
The IStorageService implementation in core was returning Strings rather than Records for the query records route. Other Record quer...No existing core service uses MultiRecordInfo that I have seen. Therefore, should be a non-breaking fix
The IStorageService implementation in core was returning Strings rather than Records for the query records route. Other Record query interfaces use the Record object.
The implementation was also throwing two different Exceptions that are resolved by this MR.
It appears the function was broken during the change to use the new BodyMapper, but went unnoticed until now.M3 - Release 0.5ethiraj krishnamanaiduJoeethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/53Port Entitlement v2 client changes to OSDU2023-08-18T13:08:37ZSherman YangPort Entitlement v2 client changes to OSDUPort Entitlement v2 clients to OSDU.
Fix a bug in AbstractHttpClient.Port Entitlement v2 clients to OSDU.
Fix a bug in AbstractHttpClient.M4 - Release 0.7https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/43Added new custom headers in the DpsHeaders library2023-08-18T13:08:50ZPreksha Beohar-SlbAdded new custom headers in the DpsHeaders library[Related Issue Link](https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/20)[Related Issue Link](https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/20)M4 - Release 0.7Preksha Beohar-SlbPreksha Beohar-Slbhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/48update RecordBulkUpdate entities for tags support;2023-08-18T13:08:45ZYauheni Lesnikauupdate RecordBulkUpdate entities for tags support;Decided to add tag api support through the extension of patch api with ne path - "/tags". It should support 3 types of operations:
- add
- replace
- removeDecided to add tag api support through the extension of patch api with ne path - "/tags". It should support 3 types of operations:
- add
- replace
- removeM4 - Release 0.7ethiraj krishnamanaiduNitin-slbNeelesh ThakurAlok JoshiDuvelis CaraoYauheni Lesnikauethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/55add support for tags in query2023-08-18T13:08:35ZYauheni Lesnikauadd support for tags in queryAdd tags search supportAdd tags search supportM4 - Release 0.7ethiraj krishnamanaiduNitin-slbNeelesh ThakurSherman YangAlok JoshiYauheni Lesnikauethiraj krishnamanaiduhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/58Regression in record id validation2023-08-18T13:08:30ZSanjeev-SLBRegression in record id validationDetails :https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/32Details :https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/32M4 - Release 0.7Sanjeev-SLBSanjeev-SLBhttps://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/56Support HTTP PATCH method2023-08-18T13:08:33ZSherman YangSupport HTTP PATCH methodThe HTTPUrlConnection class does not support the HTTP PATCH method. This MR enhances OSDU HttpClient to support HTTP PATCH method.
Update the UpdateGroupOperation to conform with entitlements v2 expectation.The HTTPUrlConnection class does not support the HTTP PATCH method. This MR enhances OSDU HttpClient to support HTTP PATCH method.
Update the UpdateGroupOperation to conform with entitlements v2 expectation.M4 - Release 0.7Dania Kodeih (Microsoft)Matt WiseDania Kodeih (Microsoft)https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/merge_requests/59fix record api deserialization crash2023-08-18T13:08:28ZMatt Wisefix record api deserialization crashM4 - Release 0.7ethiraj krishnamanaiduDania Kodeih (Microsoft)Wladmir FrazaoJoeDmitriy RudkoMatt Wiseethiraj krishnamanaidu