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

Deployment type for Download-Only fixed on DDI-API #848

Merged
merged 4 commits into from
Jun 12, 2019

Conversation

laverman
Copy link
Contributor

@laverman laverman commented Jun 5, 2019

For action type Download Only it doesn't make sense to send deployment.download = attempt, deployment.update = attempt since the device shall only download the artefact not install it.

Therefore, the response should look like the following:
deployment.download = forced, deployment.update = skip

Since this feature is quite new, I hope breaking the API here is acceptable? However, I feel the current behaviour is not what one would expect.

Feedback welcome!

PS: I fixed some typos along the way

Signed-off-by: Jeroen Laverman [email protected]

@laverman laverman requested a review from stefbehl June 5, 2019 11:33
@laverman
Copy link
Contributor Author

laverman commented Jun 5, 2019

@hawkbit-bot please verify

Signed-off-by: Jeroen Laverman <[email protected]>
Signed-off-by: Jeroen Laverman <[email protected]>
@a-sayyed
Copy link
Contributor

looks good 👍

@laverman laverman merged commit 34fc7a7 into eclipse-hawkbit:master Jun 12, 2019
@laverman laverman deleted the fix-ddi-downloadonly branch June 12, 2019 13:43
@schabdo schabdo added this to the 0.3.0M5 milestone Jul 1, 2019
@schabdo schabdo changed the title Add fix for Download-Only deployment type on DDI-API Deployment type for Download-Only fixed on DDI-API Jul 30, 2019
AmmarBikic pushed a commit to bosch-io/hawkbit that referenced this pull request Oct 2, 2020
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.

3 participants