Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from aws:main #8

Merged
merged 7 commits into from
Aug 31, 2024
Merged

[pull] main from aws:main #8

merged 7 commits into from
Aug 31, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Jun 18, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

…103)

* Update version v1.5.1 in manifest, changelog and doxygen
* Update version v1.5.1 in source and header files
* Update version v1.5.1 in test cmakefile
@pull pull bot added the ⤵️ pull label Jun 18, 2024
kstribrnAmzn and others added 6 commits June 25, 2024 15:23
Per the AWS documentation the 'ExpectedVersion'
field is optional in an update msg for a job. This
changes makes the expected version field optional.

https://docs.aws.amazon.com/iot/latest/apireference/API_iot-jobs-data_UpdateJobExecution.html#iot-iot-jobs-data_UpdateJobExecution-request-status
* Feat: Support StatusDetails messaging in Update Message

Allows users to send a valid JSON key-value set to the
jobs service. This API does lightweight
validation of the status details payload.
The upcoming CBMC version 6 release includes changes that may affect
existing proofs. This PR will make sure that
Jobs-for-AWS-IoT-embedded-sdk PRs are not negatively impacted by this
release. After releasing CBMC version 6 we will issue a follow-up PR
that will return Jobs-for-AWS-IoT-embedded-sdk to using CBMC's latest
release, and will include any changes to proofs that may be necessary to
support the new version.
Jobs_UpdateMsg was putting double quotes around the `statusDetails`
value resulting in the following invalid JSON:
```
{
  "status": "QUEUED",
  "statusDetails": "{
    "key": "value"
  }"
}
```

This change removes the unnecessary double quotes to generate a valid
JSON:
```
{
  "status": "QUEUED",
  "statusDetails": {
    "key": "value"
  }
}
```

This was reported here - #107

Signed-off-by: Gaurav Aggarwal <[email protected]>
@pull pull bot merged commit 02e343e into rawalexe:main Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants