You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/01/14 14:17:34 UTC

[2/4] git commit: CIMI: Increased DataMapper 'string' length limit for MachineTemplate

CIMI: Increased DataMapper 'string' length limit for MachineTemplate

In some cases 50 characters limit for 'string' property is not
enough (like when client have 'long' URL).


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/190c4da2
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/190c4da2
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/190c4da2

Branch: refs/heads/master
Commit: 190c4da226385e3ab3e99ff262c0fb1bd5faba35
Parents: d35002c
Author: Michal Fojtik <mf...@redhat.com>
Authored: Mon Jan 14 13:46:11 2013 +0100
Committer: Michal fojtik <mf...@redhat.com>
Committed: Mon Jan 14 13:46:11 2013 +0100

----------------------------------------------------------------------
 server/lib/db/machine_template.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/190c4da2/server/lib/db/machine_template.rb
----------------------------------------------------------------------
diff --git a/server/lib/db/machine_template.rb b/server/lib/db/machine_template.rb
index cb99946..134eb23 100644
--- a/server/lib/db/machine_template.rb
+++ b/server/lib/db/machine_template.rb
@@ -4,8 +4,8 @@ module Deltacloud
     class MachineTemplate < Entity
       belongs_to :provider
 
-      property :machine_config, String
-      property :machine_image, String
+      property :machine_config, String, :length => 255
+      property :machine_image, String, :length => 255
 
     end