eclipse-jkube / jkube

Build and Deploy java applications on Kubernetes
https://www.eclipse.dev/jkube/
Eclipse Public License 2.0
747 stars 486 forks source link

AbstractHealthCheckEnricher : Use class level `@Getter` annotation in `AbstractHealthCheckEnricher.Config` nested class #3402

Open rohanKanojia opened 4 days ago

rohanKanojia commented 4 days ago

Component

JKube Kit

Task description

Description

AbstractHealthCheckEnricher contains a nested class Config

https://github.com/eclipse-jkube/jkube/blob/dad4cc61149c435dbf91a5700a2c7f7cfe7d9a99/jkube-kit/enricher/specific/src/main/java/org/eclipse/jkube/kit/enricher/specific/AbstractHealthCheckEnricher.java#L42-L51

There are only two fields in this class, both annotated with@Getter , if all class members need to have @Getter annotation, we can move the annotation to class level.

Expected Behavior

@Getter annotation is moved from field level to class level

Acceptance Criteria

vikasrajputin commented 2 days ago

Hello @rohanKanojia Can I pick this up as my next work?