- Invalid DMaaP event cannot be converted to PNF_READY notification
Issue-ID: INT-654
Change-Id: I39d2089d0fc3c26b64926ca0de0345a411e7f11f
Signed-off-by: Mariusz Wagner <mariusz.wagner@nokia.com>
def create_invalid_notification(self, json_file):
return self.create_pnf_ready_notification(json_file).replace("\":", "\": ")\
.replace("ipaddress-v4-oam", "oamV4IpAddress").replace("ipaddress-v6-oam", "oamV6IpAddress")\
- .replace("}", "\\\\n}")
+ .replace("}", "\\n}")
[Timeout] 30s
Set event in DMaaP ${input_invalid_event_in_dmaap}
${invalid_notification}= Create invalid notification ${input_invalid_event_in_dmaap}
- ${notification}= Catenate SEPARATOR= \\\\n |org.onap.dcaegen2.services.prh.exceptions.DmaapNotFoundException: Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
+ ${notification}= Catenate SEPARATOR= \\n |org.onap.dcaegen2.services.prh.exceptions.DmaapNotFoundException: Incorrect json, consumerDmaapModel can not be created: ${invalid_notification}
Wait Until Keyword Succeeds 100x 100ms Check PRH log ${notification}
Valid event processing