mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
* Replace WithBeanGetterTest with AutoValueValidatorTest We want to ensure that auto-value adds the validation annotations to the generated class fields. * Remove all WithBeanGetter annotation usages - Fix classes where the constructor became private because of the builder usage - Fix wrong "$AutoValue" references * Remove auto-value-javabean dependency * Restore InputCreateRequest#create method * Revert some JsonSeserialize conversions The changes introduced a breaking change in InputCreateRequest, so we play safe for now. * Remove JsonDeserialize from ShardRouting * Convert CreateEntityRequest to a POJO to fix validation issues * Check that CreateEntityRequest#title is not null * Fix botched merge * Explicitly set JsonProperty names to fix parsing issue * Remove unused files * Use explicit values for JsonProperty annotations Removing the WithBeanGetter annotation resulted in some de/serialization errors. We prevent those by using explicit annotation values. * Fix wrong property name * Add PMD rule to check for missing values in JsonProperty annotations * Remove newly introduced WithBeanGetter usages * Add missing license header * Fix "$AutoValue_*" usage