-
Notifications
You must be signed in to change notification settings - Fork 706
Update SDK POJOs to have Lombok annotations #463
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
Conversation
This PR contains too many breaking and potentially breaking changes. Shouldn't be merged. |
...-sdk/conductor-client/src/main/java/com/netflix/conductor/common/metadata/tasks/TaskDef.java
Show resolved
Hide resolved
|
||
private final String message = "Bulk Request has been processed."; | ||
private String message = "Bulk Request has been processed."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is making private final String message
which was meant to remain private and immutable accessible trough a getter (unnecessarily) and mutable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we want this field to be immutable ?
Why do we want to have special treatment ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orkes-harshil take a look at the code. Check how message
is being used.
...java-sdk/conductor-client/src/main/java/com/netflix/conductor/common/metadata/Auditable.java
Outdated
Show resolved
Hide resolved
d8e7489
to
7c317bc
Compare
…ssue - adding arguments constructors where ever it was there to avoid backward compatibility issues
Description :
This PR moves all java sdk POJOs to lombok annotations.
We will have
@DaTa
@builder
@NoArgsConstructor
@AllArgsConstructor
Our goal is to not break current backward compatibility. We have added unit tests in a previous PR for all the accessors and constructors which are deleted as part of Lombokisation.
This will be a base on which we will sync sdk POJOs with server POJOs.