Notification merge requestshttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests2023-08-18T15:25:30Zhttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/133fix core lib and common2023-08-18T15:25:30ZNikhil Singh[MicroSoft]fix core lib and commonM9 - Release 0.12Nikhil Singh[MicroSoft]Nikhil Singh[MicroSoft]https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/128make domain postfix in the acl block of the record payload configurable2023-08-18T15:25:35ZYauheni Lesnikaumake domain postfix in the acl block of the record payload configurablemake domain postfix in the acl block of the record payload configurable
Issue: https://community.opengroup.org/osdu/platform/system/notification/-/issues/33make domain postfix in the acl block of the record payload configurable
Issue: https://community.opengroup.org/osdu/platform/system/notification/-/issues/33M9 - Release 0.12Yauheni LesnikauYauheni Lesnikauhttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/136Added Spring Micrometer Metrics2021-10-26T14:45:35ZVibhuti Sharma [Microsoft]Added Spring Micrometer MetricsVibhuti Sharma [Microsoft]Vibhuti Sharma [Microsoft]https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/137Aws xuserid fix2023-08-18T15:25:28ZRucha DeshpandeAws xuserid fixM10 - Release 0.13Rucha DeshpandeRucha Deshpandehttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/130Cherry pick auth changes into milestone master2021-10-27T09:27:50ZAbhishek PatilCherry pick auth changes into milestone masterAbhishek PatilAbhishek Patilhttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/139Update pom.xml2021-11-09T14:48:48ZShrikant GargUpdate pom.xmlM9 - Release 0.12Shrikant GargShrikant Garghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/138M8 Changes -Azure2021-11-10T06:15:05ZNikhil Singh[MicroSoft]M8 Changes -AzureNikhil Singh[MicroSoft]Nikhil Singh[MicroSoft]https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/140Notification IT sleep added.2021-11-16T05:50:50ZKomal MakkarNotification IT sleep added.https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/142Exception handling to fix partition service unavailability issue2021-11-23T07:02:13ZNikhil Singh[MicroSoft]Exception handling to fix partition service unavailability issueNikhil Singh[MicroSoft]Nikhil Singh[MicroSoft]https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/147fix IT and istio dns host2023-08-18T15:25:25ZNikhil Singh[MicroSoft]fix IT and istio dns hostThis MR introduces IT fix along with istio dns host usage.This MR introduces IT fix along with istio dns host usage.M10 - Release 0.13Nikhil Singh[MicroSoft]Nikhil Singh[MicroSoft]https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/149ibm integration test updated for service mesh change2023-08-18T15:25:22ZBhushan Radeibm integration test updated for service mesh changeshould_return400_when_makingHttpRequestWithoutToken(org.opengroup.osdu.notification.api.TestPubsubEndpointHMAC): POST: push-handlers/records-changed RBAC: access denied expected:<401> but was:<403>should_return400_when_makingHttpRequestWithoutToken(org.opengroup.osdu.notification.api.TestPubsubEndpointHMAC): POST: push-handlers/records-changed RBAC: access denied expected:<401> but was:<403>M10 - Release 0.13Anuj GuptaBhushan RadeAnuj Guptahttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/144(GONRG-3831) GCP Notification: OQM mapper2021-12-13T12:20:43ZRostislav Dublin (EPAM)(GONRG-3831) GCP Notification: OQM mapper## Type of change
- [ ] Bug Fix
- [X] Feature
## 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] GCP
- [ ] IBM
...## Type of change
- [ ] Bug Fix
- [X] Feature
## 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] GCP
- [ ] IBM
## Does this introduce a breaking change?
- [YES/NO]
## What is the current behavior?
Notification works with Message Broker directly
## What is the new/expected behavior?
Notification will work with MQ through mapper/driver abstraction
## Have you added/updated Unit Tests and Integration Tests?
yes
## Any other useful information
### Features of implementation
This is a universal solution created using EPAM OQM mapper technology.
It allows you to work with various implementations of message brokers.
#### Limitations of the current version
In the current version, the mapper is equipped with several drivers to the message brokers:
- Google PubSub;
- RabbitMQ
#### Extensibility
To use any other message broker, implement a driver for it. With an extensible set of drivers, the solution is unrestrictedly universal and portable without modification to the main code.
#### Mapper tuning mechanisms
This service uses specific implementations of DestinationResolvers based on the tenant information provided by the OSDU Partition service.
A total of 2 resolvers are implemented, which are divided into two groups:
##### for universal technologies:
- for RabbitMQ: mappers/oqm/MqTenantOqmDestinationResolver.java
###### Their algorithms are as follows:
- incoming Destination carries data-partition-id
- resolver accesses the Partition service and gets PartitionInfo
- from PartitionInfo resolver retrieves properties for the connection: URL, username, password etc.
- resolver creates a data source, connects to the resource, remembers the datasource
- resolver gives the datasource to the mapper in the Resolution object
##### for native Google Cloud technologies:
- for PubSub: mappers/oqm/PsTenantOqmDestinationResolver.java
###### Their algorithms are similar,
Except that they do not receive special properties from the Partition service for connection, because the location of the resources is unambiguously known - they are in the GCP project. And credentials are also not needed - access to data is made on behalf of the Google Identity SA under which the service itself is launched. Therefore, resolver takes only the value of the **projectId** property from PartitionInfo and uses it to connect to a resource in the corresponding GCP project.M10 - Release 0.13Rustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comRiabokon Stanislav(EPAM)[GCP]Dmitrii Novikov (EPAM)Rustam Lotsmanenko (EPAM)rustam_lotsmanenko@epam.comhttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/153log4j vuln fix2023-08-18T15:25:16ZBhushan Radelog4j vuln fix|module pom changes| Ref Issue|
|------|-----------------------------------------------------------------------------------------------|
| IBM | https://community.opengroup.org/osdu/platform/system/lib/cloud/ibm/os-core-lib-ibm/-/issues...|module pom changes| Ref Issue|
|------|-----------------------------------------------------------------------------------------------|
| IBM | https://community.opengroup.org/osdu/platform/system/lib/cloud/ibm/os-core-lib-ibm/-/issues/2 |
| Core | https://community.opengroup.org/osdu/platform/system/lib/core/os-core-common/-/issues/54 |
Part of https://community.opengroup.org/osdu/platform/system/notification/-/issues/36 SeriesM10 - Release 0.13David Diederichd.diederich@opengroup.orgAnuj GuptaBhushan RadeShrikant GargDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/154Disables unsafe subst for log4j2023-08-18T15:25:15ZOleksii Tsyganov (EPAM)Disables unsafe subst for log4jM10 - Release 0.13Oleksii Tsyganov (EPAM)Oleksii Tsyganov (EPAM)https://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/141disabled spring web security2023-08-18T15:25:27ZBhushan Radedisabled spring web securityM10 - Release 0.13Anuj GuptaBhushan RadeAnuj Guptahttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/157Specify dependencyManagement for azure to override log4j libraries2023-08-18T15:25:13ZDavid Diederichd.diederich@opengroup.orgSpecify dependencyManagement for azure to override log4j librariesPart of the #36 seriesPart of the #36 seriesM10 - Release 0.13David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/158Cherry picks for log4j fixes2021-12-17T16:11:07ZDavid Diederichd.diederich@opengroup.orgCherry picks for log4j fixesOriginal MRs: !153 and !157
Part of the #36 seriesOriginal MRs: !153 and !157
Part of the #36 seriesDavid Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/159Upgrading library versions to incorporate the latest Log4j fix2023-08-18T15:25:11ZDavid Diederichd.diederich@opengroup.orgUpgrading library versions to incorporate the latest Log4j fixThese updates apply version 2.17, addressing CVE-2021-45105
Part of the #37 seriesThese updates apply version 2.17, addressing CVE-2021-45105
Part of the #37 seriesM10 - Release 0.13David Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/160Cherry-pick Log4j 2.17 fixes into release/0.122021-12-21T02:54:35ZDavid Diederichd.diederich@opengroup.orgCherry-pick Log4j 2.17 fixes into release/0.12Original MR: !159
Part of the #37 SeriesOriginal MR: !159
Part of the #37 SeriesDavid Diederichd.diederich@opengroup.orgDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/notification/-/merge_requests/161M8 Log4j2 Fix2021-12-23T07:07:01ZAryaan SinghM8 Log4j2 FixM8 log4j2fixM8 log4j2fixAryaan SinghAryaan Singh