cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [4/4] git commit: updated refs/heads/master to 37fa801
Date Wed, 29 Jan 2014 23:23:31 GMT
Resource metadata for autoscaleVmProfile - forgot to add dao mapping to the ResourceMetaDataManagerImpl


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/37fa8012
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/37fa8012
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/37fa8012

Branch: refs/heads/master
Commit: 37fa8012f869b24a937034537ee378cdcf8053ff
Parents: 65c5de1
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Wed Jan 29 14:31:40 2014 -0800
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Wed Jan 29 14:57:01 2014 -0800

----------------------------------------------------------------------
 server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/37fa8012/server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java b/server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java
index c7906f5..5393a6a 100644
--- a/server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java
+++ b/server/src/com/cloud/metadata/ResourceMetaDataManagerImpl.java
@@ -26,6 +26,7 @@ import javax.naming.ConfigurationException;
 
 import org.apache.cloudstack.api.ResourceDetail;
 import org.apache.cloudstack.resourcedetail.ResourceDetailsDao;
+import org.apache.cloudstack.resourcedetail.dao.AutoScaleVmProfileDetailsDao;
 import org.apache.cloudstack.resourcedetail.dao.DiskOfferingDetailsDao;
 import org.apache.cloudstack.resourcedetail.dao.FirewallRuleDetailsDao;
 import org.apache.cloudstack.resourcedetail.dao.NetworkACLItemDetailsDao;
@@ -107,6 +108,8 @@ public class ResourceMetaDataManagerImpl extends ManagerBase implements
Resource
     DiskOfferingDetailsDao _diskOfferingDetailsDao;
     @Inject
     UserDetailsDao _userDetailsDao;
+    @Inject
+    AutoScaleVmProfileDetailsDao _autoScaleVmProfileDetailsDao;
 
     private static Map<ResourceObjectType, ResourceDetailsDao<? extends ResourceDetail>>
s_daoMap = new HashMap<ResourceObjectType, ResourceDetailsDao<? extends ResourceDetail>>();
 
@@ -134,6 +137,7 @@ public class ResourceMetaDataManagerImpl extends ManagerBase implements
Resource
         s_daoMap.put(ResourceObjectType.VpnConnection, _vpnConnectionDetailsDao);
         s_daoMap.put(ResourceObjectType.DiskOffering, _diskOfferingDetailsDao);
         s_daoMap.put(ResourceObjectType.User, _userDetailsDao);
+        s_daoMap.put(ResourceObjectType.AutoScaleVmProfile, _autoScaleVmProfileDetailsDao);
 
         return true;
     }


Mime
View raw message