Skip to content

Commit

Permalink
fixup! feat: add an option to use c8y operation ID to update its status
Browse files Browse the repository at this point in the history
  • Loading branch information
rina23q committed Aug 26, 2024
1 parent ad57206 commit 5e95aa0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ Publish and Verify Local Command
IF "${c8y_fragment}"
# There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations
Should Have MQTT Messages
... c8y/s/ds
... message_pattern=^(501|502|503),${c8y_fragment}.*
... c8y/s/us
... message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.*
... minimum=0
... maximum=0
END
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,5 +322,5 @@ Publish and Verify Local Command

IF "${c8y_fragment}"
# There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations
Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0
Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0
END
4 changes: 2 additions & 2 deletions tests/RobotFramework/tests/cumulocity/log/log_operation.robot
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ Publish and Verify Local Command
IF "${c8y_fragment}"
# There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations
Should Have MQTT Messages
... c8y/s/ds
... message_pattern=^(501|502|503),${c8y_fragment}.*
... c8y/s/us
... message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.*
... minimum=0
... maximum=0
END
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ Publish and Verify Local Command

IF "${c8y_fragment}"
# There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations
Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0
Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0
END
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Publish and Verify Local Command

IF "${c8y_fragment}"
# There should not be any c8y related operation transition messages sent: https://cumulocity.com/guides/reference/smartrest-two/#updating-operations
Should Have MQTT Messages c8y/s/ds message_pattern=^(501|502|503),${c8y_fragment}.* minimum=0 maximum=0
Should Have MQTT Messages c8y/s/us message_pattern=^(501|502|503|504|505|506),${c8y_fragment}.* minimum=0 maximum=0
END

Validate operation log uploaded
Expand Down

0 comments on commit 5e95aa0

Please sign in to comment.