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-rest/docs/openapi/components.yaml | |
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-rest/docs/openapi/components.yaml')
-rw-r--r-- | cps-ncmp-rest/docs/openapi/components.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index 8249a7a3d7..2cb9d894c0 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -263,10 +263,10 @@ components: properties: reason: type: string - example: LOCKED_OTHER + example: LOCKED_MISBEHAVING details: type: string - example: locked due to module sync + example: locked due to failure in module sync dataStores: type: object |