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

Provide artifact last modified timestamp on DMF API #1470

Merged

Conversation

charvadzo
Copy link
Contributor

@charvadzo charvadzo commented Nov 6, 2023

Currently the lastModified timestamp of DmfArtifact DTO is not set when it is served over AMQP which results in always getting 0L for this value over DMF API.

This change adds setting the lastModified filed of DmfArtifact according to the artifact's last modification timestamp so it is served over DMF accordingly.

Sets lastModified filed of DmfArtifact DTO according to artifact's last modification timestamp so it is server over DMF.

Signed-off-by: Ondrej Charvat <[email protected]>
Copy link

@hawkbit-bot hawkbit-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @charvadzo for taking the time to contribute to hawkBit! We really appreciate this. Make yourself comfortable while I'm looking for a committer to help you with your contribution.
Please make sure you read the contribution guide and signed the Eclipse Contributor Agreement (ECA).

@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@avgustinmm avgustinmm merged commit af56b71 into eclipse-hawkbit:master Jan 22, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants