diff options
author | pwielebs <piotr.wielebski@nokia.com> | 2018-09-14 16:43:00 +0200 |
---|---|---|
committer | pwielebs <piotr.wielebski@nokia.com> | 2018-09-14 16:44:34 +0200 |
commit | cf8e9ac4d54b9deb7a8411fa2a3035fb706769d8 (patch) | |
tree | 71a540151a20ddefbbc4b5caf4be93137f47835f /prh-aai-client/src/test/java/org | |
parent | 3799b36b4cd0a342eafcf388eed7facbc9a17d50 (diff) |
Bug fix 'sourceName' -> 'correlationId'
In case of PNF_REGISTRATION event components
like SO and Dmaap are expecting to get
'correlationId' parameter rather than
'sourceName'.
This change simply maps 'sourceName' to 'correlationId'
Change-Id: Ic99ffc6cd61a76f1a8c46c50da7c16660b1b7acf
Issue-ID: DCAEGEN2-744
Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-aai-client/src/test/java/org')
-rw-r--r-- | prh-aai-client/src/test/java/org/onap/dcaegen2/services/prh/service/producer/AaiProducerReactiveHttpClientTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prh-aai-client/src/test/java/org/onap/dcaegen2/services/prh/service/producer/AaiProducerReactiveHttpClientTest.java b/prh-aai-client/src/test/java/org/onap/dcaegen2/services/prh/service/producer/AaiProducerReactiveHttpClientTest.java index 03f9ec64..5fd966dc 100644 --- a/prh-aai-client/src/test/java/org/onap/dcaegen2/services/prh/service/producer/AaiProducerReactiveHttpClientTest.java +++ b/prh-aai-client/src/test/java/org/onap/dcaegen2/services/prh/service/producer/AaiProducerReactiveHttpClientTest.java @@ -66,7 +66,7 @@ class AaiProducerReactiveHttpClientTest { setupHeaders(); clientResponse = mock(ClientResponse.class); clientResponseMono = Mono.just(clientResponse); - when(dmaapModel.getSourceName()).thenReturn("NOKnhfsadhff"); + when(dmaapModel.getCorrelationId()).thenReturn("NOKnhfsadhff"); when(aaiConfigurationMock.aaiHost()).thenReturn("54.45.33.2"); when(aaiConfigurationMock.aaiProtocol()).thenReturn("https"); when(aaiConfigurationMock.aaiPort()).thenReturn(1234); |