diff options
author | 2022-07-14 17:15:43 +0200 | |
---|---|---|
committer | 2022-07-20 11:39:35 +0200 | |
commit | 71e676dd1cd2ed4ae348cb686dfd6ed96a4fc5b4 (patch) | |
tree | ab0c2e1c7e742f2da31624c5e5dd7f6343de3288 /cps-ncmp-service/src/test/resources/expectedNcmpEvent.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/expectedNcmpEvent.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/expectedNcmpEvent.json | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cps-ncmp-service/src/test/resources/expectedNcmpEvent.json b/cps-ncmp-service/src/test/resources/expectedNcmpEvent.json deleted file mode 100644 index 3d457a0a3..000000000 --- a/cps-ncmp-service/src/test/resources/expectedNcmpEvent.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "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:v1", - "event": { - "cmHandleId": "cmhandle-test", - "cmhandle-state": "READY", - "cmhandle-properties": [ - { - "publicProperty1": "value1" - }, - { - "publicProperty2": "value2" - } - ] - } -}
\ No newline at end of file |