Skip to content

Commit

Permalink
Integraded feedback on long names for constants/enums
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Feb 3, 2023
1 parent 7ad1805 commit 96334ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public enum DeviceRegistrySettingKeys implements SettingKey {
*
* @since 2.0.0
*/
DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_EXTENDED_PROPERTIES_VALUE_LENGTH_MAX("device.registry.lifecycle.birth.fields.extendedProperties.value.length.max"),
DEVICE_LIFECYCLE_BIRTH_EXTENDED_PROPERTIES_LENGTH_MAX("device.lifecycle.birth.extended.properties.length.max"),

;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public final class DeviceValidation {

private static final DeviceRegistrySettings DEVICE_REGISTRY_SETTINGS = DeviceRegistrySettings.getInstance();
private static final Integer BIRTH_FIELDS_CLOB_MAX_LENGTH = DEVICE_REGISTRY_SETTINGS.getInt(DeviceRegistrySettingKeys.DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_CLOB_LENGTH_MAX);
private static final Integer BIRTH_FIELDS_EXTENDED_PROPERTY_VALUE_MAX_LENGTH = DEVICE_REGISTRY_SETTINGS.getInt(DeviceRegistrySettingKeys.DEVICE_REGISTRY_LIFECYCLE_BIRTH_FIELDS_EXTENDED_PROPERTIES_VALUE_LENGTH_MAX);
private static final Integer BIRTH_FIELDS_EXTENDED_PROPERTY_VALUE_MAX_LENGTH = DEVICE_REGISTRY_SETTINGS.getInt(DeviceRegistrySettingKeys.DEVICE_LIFECYCLE_BIRTH_EXTENDED_PROPERTIES_LENGTH_MAX);

private static final DeviceDomain DEVICE_DOMAIN = new DeviceDomain();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ device.registry.key=device.registry
device.registry.event.address=device

device.registry.lifecycle.birth.fields.clob.length.max=4096
device.registry.lifecycle.birth.fields.extendedProperties.value.length.max=524288
device.lifecycle.birth.extended.properties.length.max=524288

0 comments on commit 96334ef

Please sign in to comment.