diff options
author | lukegleeson <luke.gleeson@est.tech> | 2022-06-28 12:15:33 +0100 |
---|---|---|
committer | lukegleeson <luke.gleeson@est.tech> | 2022-07-04 09:26:30 +0100 |
commit | 4e596846aa6f1b799487c553d6830004489d96a1 (patch) | |
tree | 091fed8ac5403c3ea79a4d75d74d1a15a34649c4 /cps-ncmp-service/src/test/resources/expectedStateModel.json | |
parent | 7914c8924723092345e8b4d829f15d2a3a5c72c8 (diff) |
Simplified 'External' lock reason Mapping
Refactored LOCKED_MISBEHAVING -> LOCKED_MODULE_SYNC_FAILED
CompositeStateMapper will change internal reason LOCKED_MODULE_SYNC_FAILED to external reason LOCKED_MISBEHAVING for client payloads
Changed openapi description of lock-reason to reflect only enum currently available LOCKED_MISBEHAVING
Issue-ID: CPS-1099
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I9cda45f6c30b94684ee1c8ad0c49e35a3a824d52
Diffstat (limited to 'cps-ncmp-service/src/test/resources/expectedStateModel.json')
-rw-r--r-- | cps-ncmp-service/src/test/resources/expectedStateModel.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-service/src/test/resources/expectedStateModel.json b/cps-ncmp-service/src/test/resources/expectedStateModel.json index 5d246d5dd1..07275e0823 100644 --- a/cps-ncmp-service/src/test/resources/expectedStateModel.json +++ b/cps-ncmp-service/src/test/resources/expectedStateModel.json @@ -1,8 +1,8 @@ { "cm-handle-state" : "ADVISED", "lock-reason" : { - "reason" : "LOCKED_MISBEHAVING", - "details" : "lock misbehaving details" + "reason" : "LOCKED_MODULE_SYNC_FAILED", + "details" : "lock details" }, "last-update-time" : "2022-12-31T20:30:40.000+0000", "data-sync-enabled" : false, |