Skip to content

Conversation

fabiobrz
Copy link
Contributor

@fabiobrz fabiobrz commented May 2, 2023

Description

Adding a basic implementation for a Java Generator Gradle plugin

FYI @andreaTP

Fix #4829

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change
  • Chore (non-breaking change which doesn't affect codebase;
    test, version modification, documentation, etc.)

Checklist

  • Code contributed by me aligns with current project license: Apache 2.0
  • I Added CHANGELOG entry regarding this change
  • I have implemented unit tests to cover my changes
  • I have added/updated the javadocs and other documentation accordingly
  • No new bugs, code smells, etc. in SonarCloud report
  • I tested my code in Kubernetes
  • I tested my code in OpenShift

@fabiobrz fabiobrz force-pushed the java-gen.gradle-plugin branch from 7e699e2 to 85695dd Compare May 2, 2023 09:24
Copy link
Member

@andreaTP andreaTP left a comment

Choose a reason for hiding this comment

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

Outstanding work @fabiobrz , thanks a ton!
Even an integration test! ❤️

I added a few questions/notes, especially due to my inexperience with Gradle plugins.
I think that @manusa input would be helpful here 🙂

@fabiobrz fabiobrz force-pushed the java-gen.gradle-plugin branch 2 times, most recently from 6273aa7 to 8e65f8e Compare May 4, 2023 16:23
Copy link
Member

@andreaTP andreaTP left a comment

Choose a reason for hiding this comment

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

A last round of minor comments and is good to go! Thanks again @fabiobrz !

@fabiobrz fabiobrz force-pushed the java-gen.gradle-plugin branch 4 times, most recently from 7970d58 to bb51a07 Compare May 10, 2023 11:15
@fabiobrz fabiobrz force-pushed the java-gen.gradle-plugin branch from bb51a07 to 0f70512 Compare May 10, 2023 11:15
@fabiobrz fabiobrz marked this pull request as ready for review May 10, 2023 11:15
@fabiobrz
Copy link
Contributor Author

Hi @andreaTP - I added one unit test, at least for the plugin class itself, and some documentation. I hope I addressed all the concerns you pointed out. Marking the PR as ready.

Feel free to let me know in case you have additional thoughts.

@fabiobrz fabiobrz closed this May 13, 2023
@fabiobrz fabiobrz reopened this May 13, 2023
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

5.0% 5.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@andreaTP andreaTP left a comment

Choose a reason for hiding this comment

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

Amazing work LGTM, thanks a lot @fabiobrz !

@andreaTP andreaTP added this to the 6.7.0 milestone May 22, 2023
Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

LGTM, thx!

Copy link
Member

@manusa manusa left a comment

Choose a reason for hiding this comment

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

LGTM, thx!

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.

Gradle Plugin for Java Generation from CRD
3 participants