diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-12-04 13:53:41 +0100 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-12-04 13:53:41 +0100 |
commit | 19edf73380685134aa75e2c5e2ad78d275d98118 (patch) | |
tree | 7e7ab97f054bfc3c932f9e3e887b0a92c2480936 /aai-parent | |
parent | 67f01b2c8d785fecfbc1a3f42abf756ef6a673c2 (diff) |
Disable __TypeId__ header for AAI event publishing
- with the refactorings in AAI-3931 and AAI-4014 message producing was changed
to serialize <String,NotificationEvent> instead of <String,String> to be more expressive
- when doing so, spring will add a __TypeId__ header to the message to inform consumers
about the type of the message
- spring consumers will validate this annotation and will
- throw an exception when the package (org.onap.aai.[...].NotificationEvent) is not among the trusted packages
- throw an exception if the class is not on the classpath and the app thus does not know how to deserialize it
- since this is a breaking change for the consumers and it would just cause implementation effort, the header is removed to restore the old behaviour
Issue-ID: AAI-4074
Change-Id: Ibf83c235739a71b64471ee85d0b5e559082c271e
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-parent')
0 files changed, 0 insertions, 0 deletions