deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [2/4] git commit: CIMI: Increased DataMapper 'string' length limit for MachineTemplate
Date Mon, 14 Jan 2013 13:17:34 GMT
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 <mfojtik@redhat.com>
Authored: Mon Jan 14 13:46:11 2013 +0100
Committer: Michal fojtik <mfojtik@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
 


Mime
View raw message