Andrea Leo

Results 20 comments of Andrea Leo

@dioptre where is elasticsearch in cdc?

Hi, any news about this annotations support?

I have a CRD with openAPIV3Schema like this: ``` .... kafka: type: object properties: port: type: integer minimum: 0 maximum: 65535 nullable: false hostname: type: string pattern: '^([A-Za-z0-9-]{1,63}\.)+[[A-Za-z0-9-]{1,63}$' nullable: false...

No it is a custom CRD. The "kafka" field has nothing to do with Strimzi.

Anyway > @leoandrea7 quick sanity check, you mentioned `crd-generator` but you meant instead the Java generator, is it correct? > > Also nullable is already integrated in the current implementation...

There is need of a new issue for crd-gen? Thanks

@andreaTP new [issue ](https://github.com/fabric8io/kubernetes-client/issues/4224)opened

@andreaTP maybe you should add a filter [here ](https://github.com/sundrio/sundrio/blob/b7091f8fbe792596258d6bf3a10c05bc3a415bd4/adapters/api/src/test/java/io/sundr/adapter/testing/AbstractAdapterTest.java#L204)like the filter i added with this PR `.filter(property -> def.getFullyQualifiedName().equals(property.getTypeRef().toString()))`

![Immagine 2022-06-27 192323](https://user-images.githubusercontent.com/17647163/175999460-8f54b30d-b05c-454b-bce7-626c6c3eac3b.jpg) @andreaTP As you can see def.getProperties return both enum and other fields. But Property that is enum has TypeRef of the same enum type.

@andreaTP you are absolutely right...The problem is that TypeDef class does not have a method that return just enum values..I tried to fetch enum with `Class.forName(def.getFullyQualifiedName())` in order to use...