Yair Zaslavsky has uploaded a new change for review. Change subject: core: Fixing dao tests ......................................................................
core: Fixing dao tests VdsStatic.pmProxyPreferences should have max size annotation Change-Id: I82f243593f2b361ca75d97e06f9aede245d4b1b0 Signed-off-by: Yair Zaslavsky <yzasl...@redhat.com> --- M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BusinessEntitiesDefinitions.java M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java 2 files changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/02/10402/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BusinessEntitiesDefinitions.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BusinessEntitiesDefinitions.java index f7752cf..1717dff 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BusinessEntitiesDefinitions.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/BusinessEntitiesDefinitions.java @@ -31,6 +31,7 @@ public static final int HOST_MIN_SPM_PRIORITY = -1; public static final int HOST_MAX_SPM_PRIORITY = 10; public static final int SSH_KEY_FINGERPRINT_SIZE = 128; + public static final int PM_PROXY_PREFERENCES_SIZE = 255; // Network Interface public static final int NETWORK_NAME_SIZE = 50; // vm_interface diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java index fa09d5a..5ad069a 100644 --- a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java @@ -119,6 +119,7 @@ private boolean pmEnabled; @Column(name = "pm_proxy_preferences") + @Size(max = BusinessEntitiesDefinitions.PM_PROXY_PREFERENCES_SIZE) private String pmProxyPreferences; @Transient -- To view, visit http://gerrit.ovirt.org/10402 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I82f243593f2b361ca75d97e06f9aede245d4b1b0 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <yzasl...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches