diff options
author | bmiklos <miklos.baranyak@est.tech> | 2022-07-14 17:15:43 +0200 |
---|---|---|
committer | bmiklos <miklos.baranyak@est.tech> | 2022-07-20 11:39:35 +0200 |
commit | 71e676dd1cd2ed4ae348cb686dfd6ed96a4fc5b4 (patch) | |
tree | ab0c2e1c7e742f2da31624c5e5dd7f6343de3288 /cps-ncmp-service/src/test/resources/expectedLcmEvent.json | |
parent | 21c17c999c4787f3d11e69b246143e86a10a62df (diff) |
Refractor code to use the new LcmEvent schema
-Old schema deleted and comments from tests are removed
-EventDateTimeFormatter utility added
-From LcmEventsCreator.populateLcmEvent the NcmpServiceCmHandle param
removed and tests are fixed accordingly
-Changes made in test of the LcmEventsCreator for payload testing
to make it more clear
Issue-ID: CPS-1147
Change-Id: Id87c81f2755a6617a0fc68ba92a3d0e3170fd20f
Signed-off-by: bmiklos <miklos.baranyak@est.tech>
Diffstat (limited to 'cps-ncmp-service/src/test/resources/expectedLcmEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/expectedLcmEvent.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cps-ncmp-service/src/test/resources/expectedLcmEvent.json b/cps-ncmp-service/src/test/resources/expectedLcmEvent.json new file mode 100644 index 0000000000..1db16ee82a --- /dev/null +++ b/cps-ncmp-service/src/test/resources/expectedLcmEvent.json @@ -0,0 +1,12 @@ +{ + "eventId": "test-uuid", + "eventCorrelationId": "cmhandle-as-correlationid", + "eventTime": "2022-12-31T20:30:40.000+0000", + "eventSource": "org.onap.ncmp", + "eventType": "org.onap.ncmp.cmhandle.lcm.event", + "eventSchema": "org.onap.ncmp.cmhandle.lcm.event", + "eventSchemaVersion": "v1", + "event": { + "cmHandleId": "cmhandle-test" + } +}
\ No newline at end of file |