paketo-buildpacks / spring-boot

A Cloud Native Buildpack that contributes Spring Boot dependency information and slices an application into multiple layers
Apache License 2.0
164 stars 21 forks source link

ignore empty string class name when building dataflow metadata #454

Closed tinedel closed 3 months ago

tinedel commented 3 months ago

Summary

Fixes issue #438 A lot of properties generated by configuration metadata do not have sourceType field set, which in turn matches the empty class name for the case when a list of classes has a trailing comma in the config file.

Checklist

linux-foundation-easycla[bot] commented 3 months ago

CLA Signed

The committers listed above are authorized under a signed CLA.

anthonydahanne commented 3 months ago

@kohlmu-pivotal are you ok with this change?

anthonydahanne commented 3 months ago

thanks @tinedel for your contribution! I'm checking if that does indeed fix #438

Also, we're in the middle of dual arch changes, let's wait for this to finish before we merge this one

tinedel commented 3 months ago

@anthonydahanne sure, no problem.

Please let me know when you are ready and I'll update my branch with the latest main

kohlmu-pivotal commented 3 months ago

@kohlmu-pivotal are you ok with this change?

@anthonydahanne , yes I'm ok with this change. Ignore empty class names is what I would have done as well.