Skip to content

Commit def9fd1

Browse files
author
Kishan Kavala
committed
remove finduser, findaccount, finddomain APIs
1 parent cd9e4e9 commit def9fd1

18 files changed

Lines changed: 71 additions & 996 deletions

File tree

api/src/com/cloud/region/Region.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
// under the License.
1717
package com.cloud.region;
1818

19-
import java.util.Date;
20-
2119
/**
2220
*
2321
*/
@@ -29,8 +27,6 @@ public interface Region {
2927

3028
public void setName(String name);
3129

32-
public Date getRemoved();
33-
3430
public String getEndPoint();
3531

3632
public String getApiKey();

api/src/com/cloud/user/AccountService.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,4 @@ UserAccount createUserAccount(String userName, String password, String firstName
200200

201201
void checkAccess(Account account, AccessType accessType, boolean sameOwner, ControlledEntity... entities) throws PermissionDeniedException;
202202

203-
User findUser(String username, Long domainId);
204-
205-
Account findAccount(Long id);
206203
}

api/src/org/apache/cloudstack/api/ResponseGenerator.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939
import org.apache.cloudstack.api.response.DomainRouterResponse;
4040
import org.apache.cloudstack.api.response.EventResponse;
4141
import org.apache.cloudstack.api.response.ExtractResponse;
42-
import org.apache.cloudstack.api.response.FindAccountResponse;
43-
import org.apache.cloudstack.api.response.FindDomainResponse;
44-
import org.apache.cloudstack.api.response.FindUserResponse;
4542
import org.apache.cloudstack.api.response.FirewallResponse;
4643
import org.apache.cloudstack.api.response.FirewallRuleResponse;
4744
import org.apache.cloudstack.api.response.GuestOSResponse;
@@ -365,11 +362,6 @@ public interface ResponseGenerator {
365362

366363
Site2SiteVpnConnectionResponse createSite2SiteVpnConnectionResponse(Site2SiteVpnConnection result);
367364

368-
FindUserResponse createFindUserResponse(User user);
369-
370-
FindAccountResponse createFindAccountResponse(Account account);
371-
372-
FindDomainResponse createFindDomainResponse(Domain domain);
373365
CounterResponse createCounterResponse(Counter ctr);
374366

375367
ConditionResponse createConditionResponse(Condition cndn);

api/src/org/apache/cloudstack/api/command/admin/account/FindAccountCmd.java

Lines changed: 0 additions & 76 deletions
This file was deleted.

api/src/org/apache/cloudstack/api/command/admin/domain/FindDomainCmd.java

Lines changed: 0 additions & 89 deletions
This file was deleted.

api/src/org/apache/cloudstack/api/command/admin/user/FindUserCmd.java

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)