Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

FLPATH-216: Add lombok annotations to service SDK generated files #191

Merged

Conversation

gciavarrini
Copy link
Contributor

Add Lombok annotations @Data @AllArgsConstructor @Builder to workflow-service SDK files.

The UseSDKExample is updated to demonstrate the use of the new available methods.

Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
@openshift-ci openshift-ci bot requested review from anludke and masayag March 31, 2023 07:14
@gciavarrini gciavarrini changed the title Add lombok annotations to service SDK generated files FLPATH-216 - Add lombok annotations to service SDK generated files Mar 31, 2023
@gciavarrini gciavarrini changed the title FLPATH-216 - Add lombok annotations to service SDK generated files FLPATH-216: Add lombok annotations to service SDK generated files Mar 31, 2023
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Mar 31, 2023

@gciavarrini: This pull request references FLPATH-216 which is a valid jira issue.

In response to this:

Add Lombok annotations @Data @AllArgsConstructor @Builder to workflow-service SDK files.

The UseSDKExample is updated to demonstrate the use of the new available methods.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Collaborator

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

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

/lgtm

<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<scope>provided</scope>
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't this needed for runtime of the SDK?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is what Lombok website suggests to configure the dependency:

To set up lombok with any build tool, you have to specify that the lombok dependency is required to compile your source code, but does not need to be present when running/testing/jarring/otherwise deploying your code. Generally this is called a 'provided' dependency.

Do you think that in our project the scope should be different?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No. Provided makes sense based on the description.

@masayag
Copy link
Collaborator

masayag commented Apr 3, 2023

/approve

@openshift-ci
Copy link

openshift-ci bot commented Apr 3, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: masayag

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Apr 3, 2023
@openshift-merge-robot openshift-merge-robot merged commit bb1c0f1 into parodos-dev:main Apr 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants