cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject [86/93] [abbrv] git commit: updated refs/heads/portablepublicip to a718d35
Date Mon, 13 May 2013 15:54:46 GMT
mvn install didnt point me the compilation errors...fixing them


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

Branch: refs/heads/portablepublicip
Commit: 573f529ea092365fc4275d82171ba064d880b0a9
Parents: f84b6ab
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Mon May 13 18:18:56 2013 +0530
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Mon May 13 18:18:56 2013 +0530

----------------------------------------------------------------------
 .../org/apache/cloudstack/query/QueryService.java  |    4 --
 .../src/com/cloud/api/query/QueryManagerImpl.java  |   31 ---------------
 2 files changed, 0 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/573f529e/api/src/org/apache/cloudstack/query/QueryService.java
----------------------------------------------------------------------
diff --git a/api/src/org/apache/cloudstack/query/QueryService.java b/api/src/org/apache/cloudstack/query/QueryService.java
index 7ab2c19..2dfd97c 100644
--- a/api/src/org/apache/cloudstack/query/QueryService.java
+++ b/api/src/org/apache/cloudstack/query/QueryService.java
@@ -26,7 +26,6 @@ import org.apache.cloudstack.api.command.user.account.ListAccountsCmd;
 import org.apache.cloudstack.api.command.user.account.ListProjectAccountsCmd;
 import org.apache.cloudstack.api.command.user.event.ListEventsCmd;
 import org.apache.cloudstack.api.command.user.job.ListAsyncJobsCmd;
-import org.apache.cloudstack.api.command.user.network.ListNicDetailsCmd;
 import org.apache.cloudstack.api.command.user.offering.ListDiskOfferingsCmd;
 import org.apache.cloudstack.api.command.user.offering.ListServiceOfferingsCmd;
 import org.apache.cloudstack.api.command.user.project.ListProjectInvitationsCmd;
@@ -36,7 +35,6 @@ import org.apache.cloudstack.api.command.user.tag.ListTagsCmd;
 import org.apache.cloudstack.api.command.user.vm.ListVMsCmd;
 import org.apache.cloudstack.api.command.user.vmgroup.ListVMGroupsCmd;
 import org.apache.cloudstack.api.command.user.volume.ListResourceDetailsCmd;
-import org.apache.cloudstack.api.command.user.volume.ListVolumeDetailsCmd;
 import org.apache.cloudstack.api.command.user.volume.ListVolumesCmd;
 import org.apache.cloudstack.api.command.user.zone.ListZonesByCmd;
 import org.apache.cloudstack.api.response.*;
@@ -90,8 +88,6 @@ public interface QueryService {
     public ListResponse<AffinityGroupResponse> listAffinityGroups(Long affinityGroupId,
String affinityGroupName,
             String affinityGroupType, Long vmId, Long startIndex, Long pageSize);
 
-    List<NicDetailResponse> searchForNicDetails(ListNicDetailsCmd ListNicDetailsCmd);
-
     public List<ResourceDetailResponse> listResource(ListResourceDetailsCmd cmd);
 
     ListResponse<DomainRouterResponse> searchForInternalLbVms(ListInternalLBVMsCmd
cmd);

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/573f529e/server/src/com/cloud/api/query/QueryManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/QueryManagerImpl.java b/server/src/com/cloud/api/query/QueryManagerImpl.java
index 54b7d7c..9872c3a 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -43,7 +43,6 @@ import org.apache.cloudstack.api.command.user.account.ListAccountsCmd;
 import org.apache.cloudstack.api.command.user.account.ListProjectAccountsCmd;
 import org.apache.cloudstack.api.command.user.event.ListEventsCmd;
 import org.apache.cloudstack.api.command.user.job.ListAsyncJobsCmd;
-import org.apache.cloudstack.api.command.user.network.ListNicDetailsCmd;
 import org.apache.cloudstack.api.command.user.offering.ListDiskOfferingsCmd;
 import org.apache.cloudstack.api.command.user.offering.ListServiceOfferingsCmd;
 import org.apache.cloudstack.api.command.user.project.ListProjectInvitationsCmd;
@@ -53,7 +52,6 @@ import org.apache.cloudstack.api.command.user.tag.ListTagsCmd;
 import org.apache.cloudstack.api.command.user.vm.ListVMsCmd;
 import org.apache.cloudstack.api.command.user.vmgroup.ListVMGroupsCmd;
 import org.apache.cloudstack.api.command.user.volume.ListResourceDetailsCmd;
-import org.apache.cloudstack.api.command.user.volume.ListVolumeDetailsCmd;
 import org.apache.cloudstack.api.command.user.volume.ListVolumesCmd;
 import org.apache.cloudstack.api.command.user.zone.ListZonesByCmd;
 import org.apache.cloudstack.api.response.*;
@@ -1534,35 +1532,6 @@ public class QueryManagerImpl extends ManagerBase implements QueryService
{
         return response;
     }
 
-    @Override
-    public List<NicDetailResponse> searchForNicDetails(ListNicDetailsCmd cmd){
-        Long id = cmd.getId();
-        String name = cmd.getName();
-
-        List<NicDetailVO> nicDetailList;
-        if(name == null){
-            nicDetailList = _nicDetailDao.findDetails(id);
-        }else {
-            NicDetailVO nicDetail = _nicDetailDao.findDetail(id, name);
-            nicDetailList = new LinkedList<NicDetailVO>();
-            nicDetailList.add(nicDetail);
-        }
-
-        List<NicDetailResponse> nicDetailResponseList = new ArrayList<NicDetailResponse>();
-        for(NicDetailVO nicDetail : nicDetailList){
-            NicDetailResponse nicDetailResponse = new NicDetailResponse();
-            //String uuid = ApiDBUtils.findN
-            nicDetailResponse.setName(nicDetail.getName());
-            nicDetailResponse.setValue(nicDetail.getValue());
-            nicDetailResponse.setObjectName("nicdetail");
-            nicDetailResponseList.add(nicDetailResponse);
-        }
-
-        return nicDetailResponseList;
-
-    }
-
-
 
     private Pair<List<VolumeJoinVO>, Integer> searchForVolumesInternal(ListVolumesCmd
cmd) {
 


Mime
View raw message