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

Remove unnecessary JsonProperty annotations #2296

Conversation

avgustinmm
Copy link
Contributor

@avgustinmm avgustinmm commented Feb 21, 2025

  1. Removed @JsonProperty - no value
  2. Mix mode with @JsonProperty and no annotation is fixed - only if required = true
  3. DDI and AMQP messages are made immutable (via JsonCreator and final fields
  4. All fields renamed to match the json properties - so to be consistent
  5. getXXXId of the mgmt entities are renamed to getId, getId of the MgmtBaseEntity - removed - self link shall be still available

@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@avgustinmm avgustinmm force-pushed the remove_unnecessary_jsonprop_annotations branch 5 times, most recently from db8ee49 to aa5b0e7 Compare February 21, 2025 12:22
@avgustinmm avgustinmm force-pushed the remove_unnecessary_jsonprop_annotations branch from aa5b0e7 to c2d2790 Compare February 21, 2025 13:04
Copy link
Contributor

@denislavprinov denislavprinov left a comment

Choose a reason for hiding this comment

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

LGTM

@avgustinmm avgustinmm merged commit beda747 into eclipse-hawkbit:master Feb 25, 2025
5 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